[gnome-software] Hide "Software Sources" menu when its action is disabled
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Hide "Software Sources" menu when its action is disabled
- Date: Thu, 31 Mar 2016 15:11:26 +0000 (UTC)
commit c900305cd8c34be14f40faa30f3eec64ba2f7cf0
Author: Joaquim Rocha <jrocha endlessm com>
Date: Thu Mar 31 13:57:26 2016 +0200
Hide "Software Sources" menu when its action is disabled
src/menus.ui | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/menus.ui b/src/menus.ui
index b138ba5..af7f63b 100644
--- a/src/menus.ui
+++ b/src/menus.ui
@@ -6,6 +6,7 @@
<item>
<attribute name="label" translatable="yes">_Software Sources</attribute>
<attribute name="action">app.sources</attribute>
+ <attribute name="hidden-when">action-disabled</attribute>
</item>
</section>
<section>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]