Bit of an API break for themes. The icon to tell you something is set is now enlighte...
authortoma <toma>
Sun, 21 Sep 2008 07:43:46 +0000 (07:43 +0000)
committertoma <toma@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 21 Sep 2008 07:43:46 +0000 (07:43 +0000)
SVN revision: 36142

data/themes/default_icons.edc
data/themes/images/e17_icon_check.png [new file with mode: 0644]
src/modules/conf_colors/e_int_config_color_classes.c
src/modules/conf_fonts/e_int_config_fonts.c
src/modules/conf_intl/e_int_config_intl.c
src/modules/conf_profiles/e_int_config_profiles.c
src/modules/conf_theme/e_int_config_theme.c

index 08d8825..4631f00 100644 (file)
@@ -107,6 +107,8 @@ images {
    image: "e17_icon_screensaver.png" COMP;
 
    image: "e17_icon_window_remembers.png" COMP;
+   
+   image: "e17_icon_check.png" COMP;
 }
 
 group {
@@ -2270,6 +2272,25 @@ group {
    }
 }   
 
+group {
+   name: "e/icons/enlightenment/check";
+   max:  64 64;
+   parts {
+      part {
+        name:          "icon";
+        mouse_events:  0;
+        description {
+           state:    "default" 0.0;
+           aspect:   1.0 1.0;
+           aspect_preference: BOTH;
+           max:      64 64;
+           image {
+              normal: "e17_icon_check.png";
+           }
+        }
+      }
+   }
+}   
 
 
 
diff --git a/data/themes/images/e17_icon_check.png b/data/themes/images/e17_icon_check.png
new file mode 100644 (file)
index 0000000..f9a6060
Binary files /dev/null and b/data/themes/images/e17_icon_check.png differ
index e93a7af..387cca6 100644 (file)
@@ -501,7 +501,7 @@ _load_color_classes(Evas_Object *obj, E_Config_Dialog_Data *cfdata)
             if (cfc->enabled) 
               {
                  icon = edje_object_add(evas_object_evas_get(obj));
-                 e_util_edje_icon_set(icon, "enlightenment/e");
+                 e_util_edje_icon_set(icon, "enlightenment/check");
               }
             else
               icon = NULL;
@@ -542,7 +542,7 @@ _radio_cb_change(void *data, Evas_Object *obj, void *event_info)
        if (c->enabled) 
          {
             icon = edje_object_add(evas_object_evas_get(cfdata->gui.ilist));
-            e_util_edje_icon_set(icon, "enlightenment/e");
+            e_util_edje_icon_set(icon, "enlightenment/check");
          }
        else 
          icon = NULL;
index 2fbe77f..f929c39 100644 (file)
@@ -736,7 +736,7 @@ _class_list_load(E_Config_Dialog_Data *cfdata)
                  if (tc->enabled)
                    {
                       ic = edje_object_add(evas);
-                      e_util_edje_icon_set(ic, "enlightenment/e");
+                      e_util_edje_icon_set(ic, "enlightenment/check");
                    }
                  else
                    ic = NULL;
index 1384048..5832564 100644 (file)
@@ -1358,7 +1358,7 @@ _lang_list_load(void *data)
             Evas_Object *ic;
        
             ic = edje_object_add(cfdata->evas);
-            e_util_edje_icon_set(ic, "enlightenment/e");
+            e_util_edje_icon_set(ic, "enlightenment/check");
             e_widget_ilist_append(cfdata->gui.lang_list, ic, trans, NULL, NULL, ln->lang_code);
          }
        else
index 216a114..8c79576 100644 (file)
@@ -131,7 +131,7 @@ _ilist_fill(E_Config_Dialog_Data *cfdata)
        e_widget_ilist_append(cfdata->o_list, ob, l->data, _ilist_cb_selected, cfdata, l->data);
        if (!strcmp (cur_profile, l->data))
      {
-   e_util_edje_icon_set(ob, "enlightenment/e");
+   e_util_edje_icon_set(ob, "enlightenment/check");
    e_widget_ilist_selected_set(cfdata->o_list, e_widget_ilist_count(cfdata->o_list));
      }
      }
index efa0af6..a76e255 100644 (file)
@@ -827,7 +827,7 @@ _fill_categories_ilist(E_Config_Dialog_Data *cfdata)
        if (theme->file)
          {
             ic = edje_object_add(evas);
-            e_util_edje_icon_set(ic, "enlightenment/e");
+            e_util_edje_icon_set(ic, "enlightenment/check");
          }
        e_widget_ilist_append(o, ic, theme->category + 11, NULL, NULL, NULL);
        themes = themes->next;