[gedit/wip/redesign2] Hide bottom panel menu item when action disabled



commit cc09b1570844869a1a98990e0e5414585c879af8
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Jan 7 09:04:28 2014 +0100

    Hide bottom panel menu item when action disabled

 gedit/gedit-window.ui |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-window.ui b/gedit/gedit-window.ui
index f7bc01c..725312f 100644
--- a/gedit/gedit-window.ui
+++ b/gedit/gedit-window.ui
@@ -42,6 +42,7 @@
       <item>
         <attribute name="label" translatable="yes">_Bottom Panel</attribute>
         <attribute name="action">win.bottom_panel</attribute>
+        <attribute name="hidden-when">action-disabled</attribute>
       </item>
       <item>
         <attribute name="label" translatable="yes">_Fullscreen</attribute>
@@ -139,6 +140,7 @@
       <item>
         <attribute name="label" translatable="yes">_Bottom Panel</attribute>
         <attribute name="action">win.bottom_panel</attribute>
+        <attribute name="hidden-when">action-disabled</attribute>
       </item>
       <item>
         <attribute name="label" translatable="yes">_Fullscreen</attribute>


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