fixed TB due to code from the older version
This commit is contained in:
parent
7bdb6e23b1
commit
b38911c514
|
@ -194,12 +194,10 @@ class FileTransfersWindow:
|
|||
gtkgui_helpers.escape_for_pango_markup(file_path)
|
||||
dialog = dialogs.HigDialog(None, gtk.MESSAGE_INFO, gtk.BUTTONS_NONE,
|
||||
_('File transfer completed'), sectext)
|
||||
#FIXME: add folder icon to Open Containgin Folder button
|
||||
dialog.add_buttons(_('_Open Containing Folder'), gtk.RESPONSE_ACCEPT,
|
||||
gtk.STOCK_OK, gtk.RESPONSE_OK )
|
||||
if file_props['type'] == 'r':
|
||||
dialog.add_buttons(_('_Open Containing Folder'), gtk.RESPONSE_ACCEPT)
|
||||
dialog.add_buttons(gtk.STOCK_OK, gtk.RESPONSE_OK)
|
||||
dialog.show_all()
|
||||
if file_props['type'] == 's':
|
||||
button.hide()
|
||||
response = dialog.run()
|
||||
dialog.destroy()
|
||||
if response == gtk.RESPONSE_ACCEPT:
|
||||
|
|
Loading…
Reference in New Issue