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".
Close the download manager (downloads are not aborted).
Close the download manager (downloads are not aborted).
{
switch (((GdkEventKey *)event)->keyval)
{
{
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;
}
gtk_widget_hide(dm.win);
return TRUE;
}