From 0a9eed099200131b611b2e84aafb591cc31cb449 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 1 Feb 2004 00:49:46 +0000 Subject: Activating the status icon should only show it (HIG says so). Also set the * 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. --- ChangeLog | 8 ++++++++ embed/downloader-view.c | 11 ++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 506f02da6..252e64fa2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-02-01 Xan Lopez + + * 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 * 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, -- cgit v1.2.3