Lines 1-31
Link Here
|
1 |
--- src/gcursor.c.orig Fri Mar 26 12:54:55 2004 |
1 |
--- src/gcursor.c.orig Thu Apr 8 10:25:03 2004 |
2 |
+++ src/gcursor.c Mon Apr 5 13:21:52 2004 |
2 |
+++ src/gcursor.c Thu Apr 8 18:00:14 2004 |
3 |
@@ -16,7 +16,7 @@ |
3 |
@@ -32,10 +32,7 @@ |
4 |
GConfClient *client; |
|
|
5 |
XcursorImage * cursor = NULL; |
6 |
char*current_theme = NULL; |
7 |
-int path_index = 4; |
8 |
+int path_index = 2; |
9 |
|
4 |
|
10 |
typedef struct { |
5 |
#warning move this into gconf |
11 |
XcursorImages *image; |
6 |
char *paths[] = { |
12 |
@@ -26,9 +26,7 @@ |
|
|
13 |
animation_struct animations[4]; |
14 |
|
15 |
char *paths[4] = { |
16 |
- "/usr/share/cursors/xfree/", |
7 |
- "/usr/share/cursors/xfree/", |
|
|
8 |
- "/usr/X11R6/lib/X11/icons/", |
17 |
- "/usr/local/share/icons/", |
9 |
- "/usr/local/share/icons/", |
18 |
- "/usr/share/icons/", |
10 |
- "/usr/share/icons/", |
19 |
+ "%%X11BASE%%/lib/X11/icons/", |
11 |
+ "%%X11BASE%%/lib/X11/icons/", |
20 |
"%s/.icons/" |
12 |
"%s/.icons/", |
|
|
13 |
NULL |
21 |
}; |
14 |
}; |
22 |
|
|
|
23 |
@@ -348,7 +346,7 @@ |
24 |
GTK_STOCK_DIALOG_QUESTION, GTK_ICON_SIZE_LARGE_TOOLBAR); |
25 |
} |
26 |
|
27 |
- if(animations[1].image->images != NULL && animations[1].image->nimage != 0) |
28 |
+ if(animations[1].image != NULL && animations[1].image->nimage != 0) |
29 |
{ |
30 |
pixbuf = get_pixbuf_from_cursor_image(animations[1].image->images[animations[1].pos]); |
31 |
gtk_image_set_from_pixbuf(GTK_IMAGE(glade_xml_get_widget(main_window, "example_2")), |