1. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      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().
      94eec042
  2. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  3. 06 Apr, 2005 1 commit
  4. 04 Apr, 2005 1 commit
    • Manish Singh's avatar
      cast combo->priv->entry to GTK_ENTRY() · 006fcb4a
      Manish Singh authored
      Mon Apr  4 14:33:55 2005  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
              cast combo->priv->entry to GTK_ENTRY()
      
              * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
              cast completion->priv->tree_view to GTK_TREE_VIEW()
      006fcb4a
  5. 01 Apr, 2005 1 commit
    • Matthias Clasen's avatar
      Make gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry · b82af5ce
      Matthias Clasen authored
      2005-04-01  Matthias Clasen  <mclasen@redhat.com>
      
      	Make gtk_combo_box_get_active_text do the right thing for
      	GtkComboBoxEntry (#171373, Robert Staudinger)
      
      	* gtk/gtkcombobox.h: Add a get_active_text vfunc.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And
      	implement it here.
      
      	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
      	Implement get_active_text by always returning the content of
      	the entry.
      b82af5ce
  6. 26 Mar, 2005 1 commit
  7. 22 Mar, 2005 1 commit
  8. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      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.
      cca8dd63
  9. 09 Mar, 2005 1 commit
  10. 19 Nov, 2004 1 commit
    • Manish Singh's avatar
      gdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.c · 60b30ff5
      Manish Singh authored
      Fri Nov 19 14:54:09 2004  Manish Singh  <yosh@gimp.org>
      
              * gdk/linux-fb/gdkgc-fb.c
              * gdk/win32/gdkgc-win32.c
              * gdk/win32/gdkwindow-win32.c
              * gtk/gtkaboutdialog.c
              * gtk/gtkaction.c
              * gtk/gtkactiongroup.c
              * gtk/gtkcellrendererprogress.c
              * gtk/gtkcellview.c
              * gtk/gtkcolorbutton.c
              * gtk/gtkcombobox.c
              * gtk/gtkcomboboxentry.c
              * gtk/gtkentrycompletion.c
              * gtk/gtkfilechooserbutton.c
              * gtk/gtkmenutoolbutton.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktoggletoolbutton.c
              * gtk/gtktoolbutton.c
              * gtk/gtktoolitem.c
              * gtk/gtktreemodelfilter.c
              * gtk/gtktreeselection.c
              * gtk/gtktreeviewcolumn.c
              * gtk/gtkuimanager.c: get rid of unnecessary casts.
      
              * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
              cast away the const for g_value_set_enum. This is after the g_warning,
              so this is a hack to begin with.
      
              * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
              add a cast to GTK_FILE_CHOOSER for impl here.
      60b30ff5
  11. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      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
      3612aee5
  12. 30 Jul, 2004 1 commit
  13. 22 Jul, 2004 1 commit
  14. 16 Jul, 2004 1 commit
  15. 06 Mar, 2004 1 commit
  16. 26 Feb, 2004 1 commit
  17. 05 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Support mnemonic_activate here as well. · 5cc85a5a
      Matthias Clasen authored
      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.
      5cc85a5a
  18. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      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_().
      07d4d314
  19. 16 Nov, 2003 1 commit
    • Kristian Rietveld's avatar
      Fixes #124373, Murray Cumming. · d777b5b4
      Kristian Rietveld authored
      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.
      d777b5b4
  20. 24 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      Fix licensing (I managed to put it under GPL licensing instead of · 2e2b780f
      Kristian Rietveld authored
      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).
      2e2b780f
  21. 23 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      Fix includes. · 3a5b5a0f
      Kristian Rietveld authored
      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.
      3a5b5a0f
  22. 15 Oct, 2003 2 commits
    • Kristian Rietveld's avatar
      it's _set_active, not _set_active_item. · 7c4b8aef
      Kristian Rietveld authored
      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.
      7c4b8aef
    • Kristian Rietveld's avatar
      mention in the docs that -1 is a valid value and what it means. · 8b34c308
      Kristian Rietveld authored
      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.
      8b34c308
  23. 11 Oct, 2003 1 commit
  24. 03 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      only set the model on ->priv->cell_view if ->priv->cell_view is non-NULL. · 7fc054e9
      Kristian Rietveld authored
      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.
      7fc054e9
  25. 02 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      Added API doc comments. · 316109ea
      Kristian Rietveld authored
      Thu Oct  2 23:28:02 2003  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtkcombobox.c: Added API doc comments.
      
      	* gtk/gtkcomboboxentry.c: Ditto.
      316109ea
  26. 01 Oct, 2003 1 commit
    • Kristian Rietveld's avatar
      implement the GtkCellLayout interface, drop packing/attribute/cell data · 40743e12
      Kristian Rietveld authored
      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.
      40743e12
  27. 30 Sep, 2003 1 commit
    • Kristian Rietveld's avatar
      actually show the child. · b78ee57e
      Kristian Rietveld authored
      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).
      b78ee57e
  28. 26 Sep, 2003 1 commit
    • Kristian Rietveld's avatar
      Landing the new ComboBox. Note that only gtkcombobox.h and · c920afd9
      Kristian Rietveld authored
      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.
      c920afd9