Commit 1e73e219 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

fixed ascii-art to match current widget hierarchy.

2002-12-18  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): fixed
	ascii-art to match current widget hierarchy.

	* app/display/gimpdisplayshell-handlers.c: fixed typos so we
	actually connect to notify::monitor-[xy]resolution. Expose and
	flush the display in the handler so the resolution change becomes
	visible.
parent 2998b1a3
2002-12-18 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_new): fixed
ascii-art to match current widget hierarchy.
* app/display/gimpdisplayshell-handlers.c: fixed typos so we
actually connect to notify::monitor-[xy]resolution. Expose and
flush the display in the handler so the resolution change becomes
visible.
2002-12-18 Michael Natterer <mitch@gimp.org>
 
* modules/cdisplay_colorblind.c (cdisplay_colorblind_get_type)
......
......@@ -495,6 +495,8 @@ gimp_display_shell_new (GimpDisplay *gdisp,
*
* main_vbox
* |
* +-- menubar
* |
* +-- disp_vbox
* | |
* | +-- upper_hbox
......
......@@ -162,11 +162,11 @@ gimp_display_shell_connect (GimpDisplayShell *shell)
G_CALLBACK (gimp_display_shell_nav_size_notify_handler),
shell);
g_signal_connect (G_OBJECT (gimage->gimp->config),
"notify::monitor-xresolutuion",
"notify::monitor-xresolution",
G_CALLBACK (gimp_display_shell_monitor_res_notify_handler),
shell);
g_signal_connect (G_OBJECT (gimage->gimp->config),
"notify::monitor-yresolutuion",
"notify::monitor-yresolution",
G_CALLBACK (gimp_display_shell_monitor_res_notify_handler),
shell);
g_signal_connect (G_OBJECT (gimage->gimp->config),
......@@ -313,7 +313,7 @@ gimp_display_shell_unit_changed_handler (GimpImage *gimage,
GimpDisplayShell *shell)
{
if (! shell->dot_for_dot)
gimp_display_shell_scale_setup (shell);
gimp_display_shell_scale_setup (shell);
gimp_statusbar_resize_cursor (GIMP_STATUSBAR (shell->statusbar));
}
......@@ -422,9 +422,14 @@ gimp_display_shell_monitor_res_notify_handler (GObject *config,
shell->monitor_yres = GIMP_DISPLAY_CONFIG (config)->monitor_yres;
if (! shell->dot_for_dot)
gimp_display_shell_scale_setup (shell);
{
gimp_display_shell_scale_setup (shell);
gimp_statusbar_resize_cursor (GIMP_STATUSBAR (shell->statusbar));
gimp_statusbar_resize_cursor (GIMP_STATUSBAR (shell->statusbar));
gimp_display_shell_expose_full (shell);
gimp_display_shell_flush (shell);
}
}
static void
......
......@@ -495,6 +495,8 @@ gimp_display_shell_new (GimpDisplay *gdisp,
*
* main_vbox
* |
* +-- menubar
* |
* +-- disp_vbox
* | |
* | +-- upper_hbox
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment