Commit fcc00c1d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

set a hand cursor on the title area to indicate that the dockable can be

2003-11-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c (gimp_dockable_realize): set a hand
	cursor on the title area to indicate that the dockable can be
	dragged here.
parent d0916b19
2003-11-02 Sven Neumann <sven@gimp.org>
* app/widgets/gimpdockable.c (gimp_dockable_realize): set a hand
cursor on the title area to indicate that the dockable can be
dragged here.
2003-11-02 Sven Neumann <sven@gimp.org>
* app/gui/dialogs-menu.c
......@@ -401,8 +401,9 @@ gimp_dockable_realize (GtkWidget *widget)
if (! dockable->title_window)
{
GdkWindowAttr attributes;
GdkRectangle area;
GdkWindowAttr attributes;
GdkRectangle area;
GdkCursor *cursor;
gimp_dockable_get_title_area (dockable, &area);
......@@ -425,6 +426,11 @@ gimp_dockable_realize (GtkWidget *widget)
GDK_WA_NOREDIR));
gdk_window_set_user_data (dockable->title_window, widget);
cursor = gdk_cursor_new_for_display (gtk_widget_get_display (widget),
GDK_HAND2);
gdk_window_set_cursor (dockable->title_window, cursor);
gdk_cursor_unref (cursor);
}
}
......
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