aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-editable-toolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/egg/egg-editable-toolbar.c')
-rwxr-xr-xlib/egg/egg-editable-toolbar.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index fdc43eee8..f04746164 100755
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -361,10 +361,14 @@ set_drag_cursor (GtkWidget *widget)
if (widget->window)
{
GdkCursor *cursor;
+ GdkPixbuf *pixbuf;
- cursor = gdk_cursor_new (GDK_FLEUR);
+ pixbuf = gdk_pixbuf_new_from_file (CURSOR_DIR "/art/hand-open.png", NULL);
+ cursor = gdk_cursor_new_from_pixbuf (gdk_display_get_default (),
+ pixbuf, 0, 0);
gdk_window_set_cursor (widget->window, cursor);
gdk_cursor_unref (cursor);
+ g_object_unref (pixbuf);
}
}