gufw-developers team mailing list archive
-
gufw-developers team
-
Mailing list archive
-
Message #00573
[Bug 593626] Re: GuFw Not Using GTk2 Themes
Hi! I don't undertand the bug :$ Please, could you attach some
screenshot as example? :) Thanks!
--
GuFw Not Using GTk2 Themes
https://bugs.launchpad.net/bugs/593626
You received this bug notification because you are a member of Gufw
Developers, which is the registrant for Gufw.
Status in Gufw: New
Bug description:
I'm running Slackware 13.1 and I installed ufw/gufw on my box.
Like any other application I would of figured GuFw would use the GTK2 themes I have installed but it's not.
I have a .gtkrc-2.0 file I use by hand to switch them and all my other apps switch to the themes, but GUFW won't.
Why Won't GUFW change to using a gtk2 theme? All it does it looks like a GTK1 app instead.
If all my other applications use the GTK2 themes I would think that GuFw would also but it's not.
Here's my .gtkrc-2.0 file:
[code]
#
# Select GTK+ Themes
#
gtk-theme-name="Equinox"
#gtk-theme-name="Laza"
#gtk-theme-name="Mire-v2_Grey"
#gtk-theme-name="Moka"
#gtk-theme-name="The-days-of-grays"
#
# Select GTK Fonts
#
#gtk-font-name="Bitstream Vera Sans 8"
#
# Select GTK Icons
#
#gtk-icon-theme-name="BRIT-ICONS"
gtk-icon-theme-name="SimplyGrey"
gtk-icon-sizes="gtk-menu=32,32:\
gtk-button=32,32:\
gtk-small-toolbar=32,32:\
gtk-large-toolbar=32,32:\
gtk-dnd=32,32:\
gtk-dialog=32,32"
gtk-toolbar-style = GTK_TOOLBAR_ICONS
[/code]
There isn't anything complicated about installing this on another distro that should affect it not working with a GTK2 theme.
This is the slackbuild that made the package:
[code]
#!/bin/sh
# Slackware build script for ufw
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ufw
VERSION=0.30pre1
BUILD=${BUILD:-}
TAG=${TAG:-sar}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/sar}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING ChangeLog ChangeLog.pre-0.25 README README.design README.translations TODO"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
python setup.py build || exit 1
python setup.py install --root $PKG || exit 1
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cd $PKG/usr/share/man || exit 1
find $PKG/usr/share/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
[/code]
References