Commit Graph

2259 Commits

Author SHA1 Message Date
Arx Cruz
fd024c53e6 option.c: Fixing typo in extra-button option 2015-04-21 14:59:48 +02:00
Arx Cruz
a0fa643f1c Merge branch 'jjardon/no_deprecated'
Conflicts:
	src/msg.c
2015-04-21 13:51:23 +02:00
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
Javier Jardón
c45daa96bf src/tree.c: avoid a compilation warning 2015-03-22 09:24:26 +00:00
Javier Jardón
f01d7220db src/tree.c: Do not use deprecated gtk_tree_view_set_rules_hint() 2015-03-22 09:16:17 +00:00
Javier Jardón
a3568bc51b src/notification.c: Remove non-used variable 2015-03-22 09:16:17 +00: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
7c4cd1fc42 src/password.c: Do not use deprecated GtkAlignment widget 2015-03-22 09:16:16 +00:00
Javier Jardón
1f130a37fa password: Use gtk_box instead gtk_[v|h]box 2015-03-22 09:16:16 +00:00
Javier Jardón
1cf533964e src/text.c: gtk_widget_override_font instead gtk_widget_modify_font 2015-03-22 09:16:16 +00:00
Javier Jardón
e54c5db6aa src/color.c: Port to GtkColorChooserDialog 2015-03-22 09:16:16 +00:00
Javier Jardón
fba4f05582 Rework zenity_util_set_window_icon* to not use stock images 2015-03-22 09:16:16 +00:00
Javier Jardón
1a43253ac5 Do not use a stock answer for yes/no buttons 2015-03-22 09:16:16 +00:00
Javier Jardón
c1cf0abc21 Do not use stock dialog 2015-03-22 09:16:16 +00:00
Javier Jardón
6fcbb80fd1 Do not use an icon for Cancel/OK buttons
GTK+ documentation recommends to not use an icons, but use
"_OK"/"_Cancel" labels instead
2015-03-22 09:16:16 +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
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