mirror of https://github.com/GNOME/gimp.git
the code to reset the cursor got lost when introducing this function.
2008-03-19 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell.c (gimp_display_shell_empty): the code to reset the cursor got lost when introducing this function. * app/display/gimpdisplayshell-dnd.c (gimp_display_shell_dnd_init): remove redundant casts. svn path=/trunk/; revision=25133
This commit is contained in:
parent
fb6a3a0eca
commit
ca99b0724c
|
@ -1,3 +1,11 @@
|
||||||
|
2008-03-19 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
|
* app/display/gimpdisplayshell.c (gimp_display_shell_empty): the
|
||||||
|
code to reset the cursor got lost when introducing this function.
|
||||||
|
|
||||||
|
* app/display/gimpdisplayshell-dnd.c
|
||||||
|
(gimp_display_shell_dnd_init): remove redundant casts.
|
||||||
|
|
||||||
2008-03-19 Michael Natterer <mitch@gimp.org>
|
2008-03-19 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): make the
|
* app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): make the
|
||||||
|
|
|
@ -118,37 +118,37 @@ gimp_display_shell_dnd_init (GimpDisplayShell *shell)
|
||||||
{
|
{
|
||||||
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
|
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
|
||||||
|
|
||||||
gimp_dnd_uri_list_dest_add (GTK_WIDGET (shell->canvas),
|
gimp_dnd_uri_list_dest_add (shell->canvas,
|
||||||
gimp_display_shell_drop_uri_list,
|
gimp_display_shell_drop_uri_list,
|
||||||
shell);
|
shell);
|
||||||
gimp_dnd_viewable_dest_add (GTK_WIDGET (shell->canvas), GIMP_TYPE_LAYER,
|
gimp_dnd_viewable_dest_add (shell->canvas, GIMP_TYPE_LAYER,
|
||||||
gimp_display_shell_drop_drawable,
|
gimp_display_shell_drop_drawable,
|
||||||
shell);
|
shell);
|
||||||
gimp_dnd_viewable_dest_add (GTK_WIDGET (shell->canvas), GIMP_TYPE_LAYER_MASK,
|
gimp_dnd_viewable_dest_add (shell->canvas, GIMP_TYPE_LAYER_MASK,
|
||||||
gimp_display_shell_drop_drawable,
|
gimp_display_shell_drop_drawable,
|
||||||
shell);
|
shell);
|
||||||
gimp_dnd_viewable_dest_add (GTK_WIDGET (shell->canvas), GIMP_TYPE_CHANNEL,
|
gimp_dnd_viewable_dest_add (shell->canvas, GIMP_TYPE_CHANNEL,
|
||||||
gimp_display_shell_drop_drawable,
|
gimp_display_shell_drop_drawable,
|
||||||
shell);
|
shell);
|
||||||
gimp_dnd_viewable_dest_add (GTK_WIDGET (shell->canvas), GIMP_TYPE_VECTORS,
|
gimp_dnd_viewable_dest_add (shell->canvas, GIMP_TYPE_VECTORS,
|
||||||
gimp_display_shell_drop_vectors,
|
gimp_display_shell_drop_vectors,
|
||||||
shell);
|
shell);
|
||||||
gimp_dnd_viewable_dest_add (GTK_WIDGET (shell->canvas), GIMP_TYPE_PATTERN,
|
gimp_dnd_viewable_dest_add (shell->canvas, GIMP_TYPE_PATTERN,
|
||||||
gimp_display_shell_drop_pattern,
|
gimp_display_shell_drop_pattern,
|
||||||
shell);
|
shell);
|
||||||
gimp_dnd_viewable_dest_add (GTK_WIDGET (shell->canvas), GIMP_TYPE_BUFFER,
|
gimp_dnd_viewable_dest_add (shell->canvas, GIMP_TYPE_BUFFER,
|
||||||
gimp_display_shell_drop_buffer,
|
gimp_display_shell_drop_buffer,
|
||||||
shell);
|
shell);
|
||||||
gimp_dnd_color_dest_add (GTK_WIDGET (shell->canvas),
|
gimp_dnd_color_dest_add (shell->canvas,
|
||||||
gimp_display_shell_drop_color,
|
gimp_display_shell_drop_color,
|
||||||
shell);
|
shell);
|
||||||
gimp_dnd_svg_dest_add (GTK_WIDGET (shell->canvas),
|
gimp_dnd_svg_dest_add (shell->canvas,
|
||||||
gimp_display_shell_drop_svg,
|
gimp_display_shell_drop_svg,
|
||||||
shell);
|
shell);
|
||||||
gimp_dnd_component_dest_add (GTK_WIDGET (shell->canvas),
|
gimp_dnd_component_dest_add (shell->canvas,
|
||||||
gimp_display_shell_drop_component,
|
gimp_display_shell_drop_component,
|
||||||
shell);
|
shell);
|
||||||
gimp_dnd_pixbuf_dest_add (GTK_WIDGET (shell->canvas),
|
gimp_dnd_pixbuf_dest_add (shell->canvas,
|
||||||
gimp_display_shell_drop_pixbuf,
|
gimp_display_shell_drop_pixbuf,
|
||||||
shell);
|
shell);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1120,6 +1120,10 @@ gimp_display_shell_empty (GimpDisplayShell *shell)
|
||||||
gimp_display_shell_scale_setup (shell);
|
gimp_display_shell_scale_setup (shell);
|
||||||
gimp_display_shell_scaled (shell);
|
gimp_display_shell_scaled (shell);
|
||||||
|
|
||||||
|
gimp_display_shell_set_cursor (shell, GIMP_CURSOR_MOUSE,
|
||||||
|
GIMP_TOOL_CURSOR_NONE,
|
||||||
|
GIMP_CURSOR_MODIFIER_NONE);
|
||||||
|
|
||||||
gimp_statusbar_empty (GIMP_STATUSBAR (shell->statusbar));
|
gimp_statusbar_empty (GIMP_STATUSBAR (shell->statusbar));
|
||||||
|
|
||||||
gimp_display_shell_appearance_update (shell);
|
gimp_display_shell_appearance_update (shell);
|
||||||
|
|
Loading…
Reference in New Issue