Enlightenment CVS committal

Author  : mekius
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/fileman


Modified Files:
        e_mod_config.c 


Log Message:
Patches from ptomaine.
 * Fix for URI escpaing.
 * Add the ability for EFM to recognize different drop actions from other FMs.  
The reverse soon to come :)
 * Add option to disable HAL device icons on the desktop.
 * Performing an operation on multiple files will now be done in a single slave 
process instead of many.
 
 More to come before and after GSOC :)  If you see him in the channel, give him 
a high five because he's finally helped pull EFM out of the crapper :P

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/fileman/e_mod_config.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_mod_config.c      9 Nov 2007 23:33:23 -0000       1.7
+++ e_mod_config.c      11 Aug 2008 02:13:22 -0000      1.8
@@ -58,6 +58,11 @@
        int fixed;
      } theme;
 
+   struct
+     {
+        int desktop;
+     } hal;
+
    E_Config_Dialog *cfd;
 };
 
@@ -110,6 +115,7 @@
    cfdata->icon.icon.h = fileman_config->icon.icon.h;
    cfdata->icon.extension.show = fileman_config->icon.extension.show;
    cfdata->list.sort.dirs.first = fileman_config->list.sort.dirs.first;
+   cfdata->hal.desktop = e_config->hal_desktop;
 }
 
 static void 
@@ -136,6 +142,16 @@
    
    fileman_config->list.sort.dirs.first = cfdata->list.sort.dirs.first;
    fileman_config->list.sort.dirs.last = !(cfdata->list.sort.dirs.first);
+
+   e_config->hal_desktop = cfdata->hal.desktop;
+   if(e_config->hal_desktop) 
+     {
+        e_fm2_hal_show_desktop_icons();
+     }
+   else
+     {
+        e_fm2_hal_hide_desktop_icons();
+     }
      
    e_config_save_queue();
    
@@ -197,6 +213,8 @@
    ob = e_widget_check_add(evas, _("Show Toolbar"), 
                           &(cfdata->view.show_toolbar));
    e_widget_list_object_append(o, ob, 1, 1, 0.5);
-   
+   ob = e_widget_check_add(evas, _("Show HAL icons on desktop"), 
+                          &(cfdata->hal.desktop));
+   e_widget_list_object_append(o, ob, 1, 1, 0.5);
    return o;
 }



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to