-
Martin Nordholts authored
to 100% * app/display/display-enums.h: Added a GimpZoomFocus enum with 'best guess', 'pointer' or 'image center' values. * app/display/gimpdisplayshell-scale.[ch] (gimp_display_shell_scale): Take a GimpZoomFocus parameter and pass it on to (gimp_display_shell_scale_get_zoom_focus): which returns the requested zoom focus point if one was given, else makes a best guess. * app/actions/view-commands.c * app/display/gimpstatusbar.c * app/display/gimpnavigationeditor.c * app/display/gimpdisplayshell-callbacks.c * app/display/gimpdisplayshell-scale-dialog.c: For explicit-zoom commands like "zoom to 100%", always use the image center as the zoom focus point. For all other zooming, continue to use the best-guess method. * app/display/display-enums.c: Regenerated. svn path=/trunk/; revision=27104
259801e3