Commit Graph

2190 Commits

Author SHA1 Message Date
Gama Anderson
ba5ea0386d ADD gchar **extra_label TO struct ZenityData
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
2015-04-21 13:00:44 +02:00
Jason Penney
5c9095731e allow build if GDK_WINDOWING_X11 not set 2015-04-21 11:00:41 +02:00
Andreas Mohr
4fe3fa98d9 Bug #734196
--info destroys X11 primary selection content, and does not document that either
2015-04-21 09:56:42 +02:00
Arx Cruz
cecc7c75ed Bump to 3.16.1 2015-04-21 09:43:56 +02:00
Arx Cruz
6edd0bacd8 Bump to 3.16.0 2015-04-21 09:41:05 +02:00
Stas Solovey
628f4f39ca Updated Russian translation 2015-03-31 20:05:30 +00:00
Dušan Kazik
e417c700fe Updated Slovak translation 2015-03-23 09:39:29 +00:00
Ask H. Larsen
a868ad2165 Updated Danish translation 2015-03-21 16:30:39 +01:00
Claudio Arseni
e4339456c1 Updated Italian translation 2015-03-19 08:03:32 +00:00
Trần Ngọc Quân
f017b92538 Updated Vietnamese translation
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2015-03-16 14:58:13 +07:00
Josef Andersson
857540134d Updated Swedish translation 2015-03-15 21:37:43 +00:00
Josef Andersson
c9d205ddd3 Updated Swedish translation 2015-03-15 21:07:39 +00:00
Samir Ribic
8198047239 Updated Bosnian translation 2015-03-13 20:57:19 +00:00
Rūdolfs Mazurs
bd4d64989a Updated Latvian translation 2015-03-13 15:03:50 +02:00
Changwoo Ryu
0123cacd34 Updated Korean translation 2015-03-08 03:21:01 +09:00
Мирослав Николић
dec0fa07cb Updated Serbian translation 2015-03-04 18:10:03 +01:00
Fran Dieguez
9850ccd44b Updated Galician translations 2015-03-04 00:04:14 +01:00
Piotr Drąg
8d1c18fdf1 Updated Polish translation 2015-03-02 20:32:38 +01:00
Nick Mantas
a8e0d1f1f8 Updated Greek translation 2015-03-01 12:36:52 +00:00
Aurimas Černius
65b25b3a83 Updated Lithuanian translation 2015-02-28 18:41:32 +02:00
Claude Paroz
a6dc6599a8 Updated French translation 2015-02-22 19:07:21 +01:00
Matej Urbančič
bea4019190 Updated Slovenian translation 2015-02-21 21:47:40 +01:00
Chao-Hsiung Liao
355fbe957f Updated Chinese (Taiwan) translation 2015-02-21 11:08:49 +00:00
Anders Jonsson
fd1b83e8dd Updated Swedish translation 2015-02-19 16:57:39 +00:00
Rafael Ferreira
9902c86ac7 Updated Brazilian Portuguese translation 2015-01-09 01:48:08 +00:00
Inaki Larranaga Murgoitio
667d65bd69 Updated Basque language 2015-01-08 18:34:48 +01:00
Necdet Yücel
1202ace8f5 Updated Turkish translation 2014-12-24 20:52:58 +00:00
Muhammet Kara
08ef25c7e5 Updated Turkish translation 2014-12-08 21:28:51 +00:00
Daniel Șerbănescu
cd7a547b68 Updated Romanian Translation 2014-12-08 19:40:07 +01:00
Balázs Úr
a584e87088 Updated Hungarian translation 2014-12-07 21:55:09 +00:00
Marek Černocký
50b704c897 Updated Czech translation 2014-11-27 07:22:19 +01:00
Marek Černocký
00cadd915a Updated Czech translation 2014-11-26 11:52:25 +01:00
Trần Ngọc Quân
0f6d8524e9 Update Vietnamese translation
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2014-11-16 09:06:05 +07:00
Kjartan Maraas
707076c4de Updated Norwegian bokmål translation. 2014-11-15 17:58:00 +01:00
YunQiang Su
d8abded95b update zh_CN translation 2014-11-15 01:45:38 +08:00
Timo Jyrinki
4cc8698841 Change Finnish translation team web page to l10n.gnome.org 2014-11-03 19:05:22 +02:00
Daniel Mustieles
8bba0d7ebf Updated Spanish translation 2014-10-24 19:19:24 +02:00
Kernc
5b0553e9ef Allow user to interact with --text-info --html WebView
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.
2014-10-22 15:44:38 +02:00
Arx Cruz
b5460887fb Bug #700249 - Progress dialog does not wrap 2014-10-22 15:35:22 +02:00
Arx Cruz
210b073bcd Better sollution for wrap text
This fix is a better sollution for info, error, warning and
question dialog.
Now the dialog wraps the text properly, and don't allocate
a lot of height
2014-10-22 15:16:22 +02:00
Arx Cruz
9fdac81d78 Bug #734049 - zenity --text-info chokes on some UTF-8 string
text-info is now seting the text to UTF-8 properly
2014-10-22 11:22:15 +02:00
Kernc
fad5a25dcd Allow --text-info to load resources also from relative file:// URIs 2014-10-22 10:01:23 +02:00
Arx Cruz
15e2759668 Bug #685051 Adding --mid-search option to --list
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'
2014-10-21 18:30:35 +02:00
Arx Cruz
b44b2fb33d Fixing g_timeout_add calls 2014-10-21 16:32:14 +02:00
Arx Cruz
6ac663ea05 Fixing remain g_timeout_add
Finish switch g_timeout_add for g_timeout_add_seconds
2014-10-21 16:06:23 +02:00
Rafael Ferreira
294f6c459c Updated Brazilian Portuguese translation 2014-10-21 13:48:50 +00:00
Kernc
8098bb3dd7 Allow --text-info to load resources from absolute file:// URIs 2014-10-21 15:36:39 +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
Emilio Pozuelo Monfort
fc76e0c19b Don't quit zenity when the input stream is closed
When using --listen for a notification, zenity quits when the stream
ends. This makes it impossible to read commands from a pipe as in
`echo icon:info | zenity --notification --listen'.

https://bugzilla.gnome.org/show_bug.cgi?id=525596
2014-10-21 11:24:45 +02:00
Claudio Arseni
1cfdf63fb1 Updated Italian translation 2014-10-05 11:12:42 +00:00