mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
GTK ui dialogs now have deluge's icon set.
This commit is contained in:
parent
67b5cde128
commit
dc514d308c
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue