mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +00:00
GTK ui dialogs now have deluge's icon set.
This commit is contained in:
parent
67b5cde128
commit
dc514d308c
@ -36,6 +36,7 @@ import gtk
|
||||
|
||||
from twisted.internet import defer
|
||||
|
||||
from deluge.ui.gtkui import common
|
||||
import deluge.component as component
|
||||
|
||||
|
||||
@ -58,6 +59,8 @@ class BaseDialog(gtk.Dialog):
|
||||
flags=gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT | gtk.DIALOG_NO_SEPARATOR,
|
||||
buttons=buttons)
|
||||
|
||||
self.set_icon(common.get_deluge_icon())
|
||||
|
||||
self.connect("delete-event", self._on_delete_event)
|
||||
self.connect("response", self._on_response)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user