[gimp] app: the "Tabs Position" menu should only be active in single window mode.



commit 82672206515266423fa2cf6fb6dc912b10e6a468
Author: Jehan <jehan girinstud io>
Date:   Fri Oct 25 14:50:04 2013 +1300

    app: the "Tabs Position" menu should only be active in single window mode.
    
    Thanks to Téo for pointing this out.

 app/actions/windows-actions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/windows-actions.c b/app/actions/windows-actions.c
index 88b3b90..42e2355 100644
--- a/app/actions/windows-actions.c
+++ b/app/actions/windows-actions.c
@@ -269,6 +269,7 @@ windows_actions_update (GimpActionGroup *group,
     }
 
   gimp_action_group_set_action_active (group, action, TRUE);
+  gimp_action_group_set_action_sensitive (group, "windows-tab-position", config->single_window_mode);
 
 #undef SET_ACTIVE
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]