summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderercombo.c
Commit message (Collapse)AuthorAgeFilesLines
* GtkCellRendererCombo: Use G_PARAM_EXPLICIT_NOTIFYMatthias Clasen2014-06-091-4/+12
| | | | And add explicit notification for some properties.
* docs: use proper quotesWilliam Jon McCann2014-02-051-1/+1
|
* docs: don't use <emphasis>William Jon McCann2014-01-281-1/+1
| | | | It is a little heavy handed. The text can speak for itself.
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-6/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Typo fixMatthias Clasen2013-01-131-1/+1
|
* docs: fix a number of typos and obsolete referencesCosimo Cecchi2012-07-021-1/+1
|
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Move documentation to inline comments: GtkCellRendererComboJavier Jardón2011-04-111-0/+21
|
* Assign all g_signal_connect() and friends to gulong variablesAlberto Garcia2010-10-221-1/+1
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=87821
* Deprecate GtkComboBoxEntry in favor of added properties to GtkComboBoxTristan Van Berkom2010-10-131-4/+3
| | | | | | | | | | | | | GtkComboBox now sports a construct-only "has-entry" property which decides if it uses a GtkEntry to allow additional user input. Also it has a new "entry-text-column" to fetch strings for the entry from the model. This patch deprecates the GtkComboBoxEntry and updates the rest of GTK+ to use the new semantics on GtkComboBox instead. GtkComboBoxEntry will be removed altogether before GTK+ 3, in a later commit.
* Make GdkRectangle arguments in GtkCellRenderer use const consistentlyMatthias Clasen2010-10-041-12/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=630900
* Use GtkFooPrivate instead GtkFooPrivJavier Jardón2010-08-271-10/+10
|
* Use GtkBin accessorsJavier Jardón2010-07-131-1/+1
|
* Use accessor functions to access GtkCellRendererTextJavier Jardón2010-07-131-6/+14
|
* gtkcellrenderercombo: Move public members to private structureJavier Jardón2010-07-131-51/+64
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-5/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Use GtkCellEditable::editing-canceledJavier Jardón2009-12-041-2/+4
| | | | | | | | GtkCellEditable::editing-canceled property was added in 2.19 cycle, so we should make the code that currently uses entry->editing_canceled directly go through the property Fixes https://bugzilla.gnome.org/show_bug.cgi?id=599213
* Remove debug spewMatthias Clasen2008-11-011-1/+0
| | | | svn path=/trunk/; revision=21743
* Bug 558323 – glitches when popping up combos in treeviewsMatthias Clasen2008-10-311-20/+7
| | | | | | | | | gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property): Don't set the model property on the combo box, since that leads to loops. svn path=/trunk/; revision=21740
* gtk/gtkaboutdialog.c gtk/gtkcellrendereraccel.c gtk/gtkcellrenderercombo.cSven Neumann2008-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * gtk/gtkaboutdialog.c * gtk/gtkcellrendereraccel.c * gtk/gtkcellrenderercombo.c * gtk/gtkcellrendererspin.c * gtk/gtkcellrenderertext.c * gtk/gtkclipboard.c * gtk/gtkcolorsel.c * gtk/gtkcombo.c * gtk/gtkcombobox.c * gtk/gtkdnd-quartz.c * gtk/gtkdnd.c * gtk/gtkentry.c * gtk/gtkentrycompletion.c * gtk/gtkfilechooserbutton.c * gtk/gtkfilechooserdefault.c * gtk/gtkfilechooserentry.c * gtk/gtkfontsel.c * gtk/gtkinputdialog.c * gtk/gtkmenutoolbutton.c * gtk/gtkpathbar.c * gtk/gtktooltip.c: use canonical signal names in g_signal_connect(). svn path=/trunk/; revision=21060
* 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 526987 - GtkCellRendererCombo should allow model to be NULLKristian Rietveld2008-06-081-16/+65
| | | | | | | | | | | | | | | 2008-06-09 Kristian Rietveld <kris@gtk.org> Bug 526987 - GtkCellRendererCombo should allow model to be NULL * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init), (gtk_cell_renderer_combo_set_property), (gtk_cell_renderer_combo_editing_done), (gtk_cell_renderer_combo_start_editing): introduce private class struct, allow model to be set to NULL. svn path=/trunk/; revision=20340
* Bug 324282 - add selected signal to cell renderer combo.Kristian Rietveld2008-05-281-0/+63
| | | | | | | | | | | | | | | | | | 2006-05-28 Kristian Rietveld <kris@imendio.com> Bug 324282 - add selected signal to cell renderer combo. * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init), (gtk_cell_renderer_combo_changed), (gtk_cell_renderer_combo_start_editing): add a new "changed" signal that will be emitted as soon as the combo box emitted changed and has an active iterator. (Modified patch based on work by James Pelletier). * gtk/gtkmarshalers.list: add marshaler. svn path=/trunk/; revision=20206
* gtk/gtkaction.c gtk/gtkassistant.c gtk/gtkbin.c gtk/gtkbox.cMichael Natterer2008-02-071-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075Johan Dahlin2008-01-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-06 Johan Dahlin <johan@gnome.org> * gtk/gtkcellrenderercombo.c: (gtk_cell_renderer_combo_get_property), (gtk_cell_renderer_combo_set_property): * gtk/gtkcombobox.c: (gtk_combo_box_set_property): * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property): * gtk/gtknotebook.c: (gtk_notebook_set_property): * gtk/gtkspinbutton.c: (gtk_spin_button_set_property): * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property), (gtk_text_buffer_get_property): * gtk/gtktextview.c: (gtk_text_view_set_property): * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property): * gtk/gtktoolbutton.c: (gtk_tool_button_set_property), (gtk_tool_button_get_property): * gtk/gtktoolitem.c: (gtk_tool_item_set_property), (gtk_tool_item_get_property): * gtk/gtktreeview.c: (gtk_tree_view_set_property): * gtk/gtkwidget.c: (gtk_widget_set_property): * gtk/gtkwindow.c: (gtk_window_set_property): Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075 svn path=/trunk/; revision=19311
* Add more documentation.Matthias Clasen2007-07-121-7/+9
| | | | svn path=/trunk/; revision=18453
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Intern some more strings.Matthias Clasen2005-09-011-1/+1
| | | | | | | | | 2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string().
* Also intern static strings passed to g_object_set_data()Matthias Clasen2005-08-311-1/+1
|
* Use canonical names for g_object_notify() as well.Matthias Clasen2005-03-261-1/+1
| | | | | | | | 2005-03-26 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: * gdk/gdkdisplaymanager.c: Use canonical names for g_object_notify() as well.
* Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITEMatthias Clasen2005-03-221-5/+4
| | | | | | | | | | | | 2005-03-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like their G_ counterparts, but also mark the name, nick and blurb as static. * gtk/*.c: Mark param spec strings as static, using the new macros.
* : Mark param spec strings as static.Matthias Clasen2005-03-211-3/+5
|
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-1/+4
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* More canonical property names.Matthias Clasen2005-03-091-2/+2
|
* Fix #145463, reported by Michael Natterer.Matthias Clasen2004-12-091-6/+6
| | | | | | | | | | | | | | | | | | | 2004-12-09 Matthias Clasen <mclasen@redhat.com> Fix #145463, reported by Michael Natterer. * gtk/gtkcellrenderer.h (struct _GtkCellRenderer): Add an editing flag to keep track of when editing is done. * gtk/gtkcellrenderer.h: * gtk/gtkcellrenderer.c (gtk_cell_renderer_stop_editing): New function to replace gtk_cell_renderer_editing_canceled(). Deprecate gtk_cell_renderer_editing_canceled(). * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done): * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_editing_done): * gtk/gtktreeview.c (gtk_tree_view_stop_editing): Use gtk_cell_renderer_stop_editing().
* Doc additions.Matthias Clasen2004-11-021-1/+4
| | | | | | | | | | | | | | | | 2004-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): Doc additions. 2004-11-02 Matthias Clasen <mclasen@redhat.com> * gtk/tmpl/gtkcellrenderercombo.sgml: * gtk/tmpl/gtkcellrenderertoggle.sgml: * gtk/tmpl/gtkcellrenderertext.sgml: Add introductions. * gtk/tmpl/gtkcellrenderer.sgml: Additions.
* Update doc comments.Matthias Clasen2004-10-311-14/+11
| | | | | | | 2004-10-31 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init): Update doc comments.
* Don't leak text. (#156325, Olivier Andrieu)Matthias Clasen2004-10-251-0/+2
| | | | | | | 2004-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderercombo.c (find_text): Don't leak text. (#156325, Olivier Andrieu)
* Use G_DEFINE_TYPE, intialize the has_entry property, ref the model and addMatthias Clasen2004-10-251-34/+34
| | | | | | | | 2004-10-24 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderercombo.c: Use G_DEFINE_TYPE, intialize the has_entry property, ref the model and add a finalizer. (#156325, Olivier Andrieu)
* initialize path so we don't potentially use an undefined pointer.Manish Singh2004-08-261-1/+2
| | | | | | | | | | | | | | | | | | | | Wed Aug 25 17:14:58 2004 Manish Singh <yosh@gimp.org> * gtk/gtktreeview.c (gtk_tree_view_search_activate): initialize path so we don't potentially use an undefined pointer. * gtk/gtkfilechooserdefault.c (shortcuts_list_create): add G_CALLBACK cast for tree_view_keybinding_cb. * gtk/gtkfilechooserdefault.c (location_entry_create): cast to GTK_FILE_CHOOSER_ENTRY for _gtk_file_chooser_entry_set_file_part() calls. * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_start_editing): cast to GTK_COMBO_BOX for gtk_combo_box_set_active_iter() call. * gtk/gtkselection.c (selection_get_text_plain): make len a gsize, since that's what g_convert_with_fallback() expects.
* Add hidden aliases for exported symbols which are used internally in orderMatthias Clasen2004-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 9 12:48:04 2004 Matthias Clasen <maclas@gmx.de> Add hidden aliases for exported symbols which are used internally in order to get rid of many PLT entries. (#145519, Arjan van de Ven) * gtk/Makefile.am: Add rules to generate gtk.def and from gtk.symbols, and make make check check the abi with abicheck.sh. (gtk_private_h_sources): Add gtkinternals.h (gtk_built_private_headers): Add gtkalias.h (gtk_extra_sources): Add gtk.symbols (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh * gtk/gtk.symbols: New file. Definition of the GTK+ ABI. The file can be processed by cpp to filter out certain subsets of symbols. * gtk/abicheck.sh: New file. Script to check the actually symbols exported from libgtk-x11.2.0.so against the symbols found in gtk.symbols. * gtk/makegtkalias.pl: New file. Perl script to generate the header containing the alias definitions for internally used exported symbols from a list of symbols. * gtk/gtkinternals.h: New file. An uninstalled header listing symbols which must be exported for some reason and do not appear in any other header. * gtk/*.c: Include gtkalias.h
* Add a combo box cell renderer.Matthias Clasen2004-07-161-0/+390