diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | embed/downloader-view.c | 11 |
2 files changed, 10 insertions, 9 deletions
@@ -1,3 +1,11 @@ +2004-02-01 Xan Lopez <xan@gnome.org> + + * embed/downloader-view.c: (status_icon_activated), + (downloader_view_build_ui): + + Activating the status icon should only show it (HIG says so). + Also set the downloader view to BROSWE mode. + 2004-01-31 Adam Hooper <adamh@cvs.gnome.org> * NEWS: diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 96e27bb2c..596995222 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -156,14 +156,7 @@ downloader_view_class_init (DownloaderViewClass *klass) static void status_icon_activated (EggStatusIcon *icon, DownloaderView *dv) { - if (GTK_WIDGET_VISIBLE (dv->priv->window)) - { - gtk_widget_hide (dv->priv->window); - } - else - { - gtk_window_present (GTK_WINDOW (dv->priv->window)); - } + gtk_window_present (GTK_WINDOW (dv->priv->window)); } static void @@ -447,7 +440,7 @@ downloader_view_build_ui (DownloaderView *dv) priv->abort_button = ephy_dialog_get_control (d, properties[PROP_ABORT_BUTTON].id); gtk_tree_selection_set_mode (gtk_tree_view_get_selection (GTK_TREE_VIEW (priv->treeview)), - GTK_SELECTION_SINGLE); + GTK_SELECTION_BROWSE); liststore = gtk_list_store_new (4, G_TYPE_INT, |