Use named icons in filetransfer window

This commit is contained in:
Philipp Hörist 2017-05-16 18:14:34 +02:00
parent 8d880e88dd
commit a0a27d9cb2
1 changed files with 9 additions and 9 deletions

View File

@ -126,15 +126,15 @@ class FileTransfersWindow:
self.images = {} self.images = {}
self.icons = { self.icons = {
'upload': Gtk.STOCK_GO_UP, 'upload': 'go-up',
'download': Gtk.STOCK_GO_DOWN, 'download': 'go-down',
'stop': Gtk.STOCK_STOP, 'stop': 'window-close',
'waiting': Gtk.STOCK_REFRESH, 'waiting': 'view-refresh',
'pause': Gtk.STOCK_MEDIA_PAUSE, 'pause': 'media-playback-pause',
'continue': Gtk.STOCK_MEDIA_PLAY, 'continue': 'media-playback-start',
'ok': Gtk.STOCK_APPLY, 'ok': 'emblem-ok-symbolic',
'computing': Gtk.STOCK_EXECUTE, 'computing': 'system-run',
'hash_error': Gtk.STOCK_STOP, 'hash_error': 'network-error-symbolic',
} }
self.tree.get_selection().set_mode(Gtk.SelectionMode.SINGLE) self.tree.get_selection().set_mode(Gtk.SelectionMode.SINGLE)