1. 22 Mar, 2006 3 commits
    • Matthias Clasen's avatar
      Emit the ::page-removed signal after removing the page. (#335238, · bbd8b9a5
      Matthias Clasen authored
      2006-03-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed
      	signal after removing the page.  (#335238, Christian Persch)
      bbd8b9a5
    • Matthias Clasen's avatar
      Improved DND support for GtkNotebook (#332991, Carlos Garnacho) · 411d798e
      Matthias Clasen authored
      2006-03-22  Matthias Clasen  <mclasen@redhat.com>
      
      	Improved DND support for GtkNotebook  (#332991, Carlos Garnacho)
      
      	* gtk/gtk.symbols:
      	* gtk/gtkdnd.h:
      	* gtk/gtkdnd.c: Add a track_motion flag on GtkDragDest
      	with getter and setter, for cases where the drag destination
      	is interested in drag motion events independent of targets.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Add a setting
      	for the timeout used when expanding during DND.
      
      	* gtk/gtknotebook.c: Use the track_motion flag to switch
      	notebook tabs when hovering over tabs during DND.
      411d798e
    • Carlos Garnacho's avatar
      send a GtkWidget** instead of a GtkNotebookPage* when doing tabs DnD, this · f77c0fb1
      Carlos Garnacho authored
      2006-03-22  Carlos Garnacho  <carlosg@gnome.org>
      
              * gtk/gtknotebook.c: send a GtkWidget** instead of a GtkNotebookPage*
              when doing tabs DnD, this allows DnD interaction with other widgets,
              added some docs for this too.
              * tests/testnotebookdnd.c: add some code to test it.
      f77c0fb1
  2. 21 Mar, 2006 1 commit
    • Matthias Clasen's avatar
      Don't leave page->tab_label dangling. (gtk_notebook_real_remove): Use · 7ae595b9
      Matthias Clasen authored
      2006-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): Don't leave
      	page->tab_label dangling.
      	(gtk_notebook_real_remove): Use GTK_IN_DESTRUCTION.
      	(gtk_notebook_destroy): Leave the removal of the children
      	to the container destroy method.  (#319032, Yevgen Muntyan)
      
      2006-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_remove): Use the existing
      	GTK_IN_DESTRUCTION flag, rather than roll our own.
      7ae595b9
  3. 08 Mar, 2006 1 commit
    • Carlos Garnacho's avatar
      Rename ::tab-added and ::tab-removed signals to ::page-added and · 9fc7bdc3
      Carlos Garnacho authored
      2006-03-08  Carlos Garnacho  <carlosg@gnome.org>
      
              Rename ::tab-added and ::tab-removed signals to ::page-added and
              ::page-removed for not conflicting with other tab reordering
              implementations. Fixes bug #333743.
      
              Also rename ::tab-reordered to ::page-reordered, and emit it in
              gtk_notebook_reorder_child () to make it behave consistently with the
              other two signals.
      
              * gtk/gtknotebook.c (gtk_notebook_class_init): rename signals.
              (gtk_notebook_reorder_tab)
              (gtk_notebook_button_release)
              (gtk_notebook_remove)
              (gtk_notebook_real_insert_page): emit respectively renamed signals
              (gtk_notebook_reorder_child): also emit ::page-reordered here
      
              * tests/testnotebookdnd.c: use renamed signals
      9fc7bdc3
  4. 23 Feb, 2006 1 commit
    • Matthias Clasen's avatar
      Add a reorder_tab keynav signal and an insert_page vfunc to GtkNotebook. · 2bec6c3f
      Matthias Clasen authored
      2006-02-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtknotebook.h: Add a reorder_tab keynav signal and an
      	insert_page vfunc to GtkNotebook.
      
      	* gtk/gtk.symbols:
      	* gtk/gtknotebook.c: Support notebook DND. New API includes
      	gtk_notebook_set_window_creation_hook,
      	gtk_notebook_[gs]et_group_id,
      	gtk_notebook_[gs]et_tab_reorderable,
      	gtk_notebook_[gs]et_tab_detachable (#73240, Carlos Garnacho)
      2bec6c3f
  5. 22 Feb, 2006 1 commit
  6. 20 Feb, 2006 1 commit
  7. 12 Jan, 2006 1 commit
  8. 23 Nov, 2005 1 commit
    • Tim Janik's avatar
      deprecated floating/sink API and implemented it in terms of the GObject · fbb2e3f4
      Tim Janik authored
      Wed Nov 23 18:55:47 2005  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it
              in terms of the GObject floating/sink API.
      
              * gtk/gtkaboutdialog.c:
              * gtk/gtkaction.c:
              * gtk/gtkcellview.c:
              * gtk/gtkclist.c:
              * gtk/gtkcolorsel.c:
              * gtk/gtkcombobox.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkiconview.c:
              * gtk/gtkinvisible.c:
              * gtk/gtkitemfactory.c:
              * gtk/gtklayout.c:
              * gtk/gtkmenu.c:
              * gtk/gtkmenutoolbutton.c:
              * gtk/gtknotebook.c:
              * gtk/gtkprogress.c:
              * gtk/gtkrange.c:
              * gtk/gtkspinbutton.c:
              * gtk/gtkstatusicon.c:
              * gtk/gtktext.c:
              * gtk/gtktextview.c:
              * gtk/gtktoolbar.c:
              * gtk/gtktoolbutton.c:
              * gtk/gtktoolitem.c:
              * gtk/gtktreeitem.c:
              * gtk/gtktreeview.c:
              * gtk/gtktreeviewcolumn.c:
              * gtk/gtkuimanager.c:
              * gtk/gtkviewport.c:
              * gtk/gtkwidget.c:
              * gtk/gtkwindow.c:
              ported to use GObject's g_object_ref_sink().
      
              * gtk/gtkcolorsel.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkaboutdialog.c:
              fixed compiler warnings.
      fbb2e3f4
  9. 22 Nov, 2005 1 commit
    • Michael Natterer's avatar
      Made button-press timeouts which work like key repeat timeouts · dfa4870b
      Michael Natterer authored
      2005-11-22  Michael Natterer  <mitch@imendio.com>
      
      	Made button-press timeouts which work like key repeat timeouts
      	configurable. Addresses bug #142582:
      
      	* gtk/gtksettings.c: added properties "gtk-timeout-initial" and
      	"gtk-timeout-repeat" which defalt to 200/20 (ms).
      
      	Use the values from GtkSettings instead of hardcoding them
      	(the repeat value is either taken as-is for fast repeat or
      	multiplied by 5 for slow repeat). Changed all places to use these
      	two standard initial/repeat timings:
      
      	* gtk/gtkcalendar.c (unchanged 200/20)
      	* gtk/gtknotebook.c (unchanged 200/100)
      	* gtk/gtkpathbar.c (changed from 300/150 to 200/100)
      	* gtk/gtkrange.c (changed from 250/100 to 200/100)
      	* gtk/gtkspinbutton.c (unchanged 200/20)
      dfa4870b
  10. 13 Sep, 2005 1 commit
  11. 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
  12. 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
  13. 27 Jul, 2005 1 commit
  14. 26 Jul, 2005 1 commit
  15. 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
  16. 26 Mar, 2005 1 commit
  17. 22 Mar, 2005 2 commits
  18. 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
  19. 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
  20. 27 Sep, 2004 1 commit
  21. 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
  22. 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
  23. 25 Jul, 2004 1 commit
  24. 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
  25. 03 Jul, 2004 1 commit
  26. 25 Jun, 2004 1 commit
  27. 06 Mar, 2004 1 commit
  28. 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
  29. 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
  30. 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
  31. 11 Dec, 2003 1 commit
  32. 08 Dec, 2003 1 commit
  33. 03 Sep, 2003 1 commit
  34. 25 Aug, 2003 1 commit
  35. 07 Aug, 2003 1 commit
  36. 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
  37. 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