Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
6a4cbf06
by Philipp Hörist at 2017-04-29T20:58:35+02:00
2 changed files:
Changes:
| ... | ... | @@ -1874,7 +1874,7 @@ class ChatControl(ChatControlBase): |
| 1874 | 1874 |
file_props.name)
|
| 1875 | 1875 |
if file_props.desc:
|
| 1876 | 1876 |
markup += ' (%s)' % file_props.desc
|
| 1877 |
- b1 = Gtk.Button(_('_Open Containing Folder'))
|
|
| 1877 |
+ b1 = Gtk.Button.new_with_mnemonic(_('_Open Containing Folder'))
|
|
| 1878 | 1878 |
b1.connect('clicked', self._on_open_ft_folder, file_props)
|
| 1879 | 1879 |
b2 = Gtk.Button(stock=Gtk.STOCK_OK)
|
| 1880 | 1880 |
b2.connect('clicked', self._on_ok, file_props, 'file-completed')
|
| ... | ... | @@ -214,7 +214,7 @@ class FileTransfersWindow: |
| 214 | 214 |
dialog = dialogs.HigDialog(None, Gtk.MessageType.INFO, Gtk.ButtonsType.NONE,
|
| 215 | 215 |
_('File transfer completed'), sectext)
|
| 216 | 216 |
if file_props.type_ == 'r':
|
| 217 |
- button = Gtk.Button(_('_Open Containing Folder'))
|
|
| 217 |
+ button = Gtk.Button.new_with_mnemonic(_('_Open Containing Folder'))
|
|
| 218 | 218 |
button.connect('clicked', on_open, file_props)
|
| 219 | 219 |
dialog.action_area.pack_start(button, True, True, 0)
|
| 220 | 220 |
ok_button = dialog.add_button(Gtk.STOCK_OK, Gtk.ResponseType.OK)
|