gnome-commander r2221 - branches/gcmd-1-3/src/intviewer
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2221 - branches/gcmd-1-3/src/intviewer
- Date: Sat, 18 Oct 2008 21:50:44 +0000 (UTC)
Author: epiotr
Date: Sat Oct 18 21:50:44 2008
New Revision: 2221
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2221&view=rev
Log:
Internal viewer: fix for CTRL++ & CTRL+- misbehaviour
Modified:
branches/gcmd-1-3/src/intviewer/viewer-window.cc
Modified: branches/gcmd-1-3/src/intviewer/viewer-window.cc
==============================================================================
--- branches/gcmd-1-3/src/intviewer/viewer-window.cc (original)
+++ branches/gcmd-1-3/src/intviewer/viewer-window.cc Sat Oct 18 21:50:44 2008
@@ -390,6 +390,20 @@
GViewerWindow *w = GVIEWER_WINDOW (widget);
+ switch (event->keyval)
+ {
+ case GDK_plus:
+ case GDK_KP_Add:
+ case GDK_equal:
+ set_zoom_in(w);
+ return TRUE;
+
+ case GDK_minus:
+ case GDK_KP_Subtract:
+ set_zoom_out(w);
+ return TRUE;
+ }
+
if (state_is_ctrl(event->state))
switch (event->keyval)
{
@@ -434,17 +448,6 @@
gviewer_window_show_metadata(w);
return TRUE;
- case GDK_plus:
- case GDK_KP_Add:
- case GDK_equal:
- set_zoom_in(w);
- return TRUE;
-
- case GDK_minus:
- case GDK_KP_Subtract:
- set_zoom_out(w);
- return TRUE;
-
case GDK_F7:
menu_edit_find(NULL, w);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]