eog r5093 - in trunk: . src
- From: friemann svn gnome org
- To: svn-commits-list gnome org
- Subject: eog r5093 - in trunk: . src
- Date: Wed, 8 Apr 2009 19:43:14 +0000 (UTC)
Author: friemann
Date: Wed Apr 8 19:43:14 2009
New Revision: 5093
URL: http://svn.gnome.org/viewvc/eog?rev=5093&view=rev
Log:
2009-04-08 Felix Riemann <friemann svn gnome org>
* src/eog-scroll-view.c: (display_key_press_event):
* src/eog-window.c:
Make the hidden shortcut "F" for best fit zooming "official" by
placing it in the menu. Fixes bug #556378.
Modified:
trunk/ChangeLog
trunk/src/eog-scroll-view.c
trunk/src/eog-window.c
Modified: trunk/src/eog-scroll-view.c
==============================================================================
--- trunk/src/eog-scroll-view.c (original)
+++ trunk/src/eog-scroll-view.c Wed Apr 8 19:43:14 2009
@@ -1185,13 +1185,6 @@
zoom = 1.0;
break;
- case GDK_F:
- case GDK_f:
- set_zoom_fit (view);
- check_scrollbar_visibility (view, NULL);
- gtk_widget_queue_draw (GTK_WIDGET (priv->display));
- break;
-
default:
return FALSE;
}
Modified: trunk/src/eog-window.c
==============================================================================
--- trunk/src/eog-window.c (original)
+++ trunk/src/eog-window.c Wed Apr 8 19:43:14 2009
@@ -3488,7 +3488,7 @@
{ "ViewZoomNormal", GTK_STOCK_ZOOM_100, N_("_Normal Size"), "<control>0",
N_("Show the image at its normal size"),
G_CALLBACK (eog_window_cmd_zoom_normal) },
- { "ViewZoomFit", GTK_STOCK_ZOOM_FIT, N_("Best _Fit"), NULL,
+ { "ViewZoomFit", GTK_STOCK_ZOOM_FIT, N_("Best _Fit"), "F",
N_("Fit the image to the window"),
G_CALLBACK (eog_window_cmd_zoom_fit) },
{ "ControlEqual", GTK_STOCK_ZOOM_IN, N_("_Zoom In"), "<control>equal",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]