Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_config_apps.c 


Log Message:
* Put the sort checkbox back, raster wasn't sure what it was used for, we 
discussed it.

* Remove the add app button, but not if our caller (like IBar) wanted 
something special.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_config_apps.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- e_int_config_apps.c 5 Nov 2006 03:31:45 -0000       1.35
+++ e_int_config_apps.c 5 Nov 2006 11:51:45 -0000       1.36
@@ -7,7 +7,6 @@
  * More filtering/sorting of left side to make managing thousands of apps easy.
  *
  * These things require support from e_fm -
- * DND from left side to righ side, and to ibar etc.
  * Stop user from deleting standard directories on right side.
  * Stop user from creating new directories on left side.
  */
@@ -592,22 +591,27 @@
                          150, 220, /* min */
                          99999, 99999 /* max */
                          );
-/*
    mt = e_widget_check_add(evas, _("Sort applications"), &(cfdata->sorted));
    evas_object_smart_callback_add(mt, "changed",
                                  _cb_files_sorted_changed, cfdata);
    e_widget_framelist_object_append(of, mt);
-*/
+
+   mt = NULL;
    if (once)
       mt = e_widget_button_add(evas, _(once->label), "enlightenment/e",
                           _cb_button_add, cfdata, NULL);
+/*
    else
       mt = e_widget_button_add(evas, _("Add application..."), 
"enlightenment/e",
                           _cb_button_add, cfdata, NULL);
-   cfdata->gui.o_add_button = mt;
+*/
+   if (mt)
+     {
+        cfdata->gui.o_add_button = mt;
 
-   e_widget_framelist_object_append(of, mt);
-   e_widget_disabled_set(mt, 1);
+        e_widget_framelist_object_append(of, mt);
+        e_widget_disabled_set(mt, 1);
+     }
 
    mt = e_widget_button_add(evas, _("Create a new application"), 
"enlightenment/e",
                           _cb_button_create, cfdata, NULL);



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