Skip to content
Snippets Groups Projects
Commit 93fec9d9 authored by jimpp's avatar jimpp
Browse files

Set gajim icon for history manager window too. Fixes #1986.

parent 6d0e6b52
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,10 @@ except ImportError:
class HistoryManager:
def __init__(self):
path_to_file = os.path.join(gajim.DATA_DIR, 'pixmaps/gajim.png')
pix = gtk.gdk.pixbuf_new_from_file(path_to_file)
gtk.window_set_default_icon(pix) # set the icon to all newly opened windows
if not os.path.exists(LOG_DB_PATH):
dialogs.ErrorDialog(_('Cannot find history logs database'),
'%s does not exist.' % LOG_DB_PATH)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment