]> git.armaanb.net Git - chorizo.git/commitdiff
Show the download manager when a download starts
authorPeter Hofmann <scm@uninformativ.de>
Sun, 14 Dec 2014 13:38:23 +0000 (14:38 +0100)
committerPeter Hofmann <scm@uninformativ.de>
Sun, 14 Dec 2014 13:40:04 +0000 (14:40 +0100)
This is kind of a quickfix as well (related to #10). I'll have to use
this for a while to see if I'm happy with it.

browser.c

index 4a1c5e2ee30b0c76c1be63d95148bfeb32937bf7..04798038e216fcb5487e5c218e4539037712a5e7 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -397,7 +397,7 @@ download_handle(WebKitDownload *download, gchar *suggested_filename, gpointer da
                gtk_tool_button_set_icon_name(GTK_TOOL_BUTTON(tb), "gtk-delete");
                gtk_tool_button_set_label(GTK_TOOL_BUTTON(tb), suggested_filename);
                gtk_toolbar_insert(GTK_TOOLBAR(dm.toolbar), tb, 0);
-               gtk_widget_show_all(dm.toolbar);
+               gtk_widget_show_all(dm.win);
 
                g_signal_connect(G_OBJECT(download), "notify::estimated-progress",
                                 G_CALLBACK(changed_download_progress), tb);