[gedit/wip/redesign2] Hide bottom panel menu item when action disabled
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/redesign2] Hide bottom panel menu item when action disabled
- Date: Tue, 7 Jan 2014 08:04:47 +0000 (UTC)
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]