cb98ef23a6
Add Back --text-info
2022-05-11 21:34:29 -04:00
6cf0447c3b
Strip Down
2022-03-10 22:36:03 -05:00
Alan
3b64d05e8a
Fix message dialog width and height on recent Gtk
...
The fix for Zenity bug 670496 "Zenity info/error windows grow in height
with message length"
(https://bugzilla.gnome.org/show_bug.cgi?id=670496 ) stopped working on
recent Gtk, which doesn't seem to honor gtk_widget_set_size_request.
This commit workarounds Gtk bug 657621 "Calculate the wrong height of
labels wrapping on words"
(https://bugzilla.gnome.org/show_bug.cgi?id=657621 ) by setting label's
width-chars and max-width-chars to 60. This magic number was picked from
GtkMessageDialog source
(https://git.gnome.org/browse/gtk+/tree/gtk/ui/gtkmessagedialog.ui#n48 ).
2017-04-04 15:48:51 +02:00
Arx Cruz
ef14066564
Bug 762347: Addition of entry text width option
...
This is a bug in the glade file, where the GtkEntry wasn't being filled
to fill the width of the window. There is no need to add a
--entry-text-width option
2017-04-04 15:11:56 +02:00
Arx Cruz
9fe89f903f
Fixing glade file.
...
The entry dialog was with wrong box position
2015-10-02 13:39:49 +02:00
Arx Cruz
95530a1647
Fix zenity --list
...
For some reason, glade is removing some properties from the xml file
2015-06-23 11:25:29 +02:00
Arx Cruz
6f1deca5c0
Bug #751332 - zenity --forms does not center in the screen
2015-06-23 11:12:40 +02:00
Arx Cruz
b5c909902e
Bug #672090 - Impossible to confirm --text-info
2015-05-29 20:11:34 +02:00
Arx Cruz
08e8f3e05d
Bug #749359 zenity --list produces incorrect output
2015-05-14 16:54:34 +02:00
Javier Jardón
d97b99cfc3
Use GtkScale instead deprecated GtkHScale
2015-03-22 09:16:17 +00:00
Javier Jardón
81d9a261e2
src/zenity.ui: Use GtkBox instead deprecated Gtk[H|V]Box
2015-03-22 09:16:17 +00:00
Javier Jardón
fcb28a3a14
forms: Use GtkGrid instead deprecated GtkTable/GtkAlignment
2015-03-22 09:16:17 +00:00
Javier Jardón
d26aa23e1d
src/zenity.ui: Do not use deprecated stock images
2015-03-22 09:16:16 +00:00
Javier Jardón
a1fe6eb88e
src/zenity.ui: Do not use deprecated stock buttons
2015-03-22 09:16:16 +00:00
Javier Jardón
03a791abee
src/zenity.ui: Changes when open with Glade 3.18.3
2015-03-22 09:12:13 +00:00
Arx Cruz
b5460887fb
Bug #700249 - Progress dialog does not wrap
2014-10-22 15:35:22 +02:00
Scott Pakin
673550b6d3
Added time-remaining support to progress bars
...
Introduced a --time-remaining command-line option that uses the time
and percent complete to extrapolate the time remaining until progress
reaches 100%.
2014-10-21 15:22:11 +02:00
Arx Cruz
86f6329fc1
Fixing deprecated classes in GtkBuilder
2014-05-20 10:50:04 -03:00
Arx Cruz
5ce972d784
Removing some deprecated classes in zenity GtkBuilder file
2014-05-20 10:35:39 -03:00
Arx Cruz
80bc8ce643
But #702535 - List box doesn't expand to fill window
2013-10-10 16:52:38 -03:00
Florian Müllner
bbcb2a3783
msg: Add an option to set a custom dialog icon
...
The predefined dialog icons work well in many cases, but sometimes
it makes sense to use a more specific icon, so add an option to
specify an icon-name to use instead.
https://bugzilla.gnome.org/show_bug.cgi?id=684329
2012-09-25 18:46:33 -04:00
Piotr Drąg
4ca4e421c5
Remove markup from translatable strings
...
Also manually unbreak the string freeze break.
2012-05-16 19:10:16 +02:00
Arx Cruz
de35254822
Revert "Initial support for list/tree on --forms option Added zenity --add-list and --list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns"
...
This reverts commit ed825cf92b
.
2011-10-13 15:21:32 -03:00
Arx Cruz
ed825cf92b
Initial support for list/tree on --forms option Added zenity --add-list and --list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns
2011-10-13 13:44:03 -03:00
Arx Cruz
6768a40e99
Fix for bug #611297 Now Zenity have --ok-label and --cancel-label in all dialogs. This patch doesn't break old zenity scripts.
2011-07-26 14:02:45 -03:00
Arx Cruz
1d339e29a7
Enable html support in --text-info option. This fix bug #598655 , thanks for the work from Francis Meyvis francis.meyvis at gmail dot com. Two new options in --text-info: * --html - enable HTML support. * --url - load an url
...
If you need to load a local html file, you can use --filename=patch/to/html.
Examples:
* zenity --text-info --html --filename=file.html
* zenity --text-info --html --url=www.gnome.org
Zenity will add http:// if isn't declared in --url
2011-07-19 14:39:05 -03:00
Arx Cruz
5872558fee
This change add a new functionality to text-info:
...
* Added a cancel button returning 1 if clicked
* Renamed the Close button to Ok, still returning 0 if clicked
* Added --ok-label=TEXT option to change the Ok button label
* Added --cancel-label=TEXT option to change the Cancel button label
* Added --checkbox=TEXT option to show an "I Agree and accept the terms" checkbox
If --checkbox is enabled, the Ok button will be disabled if the checkbox isn't checked.
2011-06-28 17:18:32 -03:00
Arx Cruz
b39ad33c35
Bug 651948 - zenity list does not return default value when timeout is over
2011-06-16 11:34:01 -03:00
Javier Jardón
f675707d1c
Do not use deprecated separator GtkDialog property
2011-02-15 21:27:24 +00:00
Arx Cruz
9c32783a14
Adding missed files and code for --forms option.
2011-01-17 12:20:21 -02:00
Lucas Rocha
b87f233061
Bug 561131 – zenity windows don't appear with the focus
2009-08-06 16:39:33 +01:00
Javier Jardón
94c9ee1c7f
Clean some things in the GtkBuilder port (GnomeBug:578393)
...
* Makefile.am
* README
* configure.in
* po/POTFILES.skip
* src/zenity.ui
2009-08-06 15:36:49 +01:00
Felix Riemann
3f33966167
Bug 578393 – convert from libglade to GtkBuilder
2009-07-20 10:23:32 +02:00