[gnome-software] Hide "Software Sources" menu when its action is disabled



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]