<?xml version="1.0"?>
<!--*- mode: xml -*-->
<interface>
- <object class="GtkUIManager" id="ui_manager">
- <child>
- <object class="GtkActionGroup" id="actiongroup1">
- <child>
- <object class="GtkAction" id="chat">
- <property name="name">chat</property>
- <property name="label" translatable="yes">_Chat</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="chat_new_message">
- <property name="icon-name">im-message-new</property>
- <property name="name">chat_new_message</property>
- <property name="label" translatable="yes">_New Conversation…</property>
- </object>
- <accelerator key="N" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkAction" id="chat_new_call">
- <property name="icon-name">audio-input-microphone</property>
- <property name="name">chat_new_call</property>
- <property name="label" translatable="yes">New _Call…</property>
- </object>
- <accelerator key="M" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkAction" id="view_history">
- <property name="icon-name">document-open-recent</property>
- <property name="name">view_history</property>
- <property name="label" translatable="yes">_Previous Conversations</property>
- </object>
- <accelerator key="F3" modifiers=""/>
- </child>
- <child>
- <object class="GtkAction" id="chat_add_contact">
- <property name="stock_id">gtk-add</property>
- <property name="name">chat_add_contact</property>
- <property name="label" translatable="yes">_Add Contact…</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="chat_search_contacts">
- <property name="stock_id">gtk-find</property>
- <property name="name">chat_search_contacts</property>
- <property name="label" translatable="yes">_Search for Contacts…</property>
- </object>
- <accelerator key="f" modifiers="GDK_SHIFT_MASK | GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkAction" id="view_show_ft_manager">
- <property name="icon-name">document-send</property>
- <property name="name">view_show_ft_manager</property>
- <property name="label" translatable="yes">_File Transfers</property>
- </object>
- </child>
- <child>
- <object class="GtkToggleAction" id="view_show_offline">
- <property name="name">view_show_offline</property>
- <property name="label" translatable="yes">_Offline Contacts</property>
- </object>
- <accelerator key="H" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkToggleAction" id="view_show_protocols">
- <property name="name">view_show_protocols</property>
- <property name="label" translatable="yes">Show P_rotocols</property>
- </object>
- </child>
- <child>
- <object class="GtkToggleAction" id="view_balance_show_in_roster">
- <property name="name">view_balance_show_in_roster</property>
- <property name="label" translatable="yes">Credit Balance</property>
- <property name="visible">False</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="view_show_map">
- <property name="name">view_show_map</property>
- <property name="label" translatable="yes">Contacts on a _Map</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="chat_quit">
- <property name="stock_id">gtk-quit</property>
- <property name="name">chat_quit</property>
- </object>
- <accelerator key="Q" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkAction" id="edit">
- <property name="name">edit</property>
- <property name="label" translatable="yes">_Edit</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="edit_context">
- <property name="name">edit_context</property>
- <property name="label" translatable="no">Context</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="edit_accounts">
- <property name="name">edit_accounts</property>
- <property name="label" translatable="yes">_Accounts</property>
- </object>
- <accelerator key="F4" modifiers=""/>
- </child>
- <child>
- <object class="GtkAction" id="edit_blocked_contacts">
- <property name="name">edit_blocked_contacts</property>
- <property name="label" translatable="yes">_Blocked Contacts</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="edit_preferences">
- <property name="stock_id">gtk-preferences</property>
- <property name="name">edit_preferences</property>
- <property name="label" translatable="yes">P_references</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="edit_search_contacts">
- <property name="name">edit_search_contacts</property>
- <property name="label" translatable="yes">Find in Contact _List</property>
- </object>
- <accelerator key="f" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkAction" id="view">
- <property name="name">view</property>
- <property name="label" translatable="yes">_View</property>
- </object>
- </child>
- <child>
- <object class="GtkRadioAction" id="view_sort_by_name">
- <property name="name">view_sort_by_name</property>
- <property name="visible">True</property>
- <property name="label" translatable="yes">Sort by _Name</property>
- <property name="draw_as_radio">True</property>
- <property name="value">1</property>
- <property name="current-value">1</property>
- </object>
- </child>
- <child>
- <object class="GtkRadioAction" id="view_sort_by_status">
- <property name="name">view_sort_by_status</property>
- <property name="visible">True</property>
- <property name="label" translatable="yes">Sort by _Status</property>
- <property name="draw_as_radio">True</property>
- <property name="group">view_sort_by_name</property>
- <property name="value">0</property>
- </object>
- </child>
- <child>
- <object class="GtkRadioAction" id="view_normal_size_with_avatars">
- <property name="name">view_normal_size_with_avatars</property>
- <property name="visible">True</property>
- <property name="label" translatable="yes">Normal Size With _Avatars</property>
- <property name="draw_as_radio">True</property>
- <property name="value">0</property>
- <property name="current-value">0</property>
- </object>
- <accelerator key="1" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkRadioAction" id="view_normal_size">
- <property name="name">view_normal_size</property>
- <property name="visible">True</property>
- <property name="label" translatable="yes">N_ormal Size</property>
- <property name="draw_as_radio">True</property>
- <property name="group">view_normal_size_with_avatars</property>
- <property name="value">1</property>
- </object>
- <accelerator key="2" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkRadioAction" id="view_compact_size">
- <property name="name">view_compact_size</property>
- <property name="visible">True</property>
- <property name="label" translatable="yes">_Compact Size</property>
- <property name="draw_as_radio">True</property>
- <property name="group">view_normal_size_with_avatars</property>
- <property name="value">2</property>
- </object>
- <accelerator key="3" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkAction" id="room">
- <property name="name">room</property>
- <property name="label" translatable="yes">_Room</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="room_join_new">
- <property name="name">room_join_new</property>
- <property name="label" translatable="yes">_Join…</property>
- </object>
- <accelerator key="j" modifiers="GDK_CONTROL_MASK"/>
- </child>
- <child>
- <object class="GtkAction" id="room_join_favorites">
- <property name="name">room_join_favorites</property>
- <property name="label" translatable="yes">Join _Favorites</property>
- </object>
- <accelerator key="F5" modifiers=""/>
- </child>
- <child>
- <object class="GtkAction" id="room_manage_favorites">
- <property name="icon-name">system-users</property>
- <property name="name">room_manage_favorites</property>
- <property name="label" translatable="yes">Manage Favorites</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="help">
- <property name="name">help</property>
- <property name="label" translatable="yes">_Help</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="help_contents">
- <property name="stock_id">gtk-help</property>
- <property name="name">help_contents</property>
- <property name="label" translatable="yes">_Contents</property>
- </object>
- <accelerator key="F1" modifiers=""/>
- </child>
- <child>
- <object class="GtkAction" id="help_debug">
- <property name="name">help_debug</property>
- <property name="label" translatable="yes">_Debug</property>
- </object>
- </child>
- <child>
- <object class="GtkAction" id="help_about">
- <property name="stock_id">gtk-about</property>
- <property name="name">help_about</property>
- </object>
- </child>
- </object>
- </child>
- <ui>
- <menubar name="menubar">
- <menu action="chat">
- <menuitem action="chat_new_message"/>
- <menuitem action="chat_new_call"/>
- <separator/>
- <menuitem action="chat_add_contact"/>
- <menuitem action="chat_search_contacts"/>
- <separator/>
- <menuitem action="chat_quit"/>
- </menu>
- <menu action="edit">
- <menuitem action="edit_context"/>
- <separator name="edit_context_separator"/>
- <menuitem action="edit_accounts"/>
- <menuitem action="edit_search_contacts"/>
- <menuitem action="edit_blocked_contacts"/>
- <separator/>
- <menuitem action="edit_preferences"/>
- </menu>
- <menu action="view">
- <menuitem action="view_show_offline"/>
- <menuitem action="view_show_protocols"/>
- <separator/>
- <menuitem action="view_balance_show_in_roster"/>
- <placeholder name="view_balance_placeholder"/>
- <separator/>
- <menuitem action="view_sort_by_name"/>
- <menuitem action="view_sort_by_status"/>
- <separator/>
- <menuitem action="view_normal_size_with_avatars"/>
- <menuitem action="view_normal_size"/>
- <menuitem action="view_compact_size"/>
- <separator/>
- <menuitem action="view_history"/>
- <menuitem action="view_show_ft_manager"/>
- <menuitem action="view_show_map"/>
- </menu>
- <menu action="room">
- <menuitem action="room_join_new"/>
- <menuitem action="room_join_favorites"/>
- <separator/>
- <separator name="room_separator"/>
- <menuitem action="room_manage_favorites"/>
- </menu>
- <menu action="help">
- <menuitem action="help_contents"/>
- <menuitem action="help_debug"/>
- <menuitem action="help_about"/>
- </menu>
- </menubar>
- </ui>
- </object>
- <object class="GtkMenuBar" constructor="ui_manager" id="menubar">
- <property name="visible">True</property>
- </object>
+ <menu id="appmenu">
+ <section>
+ <item>
+ <attribute translatable="yes" name="label">_New Conversation…</attribute>
+ <attribute name="action">win.chat_new_message</attribute>
+ <attribute name="accel"><Primary>n</attribute>
+ </item>
+ <item>
+ <attribute translatable="yes" name="label">New _Call…</attribute>
+ <attribute name="action">win.chat_new_call</attribute>
+ <attribute name="accel"><Primary>m</attribute>
+ </item>
+ </section>
+ <submenu>
+ <attribute translatable="yes" name="label">Contacts</attribute>
+ <section>
+ <item>
+ <attribute translatable="yes" name="label">_Add Contacts…</attribute>
+ <attribute name="action">win.chat_add_contact</attribute>
+ </item>
+ <item>
+ <attribute translatable="yes" name="label">_Search for Contacts…</attribute>
+ <attribute name="action">win.chat_search_contacts</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute translatable="yes" name="label">_Blocked Contacts</attribute>
+ <attribute name="action">win.edit_blocked_contacts</attribute>
+ </item>
+ </section>
+ </submenu>
+ <submenu>
+ <attribute translatable="yes" name="label">_Rooms</attribute>
+ <section>
+ <item>
+ <attribute translatable="yes" name="label">_Join…</attribute>
+ <attribute name="action">win.room_join_new</attribute>
+ <attribute name="accel"><Primary>j</attribute>
+ </item>
+ <item>
+ <attribute translatable="yes" name="label">Join _Favorites</attribute>
+ <attribute name="action">win.room_join_favorites</attribute>
+ <attribute name="accel">F5</attribute>
+ </item>
+ </section>
+ <item>
+ <link name="section" id="rooms"/>
+ </item>
+ <section>
+ <item>
+ <attribute translatable="yes" name="label">_Manage Favorites</attribute>
+ <attribute name="action">win.room_manage_favorites</attribute>
+ </item>
+ </section>
+ </submenu>
+ <section>
+ <item>
+ <attribute translatable="yes" name="label">_Previous Conversations</attribute>
+ <attribute name="action">win.view_history</attribute>
+ <attribute name="accel">F3</attribute>
+ </item>
+ <item>
+ <attribute translatable="yes" name="label">_File Transfers</attribute>
+ <attribute name="action">win.view_show_ft_manager</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute translatable="yes" name="label">_Accounts</attribute>
+ <attribute name="action">win.edit_accounts</attribute>
+ <attribute name="accel">F4</attribute>
+ </item>
+ <item>
+ <attribute translatable="yes" name="label">P_references</attribute>
+ <attribute name="action">win.edit_preferences</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute translatable="yes" name="label">Help</attribute>
+ <attribute name="action">win.help_contents</attribute>
+ <attribute name="accel">F1</attribute>
+ </item>
+ <item>
+ <attribute translatable="yes" name="label">About</attribute>
+ <attribute name="action">win.help_about</attribute>
+ </item>
+ <item>
+ <attribute translatable="yes" name="label">_Quit</attribute>
+ <attribute name="action">win.chat_quit</attribute>
+ <attribute name="accel"><Primary>q</attribute>
+ </item>
+ </section>
+ </menu>
</interface>