From: Kim Shinwoo <kimcinoo.efl@gmail.com>
authorKim Shinwoo <kimcinoo.efl@gmail.com>
Mon, 15 Oct 2012 08:43:14 +0000 (08:43 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Mon, 15 Oct 2012 08:43:14 +0000 (08:43 +0000)
Subject: [E-devel] [patch][elementary] diskselector - blank item
should be added on round disabled mode

blank item should be added on the round disabled mode.
current diskselector adds blank item even though the round mode is enabled.
so please check the patch and give feedback. thanks.

SVN revision: 77990

src/lib/elm_diskselector.c

index 44a30ca..f1e80db 100644 (file)
@@ -725,7 +725,7 @@ _theme_data_get(Evas_Object *obj)
         if (str)
           {
              sd->display_item_num = MAX(DISPLAY_ITEM_NUM_MIN, atoi(str));
-             _blank_item_check(obj, sd->display_item_num);
+             if (!sd->round) _blank_item_check(obj, sd->display_item_num);
           }
 
         else sd->display_item_num = DISPLAY_ITEM_NUM_MIN;