summaryrefslogtreecommitdiff
path: root/gtk/gtkassistant.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug 596428 - GtkAssistant: Support ending with a progress pageMatthew Barnes2010-06-031-7/+57
| | | | | | | | | | | | | - Add gtk_assistant_commit() This function discards the visited pages list so the back button is not shown on the current page, and removes the cancel button from subsequent pages. Use this when information provided thus far cannot be revisited. - Don't show the Forward button on a GTK_ASSISTANT_PAGE_PROGRESS if it's the last page (according to the forward page function). - Append a progress page to the GtkAssistant demo.
* Merge branch 'native-layout-incubator'Matthias Clasen2010-04-301-5/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.in docs/reference/gtk/tmpl/gtkaction.sgml docs/reference/gtk/tmpl/gtkbuilder.sgml gdk/directfb/gdkkeys-directfb.c gdk/gdk.symbols gdk/x11/gdkwindow-x11.c gtk/gtkalignment.c gtk/gtkbox.c gtk/gtkbutton.c gtk/gtkcelleditable.c gtk/gtkfilechooser.c gtk/gtkframe.c gtk/gtkinvisible.c gtk/gtklabel.c gtk/gtkscrolledwindow.c gtk/gtksearchenginetracker.c gtk/gtktextview.c gtk/gtktoolbutton.c gtk/gtktooltip.c gtk/gtkviewport.c gtk/gtkwidget.c gtk/gtkwindow.c po-properties/ca@valencia.po po-properties/es.po po-properties/kn.po po-properties/mr.po po/ca.po po/ca@valencia.po po/el.po po/es.po po/gl.po po/id.po po/kn.po po/lv.po po/mr.po po/th.po
| * Fixed GtkAssistant to not access ->requisition of children directly.Tristan Van Berkom2010-04-181-5/+10
| | | | | | | | | | | | This was causing a 0 height action-area because a GtkBox does not generally update ->requisition with anything useful (call gtk_widget_get_child_requisition() here instead).
| * Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_MAPPED)Javier Jardón2010-04-031-2/+2
| | | | | | | | | | | | Use new API instead: gtk_widget_set_mapped () https://bugzilla.gnome.org/show_bug.cgi?id=69872
| * Deprecate widget flag: GTK_WIDGET_REALIZEDJavier Jardón2010-04-031-1/+1
| | | | | | | | | | | | Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
| * Deprecate widget flag: GTK_WIDGET_MAPPEDJavier Jardón2010-04-031-6/+6
| | | | | | | | | | | | Use gtk_widget_get_mapped() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
| * Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)Javier Jardón2010-04-031-3/+3
| | | | | | | | Use new API instead: gtk_widget_set_can_default ()
| * Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-04-031-10/+10
| | | | | | | | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
| * Deprecate widget flag: GTK_WIDGET_SENSITIVEJavier Jardón2010-04-031-1/+1
| | | | | | | | | | | | Use gtk_widget_get_sensitive() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
| * Deprecate widget flag: GTK_WIDGET_DRAWABLEJavier Jardón2010-04-031-4/+4
| | | | | | | | | | | | Use gtk_widget_is_drawable() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
| * Handle out-of-bounds parameters in gtk_assistant_get_nth_pageMatthias Clasen2010-04-031-1/+5
| | | | | | | | Better do what the docs say...fix by Tadej Borovšak, bug 610141.
| * Fix a segfault in gtk_assistant_set_current_pageMatthias Clasen2010-04-031-1/+1
| | | | | | | | Reported by Tadej Borovšak in bug 610184
| * [annotations] Add allow-noneJohan Dahlin2010-04-031-1/+1
| | | | | | | | | | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
| * Deprecate flag macros for toplevel, state, no window and composite childChristian Dywan2010-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE, GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and GTK_WIDGET_COMPOSITE_CHILD. Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and GTK_OBJECT_TYPE which have become redundant. Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel, GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD is replaced with use of the "composite-child" property and uses of GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window. Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are changed to direct flag usage. Documentation is updated to refer to gtk_widget_set_has_window and gtk_widget_get_has_window. Gail and tests are updated as well. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
| * [introspection] Merge in Gtk-custom.c annotationsColin Walters2010-04-031-4/+4
| | | | | | | | | | | | | | | | The Gtk-custom.c file in gir-repository contained a number of introspection annotations. Merge those into the GTK source files. Some documentation was moved from the tmpl/ files to accomodate the addition of annotations.
* | [docs] Move documentation to inline comments: GtkAssistantTadej Borovšak2010-04-181-1/+23
| | | | | | | | Signed-off-by: Javier Jardón <jjardon@gnome.org>
* | Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_MAPPED)Javier Jardón2010-03-061-2/+2
| | | | | | | | | | | | Use new API instead: gtk_widget_set_mapped () https://bugzilla.gnome.org/show_bug.cgi?id=69872
* | Deprecate widget flag: GTK_WIDGET_REALIZEDJavier Jardón2010-03-031-1/+1
| | | | | | | | | | | | Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* | Deprecate widget flag: GTK_WIDGET_MAPPEDJavier Jardón2010-03-031-6/+6
| | | | | | | | | | | | Use gtk_widget_get_mapped() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
* | Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)Javier Jardón2010-03-021-3/+3
| | | | | | | | Use new API instead: gtk_widget_set_can_default ()
* | Deprecate widget flag: GTK_WIDGET_VISIBLEJavier Jardón2010-03-011-10/+10
| | | | | | | | | | | | Use gtk_widget_get_visible() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* | Deprecate widget flag: GTK_WIDGET_SENSITIVEJavier Jardón2010-03-011-1/+1
| | | | | | | | | | | | Use gtk_widget_get_sensitive() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* | Deprecate widget flag: GTK_WIDGET_DRAWABLEJavier Jardón2010-03-011-4/+4
| | | | | | | | | | | | Use gtk_widget_is_drawable() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
* | Handle out-of-bounds parameters in gtk_assistant_get_nth_pageMatthias Clasen2010-02-231-1/+5
| | | | | | | | Better do what the docs say...fix by Tadej Borovšak, bug 610141.
* | Fix a segfault in gtk_assistant_set_current_pageMatthias Clasen2010-02-231-1/+1
| | | | | | | | Reported by Tadej Borovšak in bug 610184
* | [annotations] Add allow-noneJohan Dahlin2010-02-191-1/+1
| | | | | | | | | | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* | Deprecate flag macros for toplevel, state, no window and composite childChristian Dywan2010-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE, GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and GTK_WIDGET_COMPOSITE_CHILD. Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and GTK_OBJECT_TYPE which have become redundant. Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel, GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD is replaced with use of the "composite-child" property and uses of GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window. Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are changed to direct flag usage. Documentation is updated to refer to gtk_widget_set_has_window and gtk_widget_get_has_window. Gail and tests are updated as well. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
* | [introspection] Merge in Gtk-custom.c annotationsColin Walters2009-12-161-4/+4
|/ | | | | | | | The Gtk-custom.c file in gir-repository contained a number of introspection annotations. Merge those into the GTK source files. Some documentation was moved from the tmpl/ files to accomodate the addition of annotations.
* let the close button reflect the page_complete status of SUMMARY pagesSven Herzberg2009-12-101-2/+13
| | | | | | | | | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=604289 In order to respect this properly, we have to restore the original behavior by watching a flag to check if the user has already set this. * gtk/gtkassistant.c: fix the bug by introducing a flag to check for non-automatic value setting * tests/testassistant.c: updated the "generous assistant" to permit quick manual testing of this feature
* Emit GtkAssistant::apply before computing the next stepMatthias Clasen2009-08-061-2/+2
| | | | This fixes bug 589745.
* Make suitable GtkAssistant buttons defaultMatthias Clasen2009-07-161-15/+16
| | | | | | We grab the default to the apply, forward or close buttons, as appropriate. Also, make sure that the logic for setting the focus to the best place on page change is applied to the initial page.
* Avoid assertions due to invalid page sequenceMatthias Clasen2009-05-301-17/+15
| | | | | It is much nicer to handle this gracefully in compute_last_button_state. Fixes bug 584125.
* Fix GtkAssistant's accessible children. Fixes bug #575319.Eitan Isaacson2009-05-291-1/+1
|
* Make GtkAssistant keep its padding when built with GtkBuilderMatthias Clasen2009-05-031-3/+3
|
* Add a GtkBuildable implementation to GtkAssistantMatthias Clasen2009-04-181-17/+85
| | | | | Expose the action area as internal child, and support child properties.
* Set the object name to the page title. Proposed by Eitan IsaacsonMatthias Clasen2009-02-171-0/+6
| | | | | | | | * gtk/gtkassistant.c (gtk_assistant_accessible_ref_child): Set the object name to the page title. Proposed by Eitan Isaacson svn path=/trunk/; revision=22345
* Set focus when the current page changes. Pointed out by Eitan IsaacsonMatthias Clasen2009-02-171-0/+22
| | | | | | | | * gtk/gtkassistant.c (set_current_page): Set focus when the current page changes. Pointed out by Eitan Isaacson svn path=/trunk/; revision=22344
* remove unused variable and fix formatting of some function headers.Michael Natterer2008-08-121-7/+12
| | | | | | | | | | 2008-08-12 Michael Natterer <mitch@imendio.com> * gtk/gtkassistant.c: remove unused variable and fix formatting of some function headers. svn path=/trunk/; revision=21099
* Fix a crashMatthias Clasen2008-07-181-2/+2
| | | | svn path=/trunk/; revision=20864
* Allocate with GSlice:Michael Natterer2008-07-041-2/+2
| | | | | | | | | | | | | | | 2008-07-04 Michael Natterer <mitch@imendio.com> Allocate with GSlice: * gtk/gtkassistant.c: GtkAssistantPage * gtk/gtkcellview.c: GtkCellViewCellInfo * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo * gtk/gtkfilefilter.c: FilterRule * gtk/gtknotebook.c: GtkNotebookPage svn path=/trunk/; revision=20761
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* Bug 387972 – gtkassistant drawing problemMatthias Clasen2008-05-241-9/+9
| | | | | | | | * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make GtkAssistant work better in glade. svn path=/trunk/; revision=20140
* Add current page to visited page list instead of next current page.Carlos Garnacho2008-04-111-1/+2
| | | | | | | | | | 2008-04-11 Carlos Garnacho <carlos@imendio.com> * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current page to visited page list instead of next current page. (#527466, patch by Marcus Brinkmann) svn path=/trunk/; revision=19996
* gtk/gtkaction.c gtk/gtkassistant.c gtk/gtkbin.c gtk/gtkbox.cMichael Natterer2008-02-071-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-07 Michael Natterer <mitch@imendio.com> * gtk/gtkaction.c * gtk/gtkassistant.c * gtk/gtkbin.c * gtk/gtkbox.c * gtk/gtkcalendar.c * gtk/gtkcellrenderercombo.c * gtk/gtkcombobox.c * gtk/gtkcombo.c * gtk/gtkdrawingarea.c * gtk/gtkentrycompletion.c * gtk/gtkfixed.h * gtk/gtkgamma.c * gtk/gtkhpaned.c * gtk/gtkiconview.c * gtk/gtkitem.c * gtk/gtkitemfactory.c: remove g_return_if_fail() from private functions and virtual function implementations. svn path=/trunk/; revision=19491
* Be more robust when removing the current page. (#499951, Andreas Sandberg)Matthias Clasen2008-01-081-0/+3
| | | | | | | | | | | 2008-01-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtkassistant.c (remove_page): Be more robust when removing the current page. (#499951, Andreas Sandberg) svn path=/trunk/; revision=19321
* Improve alternative button ordering. (#476827, Yevgen Muntyan, patch byMatthias Clasen2007-11-261-3/+3
| | | | | | | | | | 2007-11-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkassistant.c: Improve alternative button ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho) svn path=/trunk/; revision=19057
* reviewed by: Matthias Clasen <mclasen@redhat.com>Johan Dahlin2007-06-061-6/+6
| | | | | | | | | | | | | 2007-06-06 Johan Dahlin <jdahlin@async.com.br> reviewed by: Matthias Clasen <mclasen@redhat.com> * gtk/gtkassistant.c (gtk_assistant_update_buttons_state): Check if the wizard is empty before trying to access the first page. (#444310, Johan Dahlin) svn path=/trunk/; revision=18060
* Internalize some strings, pointed out by Damon Chaplin.Matthias Clasen2007-04-271-2/+2
| | | | | | | | | | | | | | | | 2007-04-27 Matthias Clasen <mclasen@redhat.com> * gtkassistant.c: * gtkiconfactory.c: * gtkiconview.c: * gtkpapersize.c: * gtkrecentmanager.c: * gtktextiter.c: Internalize some strings, pointed out by Damon Chaplin. svn path=/trunk/; revision=17661