1999-05-29 03:49:46 +00:00
|
|
|
--- gtk/gtkrc.c.orig Tue May 11 04:31:09 1999
|
|
|
|
+++ gtk/gtkrc.c Sat May 15 19:01:44 1999
|
1999-03-09 01:13:40 +00:00
|
|
|
@@ -231,9 +231,9 @@
|
1999-01-05 00:58:09 +00:00
|
|
|
|
1998-12-26 19:17:44 +00:00
|
|
|
var = getenv("GTK_EXE_PREFIX");
|
|
|
|
if (var)
|
1999-01-05 00:58:09 +00:00
|
|
|
- path = g_strdup_printf("%s%s", var, "/lib/gtk/themes/engines");
|
|
|
|
+ path = g_strdup_printf("%s%s", var, "/share/themes/engines");
|
1998-12-26 19:17:44 +00:00
|
|
|
else
|
1999-01-05 00:58:09 +00:00
|
|
|
- path = g_strdup_printf("%s%s", GTK_EXE_PREFIX, "/lib/gtk/themes/engines");
|
|
|
|
+ path = g_strdup_printf("%s%s", GTK_EXE_PREFIX, "/share/themes/engines");
|
|
|
|
|
1998-12-26 19:17:44 +00:00
|
|
|
return path;
|
|
|
|
}
|
1999-03-09 01:13:40 +00:00
|
|
|
@@ -246,9 +246,9 @@
|
1999-01-05 00:58:09 +00:00
|
|
|
|
1998-12-26 19:17:44 +00:00
|
|
|
var = getenv("GTK_DATA_PREFIX");
|
|
|
|
if (var)
|
1999-01-05 00:58:09 +00:00
|
|
|
- path = g_strdup_printf("%s%s", var, "/share/gtk/themes");
|
|
|
|
+ path = g_strdup_printf("%s%s", var, "/share/themes");
|
1998-12-26 19:17:44 +00:00
|
|
|
else
|
1999-01-05 00:58:09 +00:00
|
|
|
- path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/gtk/themes");
|
|
|
|
+ path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/themes");
|
1998-12-26 19:17:44 +00:00
|
|
|
|
|
|
|
for (n = 0; pixmap_path[n]; n++) ;
|
1999-01-05 00:58:09 +00:00
|
|
|
if (n >= GTK_RC_MAX_PIXMAP_PATHS - 1)
|
1999-03-09 01:13:40 +00:00
|
|
|
@@ -282,15 +282,15 @@
|
1999-01-05 00:58:09 +00:00
|
|
|
|
1998-12-26 19:17:44 +00:00
|
|
|
var = getenv("GTK_EXE_PREFIX");
|
|
|
|
if (var)
|
1999-01-05 00:58:09 +00:00
|
|
|
- path = g_strdup_printf("%s%s", var, "/lib/gtk/themes/engines");
|
|
|
|
+ path = g_strdup_printf("%s%s", var, "/share/themes/engines");
|
1998-12-26 19:17:44 +00:00
|
|
|
else
|
1999-01-05 00:58:09 +00:00
|
|
|
- path = g_strdup_printf("%s%s", GTK_EXE_PREFIX, "/lib/gtk/themes/engines");
|
|
|
|
+ path = g_strdup_printf("%s%s", GTK_EXE_PREFIX, "/share/themes/engines");
|
|
|
|
module_path[n++] = g_strdup(path);
|
|
|
|
g_free(path);
|
|
|
|
|
1999-05-02 05:21:27 +00:00
|
|
|
var = g_get_home_dir ();
|
1999-01-05 00:58:09 +00:00
|
|
|
if (var)
|
1999-05-29 03:49:46 +00:00
|
|
|
- path = g_strdup_printf("%s%s", var, "/.gtk/lib/themes/engines");
|
|
|
|
+ path = g_strdup_printf("%s%s", var, "/.gtk/themes/engines");
|
1998-12-26 19:17:44 +00:00
|
|
|
module_path[n++] = g_strdup(path);
|
1999-01-05 00:58:09 +00:00
|
|
|
module_path[n] = NULL;
|
1998-12-26 19:17:44 +00:00
|
|
|
g_free(path);
|
1999-03-09 01:13:40 +00:00
|
|
|
@@ -324,7 +324,7 @@
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
- str = g_strdup_printf ("%s%s", GTK_SYSCONFDIR, "/gtk/gtkrc");
|
|
|
|
+ str = g_strdup_printf ("%s%s", GTK_SYSCONFDIR, "/gtkrc");
|
|
|
|
gtk_rc_add_default_file (str);
|
|
|
|
g_free (str);
|
|
|
|
|