aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2003-10-14 00:57:57 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-14 00:57:57 +0800
commitab827f639671b79f2b802b19f86e937a92612ad7 (patch)
tree002c0efa48e1e9cad116aa01b38aa5f917af1a3a
parenta30db0d7c1dcdbc6d6962564ccf25615518a1d05 (diff)
downloadgsoc2013-epiphany-ab827f639671b79f2b802b19f86e937a92612ad7.tar
gsoc2013-epiphany-ab827f639671b79f2b802b19f86e937a92612ad7.tar.gz
gsoc2013-epiphany-ab827f639671b79f2b802b19f86e937a92612ad7.tar.bz2
gsoc2013-epiphany-ab827f639671b79f2b802b19f86e937a92612ad7.tar.lz
gsoc2013-epiphany-ab827f639671b79f2b802b19f86e937a92612ad7.tar.xz
gsoc2013-epiphany-ab827f639671b79f2b802b19f86e937a92612ad7.tar.zst
gsoc2013-epiphany-ab827f639671b79f2b802b19f86e937a92612ad7.zip
*** empty log message ***
-rw-r--r--ChangeLog8
-rw-r--r--data/art/Makefile.am3
-rw-r--r--data/art/hand-open.pngbin0 -> 434 bytes
-rw-r--r--lib/egg/Makefile.am1
-rwxr-xr-xlib/egg/egg-editable-toolbar.c6
5 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 85488433d..4096a1bc0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2003-10-13 Marco Pesenti Gritti <marco@gnome.org>
+ * data/art/Makefile.am:
+ * lib/egg/Makefile.am:
+ * lib/egg/egg-editable-toolbar.c: (set_drag_cursor):
+
+ Use a costum icon for the cursor
+
+2003-10-13 Marco Pesenti Gritti <marco@gnome.org>
+
* lib/egg/egg-editable-toolbar.c: (set_drag_cursor),
(unset_drag_cursor), (create_item),
(egg_editable_toolbar_set_edit_mode):
diff --git a/data/art/Makefile.am b/data/art/Makefile.am
index bfd94661d..fb62294f8 100644
--- a/data/art/Makefile.am
+++ b/data/art/Makefile.am
@@ -10,7 +10,8 @@ art_DATA = \
epiphany-viewsource.png \
epiphany-send-link.png \
epiphany-bookmarks.png \
- epiphany-tab-loading.gif
+ epiphany-tab-loading.gif \
+ hand-open.png
appicon_DATA = epiphany-bookmarks.png
appicondir = $(datadir)/pixmaps
diff --git a/data/art/hand-open.png b/data/art/hand-open.png
new file mode 100644
index 000000000..a29784607
--- /dev/null
+++ b/data/art/hand-open.png
Binary files differ
diff --git a/lib/egg/Makefile.am b/lib/egg/Makefile.am
index 9f55158f9..53a2dbf26 100644
--- a/lib/egg/Makefile.am
+++ b/lib/egg/Makefile.am
@@ -1,6 +1,7 @@
INCLUDES = \
$(EPIPHANY_DEPENDENCY_CFLAGS) \
$(WARN_CFLAGS) \
+ -DCURSOR_DIR=\"$(pkgdatadir)\" \
-DGTK_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DG_DISABLE_DEPRECATED
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);
}
}