| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this is done to keep the name of the extra buttons
ADD general option "extra-button" with string array as argument
This will upon consecutive calls save the name of buttons in an array of strings
To all MODES, except notification.c and about.c ADD
if (data->extra_label) {
gint i=0;
while(data->extra_label[i]!=NULL){
gtk_dialog_add_button (GTK_DIALOG (dialog), data->extra_label[i], i);
i++;
}
}
This add the extra buttons to the dialog. The response is the number of the button
To all MODES response, except notification.c and about.c ADD
default:
if (response < g_strv_length(zen_data->extra_label))
printf("%s\n",zen_data->extra_label[response]);
This will print the button name to stdout when they are pressed
ADD question option "switch"
This will suppress the standard "ok" and "cancel" button in question. This just wort in combination with --extra-button, otherwise error is raised.
https://bugzilla.gnome.org/show_bug.cgi?id=118016
|
|
|
|
|
|
|
|
|
| |
This commit changes the default --text-view behavior (when --html
is also in effect) so that the clicked links are opened in the
default browser (closes #732626).
Additionally, a new option is introduced, --prevent-interaction,
which disables above behavior.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will enable users to find a row with a text matching the
middle of the row.
Consider the following list:
Little piggy one
Little piggy two
Little piggy three
As a user I would expect that entering 'th' would focus the last row, because
it's the first one that contains 'th'
|
|
|
|
|
|
| |
Introduced a --time-remaining command-line option that uses the time
and percent complete to extrapolate the time remaining until progress
reaches 100%.
|
| |
|
|
|
|
|
|
| |
This option will help people who need to add huge texts in their dialogs
and the window size get's very huge due amount of size that GtkLabel
requests
|
|
|
|
|
|
|
|
| |
This is a request to add a auto-scroll option.
For now it's only works when text-info is getting the
text from stdin.
Example usage:
cat file.txt | zenity --text-info --auto-scroll
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This reverts commit 156a99e304247504a486f0911596ab5765ad1add.
I got the second string freeze approval after all, so lets
add the new strings back.
|
|
|
|
|
| |
I'm out of time waiting for a second string freeze break approval,
so the strings will be untranslated for now.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This reverts commit 8777940f499a4a37fdb7c118de50f39cfa62f34b.
The master branch is not yet affected by the string freeze.
|
| |
|
|
|
|
| |
<jpritikin@pobox.com> now the first column can have an image.
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
--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 ed825cf92b9d786b9b13361db4a0e696af347a59.
|
|
|
|
| |
--list-values on --forms option. This is an initial support. Next steps add support to multiple selections and multiple columns
|
|
|
|
| |
dialogs. This patch doesn't break old zenity scripts.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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
|