Fix Button labels
This commit is contained in:
parent
b6db6026be
commit
6a4cbf06ec
2 changed files with 2 additions and 2 deletions
|
@ -1874,7 +1874,7 @@ class ChatControl(ChatControlBase):
|
||||||
file_props.name)
|
file_props.name)
|
||||||
if file_props.desc:
|
if file_props.desc:
|
||||||
markup += ' (%s)' % file_props.desc
|
markup += ' (%s)' % file_props.desc
|
||||||
b1 = Gtk.Button(_('_Open Containing Folder'))
|
b1 = Gtk.Button.new_with_mnemonic(_('_Open Containing Folder'))
|
||||||
b1.connect('clicked', self._on_open_ft_folder, file_props)
|
b1.connect('clicked', self._on_open_ft_folder, file_props)
|
||||||
b2 = Gtk.Button(stock=Gtk.STOCK_OK)
|
b2 = Gtk.Button(stock=Gtk.STOCK_OK)
|
||||||
b2.connect('clicked', self._on_ok, file_props, 'file-completed')
|
b2.connect('clicked', self._on_ok, file_props, 'file-completed')
|
||||||
|
|
|
@ -214,7 +214,7 @@ class FileTransfersWindow:
|
||||||
dialog = dialogs.HigDialog(None, Gtk.MessageType.INFO, Gtk.ButtonsType.NONE,
|
dialog = dialogs.HigDialog(None, Gtk.MessageType.INFO, Gtk.ButtonsType.NONE,
|
||||||
_('File transfer completed'), sectext)
|
_('File transfer completed'), sectext)
|
||||||
if file_props.type_ == 'r':
|
if file_props.type_ == 'r':
|
||||||
button = Gtk.Button(_('_Open Containing Folder'))
|
button = Gtk.Button.new_with_mnemonic(_('_Open Containing Folder'))
|
||||||
button.connect('clicked', on_open, file_props)
|
button.connect('clicked', on_open, file_props)
|
||||||
dialog.action_area.pack_start(button, True, True, 0)
|
dialog.action_area.pack_start(button, True, True, 0)
|
||||||
ok_button = dialog.add_button(Gtk.STOCK_OK, Gtk.ResponseType.OK)
|
ok_button = dialog.add_button(Gtk.STOCK_OK, Gtk.ResponseType.OK)
|
||||||
|
|
Loading…
Add table
Reference in a new issue