Bug 131566 - zenity --question does not work
zenity --question does not work
Product: Fedora
Classification: Fedora
Component: gnome-utils (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Marco Pesenti Gritti
Depends On:
  Show dependency treegraph
Reported: 2004-09-02 08:03 EDT by Julien Tane
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-09 04:50:16 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Julien Tane 2004-09-02 08:03:17 EDT
Description of problem:

I tried to use zenity... But it did not work properly:

 zenity --question --text='Ja oder Nein'
(zenity:12151): Gtk-WARNING **: Invalid icon size -1

Version-Release number of selecteName        : 


Version     : 2.6.0                           
Release     : 2                             Build Date: Thu 15 Apr
2004 11:07:48 CEST
Install Date: Thu 22 Apr 2004 18:58:35 CEST      
   Source RPM: gnome-utils-2.6.0-2.src.rpm

How reproducible:

Steps to Reproduce:
1. call  $> zenity --question --text='Ja oder Nein'

2.get error

Actual results:

Expected results:
0 or -1 when the corresponding button is pressed

Additional info:

There was a corresponding error in debian it seems.
Comment 1 Marco Pesenti Gritti 2004-11-09 04:50:16 EST
To test it you should run something like:

zenity --question --text="OK?" && echo OK

If you press OK, then you should get ok printed on the console.
The printed message is just a warning, the return value is correct for me.

If the above test case doesnt work for you please reopen.

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