diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-09-06 01:13:55 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-09-06 01:13:55 +0200 |
commit | 3ae13e6fcc1fe55606921383380434b6752dff1c (patch) | |
tree | aa7aa7589cffd58c4c0a3829c0863cee792ad4f1 | |
parent | bf86fab5906e1466984d072cc9a0309b38b55a43 (diff) | |
download | portato-3ae13e6fcc1fe55606921383380434b6752dff1c.tar.gz portato-3ae13e6fcc1fe55606921383380434b6752dff1c.tar.bz2 portato-3ae13e6fcc1fe55606921383380434b6752dff1c.zip |
Moved the menu to an extra file
Diffstat (limited to '')
-rw-r--r-- | portato/gui/templates/MainWindow.menu | 207 | ||||
-rw-r--r-- | portato/gui/templates/MainWindow.ui | 210 |
2 files changed, 207 insertions, 210 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> diff --git a/portato/gui/templates/MainWindow.ui b/portato/gui/templates/MainWindow.ui index e84bfd5..0d77264 100644 --- a/portato/gui/templates/MainWindow.ui +++ b/portato/gui/templates/MainWindow.ui @@ -1,210 +1,6 @@ <?xml version="1.0"?> <!--Generated with glade3 3.4.5 on Fri Dec 5 12:57:49 2008 --> <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> <object class="GtkWindow" id="MainWindow"> <property name="border_width">2</property> <property name="window_position">GTK_WIN_POS_CENTER</property> @@ -215,12 +11,6 @@ <object class="GtkVBox" id="mainVB"> <property name="visible">True</property> <child> - <object class="GtkMenuBar" constructor="uimanager" id="menubar"> - <property name="visible">True</property> - </object> - <packing> - <property name="expand">False</property> - </packing> </child> <child> <object class="GtkHBox" id="searchHB"> |