From d09a22af8ed75196f9b7acbd6057c5cd064d9ac3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 26 Feb 2013 14:37:48 -0600 Subject: Respect systemwide kicker settings --- r14-xdg-update | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/r14-xdg-update b/r14-xdg-update index b9098f1ca..86952cd39 100644 --- a/r14-xdg-update +++ b/r14-xdg-update @@ -507,9 +507,15 @@ if [ ! -f $PROFILE_DIR/share/config/twin4rc ] && [ -f $PROFILE_DIR/share/config/ fi # Disable some features new to R14, otherwise users will see an unfamiliar desktop. -$TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "ShowDeepButtons" --type bool "false" -$TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "UseResizeHandle" --type bool "false" -$TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "MenubarPanelBlurred" --type bool "false" +if [[ $($TDEDIR/bin/kreadconfig --file kickerrc --group "General" --key "ShowDeepButtons" --default false) == "false" ]]; then + $TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "ShowDeepButtons" --type bool "false" +fi +if [[ $($TDEDIR/bin/kreadconfig --file kickerrc --group "General" --key "UseResizeHandle" --default false) == "false" ]]; then + $TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "UseResizeHandle" --type bool "false" +fi +if [[ $($TDEDIR/bin/kreadconfig --file kickerrc --group "General" --key "MenubarPanelBlurred" --default false) == "false" ]]; then + $TDEDIR/bin/kwriteconfig --file kickerrc --group "General" --key "MenubarPanelBlurred" --type bool "false" +fi # Perform some nominal update validations. # First clean house from any previous failures. -- cgit v1.2.1