Commit Graph

389 Commits

Author SHA1 Message Date
0016f68829 Add Log Saving 2022-09-30 23:12:13 -04:00
d673e9aab8 Suppress Log By Default 2022-05-15 00:52:44 -04:00
633e00f277 Fixes 2022-05-14 00:09:48 -04:00
775bea8911 Scroll To End 2022-05-13 21:26:28 -04:00
cb98ef23a6 Add Back --text-info 2022-05-11 21:34:29 -04:00
3dbcdbb34a Add --only-numerical 2022-04-25 16:55:41 -04:00
b01f0001ea Improve UI 2022-03-12 22:49:56 -05:00
4663a8656d Remove X11 Dependency 2022-03-11 18:09:14 -05:00
dc72103c6a Format 2022-03-10 22:37:39 -05:00
6cf0447c3b Strip Down 2022-03-10 22:36:03 -05:00
Logan Rathbone
8b08ea3776 Merge branch 'check-radio-box-fixes' into 'master'
tree: Clicking row should check radio/checkboxes

See merge request GNOME/zenity!16
2021-11-15 15:33:30 +00:00
Logan Rathbone
d55fc8a4d1 tree: clicking row should check radio/checkboxes
Addresses #37
2021-08-16 01:01:44 -04:00
Janne Pulkkinen
91a6c185e9 Fix search column selection with --imagelist
When --imagelist is in use, use the second column as the search column,
as is already the case with --checklist and --radiolist.
Any searches until now would only match image path names from the first
column.
2021-07-24 22:01:54 +03:00
Logan Rathbone
b40d9bcb9b about: Remove Zen wisdom of the ancients
This easter egg was disabled more than a decade ago, but zenity is still
installing the image files that were used for it. Let's stop doing that.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2021-06-29 00:22:09 -04:00
Logan Rathbone
8d343b714f meson: bump gtk req. Suppress compiler warning. 2021-06-28 23:17:46 -04:00
Logan Rathbone
ae51b76901 Port build system from autotools to meson. 2021-06-08 22:55:49 -04:00
Javier Jardón
c0c1ca9b7a Fix some compilations warnings 2020-12-18 08:28:41 +00:00
quartenium
cd636315a5 src/forms.c: Fix segfault on multiple lists without values
If was not provided enought list-values for add-list options
then column_types is NULL. Therefore need set it to default
value.
If count of columns values less than count of list values
then set column nubmer to zero.
2019-04-14 18:09:34 +00:00
Aurélio A. Heckert
0f413e6a23 Makes progress to consider the decimal from percent update
Implements stof alternative to atof, to ignore locale settings.

This also helps the time remaining calculation for long tasks.
2018-06-18 18:09:17 -03:00
Piotr Drąg
ab9f2e70e4 password: Replace N_() with regular _()
These two strings show up in English when they should be translated.

https://bugzilla.gnome.org/show_bug.cgi?id=783078
2017-12-04 19:14:06 +01:00
Arx Cruz
ad6a345133 Formating latest patch 2017-05-26 14:27:44 +02:00
Patrick Griffis
110a851747 Use GtkFileChooserNative 2017-05-26 14:20:01 +02:00
Arx Cruz
4eddb202ca Fix style
Fixing style in all zenity code, removing useless spaces,
empty lines, all code in 80 columns, etc.
2017-04-07 14:00:42 +02:00
Alan
3b64d05e8a Fix message dialog width and height on recent Gtk
The fix for Zenity bug 670496 "Zenity info/error windows grow in height
with message length"
(https://bugzilla.gnome.org/show_bug.cgi?id=670496) stopped working on
recent Gtk, which doesn't seem to honor gtk_widget_set_size_request.
This commit workarounds Gtk bug 657621 "Calculate the wrong height of
labels wrapping on words"
(https://bugzilla.gnome.org/show_bug.cgi?id=657621) by setting label's
width-chars and max-width-chars to 60. This magic number was picked from
GtkMessageDialog source
(https://git.gnome.org/browse/gtk+/tree/gtk/ui/gtkmessagedialog.ui#n48).
2017-04-04 15:48:51 +02:00
Arx Cruz
ef14066564 Bug 762347: Addition of entry text width option
This is a bug in the glade file, where the GtkEntry wasn't being filled
to fill the width of the window. There is no need to add a
--entry-text-width option
2017-04-04 15:11:56 +02:00
Matthias Clasen
db4a0c3c0f Fix misleading indentation
Coverity flagged this.

https://bugzilla.gnome.org/show_bug.cgi?id=780217
2017-04-04 13:51:14 +02:00
Tom Schoonjans
61c53a0424 fix compilation when webkitgtk is not installed 2015-10-17 21:11:48 +02:00
Arx Cruz
d063797fdf Fixing GLib-CRITICAL messages 2015-10-02 14:35:06 +02:00
Arx Cruz
fac40e9c46 Fixing html option being parsed to other dialogs rather then text-info 2015-10-02 13:41:57 +02:00
Arx Cruz
9fe89f903f Fixing glade file.
The entry dialog was with wrong box position
2015-10-02 13:39:49 +02:00
Arx Cruz
2ec897cf63 This is a simple build fix 2015-09-21 14:39:42 +02:00
Arx Cruz
95530a1647 Fix zenity --list
For some reason, glade is removing some properties from the xml file
2015-06-23 11:25:29 +02:00
Arx Cruz
6f1deca5c0 Bug #751332 - zenity --forms does not center in the screen 2015-06-23 11:12:40 +02:00
Arx Cruz
abf0777b35 Bug #638582 - zenity --notification --listen can't show multi line tooltip
This create a new function to call the notify_notification_new handling
properly the multi line parser
2015-06-03 13:32:32 +02:00
Arx Cruz
d44ca59780 Add the possibility to pass title and the summary to zenity notification
Now you can use zenity --notification --text="Title\nSummary" and it will
use the first string before the first escape \n as the title, and the rest
of the string as summary text.
2015-06-03 11:57:27 +02:00
Arx Cruz
b5c909902e Bug #672090 - Impossible to confirm --text-info 2015-05-29 20:11:34 +02:00
Arx Cruz
297380bad9 Bug #742963 - Basic notifications do not return 2015-05-29 14:46:37 +02:00
Arx Cruz
160f0442c6 Fix GLib critical messages 2015-05-29 14:29:12 +02:00
Arx Cruz
e6055cc19a Fixing deprecated declarations 2015-05-29 13:55:27 +02:00
Arx Cruz
8fcde2b842 Fix uninitialized progress_bar error 2015-05-29 13:53:25 +02:00
Hristo Venev
ec0a740045 Port to webkit2gtk 2015-05-29 11:12:23 +02:00
Arx Cruz
08e8f3e05d Bug #749359 zenity --list produces incorrect output 2015-05-14 16:54:34 +02:00
Javier Jardón
d59ce70285 Do not make zenity_util_show_dialog() X11 specific 2015-04-23 10:08:14 +02:00
Piotr Drąg
996711f016 Improve some strings 2015-04-22 00:49:31 +02:00
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
Javier Jardón
c45daa96bf src/tree.c: avoid a compilation warning 2015-03-22 09:24:26 +00:00