Package: xdialog Version: 2.2.0-1 Severity: normal Error description:
While using the dialog "--colorsel" I get the error message Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap This Dialog is working fine without ANY errors: -------------------------------------------------------------------- elif [ "$ACTION" == "preference" ] ; then ################################################################## if [ "$preference" == "center" ] ; then touch $BASEDIR/Center CENTER=`cat $BASEDIR/Center |sed 's/^-//'` Xdialog --wmclass $COMMAND --stdout --wrap \ --title "$COMMAND - center" \ --icon $ICONDIR/64x64.tdwallpaper.xpm \ --buttons-style icon \ --yesno "$(gettext 'Here you can select,\nwhether the wallpaper is centered or tiled.\n\nDo you want to center the wallpaper?\n\nCurrent value: ')$CENTER" 0x0 if [ $? -eq 0 ] ; then echo "-center" >$BASEDIR/Center else echo "" >$BASEDIR/Center fi exit 0 -------------------------------------------------------------------- But this Dialog give the error: -------------------------------------------------------------------- elif [ "$preference" == "background" ] ; then touch $BASEDIR/Backgroundcolor BGCOLOR=`cat $BASEDIR/Backgroundcolor |sed 's/^-//'` RET=`Xdialog --wmclass tdwallpaper --stdout --no-wrap \ --title "$COMMAND - backgroundcolor" \ --icon $ICONDIR/64x64.tdwallpaper.xpm \ --buttons-style icon \ --colorsel "$(gettext 'checklist')" 0 0` if [ $? -eq 0 ] ; then R=`echo "$RET" |cut -d " " -f1` G=`echo "$RET" |cut -d " " -f2` B=`echo "$RET" |cut -d " " -f3` RR=`echo "scale=2; $R/255" |bc` GG=`echo "scale=2; $G/255" |bc` BB=`echo "scale=2; $B/255" |bc` echo -n "-border rgbi:$RR/$GG/$BB" >$BASEDIR/Backgroundcolor else echo "" >$BASEDIR/Backgroundcolor fi exit 0 -------------------------------------------------------------------- If I remove the "--icon" then it works without error. It is a little bit weired Error, since I use GTK+ 2.0 which differs from 1.2 a little bit. I have allready ask Thierry to use Gtk+2.0 for the next version since several Linux/Distributions are droping allready Gtk1.2 So, I can not really help Greetings Michelle -- System Information Debian Release: 3.1 Kernel Version: Linux michelle1.private 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux Versions of the packages xdialog depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries and Timezone ii libglib1.2 1.2.10-9 The GLib library of C routines ii libgtk1.2 1.2.10-17 The GIMP Toolkit set of widgets for X ii libx11-6 4.3.0.dfsg.1-1 X Window System protocol client library ii libxext6 4.3.0.dfsg.1-1 X Window System miscellaneous extension libr ii libxi6 4.3.0.dfsg.1-1 X Window System Input extension library ii xlibs 4.3.0.dfsg.1-1 X Keyboard Extension (XKB) configuration dat