mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
- Fixed switch panel default value in defaults.c
- Fixed WPrefs path in the installed WMState (changed after recent WPrefs installation path changes) - Fixed wmaker.inst (apparently some very noisy individual was unable to get right his 10 line patch to rename a path)
This commit is contained in:
@@ -3,6 +3,8 @@ defsdatadir = $(sysconfdir)/WindowMaker
|
||||
|
||||
defsdata_DATA = WMRootMenu WMWindowAttributes WindowMaker WMState WMGLOBAL
|
||||
|
||||
wpexecbindir = @wprefs_bindir@
|
||||
|
||||
EXTRA_DIST = WMGLOBAL WMWindowAttributes.in WindowMaker.in WMState.in
|
||||
|
||||
CLEANFILES = WMWindowAttributes WindowMaker WMState
|
||||
@@ -21,7 +23,7 @@ WindowMaker: $(srcdir)/WindowMaker.in
|
||||
|
||||
WMState: $(srcdir)/WMState.in
|
||||
-rm -f WMState
|
||||
sed -e "s:#wprefs#:$(wprefsdir)/WPrefs:" $(srcdir)/WMState.in > WMState
|
||||
sed -e "s:#wprefs#:$(wpexecbindir)/WPrefs:" $(srcdir)/WMState.in > WMState
|
||||
chmod 644 WMState
|
||||
|
||||
WMRootMenu: $(srcdir)/../plmenu
|
||||
|
||||
@@ -659,8 +659,8 @@ WDefaultEntry optionList[] = {
|
||||
{"IconTitleBack", "black", NULL,
|
||||
NULL, getColor, setIconTitleBack
|
||||
},
|
||||
{"SwitchPanelImages", "(\"swtile.png\")", &wPreferences,
|
||||
NULL, getPropList, setSwPOptions
|
||||
{"SwitchPanelImages", "(swtile.png, swback.png, 30, 40)", &wPreferences,
|
||||
NULL, getPropList, setSwPOptions
|
||||
},
|
||||
/* keybindings */
|
||||
#ifndef LITE
|
||||
|
||||
@@ -135,14 +135,6 @@ else
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -d "$GSDIR/Library/WindowMaker/CachedPixmaps" ]; then
|
||||
make_dir $GSDIR/WindowMaker/CachedPixmaps
|
||||
fi
|
||||
|
||||
if [ ! -d "$GSDIR/Library/WindowMaker/WPrefs" ]; then
|
||||
make_dir $GSDIR/WindowMaker/WPrefs
|
||||
fi
|
||||
|
||||
if [ ! -d "$GSDIR/Defaults" ]; then
|
||||
make_dir $GSDIR/Defaults
|
||||
fi
|
||||
@@ -201,7 +193,6 @@ if [ ! -d "$GSDIR/Library/WindowMaker/Themes" ]; then
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if [ ! -d "$GSDIR/Library/WindowMaker/Backgrounds" ]; then
|
||||
echo "Creating bg image library $GSDIR/Library/WindowMaker/Backgrounds"
|
||||
make_dir $GSDIR/Library/WindowMaker/Backgrounds
|
||||
@@ -242,6 +233,14 @@ else
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -d "$GSDIR/Library/WindowMaker/CachedPixmaps" ]; then
|
||||
make_dir $GSDIR/Library/WindowMaker/CachedPixmaps
|
||||
fi
|
||||
|
||||
if [ ! -d "$GSDIR/Library/WindowMaker/WPrefs" ]; then
|
||||
make_dir $GSDIR/Library/WindowMaker/WPrefs
|
||||
fi
|
||||
|
||||
if test -z "#LITE#" ; then
|
||||
FILES=`(cd $GLOBALDIR; ls menu menu.* plmenu plmenu.?? wmmacros)`
|
||||
for i in $FILES; do
|
||||
|
||||
Reference in New Issue
Block a user