diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/downloader-view.c | 9 |
2 files changed, 15 insertions, 1 deletions
@@ -1,5 +1,12 @@ 2007-07-25 Diego Escalante Urrelo <diegoe@gnome.org> + * embed/downloader-view.c: + + Make the status icon clickable so it shows/hides the download window, + works across workspaces. Patch by Kraai. Fixes bug #448610. + +2007-07-25 Diego Escalante Urrelo <diegoe@gnome.org> + * src/ephy-tab.c: Update tab title when the statusbar text is updated, so we don't have diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 0b482f4cb..0374d89a0 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -173,7 +173,14 @@ downloader_view_class_init (DownloaderViewClass *klass) static void show_downloader_cb (DownloaderView *dv) { - gtk_window_present (GTK_WINDOW (dv->priv->window)); + if (!gtk_window_has_toplevel_focus (GTK_WINDOW (dv->priv->window))) + { + gtk_window_present (GTK_WINDOW (dv->priv->window)); + } + else + { + gtk_widget_hide (dv->priv->window); + } } static gboolean |