diff options
Diffstat (limited to 'x11/gcursor/files')
-rw-r--r-- | x11/gcursor/files/patch-data::gcursor.desktop.in | 18 | ||||
-rw-r--r-- | x11/gcursor/files/patch-src::gcursor.c | 59 |
2 files changed, 0 insertions, 77 deletions
diff --git a/x11/gcursor/files/patch-data::gcursor.desktop.in b/x11/gcursor/files/patch-data::gcursor.desktop.in deleted file mode 100644 index 952a2cc2b..000000000 --- a/x11/gcursor/files/patch-data::gcursor.desktop.in +++ /dev/null @@ -1,18 +0,0 @@ ---- data/gcursor.desktop.in.orig Sun Feb 20 21:34:50 2005 -+++ data/gcursor.desktop.in Sun Feb 20 21:36:12 2005 -@@ -1,12 +1,11 @@ - [Desktop Entry] -+Encoding=UTF-8 - _Name=Cursor Selection - _Comment=Select a different cursor - Exec=gcursor - Icon= - Terminal=false - Type=Application -- --Categories=GNOME;Application;Settings; - StartupNotify=true --Encoding=UTF-8 -- -+Categories=Application;Settings;AdvancedSettings; -+OnlyShowIn=GNOME; diff --git a/x11/gcursor/files/patch-src::gcursor.c b/x11/gcursor/files/patch-src::gcursor.c deleted file mode 100644 index 583eac0fd..000000000 --- a/x11/gcursor/files/patch-src::gcursor.c +++ /dev/null @@ -1,59 +0,0 @@ ---- src/gcursor.c.orig Thu Aug 26 05:35:55 2004 -+++ src/gcursor.c Thu Jul 27 13:25:46 2006 -@@ -32,29 +32,22 @@ - - #warning move this into gconf - char *paths[] = { -- "/usr/share/cursors/xfree/", -- "/usr/X11R6/lib/X11/icons/", -- "/usr/Xorg/lib/X11/icons/", -- "/usr/local/share/icons/", -- "/usr/share/icons/", -+ "%%LOCALBASE%%/lib/X11/icons/", -+ "%%X11BASE%%/lib/X11/icons/", - "%s/.icons/", - NULL - }; - - void open_theme_dir() - { -- GError * error = NULL; -- char * filename; -- -- filename = g_strdup_printf("file:///%s/.icons/", g_getenv("HOME")); -- gnome_url_show(filename,&error); -- g_free(filename); -+ gchar *path, *command; - -- if (error) -- { -- gnome_warning_dialog (error->message); -- g_error_free (error); -- } -+ path = g_strdup_printf ("%s/.icons", g_get_home_dir()); -+ command = g_strdup_printf ("nautilus --no-desktop %s", path); -+ -+ g_free (path); -+ g_spawn_command_line_async (command, NULL); -+ g_free (command); - } - - -@@ -85,7 +78,7 @@ - filename = g_shell_quote(gtk_file_selection_get_filename(GTK_FILE_SELECTION(fs))); - #endif - -- path = g_strdup_printf("file-roller --extract-to=%s/.icons/ %s", g_getenv("HOME"), -+ path = g_strdup_printf("file-roller --extract-to=%s/.icons/ %s", g_get_home_dir(), - filename); - g_free(filename); - -@@ -281,7 +274,7 @@ - - for (iterator = paths; *iterator; iterator++) - { -- dirname = g_strdup_printf(*iterator, g_getenv("HOME")); -+ dirname = g_strdup_printf(*iterator, g_get_home_dir()); - directory = g_dir_open(dirname, 0, NULL); - - while(directory != NULL && (name = g_dir_read_name(directory)) != NULL) |