From 4129059d88d04ed92d3280b7e3c8a94b3f47541b Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 5 Nov 2006 11:51:45 +0000 Subject: [PATCH] * 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. SVN revision: 26960 --- src/bin/e_int_config_apps.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/bin/e_int_config_apps.c b/src/bin/e_int_config_apps.c index 6772e008a..e25ec9f72 100644 --- a/src/bin/e_int_config_apps.c +++ b/src/bin/e_int_config_apps.c @@ -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 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf 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);