summaryrefslogtreecommitdiff
path: root/src/tree.c
Commit message (Collapse)AuthorAge
* 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
|
* Fixing deprecated declarationsArx Cruz2015-05-29
|
* Merge branch 'jjardon/no_deprecated'Arx Cruz2015-04-21
|\ | | | | | | | | Conflicts: src/msg.c
| * src/tree.c: avoid a compilation warningJavier Jardón2015-03-22
| |
| * src/tree.c: Do not use deprecated gtk_tree_view_set_rules_hint()Javier Jardón2015-03-22
| |
| * 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
* Bug #685051 Adding --mid-search option to --listArx Cruz2014-10-21
| | | | | | | | | | | | | | 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'
* added attach option for transient windowWeitian Leung2013-08-31
|
* Bug #653468. Fixed by Kurt Miller <kurt@intricatesoftware.com>.Arx Cruz2013-06-04
| | | | Fix the broken auto-close option in progress and list dialogs.
* Bug 698683 - Double clicking an item or hitting enter after selecting an itemArx Cruz2013-05-23
| | | | returns it twice
* 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
* Added support to --imagelist on tree. Thanks to Joshua Nathaniel Pritikin ↵Arx Cruz2012-07-19
| | | | <jpritikin@pobox.com> now the first column can have an image.
* mask the result of g_io_channel_get_flags for the wanted flagJulian Taylor2012-05-08
|
* Bug #673529 Fix segmentation fault in --list optionArx Cruz2012-04-19
|
* Bug #668935 - the channel was being freed twice.Arx Cruz2012-01-30
|
* 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.
* Bug #592195. This fix made the --list mode return as soon as receive an ok ↵Arx Cruz2011-07-26
| | | | | | or cancel response avoiding crash.
* Fix for bug #540489 and #501001 both related to 100% use of cpu.Arx Cruz2011-07-08
|
* 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
|
* Fix for bug 540560.Arx Cruz2011-01-02
| | | | Patch by Victor Ananjevsky <ananasik at gmail dot com>
* 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
* [list] allow escaped chars as separatorLucas Rocha2009-09-16
|
* Bug 552971 - Add a hide-header option to list dialogBryce Harrington2009-08-10
|
* Bug 578393 – convert from libglade to GtkBuilderFelix Riemann2009-07-20
|
* GNOME Goal: Remove deprecated GLib symbols (Fixes bug #560452). Patch fromLucas Rocha2009-01-09
| | | | | | | | | | 2009-01-09 Lucas Rocha <lucasr@gnome.org> * src/tree.c: GNOME Goal: Remove deprecated GLib symbols (Fixes bug #560452). Patch from Frederic Peters <fpeters@0d.be>. svn path=/trunk/; revision=1463
* use g_value_dup_string when applicable (Fixes bug #527258). Patch fromLucas Rocha2008-04-10
| | | | | | | | | | 2008-04-10 Lucas Rocha <lucasr@gnome.org> * src/tree.c (zenity_tree_dialog_get_selected, zenity_tree_dialog_toggle_get_selected): use g_value_dup_string when applicable (Fixes bug #527258). Patch from kraai@ftbfs.org. svn path=/trunk/; revision=1352
* 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
* fix critical warning when using checkbox and radiobox in list dialogLucas Rocha2007-08-13
| | | | | | | | | 2007-08-13 Lucas Rocha <lucasr@gnome.org> * src/tree.c: fix critical warning when using checkbox and radiobox in list dialog (Fixes bug #453713). svn path=/trunk/; revision=1230
* fix broken handling of input from pipes in list dialog (Fixes bugLucas Rocha2007-05-27
| | | | | | | | | 2007-05-27 Lucas Rocha <lucasr@gnome.org> * src/tree.c: fix broken handling of input from pipes in list dialog (Fixes bug #343684). svn path=/trunk/; revision=1221
* fix index handling for --print-column (Fixes bug #420396).Lucas Rocha2007-05-14
| | | | | | | | | 2007-05-15 Lucas Rocha <lucasr@gnome.org> * src/tree.c (zenity_tree_dialog_toggle_get_selected): fix index handling for --print-column (Fixes bug #420396). svn path=/trunk/; revision=1211
* fix small build warnings on 64-bit architectures (Fixes bug #344125). fixLucas Rocha2006-07-26
| | | | | | | | 2006-07-26 Lucas Rocha <lucasr@gnome.org> * src/tree.c (zenity_tree_fill_entries_from_stdin, zenity_tree): fix small build warnings on 64-bit architectures (Fixes bug #344125). * src/zenity.h: fix small build warning.
* don't ignore return value from g_renew() (Fixes bug #338038). Patch fromLucas Rocha2006-04-17
| | | | | | | | | 2006-04-16 Lucas Rocha <lucasr@gnome.org> * src/tree.c (zenity_tree_extract_column_indexes): don't ignore return value from g_renew() (Fixes bug #338038). Patch from Behdad Esfahbod <gnome@behdad.org>.
* make it possible to add new lines and markup in the dialog text.Lucas Rocha2005-11-15
| | | | | | | | 2005-11-15 Lucas Rocha <lucasr@cvs.gnome.org> * src/calendar.c, src/progress.c, src/tree.c: make it possible to add new lines and markup in the dialog text.
* general code cleanups. Contribution from Benoît Dejean.Lucas Rocha2005-07-08
| | | | | | | | | 2005-07-08 Lucas Rocha <lucasr@cvs.gnome.org> * src/about.c, src/calendar.c, src/fileselection.c, src/option.c, src/progress.c, src/text.c, src/tree.c, src/util.c: general code cleanups. Contribution from Benoît Dejean.
* Include cleanups (config.h)Lucas Almeida Rocha2005-07-06
|
* New --hide-column option.Lucas Almeida Rocha2005-07-01
|
* Data structure improvements on List dialogs.Lucas Almeida Rocha2005-06-30
|
* New --print-column syntax. Now it's possible to pass a comma-separated list ↵Lucas Almeida Rocha2005-06-28
| | | | of column indexes.
* Error handling when trying to use checklist and radiolist in the same List ↵Lucas Almeida Rocha2005-06-28
| | | | dialog
* Double-clicking on list dialogLucas Almeida Rocha2005-06-27
|
* Changed list dialog Selection behaviorLucas Almeida Rocha2005-06-27
|
* COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, src/entry.c,Glynn Foster2005-04-25
| | | | | | | | | | | 2005-04-25 Glynn Foster <glynn.foster@sun.com> * COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, * src/entry.c, src/fileselection.c, src/main.c, src/msg.c, * src/notification.c, src/option.c, src/progress.c, * src/text.c, src/tree.c, src/util.c: Update the FSF address to point to 51 Franklin Street, Fifth Floor as per forwarded mail from Alvaro Lopez Ortega.
* Patch from Ed Catmur to fix the list dialog on stdin. Fixes #164152.Glynn Foster2005-01-17
| | | | | | | | 2005-01-17 Glynn Foster <glynn.foster@sun.com> * src/tree.c: Patch from Ed Catmur to fix the list dialog on stdin. Fixes #164152. * src/about.c, THANKS: Update.
* Add missing header. Same ANSIfication. Closes bug #152851.Kjartan Maraas2004-09-17
| | | | | | | | | | 2004-09-17 Kjartan Maraas <kmaraas@gnome.org> * src/progress.c: Add missing header. * src/tree.c: Same * src/util.c: (transient_get_xterm), (transient_get_xterm_toplevel): ANSIfication. Closes bug #152851.
* Add new notification icon. Update for new files. Restructure code a littleGlynn Foster2004-09-13
| | | | | | | | | | | | | | | | | 2004-09-13 Glynn Foster <glynn.foster@sun.com> * data/Makefile.am, data/zenity-notification.png: Add new notification icon. * src/Makefile.am: Update for new files. * src/about.c, src/calendar.c, src/entry.c, src/fileselection.c, src/progress.c, src/text.c, src/tree.c, src/msg.c: Restructure code a little bit for new utility functions for setting window icons. * src/eggtrayicon.c, src/eggtrayicon.h: New files for notification area support. * src/main.c, src/notification.c, src/util.c, src/util.h, src/zenity.h: Add support for notification area. * data/zenity.1, help/*: Update docs for notification and new file selection changes.
* src/calendar.c, src/entry.c, src/fileselection.c, Cleanup fixes from PaulGlynn Foster2004-07-19
| | | | | | | | 2004-07-19 Glynn Foster <glynn.foster@sun.com> * src/calendar.c, src/entry.c, src/fileselection.c, * src/msg.c, src/progress.c, src/text.c, src/tree.c: Cleanup fixes from Paul Bolle.
bgstack15