aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-02-22 09:33:11 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-02-22 09:33:11 +0000
commit49b3a40eb0661e09bb842904fa1cfa0fc3088c1e (patch)
treeb3623452d8e3fea000c93ce63720a798533d2e40
parent5db6e8a56f59b1e7e2c40881c4cf4030ea2d7df7 (diff)
downloadenlightenment-49b3a40eb0661e09bb842904fa1cfa0fc3088c1e.tar.gz
enlightenment-49b3a40eb0661e09bb842904fa1cfa0fc3088c1e.tar.xz
enlightenment-49b3a40eb0661e09bb842904fa1cfa0fc3088c1e.zip
disable remember dialog -> advanced command entry when not remembering command
SVN revision: 84302
-rw-r--r--src/bin/e_int_border_remember.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/e_int_border_remember.c b/src/bin/e_int_border_remember.c
index 6c08a13df..5d8b76f52 100644
--- a/src/bin/e_int_border_remember.c
+++ b/src/bin/e_int_border_remember.c
@@ -657,7 +657,7 @@ static Evas_Object *
_advanced_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_Dialog_Data *cfdata)
{
/* generate the core widget layout for an advanced dialog */
- Evas_Object *o, *ob, *of;
+ Evas_Object *o, *ob, *of, *oc;
_clear_data(cfdata);
_fill_data(cfdata);
@@ -778,10 +778,11 @@ _advanced_create_widgets(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Config_D
ob = e_widget_check_add(evas, _("Offer Resistance"),
&(cfdata->remember.offer_resistance));
e_widget_table_object_append(of, ob, 1, 7, 1, 1, 1, 0, 1, 0);
- ob = e_widget_check_add(evas, _("Application file or name (.desktop)"),
+ oc = e_widget_check_add(evas, _("Application file or name (.desktop)"),
&(cfdata->remember.apply_desktop_file));
- e_widget_table_object_append(of, ob, 0, 7, 1, 1, 1, 0, 1, 0);
+ e_widget_table_object_append(of, oc, 0, 7, 1, 1, 1, 0, 1, 0);
ob = e_widget_entry_add(evas, &cfdata->desktop, NULL, NULL, NULL);
+ e_widget_check_widget_disable_on_unchecked_add(oc, ob);
e_widget_table_object_append(of, ob, 0, 8, 2, 1, 1, 0, 1, 0);
e_widget_toolbook_page_append(o, NULL, _("Properties"), of, 1, 1, 1, 1, 0.5, 0.0);