* src/mainwindow.c
Fix hardcoded Shift-Q quits. Fixes
bug 1838, 'Claws-Mail sometimes quits
when attempting to type a capital Q'
+2009-02-06 [colin] 3.7.0cvs54
+
+ * src/mainwindow.c
+ Fix hardcoded Shift-Q quits. Fixes
+ bug 1838, 'Claws-Mail sometimes quits
+ when attempting to type a capital Q'
+
2009-01-31 [paul] 3.7.0cvs53
* src/compose.c
( cvs diff -u -r 1.94.2.197 -r 1.94.2.198 src/messageview.c; ) > 3.7.0cvs51.patchset
( cvs diff -u -r 1.274.2.296 -r 1.274.2.297 src/mainwindow.c; ) > 3.7.0cvs52.patchset
( cvs diff -u -r 1.382.2.497 -r 1.382.2.498 src/compose.c; ) > 3.7.0cvs53.patchset
+( cvs diff -u -r 1.274.2.297 -r 1.274.2.298 src/mainwindow.c; ) > 3.7.0cvs54.patchset
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=53
+EXTRA_VERSION=54
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
switch (event->keyval) {
case GDK_Q: /* Quit */
+#ifndef MAEMO
BREAK_ON_MODIFIER_KEY();
- app_exit_cb(NULL, mainwin);
+ if (gtk_window_is_active(GTK_WINDOW(mainwin->window))) {
+ app_exit_cb(NULL, mainwin);
+ }
+#endif
return FALSE;
case GDK_space:
BREAK_ON_MODIFIER_KEY();