Bug 277911

Summary: several modes don't respect --width and --height
Product: [Fedora] Fedora Reporter: Jane Dogalt <jdogalt>
Component: zenityAssignee: Matthias Clasen <mclasen>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-22 22:38:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jane Dogalt 2007-09-05 07:37:08 UTC
Description of problem:

several zenity modes don't respect --width and --height.  The problem is pretty
simple, in /usr/share/zenity/zenity.glade, the widgets/windows for the modes
have resizable=False, when it should be True, such that the C-code changing the
size actually has an effect.  For example-

<widget class="GtkDialog" id="zenity_question_dialog">
  <property name="border_width">5</property>
  <property name="title" translatable="yes">Question</property>
  <property name="type">GTK_WINDOW_TOPLEVEL</property>
  <property name="window_position">GTK_WIN_POS_CENTER</property>
  <property name="modal">False</property>
  <property name="resizable">False</property>
                             ^^^^^

If you change that to True, then "zenity --question --width=640 --height=480"
will work as it should.  There a few others with the same bug, just search for
resizable in the .glade file.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Matthias Clasen 2008-04-22 22:38:07 UTC
I've reported this problem upstream: 
http://bugzilla.gnome.org/show_bug.cgi?id=529452