Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/icon_theme


Modified Files:
        ewl_icon_theme.c 


Log Message:
- revert patch from last night. there's a better way to do it.
- remove the unused stock images from the theme

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/icon_theme/ewl_icon_theme.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_icon_theme.c    13 Dec 2006 07:18:59 -0000      1.3
+++ ewl_icon_theme.c    13 Dec 2006 19:00:03 -0000      1.4
@@ -302,7 +302,7 @@
        for ( ; icons[ewl_icon_theme_pos] != NULL; 
                        ewl_icon_theme_pos++, count ++)
        {
-               const char *path, *key;
+               const char *path;
 
                if (count >= EWL_ICON_THEME_PER_LOOP)
                {
@@ -312,10 +312,9 @@
 
                path = ewl_icon_theme_icon_path_get(icons[ewl_icon_theme_pos],
                                                        EWL_ICON_SIZE_MEDIUM);
-               key = ewl_icon_theme_icon_key_get(path,
-                                               icons[ewl_icon_theme_pos]);
                o = ewl_icon_simple_new();
-               if (path) ewl_icon_image_set(EWL_ICON(o), path, key);
+               if (path) ewl_icon_image_set(EWL_ICON(o), path, 
+                                       icons[ewl_icon_theme_pos]);
                ewl_icon_label_set(EWL_ICON(o), icons[ewl_icon_theme_pos]);
                ewl_container_child_append(EWL_CONTAINER(fbox), o);
                ewl_widget_show(o);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to