Bug 277911 - several modes don't respect --width and --height
Summary: several modes don't respect --width and --height
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: zenity
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-05 07:37 UTC by Jane Dogalt
Modified: 2008-04-22 22:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-04-22 22:38:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.