From 93fec9d9e187aa3ae7dd21bd71e8f2e864457d7b Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sun, 21 May 2006 20:42:26 +0000 Subject: [PATCH] Set gajim icon for history manager window too. Fixes #1986. --- src/history_manager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/history_manager.py b/src/history_manager.py index 8a5745090..8ddc0f29e 100755 --- a/src/history_manager.py +++ b/src/history_manager.py @@ -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)