[Darlan] Change mnemonic in roster context menu
This commit is contained in:
parent
806dad1243
commit
3adbbbcea5
|
@ -5822,7 +5822,7 @@ class RosterWindow:
|
||||||
menu.append(item)
|
menu.append(item)
|
||||||
|
|
||||||
# Rename
|
# Rename
|
||||||
rename_item = Gtk.ImageMenuItem.new_with_mnemonic(_('Re_name'))
|
rename_item = Gtk.ImageMenuItem.new_with_mnemonic(_('_Rename...'))
|
||||||
# add a special img for rename menuitem
|
# add a special img for rename menuitem
|
||||||
gtkgui_helpers.add_image_to_menuitem(rename_item, 'gajim-kbd_input')
|
gtkgui_helpers.add_image_to_menuitem(rename_item, 'gajim-kbd_input')
|
||||||
menu.append(rename_item)
|
menu.append(rename_item)
|
||||||
|
@ -5860,7 +5860,7 @@ class RosterWindow:
|
||||||
block_menuitem.set_sensitive(False)
|
block_menuitem.set_sensitive(False)
|
||||||
|
|
||||||
# Remove group
|
# Remove group
|
||||||
remove_item = Gtk.ImageMenuItem.new_with_mnemonic(_('_Remove'))
|
remove_item = Gtk.ImageMenuItem.new_with_mnemonic(_('Remo_ve'))
|
||||||
icon = Gtk.Image.new_from_stock(Gtk.STOCK_REMOVE,
|
icon = Gtk.Image.new_from_stock(Gtk.STOCK_REMOVE,
|
||||||
Gtk.IconSize.MENU)
|
Gtk.IconSize.MENU)
|
||||||
remove_item.set_image(icon)
|
remove_item.set_image(icon)
|
||||||
|
@ -6094,7 +6094,7 @@ class RosterWindow:
|
||||||
item.set_sensitive(False)
|
item.set_sensitive(False)
|
||||||
|
|
||||||
# Rename
|
# Rename
|
||||||
item = Gtk.ImageMenuItem.new_with_mnemonic(_('_Rename'))
|
item = Gtk.ImageMenuItem.new_with_mnemonic(_('_Rename...'))
|
||||||
# add a special img for rename menuitem
|
# add a special img for rename menuitem
|
||||||
gtkgui_helpers.add_image_to_menuitem(item, 'gajim-kbd_input')
|
gtkgui_helpers.add_image_to_menuitem(item, 'gajim-kbd_input')
|
||||||
manage_transport_submenu.append(item)
|
manage_transport_submenu.append(item)
|
||||||
|
@ -6120,7 +6120,7 @@ class RosterWindow:
|
||||||
item.set_sensitive(False)
|
item.set_sensitive(False)
|
||||||
|
|
||||||
# Remove
|
# Remove
|
||||||
item = Gtk.ImageMenuItem.new_with_mnemonic(_('_Remove'))
|
item = Gtk.ImageMenuItem.new_with_mnemonic(_('Remo_ve'))
|
||||||
icon = Gtk.Image.new_from_stock(Gtk.STOCK_REMOVE, Gtk.IconSize.MENU)
|
icon = Gtk.Image.new_from_stock(Gtk.STOCK_REMOVE, Gtk.IconSize.MENU)
|
||||||
item.set_image(icon)
|
item.set_image(icon)
|
||||||
manage_transport_submenu.append(item)
|
manage_transport_submenu.append(item)
|
||||||
|
|
Loading…
Reference in New Issue