diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-11-27 16:44:31 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-11-27 16:44:31 +0000 |
commit | 1e33437fcc6c6cbb31025b82abc9e1a19de86d85 (patch) | |
tree | 3c1f3cded3fb8612bde6a6cc32ae7b8a8ee4b4b2 /misc/metatheme2/files/patch-af | |
parent | Add SciTE - a full-featured SCIntilla based Text Editor for GTK/GNOME. (diff) |
Add another monster from Helixcode - Metatheme, an utility for managing "theme
sets" that accomodate gtk, window manager, etc.
Diffstat (limited to 'misc/metatheme2/files/patch-af')
-rw-r--r-- | misc/metatheme2/files/patch-af | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/metatheme2/files/patch-af b/misc/metatheme2/files/patch-af new file mode 100644 index 000000000000..572e38b524b2 --- /dev/null +++ b/misc/metatheme2/files/patch-af @@ -0,0 +1,21 @@ +--- plugins/gtk/gtk-plugin.c 2000/11/26 21:25:12 1.1 ++++ plugins/gtk/gtk-plugin.c 2000/11/26 21:27:39 +@@ -375,15 +375,15 @@ + + /* This should be more robust. + * Perhaps we could make this user-configurable somehow. */ +- pipe = popen ("gtk-config --prefix", "r"); ++ pipe = popen ("%%GTK_CONFIG%% --prefix", "r"); + if (pipe == NULL) +- return g_strdup ("/usr"); ++ return g_strdup ("%%X11BASE%%"); + + fgets (prefix, 1000, pipe); + pclose (pipe); + + if (prefix == NULL) +- return g_strdup ("/usr"); ++ return g_strdup ("%%X11BASE%%"); + + return g_strchomp (g_strdup (prefix)); + } |