Commit 276c9313 authored by Robert Ancell's avatar Robert Ancell Committed by Richard Hughes
parent b19f8b40
......@@ -36,7 +36,6 @@ src/gs-installed-page.ui
src/gs-loading-page.c
src/gs-loading-page.ui
src/gs-main.c
src/gs-menus.ui
src/gs-moderate-page.ui
src/gs-overview-page.c
src/gs-overview-page.ui
......
......@@ -2,7 +2,6 @@
<gresources>
<gresource prefix="/org/gnome/Software">
<file preprocess="xml-stripblanks">gnome-software.ui</file>
<file preprocess="xml-stripblanks" alias="gtk/menus.ui">gs-menus.ui</file>
<file preprocess="xml-stripblanks">gs-app-addon-row.ui</file>
<file preprocess="xml-stripblanks">gs-app-folder-dialog.ui</file>
<file preprocess="xml-stripblanks">gs-app-row.ui</file>
......
......@@ -29,6 +29,23 @@
</object>
</child>
</object>
<menu id="primary_menu">
<section id="accounts_menu">
</section>
<section>
<item>
<attribute name="label" translatable="yes">_Software Repositories</attribute>
<attribute name="action">app.sources</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_About</attribute>
<attribute name="action">app.about</attribute>
</item>
</section>
</menu>
<object class="GtkApplicationWindow" id="window_software">
<property name="can_focus">False</property>
<property name="default-width">1200</property>
......@@ -299,6 +316,26 @@
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkMenuButton" id="menu_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="sensitive">True</property>
<property name="menu_model">primary_menu</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">open-menu-symbolic</property>
<property name="icon_size">1</property>
</object>
</child>
</object>
<packing>
<property name="pack-type">end</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
......
<?xml version="1.0"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<menu id="app-menu">
<section>
<item>
<attribute name="label" translatable="yes">_Software Repositories</attribute>
<attribute name="action">app.sources</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_About</attribute>
<attribute name="action">app.about</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Quit</attribute>
<attribute name="action">app.quit</attribute>
<attribute name="accel"><![CDATA[<Ctrl>Q]]></attribute>
</item>
</section>
</menu>
</interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment