summaryrefslogtreecommitdiff
path: root/portato/gui/templates/MainWindow.menu
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-09-06 01:46:45 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-09-06 01:46:45 +0200
commitaeffd6bb3e77545ac6de777c4b0c9f3024ae654f (patch)
tree2ab74d4b3b47fd35ec3a3b3f2f115a7430f9f006 /portato/gui/templates/MainWindow.menu
parentbf86fab5906e1466984d072cc9a0309b38b55a43 (diff)
parent30b9a89aaf90e5ea0edeadee6d6f1a9f05c40703 (diff)
downloadportato-aeffd6bb3e77545ac6de777c4b0c9f3024ae654f.tar.gz
portato-aeffd6bb3e77545ac6de777c4b0c9f3024ae654f.tar.bz2
portato-aeffd6bb3e77545ac6de777c4b0c9f3024ae654f.zip
Updated .ui files, so they work with the most up2date glade. Therefore moved action and menu declarations into an extra file and added some white magic to the UIBuilder class.
Diffstat (limited to '')
-rw-r--r--portato/gui/templates/MainWindow.menu207
1 files changed, 207 insertions, 0 deletions
diff --git a/portato/gui/templates/MainWindow.menu b/portato/gui/templates/MainWindow.menu
new file mode 100644
index 0000000..1cce3be
--- /dev/null
+++ b/portato/gui/templates/MainWindow.menu
@@ -0,0 +1,207 @@
+<?xml version="1.0"?>
+<interface>
+ <object class="GtkUIManager" id="uimanager">
+ <child>
+ <object class="GtkActionGroup" id="pluginActionGroup">
+ <child>
+ <object class="GtkAction" id="pluginMenuAction">
+ <property name="name">pluginMenuAction</property>
+ <property name="label" translatable="yes">Plu_gins</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkActionGroup" id="generalActionGroup">
+ <child>
+ <object class="GtkAction" id="fileMenuAction">
+ <property name="name">fileMenuAction</property>
+ <property name="label" translatable="yes">_File</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkAction" id="prefAction">
+ <property name="stock_id">gtk-preferences</property>
+ <property name="name">prefAction</property>
+ <property name="label" translatable="yes">_Preferences</property>
+ <signal handler="cb_preferences_clicked" name="activate"/>
+ </object>
+ <accelerator key="P" modifiers="GDK_CONTROL_MASK"/>
+ </child>
+ <child>
+ <object class="GtkAction" id="reloadAction">
+ <property name="stock_id">gtk-refresh</property>
+ <property name="name">reloadAction</property>
+ <property name="label" translatable="yes">Re_load Portage</property>
+ <signal handler="cb_reload_clicked" name="activate"/>
+ </object>
+ <accelerator key="F5" modifiers=""/>
+ <accelerator key="R" modifiers="GDK_CONTROL_MASK"/>
+ </child>
+ <child>
+ <object class="GtkAction" id="closeAction">
+ <property name="stock_id">gtk-quit</property>
+ <property name="name">closeAction</property>
+ <signal handler="cb_close" name="activate"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkAction" id="emergeMenuAction">
+ <property name="name">emergeMenuAction</property>
+ <property name="label" translatable="yes">_Emerge</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkAction" id="emergeAction">
+ <property name="stock_id">gtk-add</property>
+ <property name="name">emergeAction</property>
+ <property name="label" translatable="yes">_Install</property>
+ <signal handler="cb_package_emerge_clicked" name="activate"/>
+ </object>
+ <accelerator key="plus" modifiers="GDK_CONTROL_MASK"/>
+ </child>
+ <child>
+ <object class="GtkAction" id="unmergeAction">
+ <property name="stock_id">gtk-remove</property>
+ <property name="name">unmergeAction</property>
+ <property name="label" translatable="yes">_Uninstall</property>
+ <signal handler="cb_package_unmerge_clicked" name="activate"/>
+ </object>
+ <accelerator key="minus" modifiers="GDK_CONTROL_MASK"/>
+ </child>
+ <child>
+ <object class="GtkAction" id="updateAction">
+ <property name="name">updateAction</property>
+ <property name="label" translatable="yes">Update _World</property>
+ <signal handler="cb_update_clicked" name="activate"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkAction" id="showUpdatesAction">
+ <property name="name">showUpdatesAction</property>
+ <property name="label" translatable="yes">Show Updatable P_ackages</property>
+ <signal handler="cb_show_updates_clicked" name="activate"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkToggleAction" id="showInstalledAction">
+ <property name="name">showInstalledAction</property>
+ <property name="label" translatable="yes">Show _Only Installed Packages</property>
+ <signal handler="cb_show_installed_toggled" name="toggled"/>
+ </object>
+ <accelerator key="i" modifiers="GDK_CONTROL_MASK"/>
+ </child>
+ <child>
+ <object class="GtkAction" id="syncAction">
+ <property name="stock_id">gtk-refresh</property>
+ <property name="name">syncAction</property>
+ <property name="label" translatable="yes">_Sync</property>
+ <signal handler="cb_sync_clicked" name="activate"/>
+ </object>
+ <accelerator key="Y" modifiers="GDK_CONTROL_MASK"/>
+ </child>
+ <child>
+ <object class="GtkAction" id="saveFlagsAction">
+ <property name="stock_id">gtk-save</property>
+ <property name="name">saveFlagsAction</property>
+ <property name="label" translatable="yes">Save _Flags</property>
+ <signal handler="cb_save_flags_clicked" name="activate"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkToggleAction" id="pauseAction">
+ <property name="name">pauseActionMenu</property>
+ <property name="label" translatable="yes">Emerge _Paused</property>
+ <signal handler="cb_pause_emerge" name="activate"/>
+ </object>
+ <accelerator key="Z" modifiers="GDK_CONTROL_MASK"/>
+ </child>
+ <child>
+ <object class="GtkAction" id="killAction">
+ <property name="stock_id">gtk-stop</property>
+ <property name="name">killAction</property>
+ <property name="label" translatable="yes">_Kill Emerge</property>
+ <signal handler="cb_kill_clicked" name="activate"/>
+ </object>
+ <accelerator key="K" modifiers="GDK_CONTROL_MASK"/>
+ </child>
+ <child>
+ <object class="GtkAction" id="copyAction">
+ <property name="stock_id">gtk-copy</property>
+ <property name="name">copyAction</property>
+ <property name="label" translatable="yes">_Copy</property>
+ <signal handler="cb_copy_clicked" name="activate"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkAction" id="helpMenuAction">
+ <property name="name">helpMenuAction</property>
+ <property name="label" translatable="yes">_?</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkAction" id="aboutAction">
+ <property name="stock_id">gtk-about</property>
+ <property name="name">aboutAction</property>
+ <property name="label" translatable="yes">_About</property>
+ <signal handler="cb_about_clicked" name="activate"/>
+ </object>
+ </child>
+ <child>
+ <object class="GtkAction" id="pluginsAction">
+ <property name="stock_id">gtk-connect</property>
+ <property name="name">pluginsAction</property>
+ <property name="label" translatable="yes">_Plugins</property>
+ <signal handler="cb_plugins_clicked" name="activate"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ <ui>
+ <menubar name="menubar">
+ <menu name="fileMenu" action="fileMenuAction">
+ <menuitem name="prefMenuItem" action="prefAction"/>
+ <menuitem name="reloadMenuItem" action="reloadAction"/>
+ <separator/>
+ <menuitem name="closeMenuItem" action="closeAction"/>
+ </menu>
+ <menu name="emergeMenu" action="emergeMenuAction">
+ <menuitem name="emergeMenuItem" action="emergeAction"/>
+ <menuitem name="unmergeMenuItem" action="unmergeAction"/>
+ <menuitem name="updateMenuItem" action="updateAction"/>
+ <menuitem name="showUpdatesMenuItem" action="showUpdatesAction"/>
+ <menuitem name="showInstalledMenuItem" action="showInstalledAction"/>
+ <separator/>
+ <menuitem name="syncMenuItem" action="syncAction"/>
+ <menuitem name="saveFlagsMenuItem" action="saveFlagsAction"/>
+ <separator/>
+ <menuitem name="pauseMenuItem" action="pauseAction"/>
+ <menuitem name="killMenuItem" action="killAction"/>
+ </menu>
+ <menu name="pluginMenu" action="pluginMenuAction"/>
+ <menu name="helpMenu" action="helpMenuAction">
+ <menuitem name="aboutMenuItem" action="aboutAction"/>
+ <menuitem name="pluginsMenuItem" action="pluginsAction"/>
+ </menu>
+ </menubar>
+ <popup name="systrayPopup">
+ <menuitem action="pauseAction"/>
+ <menuitem action="killAction"/>
+ <menuitem action="closeAction"/>
+ </popup>
+ <popup name="consolePopup">
+ <menuitem name="copyMenuItem" action="copyAction"/>
+ <menuitem name="killMenuItem" action="killAction"/>
+ <menuitem name="pauseMenuItem" action="pauseAction"/>
+ </popup>
+ </ui>
+ </object>
+ <object class="GtkMenu" constructor="uimanager" id="systrayPopup">
+ <property name="visible">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ </object>
+ <object class="GtkMenu" constructor="uimanager" id="consolePopup">
+ <property name="visible">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ </object>
+</interface>