diff options
author | Diego Escalante Urrelo <diegoe@gnome.org> | 2009-08-10 15:36:27 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@gnome.org> | 2009-08-10 15:42:16 +0800 |
commit | ed31322a3790105797d56f453aaf220d7812d65a (patch) | |
tree | 3dd6268d2399b5b70d2bd5abf30460f013fe1b5e | |
parent | 893114a0a7b0c8b774b927dbc7de1844fb670ac3 (diff) | |
download | gsoc2013-epiphany-ed31322a3790105797d56f453aaf220d7812d65a.tar.gz gsoc2013-epiphany-ed31322a3790105797d56f453aaf220d7812d65a.tar.zst gsoc2013-epiphany-ed31322a3790105797d56f453aaf220d7812d65a.zip |
downloader-view.c: hide the tray icon before unref
Apparently due to a GTK+/gnome-panel bug (bug #340110), the status icon space
is not freed in the notification area.
The best work-around is to hide the icon before unrefing it.
Bug #591189
-rw-r--r-- | embed/downloader-view.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 36b25fbe5..da28caf23 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -263,6 +263,11 @@ downloader_view_finalize (GObject *object) if (priv->status_icon != NULL) { + /* FIXME: this should not be necessary (setting visible to + * FALSE), but we have to work-around a GTK+/gnome-panel bug: + * http://bugzilla.gnome.org/show_bug.cgi?id=340110 + */ + gtk_status_icon_set_visible (priv->status_icon, FALSE); g_object_unref (priv->status_icon); priv->status_icon = NULL; } |