1. 06 May, 2005 1 commit
    • Matthias Clasen's avatar
      Always initialize child-visible to FALSE, otherwise we may end up with the · 1d50b80a
      Matthias Clasen authored
      2005-05-06  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Always
      	initialize child-visible to FALSE, otherwise we may end up
      	with the wrong page visible initially.  (#302283, Patrik Fimml)
      
      	* gtk/gtktreeview.c (gtk_tree_view_draw_arrow): Make expanders
      	appear insensitive in insensitive treeviews.
      1d50b80a
  2. 26 Mar, 2005 1 commit
  3. 22 Mar, 2005 2 commits
  4. 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
  5. 09 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      x · 263bce44
      Matthias Clasen authored
      2005-03-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_class_init):
      	* gtk/gtkrange.c (gtk_range_class_init):
      	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
      	* gtk/gtktexttag.c (gtk_text_tag_class_init):
      	* gtk/gtktextview.c (gtk_text_view_class_init):
      	* gtk/gtkscrollbar.c (gtk_scrollbar_class_init):
      	* gtk/gtknotebook.c (gtk_notebook_class_init):
      	* gtk/gtkentry.c (gtk_entry_class_init):
      	* gtk/gtkexpander.c (gtk_expander_class_init):
      	* gtk/gtkarrow.c (gtk_arrow_class_init):
      	* gtk/gtkalignment.c (gtk_alignment_class_init):
      	* gtk/gtkbutton.c (gtk_button_class_init):
      	* gtk/gtklabel.c (gtk_label_class_init):
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): x
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
      	* gtk/gtktreeview.c (gtk_tree_view_class_init):
      	* gtk/gtkbox.c (gtk_box_class_init):
      	* gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init):
      	* gtk/gtkcontainer.c (gtk_container_class_init):
      	* gtk/gtkwidget.c (gtk_widget_class_init):
      	* gtk/gtkobject.c (gtk_object_class_init): Use canonical names
      	when registering param specs.
      263bce44
  6. 27 Sep, 2004 1 commit
  7. 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
  8. 04 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      s/childs/children/g. · c9cf312c
      Matthias Clasen authored
      Wed Aug  4 01:37:57 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreeview.c:
      	* gtk/gtktreestore.c:
      	* gtk/gtktreemodelfilter.c:
      	* gtk/gtknotebook.c: s/childs/children/g.
      c9cf312c
  9. 25 Jul, 2004 1 commit
  10. 10 Jul, 2004 1 commit
    • Soeren Sandmann's avatar
      Bug 144371 · 18bec870
      Soeren Sandmann authored
      Sun Jul 11 01:12:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Bug 144371
      
      	* gtk/gtknotebook.c (gtk_notebook_size_allocate): Remove an
      	unnecessary redraw..
      
      	* gtk/gtknotebook.c (gtk_notebook_page_allocate): Remove some
      	incorrect redraws.
      18bec870
  11. 03 Jul, 2004 1 commit
  12. 25 Jun, 2004 1 commit
  13. 06 Mar, 2004 1 commit
  14. 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
  15. 15 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      Return the index of the newly inserted page. (#130986, Olexiy Avramchenko) · ccdf5608
      Matthias Clasen authored
      Fri Jan 16 00:04:43 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtknotebook.h:
      	* gtk/gtknotebook.c (gtk_notebook_append_page):
      	* gtk/gtknotebook.c (gtk_notebook_append_page_menu):
      	* gtk/gtknotebook.c (gtk_notebook_prepend_page):
      	* gtk/gtknotebook.c (gtk_notebook_prepend_page_menu):
      	* gtk/gtknotebook.c (gtk_notebook_insert_page):
      	* gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Return the
      	index of the newly inserted page.  (#130986, Olexiy Avramchenko)
      ccdf5608
  16. 17 Dec, 2003 1 commit
    • Matthias Clasen's avatar
      Add missing GDK_THREADS_ENTER()/GDK_THREADS_LEAVE(). Cast second argument · 2a136e56
      Matthias Clasen authored
      Wed Dec 17 23:20:23 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
      	GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
      	* gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c,
      	gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c,
      	gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
      	GSourceFunc instead of GtkFunction.  (#129525, Olexiy Avramchenko)
      2a136e56
  17. 11 Dec, 2003 1 commit
  18. 08 Dec, 2003 1 commit
  19. 03 Sep, 2003 1 commit
  20. 25 Aug, 2003 1 commit
  21. 07 Aug, 2003 1 commit
  22. 19 Jul, 2003 1 commit
    • Soeren Sandmann's avatar
      only redraw tabs on focus in/out. · 52de946c
      Soeren Sandmann authored
      Sat Jul 19 12:13:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs
      	on focus in/out.
      52de946c
  23. 08 Jul, 2003 1 commit
    • Soeren Sandmann's avatar
      remove GDK_EXPOSURE_MASK for INPUT_ONLY window same same same same · 81785924
      Soeren Sandmann authored
      Tue Jul  8 21:10:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
      	for INPUT_ONLY window
      	* gtk/gtkmenuitem.c (gtk_menu_item_realize): same
      	* gtk/gtknotebook.c (gtk_notebook_realize): same
      	* gtk/gtkexpander.c (gtk_expander_realize): same
      	* gtk/gtkrange.c (gtk_range_realize): same
      
      	Fix #116303
      81785924
  24. 14 Jun, 2003 1 commit
    • Matthias Clasen's avatar
      Document new properties as 2.4 additions. · ec280c7b
      Matthias Clasen authored
      2003-06-15  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkcalendar.c (gtk_calendar_class_init):
      	* gtk/gtknotebook.c (gtk_notebook_class_init):
      	* gtk/gtkalignment.c (gtk_alignment_class_init):
      	* gtk/gtkpaned.c (gtk_paned_class_init): Document new properties
      	as 2.4 additions.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs
      	to the proper place, immediately before the g_signal_new() call.
      
      	* gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags
      	more obvious.  (#115122, Jeff Franks)
      ec280c7b
  25. 09 Jun, 2003 1 commit
    • Owen Taylor's avatar
      Back out event->window test - it wasn't needed because of the call to · cf566674
      Owen Taylor authored
      Mon Jun  9 16:18:11 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtknotebook.c (gtk_notebook_button_press): Back
              out event->window test - it wasn't needed because
              of the call to get_widget_coordinates().
      
              * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
              call to gtk_widget_grab_focus() when not clicking on
              any tabs. (Real fix for #114534)
      cf566674
  26. 06 Jun, 2003 1 commit
  27. 02 Jun, 2003 1 commit
  28. 30 May, 2003 1 commit
  29. 22 May, 2003 1 commit
    • Matthias Clasen's avatar
      Add support for up to four scroll arrows. Control their display by new · ed1468ba
      Matthias Clasen authored
      2003-05-23  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtknotebook.c: Add support for up to four scroll
      	arrows. Control their display by new style properties
      	"has_forward_stepper", "has_backward_stepper",
      	"has_secondary_forward_stepper" and
      	has_secondary_backward_stepper". (#110540)
      
      	* gtk/gtknotebook.h (struct _GtkNotebook): Make in_child and
      	click_child three bits wide, add
      	has_{before,after}_{previous,next} fields.
      ed1468ba
  30. 29 Mar, 2003 2 commits
    • Matthias Clasen's avatar
      Fix the previous commit. · bdd6e817
      Matthias Clasen authored
      bdd6e817
    • Matthias Clasen's avatar
      Fixes for bug #56248: · feefa270
      Matthias Clasen authored
      2003-03-29  Matthias Clasen  <maclas@gmx.de>
      
              Fixes for bug #56248:
      
      	* gtk/gtknotebook.c (stop_scrolling): New function to remove the
      	timer and queue a redraw.
      	(gtk_notebook_grab_notify):
      	(gtk_notebook_state_changed): New functions to call stop_scrolling()
      	if necessary.
      	(gtk_notebook_button_release): Use stop_scrolling().
      	(gtk_notebook_draw_arrow): Fix drawing of insensitive arrows.
      
      	* gtk/gtkrange.c (stop_scrolling): New function to remove the
      	grab, remove the timer and queue a redraw.
      	(gtk_range_grab_notify):
      	(gtk_range_state_changed): New functions to call stop_scrolling()
      	if necessary.
      	(gtk_range_button_release): Use stop_scrolling().
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_grab_notify):
      	(gtk_spin_button_state_changed): Redraw after stop_spinning.
      	(gtk_spin_button_stop_spinning): Reset click_child to correct the
      	drawing of the arrows.
      	(gtk_spin_button_button_release): Use a local copy of click_child,
      	since stop_spinning() resets it.
      feefa270
  31. 28 Mar, 2003 1 commit
  32. 05 Feb, 2003 1 commit
  33. 01 Feb, 2003 1 commit
  34. 30 Jan, 2003 1 commit
  35. 15 Jan, 2003 1 commit
  36. 10 Dec, 2002 1 commit
    • Soeren Sandmann's avatar
      new default color scheme based on the GNOME stock icon palette. (#80691, · 439d61b9
      Soeren Sandmann authored
      Tue Dec 10 12:40:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkmenuitem.c, gtk/gtkstyle.c, gtk/gtkrc.c: new default
      	color scheme based on the GNOME stock icon palette. (#80691,
      	Tuomas Kuosmanen, Garrett LeSage, Owen Taylor)
      
      	* gtk/gtknotebook.c (gtk_notebook_real_remove): take a new
      	parameter, "destroying", and don't emit the switch-page signals
      	when it is true (fix #64832, reported by Jarred Keuch)
      
      	* gtk/gtklabel.c (gtk_label_set_property): remove unused
      	variable.
      439d61b9
  37. 28 Nov, 2002 1 commit
  38. 20 Nov, 2002 1 commit
    • Manish Singh's avatar
      add -DGTK_DISABLE_DEPRECATED. #undef it at the top of gtktypebuiltins.c. · bc035915
      Manish Singh authored
      Tue Nov 19 17:05:51 2002 Manish Singh  <yosh@gimp.org>
      
      	* gtk/Makefile.am: add -DGTK_DISABLE_DEPRECATED. #undef it at the
      	top of gtktypebuiltins.c.
      
      	* gtk/gtkclist.c
      	* gtk/gtkcombo.c
      	* gtk/gtkctree.c
      	* gtk/gtklist.c
      	* gtk/gtklistitem.c
      	* gtk/gtkoldeditable.c
      	* gtk/gtkpixmap.c
      	* gtk/gtkpreview.c
      	* gtk/gtksignal.c
      	* gtk/gtktext.c
      	* gtk/gtktipsquery.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c
      	* gtk/gtktypeutils.c: #undef GTK_DISABLE_DEPRECATED, deprecated widgets
      	and compat code.
      
      	* gtk/gtkcolorsel.c: move gtk_color_selection_set_color implementation
      	to set_color_internal, and use that. The deprecated function now
      	merely wraps it.
      
      	* gtk/gtkfontsel.c: same as above, except with
      	gtk_font_selection_get_font.
      
      	* gtk/gtknotebook.c: same as above, except with
      	gtk_notebook_set_homogeneous, and gtk_notebook_set_tab_{border,
      	hborder,vborder}.
      
      	* gtk/gtkprogressbar.c: same as above, except with
      	gtk_progress_bar_set_{bar_stype,discrete_blocks,activity_step,
      	activity_blocks}.
      
      	* gtk/gtkstyle.c: same as above, except with gtk_style_get_font.
      
      	* gtk/gtkwidget.c: same as above, except with gtk_widget_set_usize.
      
      	* gtk/gtkitemfactory.h: declare compatibility functions for deprecated
      	GtkMenuFactory stuff if GTK_COMPILATION, since they are used
      	internally by the compat code.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	use of deprecated gtk_check_menu_item_set_show_toggle (it is a noop
      	now).
      
      	* gtk/gtkmain.c: replaced deprecated GTK_TYPE_* with G_TYPE_*.
      
      	* gtk/gtkobject.c: replaced various deprecated functions. In set and
      	get_property, use g_object_{set,get}_data with "user_data" instead
      	of gtk_object_{set,get}_user_data.
      
      	* gtk/gtkprogress.h: API declared if GTK_COMPILATION
      
      	* gtk/gtkprogress.c: port get_type to GObject API.
      
      	* gtk/gtktypeutils.h: declare GtkArg stuff and gtk_type_init,
      	if GTK_COMPILATION.
      
      	* gtk/gtkwidget.c: define gtk_widget_queue_clear in terms of
      	gtk_widget_queue_draw instead of the other way around.
      
      	* tests/Makefile.am: define -DGTK_DISABLE_DEPRECATED
      
      	* tests/testgtk.c
      	* tests/testselection.c
      	* tests/testsocket.c: #undef GTK_DISABLE_DEPRECATED, makes use of
      	deprecated stuff.
      bc035915