summaryrefslogtreecommitdiff
path: root/src/scale.c
Commit message (Collapse)AuthorAge
* scale: set a page increment so mouse wheel can be used on widgetHg2022-09-21
| | | | | | the page increment is set to the same as step increment, for simplicity. Closes #30
* Fix styleArx Cruz2017-04-07
| | | | | Fixing style in all zenity code, removing useless spaces, empty lines, all code in 80 columns, etc.
* Fixing GLib-CRITICAL messagesArx Cruz2015-10-02
|
* Merge branch 'jjardon/no_deprecated'Arx Cruz2015-04-21
|\ | | | | | | | | Conflicts: src/msg.c
| * Do not use an icon for Cancel/OK buttonsJavier Jardón2015-03-22
| | | | | | | | | | GTK+ documentation recommends to not use an icons, but use "_OK"/"_Cancel" labels instead
* | ADD gchar **extra_label TO struct ZenityDataGama Anderson2015-04-21
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* added attach option for transient windowWeitian Leung2013-08-31
|
* But #674881 - Timeout option overriding normal exit codeArx Cruz2013-03-05
|
* util: Add an option to request dialogs being modalFlorian Müllner2012-09-25
| | | | | | | | | 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
* Fix for bug #611297 Now Zenity have --ok-label and --cancel-label in all ↵Arx Cruz2011-07-26
| | | | dialogs. This patch doesn't break old zenity scripts.
* Now if you use --timeout option, the return code will be properly handledArx Cruz2011-06-17
| | | | | The default behavior will be done (ie. user click on ok button) The return code will be 5
* Bug 651948 - zenity list does not return default value when timeout is overArx Cruz2011-06-16
|
* Use g_timeout_add_seconds instead g_timeout_addPhilippe Gauthier2010-05-27
| | | | | | The calls to g_timeout_add are replaced with g_timeout_add_seconds to reduce the number or program wake ups. See the GNOME Goal description: http://live.gnome.org/GnomeGoals/UseTimeoutAddSeconds
* Bug 578393 – convert from libglade to GtkBuilderFelix Riemann2009-07-20
|
* set value range before setting value in order to correctly set initialLucas Rocha2008-03-17
| | | | | | | | | 2007-03-17 Lucas Rocha <lucasr@gnome.org> * src/scale.c (zenity_scale): set value range before setting value in order to correctly set initial state (Fixes bug #521574). svn path=/trunk/; revision=1337
* added timeout option to all dialogs (Fixes bug #160654). Based on patchLucas Rocha2007-08-13
| | | | | | | | | 2007-08-13 Lucas Rocha <lucasr@gnome.org> * src/*.c: added timeout option to all dialogs (Fixes bug #160654). Based on patch from Muthiah Annamalai <gnumuthu@users.sf.net>. svn path=/trunk/; revision=1231
* add --hide-value to scale dialog.Lucas Rocha2005-12-15
| | | | | | | 2005-12-15 Lucas Rocha <lucasr@gnome.org> * src/option.c, src/scale.c, src/zenity.h: add --hide-value to scale dialog.
* new scale dialog for selecting a value from a range (Fixes #322399).Lucas Rocha2005-12-13
2005-12-13 Lucas Rocha <lucasr@gnome.org> * data/Makefile.am, data/zenity-scale.png, src/Makefile.am, src/main.c, src/option.c, src/option.h, src/scale.c, src/zenity.glade, src/zenity.h: new scale dialog for selecting a value from a range (Fixes #322399).
bgstack15