openbsd-ports/x11/windowmaker/patches/patch-WPrefs_app_Menu_c

30 lines
1.5 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-WPrefs_app_Menu_c,v 1.4 2007/08/25 09:27:12 mglocker Exp $
2005-11-01 12:28:34 -05:00
--- WPrefs.app/Menu.c.orig Tue Oct 26 04:23:39 2004
+++ WPrefs.app/Menu.c Fri Aug 17 20:58:09 2007
2005-11-01 12:28:34 -05:00
@@ -577,7 +577,7 @@ createPanel(_Panel *p)
data->param.exec.command = "xv";
2005-11-01 12:28:34 -05:00
data = putNewItem(panel, pad, ExecInfo, _("Acrobat Reader"));
- data->param.exec.command = "acroread || /usr/local/Acrobat4/bin/acroread";
+ data->param.exec.command = "acroread";
2005-11-01 12:28:34 -05:00
data = putNewItem(panel, pad, ExecInfo, _("ghostview"));
data->param.exec.command = "gv";
@@ -616,7 +616,7 @@ createPanel(_Panel *p)
2005-11-01 12:28:34 -05:00
data = putNewItem(panel, pad, DirectoryInfo, _("Themes"));
data->param.directory.command = "setstyle";
- data->param.directory.directory = "/usr/share/WindowMaker/Themes /usr/local/share/WindowMaker/Themes $HOME/GNUstep/Library/WindowMaker/Themes";
+ data->param.directory.directory = "/usr/share/WindowMaker/Themes %%PREFIX%%/share/WindowMaker/Themes $HOME/GNUstep/Library/WindowMaker/Themes";
data->param.directory.stripExt = 1;
data = putNewItem(panel, pad, DirectoryInfo, _("Bg Images (scale)"));
@@ -1068,7 +1068,6 @@ parseCommand(WMPropList *item)
for (i = 0, j = 0; i < tokn; i++) {
if (strcmp(tokens[i], "-noext") == 0) {
- wfree(tokens[i]);
data->param.directory.stripExt = 1;
} else {
ctokens[j++] = tokens[i];