Commit 6e736cf6 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/gui/image-menu.c (image_menu_set_zoom) fixed an issue with the new

2003-04-04  Sven Neumann  <sven@gimp.org>

	* app/gui/image-menu.c (image_menu_set_zoom)
	* app/gui/view-commands.c (view_zoom_other_cmd_callback): fixed
	an issue with the new Zoom Ratio dialog.
parent 8ea11afa
2003-04-04 Sven Neumann <sven@gimp.org>
* app/gui/image-menu.c (image_menu_set_zoom)
* app/gui/view-commands.c (view_zoom_other_cmd_callback): fixed
an issue with the new Zoom Ratio dialog.
2003-04-04 Sven Neumann <sven@gimp.org>
 
* app/core/gimpdrawable-transform.c: include stdlib.h for abs().
......@@ -125,9 +125,6 @@ view_zoom_other_cmd_callback (GtkWidget *widget,
/* check if we are activated by the user or from image_menu_set_zoom() */
if (shell->scale != shell->other_scale)
gimp_display_shell_scale_dialog (shell);
/* flag as dirty */
shell->other_scale |= (1 << 30);
}
void
......
......@@ -1459,4 +1459,7 @@ image_menu_set_zoom (GtkItemFactory *item_factory,
label = g_strdup_printf (_("Zoom (%d:%d)"), scaledest, scalesrc);
gimp_item_factory_set_label (item_factory, "/View/Zoom", label);
g_free (label);
/* flag as dirty */
shell->other_scale |= (1 << 30);
}
......@@ -125,9 +125,6 @@ view_zoom_other_cmd_callback (GtkWidget *widget,
/* check if we are activated by the user or from image_menu_set_zoom() */
if (shell->scale != shell->other_scale)
gimp_display_shell_scale_dialog (shell);
/* flag as dirty */
shell->other_scale |= (1 << 30);
}
void
......
......@@ -1459,4 +1459,7 @@ image_menu_set_zoom (GtkItemFactory *item_factory,
label = g_strdup_printf (_("Zoom (%d:%d)"), scaledest, scalesrc);
gimp_item_factory_set_label (item_factory, "/View/Zoom", label);
g_free (label);
/* flag as dirty */
shell->other_scale |= (1 << 30);
}
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