Commit Graph

394 Commits

Author SHA1 Message Date
Nuno Araujo 74d867c2aa Allow to specify notification's hints
Desktop Notifications Specification [1] specifies that hints can be
used to provide extra data to a notification server.

A new command line option --hint allows to add a hint to the
notification to display.
This option can be used multiple times, one for each hint to add.
--hint option format is name:value.

The new 'hints' command allow to specify hints in 'listen' mode.
Same format that in the command line option is used.
Several hints can be passed by separating them by '\n'.

Hints of value type '(iiibiiay)' are not supported.
This value type is used to pass a raw data image as a hint value.

This new change is useful for implementing the NotificationSource [2]
GNOME Goal.
A application using zenity and having a desktop file, can now specify
that it is a notification emitter and it's notifications can be
filtered in the new Notifications GNOME control panel pane.

[1] http://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html#hints
[2] https://live.gnome.org/GnomeGoals/NotificationSource

https://bugzilla.gnome.org/show_bug.cgi?id=693751
2013-02-25 20:12:53 -03:00
Marc Ruiz - radykal - 9beba8872d Replaced string 'could' to start with an Uppercase.
BUG ID: 687180
2012-11-22 11:26:23 -02:00
Matthias Clasen cabf7b76bc Revert "Don't break the string freeze"
This reverts commit 156a99e304.

I got the second string freeze approval after all, so lets
add the new strings back.
2012-09-25 19:45:29 -04:00
Matthias Clasen 156a99e304 Don't break the string freeze
I'm out of time waiting for a second string freeze break approval,
so the strings will be untranslated for now.
2012-09-25 18:49:50 -04: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
Florian Müllner 0628bd3291 util: Add an option to request dialogs being modal
As WMs cannot open windows themselves, Mutter uses zenity to open
"Force Quit" dialogs for unresponsive windows; as those are strongly
tied to the corresponding window, it makes sense to make them modal
(in particular when attaching them to their parent).

https://bugzilla.gnome.org/show_bug.cgi?id=684322
2012-09-25 18:46:12 -04:00
Frode Austvik bac509bb12 Fix the ComboBoxText construction so the dropmenu works again.
This fixes lp#998445 by changing the code to construct a new ComboBoxText
instead of a ComboBox, which it was (probably accidentally) changed to do
in commit 4421de67.
Closes: lp#998445
2012-08-21 19:20:12 -03:00
Javier Jardón e4c5d60ee2 Port to new documentation infrastructure 2012-08-21 19:17:12 -03:00
Colin Walters 5dd7442bd5 Fix various compiler warnings (two serious)
Missing sentinels can cause crashes.  The others are just style.
2012-08-12 12:20:07 -04:00
Piotr Drąg 31eef0cd8a Revert "Fixing string freeze"
This reverts commit 8777940f49.

The master branch is not yet affected by the string freeze.
2012-07-21 01:07:48 +02:00
Arx Cruz 8777940f49 Fixing string freeze 2012-07-19 14:44:53 -03:00
Arx Cruz c17eff5863 Added support to --imagelist on tree. Thanks to Joshua Nathaniel Pritikin <jpritikin@pobox.com> now the first column can have an image. 2012-07-19 14:23:48 -03:00
Alexandre Rostovtsev d845087870 Do not crash in --forms --add-list without column values
Be a bit more user friendly, and instead of crashing, add a default
column name if the user forgot to use --column-values with a --forms list.

https://bugzilla.gnome.org/show_bug.cgi?id=676406
2012-05-23 18:47:34 -03: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
Julian Taylor 127c298ac4 mask the result of g_io_channel_get_flags for the wanted flag 2012-05-08 17:29:42 -03:00
Arx Cruz cb5f17a2df Wrong unref object 2012-04-19 17:32:59 -03:00
Arx Cruz 1e88554c3f Fix for Bug 567663. Now the --pulsate option works properly 2012-04-19 16:11:22 -03:00
Arx Cruz 4a30be17b3 Bug #673529 Fix segmentation fault in --list option 2012-04-19 11:31:36 -03:00
Arx Cruz fd165dfe19 Bug #668935 - the channel was being freed twice. 2012-01-30 15:56:23 -02:00
Arx Cruz 82d09a41f2 Added support to lists on zenity --forms 2011-12-21 10:22:34 -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 7a34df3041 Bug #592195. This fix made the --list mode return as soon as receive an ok or cancel response
avoiding crash.
2011-07-26 10:08:31 -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 9ab8380ff2 Fix for bug #540489 and #501001 both related to 100% use of cpu. 2011-07-08 11:57:18 -03:00
Arx Cruz 3f5c166792 Forgot change one option in gtk_label 2011-07-06 15:09:38 -03:00
Arx Cruz d8954d9222 Patch for bug #621907
This patch add the option --no-markup in the info, warning, error and question dialogs
So if the user wants to use & \ ' and other symbols, now he can, and no error will be
showed.
2011-07-06 14:58:49 -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 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
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
Lucas Rocha 278a669eaf disable monk easter egg in order to remove gnome-canvas dependency (Fixes
2009-03-08  Lucas Rocha  <lucasr@gnome.org>

	* configure.in, src/about.c: disable monk easter egg in order to
	remove gnome-canvas dependency (Fixes #571741).

svn path=/trunk/; revision=1489
2009-03-08 22:34:50 +00:00
Lucas Rocha 6dd1d4b5e6 replace deprecated GTK+ calls (fixes bug #571869). Patch from Felix
2009-03-08  Lucas Rocha  <lucasr@gnome.org>

	* configure.in, src/notification.c: replace deprecated
	GTK+ calls (fixes bug #571869).
	Patch from Felix Riemann <friemann@svn.gnome.org>.

svn path=/trunk/; revision=1488
2009-03-08 22:04:02 +00:00
Lucas Rocha 9df2eda37f remove deprecated/obsoleted dialog definition (fixes bug #571869). Patch
2009-03-08  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.glade: remove deprecated/obsoleted dialog
	definition (fixes bug #571869).
	Patch from Felix Riemann <friemann@svn.gnome.org>.

svn path=/trunk/; revision=1487
2009-03-08 22:01:00 +00:00
Lucas Rocha c6da35807b translator comment for file-filter option string (Fixes bug #547202).
2009-01-09  Lucas Rocha  <lucasr@gnome.org>

	* src/option.c: translator comment for file-filter option string
	(Fixes bug #547202). Patch from Frederic Peters <fpeters@0d.be>.

svn path=/trunk/; revision=1464
2009-01-09 00:17:40 +00:00
Lucas Rocha ba29edd134 GNOME Goal: Remove deprecated GLib symbols (Fixes bug #560452). Patch from
2009-01-09  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c:
	GNOME Goal: Remove deprecated GLib symbols (Fixes bug #560452).
	Patch from Frederic Peters <fpeters@0d.be>.

svn path=/trunk/; revision=1463
2009-01-09 00:14:01 +00:00
Lucas Rocha bd9e29d33a GNOME Goal: Clean up GLib and GTK+ includes (Fixes bug #563855). Patch
2009-01-09  Lucas Rocha  <lucasr@gnome.org>

	* src/main.c:
	* src/option.h:
	GNOME Goal: Clean up GLib and GTK+ includes (Fixes bug #563855).
	Patch from Pedro Fragoso  <ember@ubuntu.com>.

svn path=/trunk/; revision=1462
2009-01-09 00:10:30 +00:00
Lucas Rocha ec48400510 correctly handle --filename option on file selection mode (Fixes bug
2009-01-09  Lucas Rocha  <lucasr@gnome.org>

	* src/fileselection.c (zenity_fileselection): correctly handle
	--filename option on file selection mode (Fixes bug #564552).
	Patch from Gilles Detillieux.

svn path=/trunk/; revision=1461
2009-01-09 00:08:01 +00:00
Lucas Rocha 92eda5b9ce set all dialogs in glade file as resizable in order to have them
2008-05-31  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.glade: set all dialogs in glade file as resizable in
	order to have them respecting the --width and --height command-line
	options (Fixes bug #529452).

svn path=/trunk/; revision=1380
2008-05-31 13:52:18 +00:00
Lucas Rocha 954fd84362 release 2.23.1
2008-04-21  Lucas Rocha  <lucasr@gnome.org>

	* NEWS: release 2.23.1

svn path=/trunk/; revision=1364
2008-04-21 22:14:32 +00:00
Lucas Rocha 8cda6025f0 Add support for file filter in file selection dialog through the new
2008-04-21  Lucas Rocha  <lucasr@gnome.org>

	Add support for file filter in file selection dialog through the new
	--file-filter command line option (Fixes bug #409843).

	* src/option.c, src/zenity.h: added supporting variable and new 
	GOptionEntry entry for the new command line option.
	* src/fileselection.c (zenity_fileselection): add file filters based
	on command line input.


svn path=/trunk/; revision=1362
2008-04-21 20:47:38 +00:00
Lucas Rocha a740e32652 use g_value_dup_string when applicable (Fixes bug #527258). Patch from
2008-04-10  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c (zenity_tree_dialog_get_selected,
	zenity_tree_dialog_toggle_get_selected): use g_value_dup_string when
	applicable (Fixes bug #527258). Patch from kraai@ftbfs.org.

svn path=/trunk/; revision=1352
2008-04-10 09:57:14 +00:00
Lucas Rocha eeb43bf65b fix memory leak on custom labels (Fixes bug #526627). Patch by
2008-03-30  Lucas Rocha  <lucasr@gnome.org>

	* src/msg.c (zenity_msg_construct_question_dialog): fix memory leak on
	custom labels (Fixes bug #526627). Patch by kraai@ftbfs.org.

svn path=/trunk/; revision=1348
2008-04-07 19:06:21 +00:00
Lucas Rocha 2141cb9184 Allow question dialogs to use custom button label text (Fixes bug
2008-03-30  Lucas Rocha  <lucasr@gnome.org>

	Allow question dialogs to use custom button label text (Fixes 
	bug #335763). Patch from Cosimo Cecchi <anarki@lilik.it> and 
	Thomas Thurman <tthurman@gnome.org>.

	* src/msg.c (zenity_msg_construct_question_dialog), (zenity_msg):
	dynamically add dialog buttons with provided labels.
	* src/option.c (zenity_option_free): free input labels.
	(zenity_question_post_callback): set button labels provided by the
	respective command line options.
	* src/zenity.glade: remove pre-defined dialog button from question
	dialog.
	* src/zenity.h: added ok_label and cancel_label to ZenityMsgData.

svn path=/trunk/; revision=1346
2008-03-29 22:13:50 +00:00
Lucas Rocha 69390b9e43 added arg_description for --timeout option (Fixes bug #516876). Patch from
2008-03-17  Lucas Rocha  <lucasr@gnome.org>

	* src/option.c: added arg_description for --timeout option (Fixes 
	bug #516876). Patch from Luca Ferretti <elle.uca@libero.it>. 

svn path=/trunk/; revision=1341
2008-03-17 19:28:49 +00:00
Lucas Rocha 82358456e0 set value range before setting value in order to correctly set initial
2007-03-17  Lucas Rocha  <lucasr@gnome.org>

	* src/scale.c (zenity_scale): set value range before setting value 
	in order to correctly set initial state (Fixes bug #521574).

svn path=/trunk/; revision=1337
2008-03-17 19:23:03 +00:00
Lucas Rocha 67baada430 added comment on a string in order clarify its meaning for translators
2007-03-17  Lucas Rocha  <lucasr@gnome.org>

	* src/option.c: added comment on a string in order clarify its
	meaning for translators (Fixes bug #520847). 

svn path=/trunk/; revision=1335
2008-03-17 19:16:31 +00:00
Lucas Rocha 8b16d4d412 added timeout option to all dialogs (Fixes bug #160654). Based on patch
2007-08-13  Lucas Rocha  <lucasr@gnome.org>

	* src/*.c: added timeout option to all dialogs (Fixes bug #160654).
	Based on patch from Muthiah Annamalai <gnumuthu@users.sf.net>.

svn path=/trunk/; revision=1231
2007-08-13 20:36:29 +00:00
Lucas Rocha ae3e8d1496 fix critical warning when using checkbox and radiobox in list dialog
2007-08-13  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c: fix critical warning when using checkbox and radiobox in
	list dialog (Fixes bug #453713).

svn path=/trunk/; revision=1230
2007-08-13 20:16:37 +00:00
Lucas Rocha b2459f3b6e fix broken handling of input from pipes in list dialog (Fixes bug
2007-05-27  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c: fix broken handling of input from pipes in list 
	dialog (Fixes bug #343684). 

svn path=/trunk/; revision=1221
2007-05-27 21:20:39 +00:00
Lucas Rocha 5868adac75 correctly handle UTF-8 input text in the text info dialog (Fixes bug
2007-05-27  Lucas Rocha  <lucasr@gnome.org>

	* src/text.c: correctly handle UTF-8 input text in the text info
	dialog (Fixes bug #407275).

svn path=/trunk/; revision=1220
2007-05-27 20:35:32 +00:00
Lucas Rocha b73e72bcfe initialize GTK+ before parsing command line options to better handle
2007-05-27  Lucas Rocha  <lucasr@gnome.org>

	* src/main.c: initialize GTK+ before parsing command line options to
	better handle errors on display setting (Fixes bug #410055).

svn path=/trunk/; revision=1217
2007-05-27 20:09:27 +00:00
Lucas Rocha b9cbcc8d0b fix seg fault when outputing files with special printf format strings
2007-05-15  Lucas Rocha  <lucasr@gnome.org>

	* src/text.c (zenity_text_dialog_response): fix seg fault when
	outputing files with special printf format strings (Fixes
	bug #405006). Patch from Mariano Suárez-Alvarez.

svn path=/trunk/; revision=1212
2007-05-14 22:13:59 +00:00
Lucas Rocha a705262d81 fix index handling for --print-column (Fixes bug #420396).
2007-05-15  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c (zenity_tree_dialog_toggle_get_selected): fix index
	handling for --print-column (Fixes bug #420396).

svn path=/trunk/; revision=1211
2007-05-14 22:07:13 +00:00
Lucas Rocha f297dd91bd double-click on day results in dialog response (Fixes bug #395152). Patch
2007-05-15  Lucas Rocha  <lucasr@gnome.org>

	* src/calendar.c (zenity_calendar, zenity_calendar_double_click):
	double-click on day results in dialog response (Fixes bug #395152).
	Patch from Tom Tromey <tromey@redhat.com>.

svn path=/trunk/; revision=1209
2007-05-14 21:38:47 +00:00
Lucas Rocha adee9db566 general cleanups for build warnings (Fixes bug #416196). Patch from
2007-05-14  Lucas Rocha  <lucasr@gnome.org>

	* src/progress.c (zenity_progress_handle_stdin), src/option.c
	(zenity_create_context), src/about.c, src/notification.c
	(zenity_notification_handle_stdin): general cleanups for 
	build warnings (Fixes bug #416196). Patch from Kjartan 
	Maraas <kmaraas@gnome.org>.

svn path=/trunk/; revision=1208
2007-05-14 21:26:08 +00:00
Lucas Rocha 7a58e9e4c7 complete list dialog options with respective arguments (Fixes bug
2006-12-04  Lucas Rocha  <lucasr@gnome.org>

	* src/option.c: complete list dialog options with respective arguments
	(Fixes bug #353320). Patch from Glynn Foster <glynn.foster@sun.com>.
2006-12-04 20:35:48 +00:00
Lucas Rocha 72e5594825 make dialog text selectable on message dialogs (error, warning, info, and
2006-12-04  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.glade: make dialog text selectable on message dialogs
	(error, warning, info, and question) (Fixes bug #352910). Patch
	from Greg Hudson <ghudson@mit.edu>.
2006-12-04 20:22:54 +00:00
Lucas Rocha 784eada1b4 merged identic i18n strings (Fixes bug #334361).
2006-12-03  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.glade: merged identic i18n strings (Fixes bug #334361).
2006-12-03 16:48:39 +00:00
Lucas Rocha 09c4a49800 add "auto-kill" option to progress dialog. Now the user can choose whether
2006-12-02  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.h, src/progress.c, src/option.c: add "auto-kill" option
	to progress dialog. Now the user can choose whether to kill parent
	process or not (Fixes bug #310824). Patch from Diego Escalante Urrelo
	<diego@aureal.com.pe>.
2006-12-02 10:54:45 +00:00
Lucas Rocha 4d9c0448f5 don't show cancel button on warning dialog (Fixes bug #324100). Patch from
2006-12-02  Lucas Rocha  <lucasr@gnome.org>

	* src/zenity.glade: don't show cancel button on warning dialog (Fixes
	bug #324100). Patch from Claudio Saavedra
	<csaavedra@alumnos.utalca.cl>
2006-12-02 10:41:21 +00:00
Lucas Rocha 94e6ab1132 Release 2.15.91 Update.
2006-07-28  Lucas Rocha  <lucasr@gnome.org>

	* configure.in: Release 2.15.91
	* NEWS: Update.
2006-08-09 00:55:59 +00:00
Lucas Rocha d373b3f3ce src/notification.c (-set_scaled_pixbuf, +zenity_notification_icon_update,
2006-07-27  Lucas Rocha  <lucasr@gnome.org>

	* src/notification.c (-set_scaled_pixbuf,
	+zenity_notification_icon_update,
	-zenity_notification_icon_press_callback,
	+zenity_notification_icon_size_changed_cb,
	-zenity_notification_icon_expose_callback,
	-zenity_notification_icon_destroy_callback,
	+zenity_notification_icon_activate_cb,
	zenity_notification_handle_stdin, zenity_notification),
	src/util.[ch] (+zenity_util_stock_from_filename,
	zenity_util_pixbuf_new_from_file), Makefile.am, configure.in:

	Migration to gtk_status_icon (Fixes bug #341451). Patch from
	Christian Persch <chpe@gnome.org>.

	* src/eggtrayicon.[ch]: removed.
2006-07-28 21:25:11 +00:00
Lucas Rocha e46814b46a correctly stdin input for text info dialog (Fixes bug #336736).
2006-07-27  Lucas Rocha  <lucasr@gnome.org>

	* src/text.c (zenity_text_handle_stdin): correctly stdin input for
	text info dialog (Fixes bug #336736).
2006-07-28 04:18:58 +00:00
Lucas Rocha 80d39c09c1 entry activation makes dialog return OK (Fixes bug #347340).
2006-07-27  Lucas Rocha  <lucasr@gnome.org>

	* src/entry.c (zenity_entry): entry activation makes dialog
	return OK (Fixes bug #347340).
2006-07-27 03:29:44 +00:00
Lucas Rocha 216ee62fe1 fix small build warnings on 64-bit architectures (Fixes bug #344125). fix
2006-07-26  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c (zenity_tree_fill_entries_from_stdin, zenity_tree): fix
	small build warnings on 64-bit architectures (Fixes bug #344125).
	* src/zenity.h: fix small build warning.
2006-07-26 23:17:04 +00:00
Francisco Javier F. Serrador 5968740b29 Replaced old FSF postal address with current one.
2006-06-10  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* src/about.c: Replaced old FSF postal address with current one.
2006-06-10 20:16:35 +00:00
Lucas Rocha 1bf8562a2e about dialog update.
2006-05-19  Lucas Rocha  <lucasr@gnome.org>

	* src/about.c (zenity_about): about dialog update.
2006-05-19 20:00:29 +00:00
Lucas Rocha 07618f9daa add optional dropdown menu to entry dialog (Fixed bug #311038). Patch from
2006-05-10  Lucas Rocha  <lucasr@gnome.org>

	* src/entry.c (zenity_entry_fill_entries, zenity_entry),
	src/main.c, src/option.c, src/zenity.glade, src/zenity.h:
	add optional dropdown menu to entry dialog (Fixed bug #311038).
	Patch from Diego Escalante Urrelo <dieguito@gmail.com>.
2006-05-11 01:31:35 +00:00
Lucas Rocha 59b5bad794 move to automake 1.9 and several cleanups (Fixes bug #341056). Patch from
2006-05-10  Lucas Rocha  <lucasr@gnome.org>

	* .cvsignore, Makefile.am, autogen.sh, configure.in,
	data/Makefile.am, po/.cvsignore, src/Makefile.am: move to
	automake 1.9 and several cleanups (Fixes bug #341056).
	Patch from Christian Persch <chpe@gnome.org>.
2006-05-10 03:37:14 +00:00
Lucas Rocha e97b6eeaeb don't ignore return value from g_renew() (Fixes bug #338038). Patch from
2006-04-16  Lucas Rocha  <lucasr@gnome.org>

	* src/tree.c (zenity_tree_extract_column_indexes):
	don't ignore return value from g_renew() (Fixes
	bug #338038). Patch from Behdad Esfahbod
	<gnome@behdad.org>.
2006-04-17 04:11:15 +00:00
Lucas Rocha a8363ee219 quit zenity on dialog response (Fixes bug #336505).
2006-03-31  Lucas Rocha  <lucasr@gnome.org>

	* src/about.c (zenity_about_dialog_response): quit zenity
	on dialog response (Fixes bug #336505).
2006-03-31 04:20:47 +00:00
Lucas Rocha 6645316bc9 add --confirm-overwrite to file selection dialog to pop a confirmation
2006-03-23  Lucas Rocha  <lucasr@gnome.org>

	* src/fileselection.c, zenity.h, option.c: add
	--confirm-overwrite to file selection dialog to pop a
	confirmation dialog when selecting an existing filename.
2006-03-23 20:08:17 +00:00
Lucas Rocha e919741e64 Implement the "message" command on notification icon with libnotify
2006-03-22  Lucas Rocha  <lucasr@gnome.org>

	Implement the "message" command on notification icon
	with libnotify bubbles. Patch from Davyd Madeley
	<davyd@madeley.id.au>.

	* configure.in: add libnotify checking.
	* src/notification.c (zenity_notification_handle_stdin,
	zenity_notification): initialize libnotify and implement
	"message" command.
2006-03-23 03:43:23 +00:00
Lucas Rocha 17989a09c1 add G_OPTION_FLAG_NOALIAS to separator option for list dialog. Patch from
2006-03-07  Lucas Rocha  <lucasr@gnome.org>

	* src/option.c: add G_OPTION_FLAG_NOALIAS to separator
	option for list dialog. Patch from Glynn
	Foster <glynn.foster@sun.com>.
2006-03-07 19:04:04 +00:00
Lucas Rocha 7486a38445 use GtkAboutDialog instead of custom dialog (Fixes bug #309405). remove
2005-12-18  Lucas Rocha  <lucasr@gnome.org>

        * src/about.c: use GtkAboutDialog instead of custom
        dialog (Fixes bug #309405).
        * src/zenity.glade: remove zenity_about_dialog.
        * configure.in: zenity now depends on GTK+ >= 2.6.x
        because now it uses GtkAboutDialog.
2005-12-18 03:19:40 +00:00
Lucas Rocha 906b3397b2 make all dialogs HIG compliant by fixing spaces and removing separator
2005-12-16  Lucas Rocha  <lucasr@gnome.org>

        * src/zenity.glade: make all dialogs HIG compliant
        by fixing spaces and removing separator (Fixes bug
        #324211). Patch by Christian Persch <chpe@gnome.org>.
2005-12-17 02:22:51 +00:00
Lucas Rocha 4ac6730868 add --hide-value to scale dialog.
2005-12-15  Lucas Rocha  <lucasr@gnome.org>

        * src/option.c, src/scale.c, src/zenity.h: add
        --hide-value to scale dialog.
2005-12-15 05:40:15 +00:00
Lucas Rocha b657c347e8 make the hscale discontinuous.
2005-12-13  Lucas Rocha  <lucasr@gnome.org>

        * src/zenity.glade: make the hscale discontinuous.
2005-12-13 15:12:38 +00:00
Lucas Rocha 285cb79baf new scale dialog for selecting a value from a range (Fixes #322399).
2005-12-13  Lucas Rocha  <lucasr@gnome.org>

        * data/Makefile.am, data/zenity-scale.png,
        src/Makefile.am, src/main.c, src/option.c,
        src/option.h, src/scale.c, src/zenity.glade,
        src/zenity.h: new scale dialog for selecting a
        value from a range (Fixes #322399).
2005-12-13 04:18:58 +00:00
Lucas Rocha 5547de9384 make it possible to add new lines and markup in the dialog text.
2005-11-15  Lucas Rocha  <lucasr@cvs.gnome.org>

        * src/calendar.c, src/progress.c, src/tree.c: make
        it possible to add new lines and markup in the dialog
        text.
2005-11-15 04:14:35 +00:00
Lucas Rocha 6a7b36229c Release 2.13.2 Update.
2005-11-13  Lucas Rocha  <lucasr@cvs.gnome.org>

        * configure.in: Release 2.13.2
        * NEWS, THANKS, src/about.c: Update.
2005-11-14 05:05:33 +00:00
Lucas Rocha c8b9b79813 make it possible to add new lines in the in the msg dialog (Fixes bug
2005-11-13  Lucas Rocha  <lucasr@cvs.gnome.org>

        * src/msg.c: make it possible to add new lines in the
        in the msg dialog (Fixes bug #320787).
2005-11-14 04:25:58 +00:00
Lucas Rocha 5483bdb680 Release 2.13.1 Update.
2005-10-24  Lucas Rocha  <lucasr@cvs.gnome.org>

	* configure.in: Release 2.13.1
	* NEWS, THANKS, src/about.c: Update.
2005-10-24 12:51:36 +00:00
Lucas Rocha 7f2aedec5a by default, focus is on tree view in list dialogs. Fixes #317263. Patch
2005-10-18  Lucas Rocha  <lucasr@cvs.gnome.org>

	* src/zenity.glade: by default, focus is on tree
	view in list dialogs. Fixes #317263. Patch from
	Aleksey Kliger <akliger@gmail.com>
2005-10-18 13:56:35 +00:00
Lucas Rocha 0086a9363f fixed bug #317033.
2005-09-24  Lucas Rocha  <lucasr@cvs.gnome.org>

        * src/option.c: fixed bug #317033.
2005-09-24 15:04:02 +00:00
Lucas Rocha 7f091245f7 Release 2.12.0 Update.
2005-09-06  Lucas Rocha  <lucasr@cvs.gnome.org>

        * configure.in: Release 2.12.0
        * NEWS, THANKS, src/about.c: Update.
2005-09-06 03:44:07 +00:00
Lucas Rocha 417bfb6389 Release 2.11.92 Update.
2005-08-23  Lucas Rocha  <lucasr@cvs.gnome.org>

        * configure.in: Release 2.11.92
        * NEWS, THANKS, src/about.c: Update.
2005-08-23 15:16:57 +00:00
Lucas Rocha 0bc57119fb Release 2.11.91 Update.
2005-08-07  Lucas Rocha  <lucasr@cvs.gnome.org>

        * configure.in: Release 2.11.91
        * NEWS, THANKS, src/about.c: Update.
2005-08-07 19:45:50 +00:00
Lucas Rocha 47a2e0479a Release 2.11.90 Update.
2005-07-25  Lucas Rocha  <lucasr@cvs.gnome.org>

        * configure.in: Release 2.11.90
        * NEWS, THANKS, src/about.c: Update.
2005-07-26 03:12:09 +00:00
Lucas Rocha 4b5cdda3c8 Release 2.11.1 Add note about feature frozen-ness. Update.
2005-07-13  Lucas Rocha  <lucasr@cvs.gnome.org>

	* configure.in: Release 2.11.1
	* HACKING: Add note about feature frozen-ness.
	* NEWS, THANKS, src/about.c: Update.
2005-07-13 04:04:09 +00:00
Lucas Rocha beffc3f8a9 dependency on glib >= 2.7.3 Add G_OPTION_FLAG_NOALIAS flag on options that
2005-07-12  Lucas Rocha  <lucasr@cvs.gnome.org>

	* configure.in: dependency on glib >= 2.7.3
	* src/option.c: Add G_OPTION_FLAG_NOALIAS flag
	on options that are present in more than on
	group.
2005-07-13 03:28:15 +00:00
Lucas Rocha 68ab19d2c4 activate option help translations in GOption.
2005-07-12  Lucas Rocha  <lucasr@cvs.gnome.org>

	* src/option.c: activate option help translations
	in GOption.
2005-07-12 13:46:50 +00:00
Lucas Rocha 21f7bc6a54 general code cleanups. Contribution from Benoît Dejean.
2005-07-08  Lucas Rocha  <lucasr@cvs.gnome.org>

	* src/about.c, src/calendar.c, src/fileselection.c,
	src/option.c, src/progress.c, src/text.c, src/tree.c,
	src/util.c: general code cleanups. Contribution from
	Benoît Dejean.
2005-07-08 23:21:34 +00:00
Lucas Rocha d6f1d76768 marks static many functions and global variables. Contribution from
2005-07-08  Lucas Rocha  <lucasr@cvs.gnome.org>

	* src/about.c, src/option.c, src/fileselection.c:
	marks static many functions and global variables.
	Contribution from Benoît Dejean.
2005-07-08 13:39:27 +00:00
Lucas Almeida Rocha 0bc80a781d Changelog fixes, THANKS update. 2005-07-06 20:22:58 +00:00
Lucas Almeida Rocha 4c328078b6 Include cleanups (config.h) 2005-07-06 20:13:11 +00:00
Lucas Almeida Rocha c23ba6a523 Translation contributors update. 2005-07-04 17:30:29 +00:00
Lucas Almeida Rocha 8ba040f33b New --hide-column option. 2005-07-01 21:28:36 +00:00
Lucas Almeida Rocha da0a2585b3 Data structure improvements on List dialogs. 2005-06-30 23:43:23 +00:00