diff options
author | Xan Lopez <xan@src.gnome.org> | 2004-02-01 08:49:46 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2004-02-01 08:49:46 +0800 |
commit | 0a9eed099200131b611b2e84aafb591cc31cb449 (patch) | |
tree | 0437741bd570f213c5534141c3e94a3e2c8ff1ca | |
parent | 445fe305203a642ac53a0948ca7b0ee9b17e1164 (diff) | |
download | gsoc2013-epiphany-0a9eed099200131b611b2e84aafb591cc31cb449.tar gsoc2013-epiphany-0a9eed099200131b611b2e84aafb591cc31cb449.tar.gz gsoc2013-epiphany-0a9eed099200131b611b2e84aafb591cc31cb449.tar.bz2 gsoc2013-epiphany-0a9eed099200131b611b2e84aafb591cc31cb449.tar.lz gsoc2013-epiphany-0a9eed099200131b611b2e84aafb591cc31cb449.tar.xz gsoc2013-epiphany-0a9eed099200131b611b2e84aafb591cc31cb449.tar.zst gsoc2013-epiphany-0a9eed099200131b611b2e84aafb591cc31cb449.zip |
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.
-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, |