Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fdo_menu_to_order.c e_int_menus.c 


Log Message:
Add all apps config dialog to the config shortcut menu.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fdo_menu_to_order.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_fdo_menu_to_order.c       30 Aug 2006 18:54:54 -0000      1.5
+++ e_fdo_menu_to_order.c       2 Sep 2006 07:20:06 -0000       1.6
@@ -21,6 +21,7 @@
     */
    char *menu_file;
    
+   /* Should rm -fr ~/.e/e/applications/menu/all to make sure we start from a 
clean slate. */
    /* Find the main menu file. */
    menu_file = ecore_desktop_paths_file_find(ecore_desktop_paths_menus, 
                                                  "applications.menu", -1, 
NULL, NULL);
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -3 -r1.156 -r1.157
--- e_int_menus.c       1 Sep 2006 09:01:52 -0000       1.156
+++ e_int_menus.c       2 Sep 2006 07:20:06 -0000       1.157
@@ -644,6 +644,12 @@
 }
 
 static void
+_e_int_menus_applications_item_cb(void *data, E_Menu *m, E_Menu_Item *mi)
+{
+   e_int_config_apps(m->zone->container);
+}
+
+static void
 _e_int_menus_config_pre_cb(void *data, E_Menu *m)
 {
    E_Menu_Item *mi;
@@ -670,6 +676,11 @@
    e_menu_item_label_set(mi, _("Modules"));
    e_util_menu_item_edje_icon_set(mi, "enlightenment/modules");
    e_menu_item_callback_set(mi, _e_int_menus_module_item_cb, NULL);
+
+   mi = e_menu_item_new(m);
+   e_menu_item_label_set(mi, _("All Applications"));
+   e_util_menu_item_edje_icon_set(mi, "enlightenment/applications");
+   e_menu_item_callback_set(mi, _e_int_menus_applications_item_cb, NULL);
 
    l = evas_hash_find(_e_int_menus_augmentation, "config");
    if (l)



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to