Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fm.c e_fm_prop.c 


Log Message:


working a bit more on the icon in file prop dialog - now it gets the props
right.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -3 -r1.125 -r1.126
--- e_fm.c      7 Jan 2007 09:01:47 -0000       1.125
+++ e_fm.c      7 Jan 2007 21:33:52 -0000       1.126
@@ -970,6 +970,7 @@
                  oic = edje_object_add(evas);
                  e_theme_edje_object_set(oic, "base/theme/fileman",
                                          "e/icons/fileman/file");
+                 if (type_ret) *type_ret = "FILE_TYPE";
               }
             else if (!strcmp(icon, "THUMB"))
               {
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_prop.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_fm_prop.c 7 Jan 2007 09:01:47 -0000       1.5
+++ e_fm_prop.c 7 Jan 2007 21:33:52 -0000       1.6
@@ -276,7 +276,10 @@
    ob = e_widget_radio_add(evas, _("Custom"), 2, rg);
    evas_object_smart_callback_add(ob, "changed", _cb_type, cfdata);
    e_widget_frametable_object_append(ot, ob, 1, 2, 1, 1, 1, 1, 1, 1);
-   
+
+   cfdata->icon_mime = 1;
+   if ((cfdata->fi->icon) || ((itype) && (!strcmp(itype, "DESKTOP"))))
+     cfdata->icon_mime = 0;
    ob = e_widget_check_add(evas, _("Use this icon for all files of this 
type"), &(cfdata->icon_mime));
    e_widget_frametable_object_append(ot, ob, 0, 3, 2, 1, 1, 1, 1, 1);
    



-------------------------------------------------------------------------
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