summaryrefslogtreecommitdiff
path: root/gtk/gtkcomboboxtext.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-2/+2
| | | | Instead of Return value:
* Docs: Remove all entities and turn off sgml modeMatthias Clasen2014-02-091-8/+7
| | | | | With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well.
* docs: use proper quotations instead of '*'William Jon McCann2014-02-071-1/+1
|
* docs: use proper quotesWilliam Jon McCann2014-02-051-3/+3
|
* docs: Use "#" for refsect2 instead of ##William Jon McCann2014-02-041-1/+1
|
* docs: Convert to markdownMatthias Clasen2014-02-021-8/+3
| | | | Specifically, switch to using markdown syntax for sections.
* docs: use |[ ]| instead of <programlisting></programlisting>William Jon McCann2014-01-291-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* Fix string allocation handling with GtkBuilder translationsKalev Lember2013-06-081-2/+1
| | | | | | | | | | | | | Use g_string_assign to avoid issues with assigning GString's internal buffer back to the same string. This can happen when no translations are available and _gtk_builder_parser_translate returns back the same pointer that was passed in. This fixes a regression from commit e9f182e37a7f6e2dc339054841a3c9f930f that caused GtkComboBoxText <items> from GtkBuilder to show up empty if no translations are available. https://bugzilla.gnome.org/show_bug.cgi?id=700629
* GtkComboBoxText: Improved GtkBuildable documentation.Tristan Van Berkom2013-05-121-8/+5
| | | | | | | | Also removed a bogus FIXME comment which might have been true a long time ago. Clarification: the "domain" attribute specified in the builder script overrides any domain previously set with gtk_builder_set_translation_domain(), so the translation of items here is perfectly correct and does not need to be fixed.
* Fix a few memory leaks wrt to translationsMatthias Clasen2013-04-281-1/+1
| | | | | | | Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=699016 The fix here is slightly different. We make _gtk_builder_parser_translate return a const char * instead of a dup'ed string, and fix up the callers.
* Add missing annotation for gtk_combo_box_text_get_active_text()Tristan Brindle2013-01-041-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=688140
* Documentation: Correct references to properties.Murray Cumming2012-02-151-1/+1
| | | | | | | | These should use :, not ::, though signals would use ::. See http://developer.gnome.org/gtk-doc-manual/unstable/documenting_syntax.html.en and http://developer.gnome.org/gtk-doc-manual/unstable/documenting_symbols.html.en
* GtkComboBoxText: allow id='' tag in builder markupRyan Lortie2012-01-041-1/+6
| | | | | | | | | | | | | | | | | Presently, GtkComboBoxText lets you list the items for it in the GtkBuilder markup like so: <items> <item translatable='yes'>Red</item> <item translatable='yes'>Blue</item> </items> but has no way to set the "id" column for added items. Add an id='' tag for that purpose so that you can do: <item id='red' translatable='yes'>Red</item> https://bugzilla.gnome.org/show_bug.cgi?id=667319
* comboboxtext: Set entry-text-column and id-column props in the constructorKjell Ahlstedt2011-12-301-7/+10
| | | | | This is cleaner than setting the value in the _new() functions and makes binding and GtkBuilder instantiation easier. Bug #612396, comment 65.
* Fix incomplete &gt; entities in docs.Laszlo Pandy2011-08-131-2/+2
|
* Make gtk_combo_box_text_get_active_text() behave as documentedMatthias Clasen2011-02-191-6/+14
| | | | | | If there is an entry, it is supposed to return the contents of the entry. Pointed out by Allin Cottrell, https://bugzilla.gnome.org/show_bug.cgi?id=642681
* Add some missing symbols to the docsMatthias Clasen2011-02-081-4/+5
|
* Changed GtkComboBoxText <items> builder parser to use g_string_append_len().Tristan Van Berkom2011-01-261-7/+2
|
* Fix GtkComboBoxText GtkBuildable <items> parsing to handle incomming text ↵Tristan Van Berkom2011-01-261-22/+26
| | | | accumulatively
* More doc build fixesMatthias Clasen2011-01-101-1/+2
| | | | | Grr, our mixture of xml and plain text in long descriptions is a mess.
* Added GtkBuildable support for specifying <items> in GtkComboBoxText.Tristan Van Berkom2011-01-101-6/+226
|
* Documentation fixesMatthias Clasen2011-01-061-2/+3
|
* GtkComboBox(Text): Add documentation about the entryMilan Bouchet-Valat2011-01-041-2/+8
|
* [GtkComboBoxText] Add checks for id-column/entry-text-column >= 0Milan Bouchet-Valat2010-12-111-0/+3
| | | | | | | | | If the GtkComboBoxText doesn't have id-column or entry-text-column set for some reason (value -1), better warn and return. Else, unrelated assertions fail, and warnings from gtk_tree_model_get_column_type() are printed, which are not really obvious. https://bugzilla.gnome.org/show_bug.cgi?id=637018
* Bug 619148 - "active ID" properties (GtkComboBox)Ryan Lortie2010-11-301-4/+97
| | | | | | | Based on a patch by Matthias, add an "active-id" property for GtkComboBox and add some convenience API for GtkComboBoxText. Also, add a test case to gtk-demo.
* gtkcomboboxtext: remove unused variableXan Lopez2010-10-261-1/+0
|
* Revert the id-column patchMatthias Clasen2010-10-231-32/+2
| | | | | It didn't quite turn out as I wanted it. I'll put it in bug 619148 for now.
* docs: GtkComboBoxText: more fixesJavier Jardón2010-10-231-2/+2
|
* docs: Some fixes in GtkComboboxText notationsJavier Jardón2010-10-231-3/+3
|
* Add a way to associate numeric ids with combobox valuesMatthias Clasen2010-10-231-41/+42
| | | | | This will let us use combo boxes as property editors for GSettings enmerations easily.
* comboboxtext: Add gtk_combo_box_text_remove_all()Christian Dywan2010-10-211-0/+19
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=324899
* Don't add a second cell rendererMatthias Clasen2010-10-181-9/+30
| | | | | | | When has-entry is TRUE, GtkComboBox already adds a cell renderer for the text column, so avoid adding a second one in GtkComboBoxText. https://bugzilla.gnome.org/show_bug.cgi?id=632381
* Fix some GtkComboBoxText problemsMatthias Clasen2010-10-161-1/+3
| | | | We must use entry-text-column explicitly to 0, since it defaults to -1.
* GtkComboBoxText: Use gtk_combo_box_text_remove instead ↵Javier Jardón2010-10-161-1/+1
| | | | gtk_combo_box_text_remove_text
* Add docs for GtkComboBoxTextMatthias Clasen2010-10-151-0/+18
|
* Add gtk_combo_box_text_new_with_entryMatthias Clasen2010-10-151-7/+22
| | | | Also, make use of the configured entry_text_column.
* Use text column value in GtkComboBoxTextChristian Dywan2010-10-151-9/+19
|
* Added GtkComboBoxText apiChristian Dywan2010-10-151-0/+220
This is a derived class of GtkComboBox to replace the gtk_combo_box_*_text() convenience API. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612396 Signed-off-by: Javier Jardón <jjardon@gnome.org>