[Xfce-bugs] [Bug 3806] New: xfce4-help dialog shows and resizes
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Wed Jan 16 04:34:49 CET 2008
DO NOT REPLY TO THIS EMAIL. Also, do not reply via email to the person
whose email is mentioned below. To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=3806
Summary: xfce4-help dialog shows and resizes
Product: Xfce
Version: 4.4.2
Platform: PC (x86)
OS/Version: Linux
Status: NEW
Severity: minor
Priority: Medium
Component: xfce-utils
AssignedTo: xfce-bugs at xfce.org
ReportedBy: michael.s.gilbert at gmail.com
User-Agent: Mozilla/5.0 (compatible; Konqueror/4.0; Linux) KHTML/4.0.0
(like Gecko)
Build Identifier:
this is a pretty minor bug. the xfce-help dialog ends up showing, then
resizing itself. the gnome hig has a section that discourages showing
windows, then resizing [1], so i think this behavior should be fixed.
the following patch to xfce4-help/info.c is a solution to the problem that
sizes the help window to the maximum horizontal width that fits all of
the text boxes (590 pixels) directly rather than using the automatic resize.
--- 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 */
[1]
http://developer.gnome.org/projects/gup/hig/2.0/windows.html#windows-show-hide
Reproducible: Always
Steps to Reproduce:
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Xfce-bugs
mailing list