Bug#257838: rhythmbox: reduced display problem with Sawfish
Dj-Death
Dj-Death <djdeath@gmx.fr>, 257838@bugs.debian.org
Tue, 06 Jul 2004 11:58:05 +0200
Package: rhythmbox
Version: 0.8.5-1
Severity: normal
Hi,
I have got a problem using rhythmbox with my window manager (Sawfish)
when I want to use the reduced mode of rhythmbox.
Here you can see a little shot with the rhythmbox reduced window.
http://landwerl.free.fr/shot.png
I had a look at the rhythmbox's sources.
In file shell/rb-shell.c :
reduced mode is trigged like that :
gtk_window_resize (GTK_WINDOW (shell->priv->window),
small_width, 1);
This the problem, because sawfish really resizes the window with
height = 1.
I think that use gtk_widget_get_child_requisition to get the minimum
requested size, and then call gtk_widget_size_request to resize the window
at the good size would be a good idea.
Thx.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8
Versions of packages rhythmbox depends on:
ii gconf2 2.7.1-1 GNOME configuration database syste
ii gstreamer0.8-flac 0.8.2-1 FLAC plugin for GStreamer
ii gstreamer0.8-gnomevfs 0.8.2-1 Gnome VFS plugin for GStreamer
ii gstreamer0.8-mad 0.8.2-1 MAD MPEG audio decoder plugin for
ii gstreamer0.8-misc 0.8.2-1 Collection of various GStreamer pl
ii gstreamer0.8-oss [gstream 0.8.2-1 OSS plugin for GStreamer
ii gstreamer0.8-vorbis 0.8.2-1 Vorbis plugin for GStreamer
ii libart-2.0-2 2.3.16-5 Library of functions for 2D graphi
ii libatk1.0-0 1.6.1-2 The ATK accessibility toolkit
ii libaudiofile0 0.2.6-4 Open-source version of SGI's audio
ii libbonobo2-0 2.6.2-4 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.6.1-1 The Bonobo UI library
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libesd0 0.2.32-0 Enlightened Sound Daemon - Shared
ii libgconf2-4 2.7.1-1 GNOME configuration database syste
ii libgcrypt7 1.1.90-1.1 LGPL Crypto library - runtime libr
ii libglade2-0 1:2.4.0-1 Library to load .glade files at ru
ii libglib2.0-0 2.4.2-1 The GLib library of C routines
ii libgnome-keyring0 0.2.1-2 GNOME keyring services library
ii libgnome2-0 2.6.1-7 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.6.1.1-2 A powerful object-oriented display
ii libgnomeui-0 2.6.1.1-3 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.6.1.1-3 The GNOME virtual file-system libr
ii libgnutls10 1.0.4-3 GNU TLS library - runtime library
ii libgpg-error0 0.7-1 library for common error values an
ii libgstreamer-gconf0.8-0 0.8.2-1 GConf support for GStreamer
ii libgstreamer0.8-0 0.8.3-2 Core GStreamer libraries, plugins,
ii libgtk2.0-0 2.4.3-1 The GTK+ graphical user interface
ii libice6 4.3.0.dfsg.1-5 Inter-Client Exchange library
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.4.0-4 Layout and rendering of internatio
ii libpopt0 1.7-4 lib for parsing cmdline parameters
ii libsm6 4.3.0.dfsg.1-5 X Window System Session Management
ii libtasn1-2 0.2.7-2 Manage ASN.1 structures (runtime)
ii libx11-6 4.3.0.dfsg.1-5 X Window System protocol client li
ii libxml2 2.6.10-3 GNOME XML library
ii scrollkeeper 0.3.14-8 A free electronic cataloging syste
ii vorbis-tools 1.0.1-1 Several Ogg Vorbis Tools
ii xlibs 4.3.0.dfsg.1-5 X Window System client libraries m
ii zlib1g 1:1.2.1.1-3 compression library - runtime
-- no debconf information