Commit Graph

266 Commits

Author SHA1 Message Date
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
d60e5eeeb3 Now if you use --timeout option, the return code will be properly handled
The default behavior will be done (ie. user click on ok button)
The return code will be 5
2011-06-17 10:51:00 -03:00
Arx Cruz
f77a0199af Fix the msg forms (question, warning, error) to return 5 when timeout 2011-06-16 14:45:52 -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
Nirbheek Chauhan
2fa457ed44 Fix bug 651723, don't look for libnotify.h if not requested 2011-06-07 10:14:21 -03:00
Luca Ferretti
40cae89ace Revert mistakely pushed string change 2011-03-17 12:56:28 +01:00
Luca Ferretti
dc0c483b91 Use proper case in forms dialog option values 2011-03-17 12:02:20 +01:00
Javier Jardón
9744aaab18 text.c: Fix compilation warning 2011-02-15 21:34:31 +00:00
Javier Jardón
f675707d1c Do not use deprecated separator GtkDialog property 2011-02-15 21:27:24 +00:00
Matthias Clasen
55df95a2f7 Reset errors after freeing them
This was causing segfaults:
https://bugzilla.redhat.com/show_bug.cgi?id=670895
2011-01-25 18:49:01 -05:00
Arx Cruz
9c32783a14 Adding missed files and code for --forms option. 2011-01-17 12:20:21 -02:00
muzuiget
e5467650a6 Add font and no wrap mode support in text dialog 2011-01-04 11:29:49 -02:00
Arx Cruz
ef3a33a142 Fix for bug 540560.
Patch by Victor Ananjevsky <ananasik at gmail dot com>
2011-01-02 22:57:42 -02:00
Cosimo Cecchi
e9fcf66cd3 util: fix build with new GTK+ 2010-12-22 18:42:55 +01:00
Arx Cruz
01bf7956d6 Fix for bug 630885 2010-11-18 14:54:36 -02:00
Arx Cruz
54a8e7079a Fix for bug 412493 2010-11-18 14:39:04 -02:00
Arx Cruz
079254bb48 Add libnotify as optional in zenity instalation 2010-11-09 12:28:58 -02:00
Luis Medinas
4421de675f Remove deprecated code for GTK+-3.0. 2010-10-21 00:41:09 +01:00
William Jon McCann
620d5505c5 Require libnotify 0.6.1
https://bugzilla.gnome.org/show_bug.cgi?id=631737
2010-10-20 23:58:08 +01:00
Luis Medinas
bb00f842d0 Remove GDK_DISPLAY() usage. Fixes build with GTK+-3.0
Replaced by GDK_DISPLAY_XDISPLAY.
2010-10-02 20:01:14 +01:00
Luis Medinas
18ed4622ac Add default activation on entry.
Fixes bgo#630884 - Zenity --password dialog doesn't have a default
action
2010-09-29 14:32:01 +01:00
Arx Cruz
0068422170 Removing X_LIBS from src/Makefile 2010-07-22 19:51:21 -03:00
Arx Cruz
3ae7f89228 Change cancel button messages to be capitalized 2010-07-22 19:51:15 -03:00
Arx Cruz
7969d942c8 Change GTK_DIALOG(dialog)->vbox to gtk_dialog_get_content_area() in order to compile with GTK 3.0 2010-07-12 12:57:47 -03:00
Arx Cruz
79ea294e0a Just changing the copyright. 2010-07-12 11:20:02 -03:00
Arx Cruz
10d0380220 Add new password dialog 2010-07-12 11:08:26 -03:00
Philippe Gauthier
1570a2bbf0 Use g_timeout_add_seconds instead g_timeout_add
The calls to g_timeout_add are replaced with g_timeout_add_seconds to
reduce the number or program wake ups. See the GNOME Goal description:
http://live.gnome.org/GnomeGoals/UseTimeoutAddSeconds
2010-05-27 20:49:45 -03:00
Michal Pryc
eb6ed94c9e Bug 615527 - zenity hangs if invalid WINDOWID is specified 2010-04-19 13:39:12 +01:00
Andre Klapper
29625ff9cc Compile with -DGSEAL_ENABLED. Fixes bug 612498. 2010-04-08 18:00:29 +02:00
Berislav Kovacki
4ccc7f6fac Bug 540169 - Zenity should offer color selection dialog 2010-02-23 18:25:21 +00:00
Huzaifa Sidhpurwala
3c17a5a887 Bug 593926 - --progress needs a --nocancel option 2010-02-23 18:07:08 +00:00
Lucas Rocha
078ff02362 Bug 609224 - GPL mentioning left in about dialog 2010-02-23 17:55:00 +00:00
Lucas Rocha
3b4f73ce46 [options] Use correct type in hide_header variable 2010-02-23 17:53:38 +00:00
Lucas Rocha
97d7fa636e Bug 603673 - Show correct license in the about dialog 2009-12-13 17:45:28 +00:00
Lucas Rocha
cf0f0b1668 [list] allow escaped chars as separator 2009-09-16 21:30:46 +01:00
Lucas Rocha
c1f2e66288 Bug 572835 – Zenity --question should be yes or no 2009-08-10 04:17:47 +01:00
Bryce Harrington
8e190dbb1f Bug 552971 - Add a hide-header option to list dialog 2009-08-10 04:10:53 +01:00
Adrian Carpenter
171e59e3ea Bug 551116 - Fix default activation in entry dialog
when using the dialog with drop down menu.
2009-08-10 03:59:34 +01:00
Lucas Rocha
82f63f94d5 [option] Free file filter list on exit 2009-08-10 03:44:00 +01:00
Lucas Rocha
bf53ffc6f2 [option] Fix type of filters variable 2009-08-10 03:40:59 +01:00
Matt Keenan
4bba7c63f8 Bug 549404 - --help-entry for hide-text incorrect 2009-08-10 03:36:33 +01:00
Lucas Rocha
f0dfc8a820 [progress] Improve code to update of percentage 2009-08-10 03:22:05 +01:00
Lucas Rocha
a66e4df5d1 Bug 556198 – Support toggling pulsate in progressbar 2009-08-10 03:12:16 +01:00
Lucas Rocha
fa0349545d [progress] Factor out function to control pulsate 2009-08-10 03:08:46 +01:00
Lucas Rocha
54b171ff82 [progress] coding style fixes 2009-08-10 03:07:59 +01:00
Aurélio A. Heckert
533edc7044 Bug 573802 - Support notification summary
You can now define title and summary on notifications. The first line
of the provided text will be considered the title and the following
lines are the summary.
2009-08-10 02:38:41 +01:00
Lucas Rocha
25ec1ed3bb [progress] Remove duplicate code when returning 2009-08-08 11:21:24 +01:00
Lucas Rocha
5c6a48f684 [progress] Cosmetic fix in code comment 2009-08-08 10:51:52 +01:00
Olivier Blin
62a1292d1e Bug 579999 – zenity sets a huge but finite timeout
Declare timeout delay as signed, so that assigning -1 does not act as
setting a huge (but finite) timeout (this has been noticed by resetting
the clock)
2009-08-08 10:47:55 +01:00
Siegfried-Angel Gevatter Pujals
94190df420 Bug 567773 – "zenity --entry --text" doesn't interpret line breaks 2009-08-08 01:56:33 +02:00