summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* msg: Set max-width-chars to relatively small value if --width specifiedLogan Rathbone2023-02-041-1/+17
| | | | | | | This should fix a small regression caused by 25a92fff, in which dialog texts can be stretched out too long if --width *is* specified. See also #42
* Prevent ZENITY_TIMEOUT from clashing with custom response IDsLogan Rathbone2023-02-042-3/+18
| | | | | | | | | | Redefine ZENITY_TIMEOUT response ID as INT_MAX Also, add and use ZENITY_TIMEOUT_DEFAULT exit status (hardcoded to 5 to keep consistent with what it has happened to be for the entire 3.x release cycle; POLA and all). See #48
* scale: set a page increment so mouse wheel can be used on widgetHg2022-09-211-1/+2
| | | | | | the page increment is set to the same as step increment, for simplicity. Closes #30
* zenity.ui: make message dialogs non-resizableDavid King2022-04-261-0/+4
| | | | | Use the approach of GtkMessageDialog, to avoid problems with narrow labels when the dialog text is long.
* msg: Fix maximum width to 60 charactersDavid King2022-04-261-5/+3
| | | | | | | | | | | Commit 3b64d05e8a1aae1581d2bec7288d80ac4699e1b1 mentioned that labels in message dialogs were set to a maximum width of 60 characters, with inspiration from GtkMessageDialog, but in fact a typo meant that they were set to both a width and maximum width of just 10 characters. This lead to text layout problems, which can be fixed by using the intended maximum of 60 characters. https://bugzilla.redhat.com/show_bug.cgi?id=2053530
* src/zenity.ui: add default OK button for --scalehydrargyrum2022-04-241-0/+1
| | | It's now possible to just press "Enter" to accept the selected value.
* Merge branch 'check-radio-box-fixes' into 'master'Logan Rathbone2021-11-151-21/+28
|\ | | | | | | | | tree: Clicking row should check radio/checkboxes See merge request GNOME/zenity!16
| * tree: clicking row should check radio/checkboxescheck-radio-box-fixesLogan Rathbone2021-08-161-21/+28
| | | | | | | | Addresses #37
* | Fix search column selection with --imagelistJanne Pulkkinen2021-07-241-0/+8
|/ | | | | | | 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.
* about: Remove Zen wisdom of the ancientsLogan Rathbone2021-06-291-189/+0
| | | | | | | 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>
* meson: bump gtk req. Suppress compiler warning.Logan Rathbone2021-06-281-0/+2
|
* Port build system from autotools to meson.Logan Rathbone2021-06-084-68/+52
|
* Fix some compilations warningsjjardon/fix_warningJavier Jardón2020-12-182-6/+7
|
* src/forms.c: Fix segfault on multiple lists without valuesquartenium2019-04-141-1/+12
| | | | | | | | 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.
* Makes progress to consider the decimal from percent updateAurélio A. Heckert2018-06-181-1/+22
| | | | | | Implements stof alternative to atof, to ignore locale settings. This also helps the time remaining calculation for long tasks.
* password: Replace N_() with regular _()Piotr Drąg2017-12-041-2/+2
| | | | | | These two strings show up in English when they should be translated. https://bugzilla.gnome.org/show_bug.cgi?id=783078
* Formating latest patchArx Cruz2017-05-261-5/+4
|
* Use GtkFileChooserNativePatrick Griffis2017-05-261-22/+47
|
* Fix styleArx Cruz2017-04-0719-5888/+5798
| | | | | Fixing style in all zenity code, removing useless spaces, empty lines, all code in 80 columns, etc.
* Fix message dialog width and height on recent GtkAlan2017-04-042-14/+11
| | | | | | | | | | | | | 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).
* Bug 762347: Addition of entry text width optionArx Cruz2017-04-041-2/+2
| | | | | | 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
* Fix misleading indentationMatthias Clasen2017-04-041-1/+1
| | | | | | Coverity flagged this. https://bugzilla.gnome.org/show_bug.cgi?id=780217
* fix compilation when webkitgtk is not installedTom Schoonjans2015-10-171-0/+2
|
* Fixing GLib-CRITICAL messagesArx Cruz2015-10-0211-11/+11
|
* Fixing html option being parsed to other dialogs rather then text-infoArx Cruz2015-10-021-0/+3
|
* Fixing glade file.Arx Cruz2015-10-021-2/+4
| | | | The entry dialog was with wrong box position
* This is a simple build fixArx Cruz2015-09-211-1/+0
|
* Fix zenity --listArx Cruz2015-06-231-0/+1
| | | | For some reason, glade is removing some properties from the xml file
* Bug #751332 - zenity --forms does not center in the screenArx Cruz2015-06-231-1/+1
|
* Bug #638582 - zenity --notification --listen can't show multi line tooltipArx Cruz2015-06-031-29/+27
| | | | | This create a new function to call the notify_notification_new handling properly the multi line parser
* Add the possibility to pass title and the summary to zenity notificationArx Cruz2015-06-031-1/+10
| | | | | | 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.
* Bug #672090 - Impossible to confirm --text-infoArx Cruz2015-05-291-12/+40
|
* Bug #742963 - Basic notifications do not returnArx Cruz2015-05-291-2/+2
|
* Fix GLib critical messagesArx Cruz2015-05-291-3/+5
|
* Fixing deprecated declarationsArx Cruz2015-05-291-1/+1
|
* Fix uninitialized progress_bar errorArx Cruz2015-05-291-2/+2
|
* Port to webkit2gtkHristo Venev2015-05-291-42/+28
|
* Bug #749359 zenity --list produces incorrect outputArx Cruz2015-05-141-0/+1
|
* Do not make zenity_util_show_dialog() X11 specificJavier Jardón2015-04-234-9/+8
|
* Improve some stringsPiotr Drąg2015-04-221-18/+17
|
* option.c: Fixing typo in extra-button optionArx Cruz2015-04-211-1/+1
|
* Merge branch 'jjardon/no_deprecated'Arx Cruz2015-04-2115-351/+159
|\ | | | | | | | | Conflicts: src/msg.c
| * src/tree.c: avoid a compilation warningjjardon/no_deprecatedJavier Jardón2015-03-221-2/+3
| |
| * src/tree.c: Do not use deprecated gtk_tree_view_set_rules_hint()Javier Jardón2015-03-221-2/+0
| |
| * src/notification.c: Remove non-used variableJavier Jardón2015-03-221-4/+0
| |
| * Use GtkScale instead deprecated GtkHScaleJavier Jardón2015-03-221-1/+1
| |
| * src/zenity.ui: Use GtkBox instead deprecated Gtk[H|V]BoxJavier Jardón2015-03-221-13/+18
| |
| * forms: Use GtkGrid instead deprecated GtkTable/GtkAlignmentJavier Jardón2015-03-222-152/+20
| |
| * src/password.c: Do not use deprecated GtkAlignment widgetJavier Jardón2015-03-221-8/+2
| |
| * password: Use gtk_box instead gtk_[v|h]boxJavier Jardón2015-03-221-4/+4
| |