This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch v-0.25.0
in repository enlightenment.

View the commit online.

commit 2590043d1560496813db7445f7fc97557d6e54a1
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Wed Apr 27 14:51:55 2022 +0100

    gadcon - fix disabled items... this is a radio and switches a/b/c ...
    
    just because an item is not the selected one does not mean it should
    be disabled. that is not how radios work. you choose 1 of n menu
    items... only items you should NOT select (are not available for
    selection) should be disabled.
    
    @fix
---
 src/bin/e_gadcon.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c
index 5311854b9..da2995306 100644
--- a/src/bin/e_gadcon.c
+++ b/src/bin/e_gadcon.c
@@ -1821,7 +1821,6 @@ e_gadcon_client_util_menu_items_append(E_Gadcon_Client *gcc, E_Menu *menu_gadget
              else if ((!gcc->style) &&
                       (!e_util_strcmp(gcc->client_class->default_style, E_GADCON_CLIENT_STYLE_PLAIN)))
                e_menu_item_toggle_set(mi, 1);
-             e_menu_item_disabled_set(mi, mi->toggle);
              e_menu_item_callback_set(mi, _e_gadcon_client_cb_menu_style_plain, gcc);
 
              mi = e_menu_item_new(mo);
@@ -1834,7 +1833,6 @@ e_gadcon_client_util_menu_items_append(E_Gadcon_Client *gcc, E_Menu *menu_gadget
              else if ((!gcc->style) &&
                       (!e_util_strcmp(gcc->client_class->default_style, E_GADCON_CLIENT_STYLE_INSET)))
                e_menu_item_toggle_set(mi, 1);
-             e_menu_item_disabled_set(mi, mi->toggle);
              e_menu_item_callback_set(mi, _e_gadcon_client_cb_menu_style_inset, gcc);
 
              mi = e_menu_item_new(menu_gadget);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to