1. 27 Sep, 2005 1 commit
  2. 13 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Add some strings containing multibyte characters. · 90196d7e
      Matthias Clasen authored
      2005-09-13  Matthias Clasen  <mclasen@redhat.com>
      
      	* tests/testentrycompletion.c (create_simple_completion_model): Add
      	some strings containing multibyte characters.
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
      	Fix prefix insertion for multibyte characters.  (#316095,
      	Tommi Komulainen)
      90196d7e
  3. 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
  4. 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
  5. 13 Jul, 2005 1 commit
    • Kristian Rietveld's avatar
      when !separator, don't add the focus_line_width to width/height (happens · 22554a16
      Kristian Rietveld authored
      2005-07-13  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtktreeview.c (validate_row): when !separator, don't add
      	the focus_line_width to width/height (happens in
      	_column_cell_get_size), but do add the vertical-separator to height,
      	we weren't taking this into account before.
      
      	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
      	take vertical-separator into account. (#309137, Ross Burton).
      22554a16
  6. 17 Jun, 2005 1 commit
  7. 26 May, 2005 1 commit
    • Matthias Clasen's avatar
      Add a property to suppress the popup for single matches. (#154711) · 6bd2df1a
      Matthias Clasen authored
      2005-05-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkentrycompletion.c: Add a property to suppress the
      	popup for single matches.  (#154711)
      
      	* gtk/gtkentry.c (gtk_entry_completion_timeout): Respect it here.
      
      	* gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action):
      	Use it here.
      6bd2df1a
  8. 04 Apr, 2005 2 commits
    • 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
    • Matthias Clasen's avatar
      Allow completion popups to be wider than the entry. (#131916, Ross Burton) · c4e31ace
      Matthias Clasen authored
      2005-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	Allow completion popups to be wider than the entry. (#131916,
      	Ross Burton)
      
      	* gtk/gtkentrycompletion.[hc]: Add a boolean popup-set-width property.
      
      	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
      	Don't force the popup to have the same width as the entry if
      	popup-set-width is FALSE.
      
      	* gtk/gtk.symbols: Add new functions.
      c4e31ace
  9. 26 Mar, 2005 1 commit
  10. 22 Mar, 2005 1 commit
  11. 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
  12. 17 Mar, 2005 1 commit
  13. 15 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Document that inline completion requires text-column to be set. · 0e860164
      Matthias Clasen authored
      2005-03-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
      	Document that inline completion requires text-column to be set.
      	(gtk_entry_completion_compute_prefix): Return NULL if text-column
      	is not set.
      
      	* gtk/gtkentry.c (check_completion_callback): Call
      	gtk_entry_completion_complete() before inserting the prefix,
      	otherwise the prefix may depend on (random) state of the
      	filter model.
      0e860164
  14. 09 Mar, 2005 1 commit
  15. 26 Jan, 2005 1 commit
    • Matthias Clasen's avatar
      Don't allow -1 as minimum-key-length. (gtk_entry_completion_set_model): · d5102464
      Matthias Clasen authored
      2005-01-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
      	Don't allow -1 as minimum-key-length.
      	(gtk_entry_completion_set_model): Add missing notification.
      	(gtk_entry_completion_set_minimum_key_length): Add missing
      	notification, allow setting minimum-key-length to 0.  (#165194,
      	Vincent Ladeuil)
      d5102464
  16. 16 Dec, 2004 1 commit
    • Matthias Clasen's avatar
      Require glib 2.6.0 for g_filename_display_basename. · 55434ebd
      Matthias Clasen authored
      2004-12-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* configure.in: Require glib 2.6.0 for
      	g_filename_display_basename.
      
      	* gtk/gtkentrycompletion.[hc]: Make the prefix parameter
      	to the insert-prefix signal a const gchar* instead of a
      	gchar*.  (#161415, Murray Cumming)
      	Also remove an unused static function.
      55434ebd
  17. 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
  18. 02 Nov, 2004 1 commit
  19. 31 Oct, 2004 2 commits
    • Matthias Clasen's avatar
      Don't force the height of the action area, we don't scroll it anyway, and · 489d586f
      Matthias Clasen authored
      2004-10-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
      	Don't force the height of the action area, we don't scroll
      	it anyway, and the current way of calculating the height can lead
      	to broken display.  (#156573, Christian Persch)
      489d586f
    • Matthias Clasen's avatar
      Update doc comments. · 463c2635
      Matthias Clasen authored
      2004-10-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
      	Update doc comments.
      463c2635
  20. 26 Oct, 2004 2 commits
    • Anders Carlsson's avatar
      Really handle a NULL model, fixes #137211 for real. · 21ad6be6
      Anders Carlsson authored
      2004-10-25  Anders Carlsson  <andersca@gnome.org>
      
      	* gtk/gtkentry.c: (gtk_entry_completion_timeout):
      	* gtk/gtkentrycompletion.c: (gtk_entry_completion_set_model),
      	(gtk_entry_completion_get_model), (gtk_entry_completion_complete):
      	Really handle a NULL model, fixes #137211 for real.
      
      	* gtk/gtkfilechooserentry.c:
      	(gtk_file_chooser_entry_maybe_update_directory):
      	Remove _clear, #137211 is fixed.
      
      	* tests/testentrycompletion.c: (main):
      	Add completion with an empty model.
      21ad6be6
    • James M. Cape's avatar
      Rework of GtkFileChooserButton, some cleanups. Fixes #154388, #154390, · ede3c399
      James M. Cape authored
      2004-10-25  James M. Cape  <jcape@ignore-your.tv>
      
      	Rework of GtkFileChooserButton, some cleanups. Fixes #154388,
      	#154390, #154390, #156272.
      
      	* docs/reference/gtk/gtk-docs.sgml: Moved GtkFileChooserButton
      	below GtkFileChooser.
      	* docs/reference/gtk/gtk-sections.txt: Added
      	gtk_file_chooser_button_get_width_chars(),
      	gtk_file_chooser_button_set_width_chars(),
      	gtk_label_set_width_chars(), gtk_label_get_width_chars().
      	* docs/reference/gtk/gtk.types: Added
      	gtk_cell_renderer_combo_get_type,
      	gtk_cell_view_get_type,
      	gtk_text_iter_get_type.
      	* docs/reference/gtk/tmpl/gtkaboutdialog.sgml: Add
      	"logo-icon-name" property.
      	* docs/reference/gtk/tmpl/gtkcellview.sgml: Updates for
      	properties
      	(b/c of get_type() inclusion above).
      	* docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml:
      	* docs/reference/gtk/tmpl/gtklabel.sgml: Add "width-chars"
      	property,
      	getters/setters.
      	* docs/reference/gtk/tmpl/gtkcellrenderercombo.sgml: Added.
      	* gtk/gtkentrycompletion.c:
      	(_gtk_entry_completion_popdown): Don't show if the entry isn't
      	mapped.
      	* gtk/gtkfilechooserbutton.[c,h]: (*): About 45%
      	rewritten, adds "width-chars" property, icons, working save
      	modes, volume/Home/Desktop friendly-naming support.
      	* gtk/gtklabel.[c,h]:
      	(gtk_label_class_init), (gtk_label_init),
      	(gtk_label_get_property), (gtk_label_set_property),
      	(gtk_label_get_width_chars), (gtk_label_set_width_chars),
      	(gtk_label_size_request): Add "width-chars" property.
      	* tests/testfilechooserbutton.c: Update, use 4 different buttons
      	for the different ACTIONs.
      	* gtk/.cvsignore: Ignore gtk-update-icon-cache.
      	* tests/.cvsignore: Ignore testimage.
      ede3c399
  21. 08 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Share the three copies of get_borders() under the name · daeea8b8
      Matthias Clasen authored
      2004-10-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentry.h:
      	* gtk/gtkentry.c:
      	* gtk/gtkentrycompletion.c:
      	* gtk/gtkspinbutton.c: Share the three copies of get_borders()
      	under the name _gtk_entry_get_borders().  (#116368, Owen Taylor)
      daeea8b8
  22. 13 Sep, 2004 3 commits
  23. 22 Aug, 2004 1 commit
  24. 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
  25. 02 Aug, 2004 1 commit
  26. 30 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Fix the positioning of the popup. · 0d360a2a
      Matthias Clasen authored
      Fri Jul 30 02:21:41 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
      	Fix the positioning of the popup.
      0d360a2a
  27. 19 Jul, 2004 2 commits
    • Matthias Clasen's avatar
      Typo fix. · d8a3d9de
      Matthias Clasen authored
      d8a3d9de
    • Matthias Clasen's avatar
      Support inline autocompletion in entries (#135953) · 5351a4e4
      Matthias Clasen authored
      2004-07-19  Matthias Clasen  <mclasen@redhat.com>
      
      	Support inline autocompletion in entries  (#135953)
      
      	* gtk/gtkentryprivate.h:
      	* gtk/gtkentrycompletion.h:
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
      	Add a new signal ::insert-prefix which can be used to override
      	the default inline-completion behaviour. Add two new boolean
      	properties, :popup_completion and :inline_completion which
      	determine how the possible completions should be presented.
      	(gtk_entry_completion_insert_prefix): New function to request
      	a prefix insertion.
      
      	* gtk/gtkentry.c: Add the necessary glue for inline completion.
      5351a4e4
  28. 12 Jul, 2004 1 commit
  29. 26 Jun, 2004 2 commits
    • Matthias Clasen's avatar
      Reflect the last change in the docs. · e1a24313
      Matthias Clasen authored
      Sat Jun 26 00:04:36 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_set_model):
      	* gtk/gtkcombobox.c (gtk_combo_box_set_model): Reflect the
      	last change in the docs.
      e1a24313
    • Matthias Clasen's avatar
      Allow passing NULL to unset the model. (#137211, patch by Mariano · 57e15782
      Matthias Clasen authored
      Fri Jun 25 23:35:42 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkentrycompletion.c (gtk_entry_completion_set_model):
      	* gtk/gtkcombobox.c (gtk_combo_box_set_model): Allow passing
      	NULL to unset the model.  (#137211, patch by  Mariano Suárez-Alvarez)
      
      Fri Jun 25 23:33:05 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Fix the
      	placement policy for GtkComboBoxEntry to be: if it fits below,
      	place below, if it fits above place above, else place in the
      	larger space and scroll so that the scroll arrow appear at the
      	far end.  (#144362, David A. Knight)
      57e15782
  30. 06 Jun, 2004 1 commit
    • Matthias Clasen's avatar
      Add an ignore_enter flag and use it as in the menu code to avoid the · 1640e34c
      Matthias Clasen authored
      Sat Jun  5 23:07:30 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkentrycompletion.c: (gtk_entry_completion_init),
      	(gtk_entry_completion_list_enter_notify),
      	(gtk_entry_completion_list_motion_notify),
      	(_gtk_entry_completion_popup), (_gtk_entry_completion_popdown):
      	* gtk/gtkentryprivate.h: Add an ignore_enter flag and
      	use it as in the menu code to avoid the initial selection if
      	the window pops up under the pointer.  (Anders Carlsson)
      1640e34c
  31. 02 Jun, 2004 1 commit
  32. 27 May, 2004 2 commits