]> git.armaanb.net Git - chorizo.git/commitdiff
Mod1 + d closes the download manager
authorPeter Hofmann <scm@uninformativ.de>
Fri, 4 Jul 2014 15:19:36 +0000 (17:19 +0200)
committerPeter Hofmann <scm@uninformativ.de>
Fri, 4 Jul 2014 15:19:36 +0000 (17:19 +0200)
While Mod1 + q is consistent with the main window, it also poses the
risk of accidentally closing the main window. With Mod1 + d it's more
like a "toggle the download manager".

README
browser.c

diff --git a/README b/README
index 8c7466d30e9a12b1b6a6bd7c83a6a27e550f6b50..f89e5cdd8995cabc3993b8e9a58c1727890d22bc 100644 (file)
--- a/README
+++ b/README
@@ -166,7 +166,7 @@ Main windows
 
 Download manager
 
-    Mod1 + q
+    Mod1 + d
         Close the download manager (downloads are not aborted).
 
 
index cd62ec8512689735613450fefcfdf833de16f1f5..1c7155ca373909806be715c1337eb727af1524db 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -594,7 +594,7 @@ key_downloadmanager(GtkWidget *widget, GdkEvent *event, gpointer data)
                {
                        switch (((GdkEventKey *)event)->keyval)
                        {
-                               case GDK_KEY_q:  /* close window (left hand) */
+                               case GDK_KEY_d:  /* close window (left hand) */
                                        gtk_widget_hide(dm.win);
                                        return TRUE;
                        }