55 lines
1.9 KiB
Plaintext
55 lines
1.9 KiB
Plaintext
$OpenBSD: patch-gtk_gtkrc_c,v 1.3 2001/04/04 19:50:21 brad Exp $
|
|
--- gtk/gtkrc.c.orig Thu Mar 15 13:41:40 2001
|
|
+++ gtk/gtkrc.c Wed Apr 4 13:17:27 2001
|
|
@@ -245,9 +245,9 @@ gtk_rc_get_module_dir(void)
|
|
|
|
var = getenv("GTK_EXE_PREFIX");
|
|
if (var)
|
|
- path = g_strdup_printf("%s%s", var, "/lib/gtk/themes/engines");
|
|
+ path = g_strdup_printf("%s%s", var, "/share/gtk/themes/engines");
|
|
else
|
|
- path = g_strdup_printf("%s%s", GTK_LIBDIR, "/gtk/themes/engines");
|
|
+ path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/gtk/themes/engines");
|
|
|
|
return path;
|
|
}
|
|
@@ -260,9 +260,9 @@ gtk_rc_append_default_pixmap_path(void)
|
|
|
|
var = getenv("GTK_DATA_PREFIX");
|
|
if (var)
|
|
- path = g_strdup_printf("%s%s", var, "/share/gtk/themes");
|
|
+ path = g_strdup_printf("%s%s", var, "/share/themes");
|
|
else
|
|
- path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/gtk/themes");
|
|
+ path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/themes");
|
|
|
|
for (n = 0; pixmap_path[n]; n++) ;
|
|
if (n >= GTK_RC_MAX_PIXMAP_PATHS - 1)
|
|
@@ -287,14 +287,14 @@ gtk_rc_append_default_module_path(void)
|
|
|
|
var = getenv("GTK_EXE_PREFIX");
|
|
if (var)
|
|
- path = g_strdup_printf("%s%s", var, "/lib/gtk/themes/engines");
|
|
+ path = g_strdup_printf("%s%s", var, "/share/gtk/themes/engines");
|
|
else
|
|
- path = g_strdup_printf("%s%s", GTK_LIBDIR, "/gtk/themes/engines");
|
|
+ path = g_strdup_printf("%s%s", GTK_DATA_PREFIX, "/share/gtk/themes/engines");
|
|
module_path[n++] = path;
|
|
|
|
var = g_get_home_dir ();
|
|
if (var)
|
|
- module_path[n++] = g_strdup_printf("%s%s", var, "/.gtk/lib/themes/engines");
|
|
+ module_path[n++] = g_strdup_printf("%s%s", var, "/.gtk/themes/engines");
|
|
module_path[n] = NULL;
|
|
}
|
|
|
|
@@ -326,7 +326,7 @@ gtk_rc_add_initial_default_files (void)
|
|
}
|
|
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);
|
|
|