summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2005-12-25 11:17:33 +0000
committerChristopher Michael <cpmichael1@comcast.net>2005-12-25 11:17:33 +0000
commit77ebbd9e23da8cacf15517a77306a3be82717adc (patch)
tree1c22e9e60e156fe2f49c4e1f69c617eccefabb6c
parent8e4bfac183213579e6ce8fa008f83963556f6090 (diff)
Minor fix for Default theme not being selected in the menu on first run
SVN revision: 19291
-rw-r--r--src/bin/e_int_menus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c
index 8647f538b..2beec6d44 100644
--- a/src/bin/e_int_menus.c
+++ b/src/bin/e_int_menus.c
@@ -877,7 +877,7 @@ _e_int_menus_themes_pre_cb(void *data, E_Menu *m)
877 Ecore_Evas *eebuf; 877 Ecore_Evas *eebuf;
878 Evas *evasbuf; 878 Evas *evasbuf;
879 Evas_List *l; 879 Evas_List *l;
880 880
881 for (l = e_config->themes; l; l = l->next) 881 for (l = e_config->themes; l; l = l->next)
882 { 882 {
883 E_Config_Theme *et; 883 E_Config_Theme *et;
@@ -886,11 +886,11 @@ _e_int_menus_themes_pre_cb(void *data, E_Menu *m)
886 if (!strcmp(et->category, "theme")) 886 if (!strcmp(et->category, "theme"))
887 deftheme = et->file; 887 deftheme = et->file;
888 } 888 }
889 889
890 mi = e_menu_item_new(m); 890 mi = e_menu_item_new(m);
891 e_menu_item_radio_set(mi, 1); 891 e_menu_item_radio_set(mi, 1);
892 e_menu_item_radio_group_set(mi, 1); 892 e_menu_item_radio_group_set(mi, 1);
893 if (((deftheme) && (!strcmp("default.edj", deftheme))) || 893 if (((deftheme) && (!strcmp("default", deftheme))) ||
894 (!deftheme)) 894 (!deftheme))
895 e_menu_item_toggle_set(mi, 1); 895 e_menu_item_toggle_set(mi, 1);
896 e_menu_item_label_set(mi, "default"); 896 e_menu_item_label_set(mi, "default");