Followup-For: Bug #255722
Package: gtk-theme-switch
Version: 2.0.3

Hi, the following patch corrects this problem:

diff -Nur gtk-theme-switch-2.0.3/switch.c gtk-theme-switch-2.0.3-new/switch.c
--- gtk-theme-switch-2.0.3/switch.c     2004-10-25 20:54:16.000000000 +0200
+++ gtk-theme-switch-2.0.3-new/switch.c 2005-04-25 10:32:33.000000000 +0200
@@ -68,7 +68,7 @@
        {
                while ((dent = readdir (dir)))
                {
-                        gchar* gtkrc_path = g_strconcat(dent->d_name, 
"/gtk-2.0/gtkrc", NULL);
+                        gchar* gtkrc_path = g_strconcat(dent->d_name, 
"/gtk/gtkrc", NULL);
                        stat(dent->d_name,&stats);
                        if (!S_ISDIR(stats.st_mode)) continue;
                        if (strcmp(dent->d_name,"." ) == 0) continue;
@@ -91,7 +91,7 @@
        {
                while ((dent = readdir (dir)))
                {
-                        gchar* gtkrc_path = g_strconcat(dent->d_name, 
"/gtk-2.0/gtkrc", NULL);
+                        gchar* gtkrc_path = g_strconcat(dent->d_name, 
"/gtk/gtkrc", NULL);
                        stat(dent->d_name,&stats);
                        if (!S_ISDIR(stats.st_mode)) continue;
                        if (strcmp(dent->d_name, "." ) == 0) continue;

Greetings,


Tobias

-- 
  *** SAFEGUARD this letter, it may be an IMPORTANT DOCUMENT ***
GPG Fingerprint: 69BC 4C0F 286C A85B C23B  0220 4CE6 6B9A 8273 F8B8


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to