If we are in dot-by-dot, we only need to update the rulers, and only if
2008-08-14 Martin Nordholts <martinn@svn.gnome.org> * app/display/gimpdisplayshell-handlers.c (gimp_display_shell_resolution_changed_handler): If we are in dot-by-dot, we only need to update the rulers, and only if the unit is not pixels. svn path=/trunk/; revision=26556
This commit is contained in:

committed by
Martin Nordholts

parent
ecd95dcf76
commit
f91ac50fd7
@ -1,3 +1,10 @@
|
|||||||
|
2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
|
||||||
|
* app/display/gimpdisplayshell-handlers.c
|
||||||
|
(gimp_display_shell_resolution_changed_handler): If we are in
|
||||||
|
dot-by-dot, we only need to update the rulers, and only if the
|
||||||
|
unit is not pixels.
|
||||||
|
|
||||||
2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
|
2008-08-14 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
|
||||||
* app/display/gimpdisplayshell-scale.c
|
* app/display/gimpdisplayshell-scale.c
|
||||||
|
@ -422,7 +422,11 @@ gimp_display_shell_resolution_changed_handler (GimpImage *image,
|
|||||||
|
|
||||||
if (shell->dot_for_dot)
|
if (shell->dot_for_dot)
|
||||||
{
|
{
|
||||||
gimp_display_shell_update_scrollbars_and_rulers (shell);
|
if (shell->unit != GIMP_UNIT_PIXEL)
|
||||||
|
{
|
||||||
|
gimp_display_shell_scale_update_rulers (shell);
|
||||||
|
}
|
||||||
|
|
||||||
gimp_display_shell_scaled (shell);
|
gimp_display_shell_scaled (shell);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user