84 lines
3.6 KiB
XML
84 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<object class="GtkActionGroup" id="main-actions">
|
|
<child>
|
|
<object class="GtkAction" id="logout">
|
|
<property name="label" translatable="yes">_Logout</property>
|
|
<property name="tooltip" translatable="yes">Logout</property>
|
|
<property name="stock_id">gtk-quit</property>
|
|
<property name="icon_name">contact-new</property>
|
|
<signal name="activate" handler="vn_gui_on_logout_activated" swapped="no"/>
|
|
</object>
|
|
<accelerator key="l" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkAction" id="exit">
|
|
<property name="label" translatable="yes">_Quit</property>
|
|
<property name="tooltip" translatable="yes">Quit</property>
|
|
<property name="icon_name">window-close</property>
|
|
<signal name="activate" handler="vn_gui_on_exit_activated" swapped="no"/>
|
|
</object>
|
|
<accelerator key="q" modifiers="GDK_CONTROL_MASK"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkAction" id="about">
|
|
<property name="label" translatable="yes">_About</property>
|
|
<property name="icon_name">help-about</property>
|
|
<signal name="activate" handler="vn_gui_on_about_activated" swapped="no"/>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkAction" id="menu-file">
|
|
<property name="label" translatable="yes">_File</property>
|
|
<property name="icon_name">system-file-manager</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkAction" id="menu-help">
|
|
<property name="label" translatable="yes">_Help</property>
|
|
<property name="icon_name">help-contents</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkAction" id="connect">
|
|
<property name="label" translatable="yes">_Reconnect</property>
|
|
<property name="tooltip" translatable="yes">Reconnect</property>
|
|
<property name="stock_id">gtk-connect</property>
|
|
<signal name="activate" handler="vn_gui_on_open_activated" swapped="no"/>
|
|
</object>
|
|
<accelerator key="l" modifiers="GDK_CONTROL_MASK"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkAction" id="close-tab">
|
|
<property name="label" translatable="yes">_Close</property>
|
|
<property name="icon_name">window-close</property>
|
|
<signal name="activate" handler="vn_gui_on_close_tab_activated" swapped="no"/>
|
|
</object>
|
|
<accelerator key="w" modifiers="GDK_CONTROL_MASK"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkAction" id="menu-view">
|
|
<property name="label" translatable="yes">_View</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleAction" id="menu-view-tabs">
|
|
<property name="label" translatable="yes" context="View menu option">Dynamic _Tabs</property>
|
|
<property name="tooltip" translatable="yes">Don't show tabs if there is only one tab open</property>
|
|
<property name="active">True</property>
|
|
<signal name="toggled" handler="vn_gui_on_dynamic_tabs_activated" swapped="no"/>
|
|
</object>
|
|
<accelerator key="t" modifiers="GDK_CONTROL_MASK"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleAction" id="menu-view-toolbar">
|
|
<property name="label" translatable="yes" context="View menu option">Tool_bar</property>
|
|
<property name="active">True</property>
|
|
<signal name="toggled" handler="vn_gui_on_view_toolbar_activated" swapped="no"/>
|
|
</object>
|
|
<accelerator key="b" modifiers="GDK_CONTROL_MASK"/>
|
|
</child>
|
|
</object>
|
|
</interface>
|