Commit 207b8cac authored by sb's avatar sb

remove single message for local account,

change name of zeroconf prefs to modify account
parent 227cdb74
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1256"> <widget class="GtkImage" id="image1258">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-network</property> <property name="stock">gtk-network</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
...@@ -25,26 +25,6 @@ ...@@ -25,26 +25,6 @@
</widget> </widget>
</child> </child>
<child>
<widget class="GtkImageMenuItem" id="new_message_menuitem">
<property name="visible">True</property>
<property name="label" translatable="yes">Send Single _Message...</property>
<property name="use_underline">True</property>
<child internal-child="image">
<widget class="GtkImage" id="image1257">
<property name="visible">True</property>
<property name="stock">gtk-new</property>
<property name="icon_size">1</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
</child>
<child> <child>
<widget class="GtkImageMenuItem" id="zeroconf_properties_menuitem"> <widget class="GtkImageMenuItem" id="zeroconf_properties_menuitem">
<property name="visible">True</property> <property name="visible">True</property>
...@@ -52,7 +32,7 @@ ...@@ -52,7 +32,7 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1258"> <widget class="GtkImage" id="image1259">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-preferences</property> <property name="stock">gtk-preferences</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<widget class="GtkWindow" id="zeroconf_properties_window"> <widget class="GtkWindow" id="zeroconf_properties_window">
<property name="border_width">12</property> <property name="border_width">12</property>
<property name="title" translatable="yes">Zeroconf Properties</property> <property name="title" translatable="yes">Modify Account</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property> <property name="modal">False</property>
......
...@@ -2031,14 +2031,14 @@ def build_account_menu(self, account): ...@@ -2031,14 +2031,14 @@ def build_account_menu(self, account):
#gc_sub_menu = gtk.Menu() # gc is always a submenu #gc_sub_menu = gtk.Menu() # gc is always a submenu
#join_group_chat_menuitem.set_submenu(gc_sub_menu) #join_group_chat_menuitem.set_submenu(gc_sub_menu)
#self.add_bookmarks_list(gc_sub_menu, account) #self.add_bookmarks_list(gc_sub_menu, account)
new_message_menuitem.connect('activate', #new_message_menuitem.connect('activate',
self.on_new_message_menuitem_activate, account) # self.on_new_message_menuitem_activate, account)
# make some items insensitive if account is offline # make some items insensitive if account is offline
if gajim.connections[account].connected < 2: #if gajim.connections[account].connected < 2:
# for widget in [join_group_chat_menuitem, new_message_menuitem]: # for widget in [join_group_chat_menuitem, new_message_menuitem]:
# widget.set_sensitive(False) # widget.set_sensitive(False)
new_message_menuitem.set_sensitive(False) # new_message_menuitem.set_sensitive(False)
return account_context_menu return account_context_menu
......
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