[Pkg-xfce-devel] Bug#430184: xfce4-utils: prevent window resize on startup

Michael Gilbert michael.s.gilbert at gmail.com
Sat Jun 23 06:13:31 UTC 2007

Subject: xfce4-utils: prevent window resize on startup
Package: xfce4-utils
Version: 4.4.1-1
Severity: minor
Tags: patch

the following patch to xfce4-help/info.c sizes the help window to the
maximum horizontal width that fits all of the text boxes (590 pixels).
this is currently done with -1 (automatic), and the window ends up
resizing a couple times when the application starts up.  this is a
disorienting and undesirable effect for the user.  however, it is minor
and an easy fix.


--- info.c      2007-01-25 15:50:52.000000000 -0500
+++ info-new.c  2007-06-23 02:02:53.000000000 -0400
@@ -411,7 +411,7 @@
   /* the notebook */
   notebook = gtk_notebook_new ();
   gtk_widget_show (notebook);
-  gtk_widget_set_size_request (notebook, -1, 270);
+  gtk_widget_set_size_request (notebook, 590, 270);
   gtk_box_pack_start (GTK_BOX (vbox), notebook, TRUE, TRUE, 0);

   /* add pages */

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xfce4-utils depends on:
ii  gnome-terminal [x-term 2.14.2-2          The GNOME 2 terminal emulator appl
ii  konsole [x-terminal-em 4:3.5.5a.dfsg.1-6 X terminal emulator for KDE
ii  libatk1.0-0            1.18.0-2          The ATK accessibility toolkit
ii  libc6                  2.5-9+b1          GNU C Library: Shared libraries
ii  libcairo2              1.4.6-1.1         The Cairo 2D vector graphics libra
ii  libfontconfig1         2.4.2-1.2         generic font configuration library
ii  libfreetype6           2.2.1-6           FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.12.12-1         The GLib library of C routines
ii  libgtk2.0-0            2.10.12-2         The GTK+ graphical user interface
ii  libpango1.0-0          1.16.4-1          Layout and rendering of internatio
ii  libpng12-0             1.2.15~beta5-2    PNG library - runtime
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxcursor1            1:1.1.8-2         X cursor management library
ii  libxext6               1:1.0.3-2         X11 miscellaneous extension librar
ii  libxfce4util4          4.4.1-1           Utility functions library for Xfce
ii  libxfcegui4-4          4.4.1-1           Basic GUI C functions for Xfce4
ii  libxfixes3             1:4.0.3-2         X11 miscellaneous 'fixes' extensio
ii  libxi6                 1:1.0.1-4         X11 Input extension library
ii  libxinerama1           1:1.0.2-1         X11 Xinerama extension library
ii  libxrandr2             2:1.2.1-1         X11 RandR extension library
ii  libxrender1            1:0.9.2-1         X Rendering Extension client libra
ii  tilda [x-terminal-emul 0.09.2-1          terminal with first person shooter
ii  xfce4-terminal [x-term      Xfce terminal emulator
ii  xterm [x-terminal-emul 225-1             X terminal emulator
ii  zlib1g                 1:1.2.3-15        compression library - runtime

Versions of packages xfce4-utils recommends:
ii  thunar                        0.8.0-3    File Manager for Xfce
ii  xfce4-panel                   4.4.1-1    The Xfce4 desktop environment pane
ii  xfwm4                         4.4.1-1    window manager of the Xfce project

More information about the Pkg-xfce-devel mailing list