diff options
author | Claudio Saavedra <csaavedra@alumnos.utalca.cl> | 2005-12-17 00:18:08 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedr@src.gnome.org> | 2005-12-17 00:18:08 +0800 |
commit | 2ccd58f9e196d4e0c408fb1552184bae210e245f (patch) | |
tree | fb83df5406849df9cf52a392389d12aa50e5bc39 | |
parent | 883bd7d2cd8f53cfc0a61c5e301f039b9454fed1 (diff) | |
download | gsoc2013-epiphany-2ccd58f9e196d4e0c408fb1552184bae210e245f.tar gsoc2013-epiphany-2ccd58f9e196d4e0c408fb1552184bae210e245f.tar.gz gsoc2013-epiphany-2ccd58f9e196d4e0c408fb1552184bae210e245f.tar.bz2 gsoc2013-epiphany-2ccd58f9e196d4e0c408fb1552184bae210e245f.tar.lz gsoc2013-epiphany-2ccd58f9e196d4e0c408fb1552184bae210e245f.tar.xz gsoc2013-epiphany-2ccd58f9e196d4e0c408fb1552184bae210e245f.tar.zst gsoc2013-epiphany-2ccd58f9e196d4e0c408fb1552184bae210e245f.zip |
Use a gtk stock cursor (GDK_HAND2) instead of already removed image. Fixes
2005-12-16 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
* lib/egg/egg-editable-toolbar.c: (configure_item_cursor):
Use a gtk stock cursor (GDK_HAND2) instead of already removed image.
Fixes bug #324265.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | lib/egg/egg-editable-toolbar.c | 6 |
2 files changed, 7 insertions, 5 deletions
@@ -1,3 +1,9 @@ +2005-12-16 Claudio Saavedra <csaavedra@alumnos.utalca.cl> + + * lib/egg/egg-editable-toolbar.c: (configure_item_cursor): + Use a gtk stock cursor (GDK_HAND2) instead of already removed image. + Fixes bug #324265. + 2005-12-15 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/mozilla-embed-single: (impl_import): diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c index 516b8ff0d..f2aeb983f 100755 --- a/lib/egg/egg-editable-toolbar.c +++ b/lib/egg/egg-editable-toolbar.c @@ -611,14 +611,10 @@ configure_item_cursor (GtkToolItem *item, EggEditableToolbar *etoolbar) if (etoolbar->priv->edit_mode > 0) { GdkCursor *cursor; - GdkPixbuf *pixbuf; - pixbuf = gdk_pixbuf_new_from_file (CURSOR_DIR "/hand-open.png", NULL); - cursor = gdk_cursor_new_from_pixbuf (gdk_display_get_default (), - pixbuf, 12, 12); + cursor = gdk_cursor_new (GDK_HAND2); gdk_window_set_cursor (GTK_WIDGET(item)->window, cursor); gdk_cursor_unref (cursor); - g_object_unref (pixbuf); gtk_drag_source_set (GTK_WIDGET (item), GDK_BUTTON1_MASK, dest_drag_types, G_N_ELEMENTS (dest_drag_types), GDK_ACTION_MOVE); |