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.icons = {
'upload': Gtk.STOCK_GO_UP,
'download': Gtk.STOCK_GO_DOWN,
'stop': Gtk.STOCK_STOP,
'waiting': Gtk.STOCK_REFRESH,
'pause': Gtk.STOCK_MEDIA_PAUSE,
'continue': Gtk.STOCK_MEDIA_PLAY,
'ok': Gtk.STOCK_APPLY,
'computing': Gtk.STOCK_EXECUTE,
'hash_error': Gtk.STOCK_STOP,
'upload': 'go-up',
'download': 'go-down',
'stop': 'window-close',
'waiting': 'view-refresh',
'pause': 'media-playback-pause',
'continue': 'media-playback-start',
'ok': 'emblem-ok-symbolic',
'computing': 'system-run',
'hash_error': 'network-error-symbolic',
}
self.tree.get_selection().set_mode(Gtk.SelectionMode.SINGLE)