summaryrefslogtreecommitdiff
path: root/gtk/gtkcomboboxentry.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-0/+1
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* New convenience API to construct simple text combos, implemented by DamonMatthias Clasen2004-02-261-0/+30
| | | | | | | | | | | Thu Feb 26 22:20:44 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcomboboxentry.h: * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text): New convenience API to construct simple text combos, implemented by Damon Chaplin. * tests/testcombo.c: Use gtk_combo_box_entry_new_text.
* Support mnemonic_activate here as well.Matthias Clasen2004-02-051-1/+17
| | | | | | | | | | Fri Feb 6 00:15:38 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_mnemonic_activate): Support mnemonic_activate here as well. * gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Focus the button, not the tree_view.
* The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog andMatthias Clasen2004-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de> The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and po/ChangeLog): * gtk/gtkintl.h: * gdk-pixbuf/gdk-pixbuf-i18n.h: * gdk/gdkintl.h: Define P_() for property blurbs and nicks. * gdk/gdkdisplaymanager.c: * gdk-pixbuf/gdk-pixbuf.c: * modules/input/gtkimcontextxim.c: * gtk/*.c: Mark property blurbs and nicks with P_(). * po/Makefile.in.in: Add --keyword=P_ to the xgettext invocation, since property blurbs and nicks are now marked with P_().
* Fixes #124373, Murray Cumming.Kristian Rietveld2003-11-161-23/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | Mon Nov 17 00:11:21 2003 Kristian Rietveld <kris@gtk.org> Fixes #124373, Murray Cumming. * gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property is no longer construct only, (gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal), (gtk_combo_box_menu_fill): new functions, (gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy), (gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup), (gtk_combo_box_list_destroy): updated, (gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed functions, (gtk_combo_box_set_model): is now public, updated, (gtk_combo_box_get_model): small update. * gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the text_column property is no longer construct only, (gtk_combo_box_entry_set_text_column): now public, (gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model): new/changed functions. * tests/testcombo.c: updated.
* Fix licensing (I managed to put it under GPL licensing instead ofKristian Rietveld2003-10-241-8/+8
| | | | | | | | | | Fri Oct 24 20:31:35 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch], gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch], gtk/gtktreemodelfilter.[ch]: Fix licensing (I managed to put it under GPL licensing instead of LGPL...). (Fixes #125381, Soeren Sandmann).
* Fix includes.Kristian Rietveld2003-10-231-4/+4
| | | | | | | | Thu Oct 23 20:21:16 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c, gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c, gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.
* it's _set_active, not _set_active_item.Kristian Rietveld2003-10-151-1/+1
| | | | | | | Wed Oct 15 22:39:23 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): it's _set_active, not _set_active_item.
* mention in the docs that -1 is a valid value and what it means.Kristian Rietveld2003-10-151-3/+3
| | | | | | | | | | | | | Wed Oct 15 22:04:59 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.c (gtk_combo_box_get_active), (gtk_combo_box_set_active): mention in the docs that -1 is a valid value and what it means. * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): set the active item to -1 (default), (gtk_combo_box_entry_active_changed): do nothing when the index is < 0.
* Move GET_PRIVATE macros from header to implementation.Matthias Clasen2003-10-111-0/+2
| | | | | | | | | | Sun Oct 12 01:10:29 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkalignment.[hc]: * gtk/gtkcombobox.[hc]: * gtk/gtkcomboboxentry.[hc]: * gtk/gtktreemodelfilter.[hc]: Move GET_PRIVATE macros from header to implementation.
* only set the model on ->priv->cell_view if ->priv->cell_view is non-NULL.Kristian Rietveld2003-10-031-18/+109
| | | | | | | | | | | | | | | Fri Oct 3 20:50:48 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.c (gtk_combo_box_set_model): only set the model on ->priv->cell_view if ->priv->cell_view is non-NULL. * gtk/gtkcomboboxentry.c: include gtkintl.h, add text_renderer field to GtkComboBoxEntryPrivate, (gtk_combo_box_entry_class_init), (gtk_combo_box_entry_init), (gtk_combo_box_entry_set_property), (gtk_combo_box_entry_get_property), (gtk_combo_box_entry_set_text_column), (gtk_combo_box_entry_new): add a construct-only "text_column" property and reorder code to use it and support inheriting this widget.
* Added API doc comments.Kristian Rietveld2003-10-021-0/+27
| | | | | | | | Thu Oct 2 23:28:02 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.c: Added API doc comments. * gtk/gtkcomboboxentry.c: Ditto.
* implement the GtkCellLayout interface, drop packing/attribute/cell dataKristian Rietveld2003-10-011-4/+5
| | | | | | | | | | | | | | | | | Wed Oct 1 22:43:40 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellview.[ch]: implement the GtkCellLayout interface, drop packing/attribute/cell data functions from the header, (gtk_cell_view_set_cell_data): added support for cell data funcs. * gtk/gtkcombobox.[ch]: implement the GtkCellLayout interface, drop packing/attribute/cell data functions from the header, implemented cell data func support. * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new): updated for the move to GtkCellLayout. * tests/testcombo.c (create_combo_box_grid_demo), (main): ditto.
* actually show the child.Kristian Rietveld2003-09-301-0/+1
| | | | | | | | | Tue Sep 30 21:08:43 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcombobox.c (gtk_combo_box_init): actually show the child. * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): ditto. (#123543, Marco Pesenti Gritti).
* Landing the new ComboBox. Note that only gtkcombobox.h andKristian Rietveld2003-09-261-0/+177
Fri Sep 26 23:49:44 2003 Kristian Rietveld <kris@gtk.org> Landing the new ComboBox. Note that only gtkcombobox.h and gtkcomboboxentry.h are public. * gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch], gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch]: new files. * gtk/Makefile.am, gtk/gtk.h: adding the new files. * tests/testcombo.c: and a new test. * tests/Makefile.am: adding the new test.