app: Keep canvas position on all display shell widgets

Don't use gimp_image_window_keep_canvas_pos() only for docks, use it
for all widgets in the display shell: the rulers, the menu bar, the
statusbar and the scrollbars. It is not really necessary for the two
latter ones because they are below and/or to the right of the canvas,
but we include them for completeness. Plus, they might get moved
around some day...
This commit is contained in:
Martin Nordholts
2010-02-28 15:22:17 +01:00
parent 2c0573d6cd
commit 78ddb19347
3 changed files with 54 additions and 50 deletions

View File

@ -85,5 +85,6 @@ gboolean gimp_image_window_is_iconified (GimpImageWindow *windo
void gimp_image_window_shrink_wrap (GimpImageWindow *window,
gboolean grow_only);
void gimp_image_window_keep_canvas_pos (GimpImageWindow *window);
#endif /* __GIMP_IMAGE_WINDOW_H__ */