aboutsummaryrefslogtreecommitdiffstats
path: root/embed/downloader-view.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2004-02-01 08:49:46 +0800
committerXan Lopez <xan@src.gnome.org>2004-02-01 08:49:46 +0800
commit0a9eed099200131b611b2e84aafb591cc31cb449 (patch)
tree0437741bd570f213c5534141c3e94a3e2c8ff1ca /embed/downloader-view.c
parent445fe305203a642ac53a0948ca7b0ee9b17e1164 (diff)
downloadgsoc2013-epiphany-0a9eed099200131b611b2e84aafb591cc31cb449.tar.gz
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.
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r--embed/downloader-view.c11
1 files changed, 2 insertions, 9 deletions
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,