1. 28 Nov, 2005 7 commits
  2. 27 Nov, 2005 5 commits
    • Matthias Clasen's avatar
      Fix an example. (#322493, Elie De Brauwer) · d3a05fe0
      Matthias Clasen authored
      2005-11-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup):
      	Fix an example.  (#322493, Elie De Brauwer)
      d3a05fe0
    • Matthias Clasen's avatar
      Fix two memory handling problems in GtkTreeView: (#322350, Søren · 7014ef00
      Matthias Clasen authored
      2005-11-27  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix two memory handling problems in GtkTreeView: (#322350,
      	Søren Sandmann)
      
      	* gtk/gtktreeview.c (gtk_tree_view_destroy)
      	(gtk_tree_view_set_model): Remove all references to nodes in
      	the old model.
      	(gtk_tree_view_real_collapse_row): Unmark expanded_collapsed_node
      	before removing the children.
      7014ef00
    • Matthias Clasen's avatar
      Don't leak a PangoLayout here. (#322505, Paolo Borelli) · 66627293
      Matthias Clasen authored
      2005-11-27  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcolorbutton.c (gtk_color_button_init): Don't leak a
      	PangoLayout here.  (#322505, Paolo Borelli)
      66627293
    • Tor Lillqvist's avatar
      Once again rework Win32 window decoration code. Doesn't break #104514. The · 3ff34d06
      Tor Lillqvist authored
      2005-11-27  Tor Lillqvist  <tml@novell.com>
      
      	Once again rework Win32 window decoration code. Doesn't break
      	#104514. The dialogs in gtk-demo now have the same decorations and
      	behaviour as on X11. Tried to fix #322516 but it seems very hard
      	to make the trivial sample program there behave as expected. OTOH,
      	simply moving the gtk_window_decorate() call in the #322516 sample
      	program after the call to gtk_widget_show() helps...
      
      	* gdk/win32/gdkwindow-win32.c (set_or_clear_style_bits): Revert to
      	the correct semantics. Each call to gdk_window_set_decorations()
      	which calls this function is supposed to affect all decorations.
      
      	(decorate_based_on_hints): New function, looks at both geometry
      	hints and type hint and sets window decorations based on
      	that. Consolidate code from gdk_window_set_geometry_hints() and
      	gdk_window_set_type_hint() here.
      
      	(gdk_window_set_geometry_hints, gdk_window_set_type_hint): Call
      	decorate_based_on_hints().
      3ff34d06
    • Tor Lillqvist's avatar
      Revert to the correct semantics. (#322516) · 57514934
      Tor Lillqvist authored
      2005-11-27  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkwindow-win32.c (set_or_clear_style_bits): Revert to
      	the correct semantics. (#322516)
      	(gdk_window_set_geometry_hints): Adjust call correspondingly.
      57514934
  3. 25 Nov, 2005 1 commit
  4. 24 Nov, 2005 1 commit
    • Michael Natterer's avatar
      changed two private guint that used to hold signal handler IDs to two · ff7a0922
      Michael Natterer authored
      2005-11-24  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktoolbar.h (struct _GtkToolbar): changed two private guint
      	that used to hold signal handler IDs to two guint of padding.
      
      	* gtk/gtktoolbar.c (struct _GtkToolbarPrivate): added them as
      	gulong here.
      
      	(gtk_toolbar_screen_changed): changed accordingly.
      ff7a0922
  5. 23 Nov, 2005 9 commits
    • 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
    • Matthias Clasen's avatar
      Document symbolic colors and color expressions. · 9856c1b2
      Matthias Clasen authored
      2005-11-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/tmpl/gtkrc.sgml: Document symbolic colors and
      	color expressions.
      9856c1b2
    • Behdad Esfahbod's avatar
      Fix typo when checking libtool config deplibs_check_method. Moreover, · 124f1d71
      Behdad Esfahbod authored
      2005-11-23  Behdad Esfahbod  <behdad@gnome.org>
      
              * configure.in (enable_explicit_deps): Fix typo when checking
              libtool config deplibs_check_method. Moreover, enable explicit
              deps if we get anything other than pass_all from libtool. (part of
              #318750)
      124f1d71
    • Behdad Esfahbod's avatar
      Added: ? gtk/gtkbuiltincache.h ? gtk/stock-icons/icon-theme.cache · 033087bb
      Behdad Esfahbod authored
      Added:
      ? gtk/gtkbuiltincache.h
      ? gtk/stock-icons/icon-theme.cache
      033087bb
    • Matthias Clasen's avatar
      Don't create a big string, since Visual C++ doesn't like strings longer · 80074638
      Matthias Clasen authored
      2005-11-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/updateiconcache.c (write_csource): Don't create a big
      	string, since Visual C++ doesn't like strings longer than 64k.
      	(#322238, Kazuki IWAMOTO
      80074638
    • Matthias Clasen's avatar
      Include gtkimcontextsimple.h (#322235, Kazuki IWAMOTO) · fce9359e
      Matthias Clasen authored
      2005-11-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentry.c: Include gtkimcontextsimple.h  (#322235,
      	Kazuki IWAMOTO)
      fce9359e
    • Michael Natterer's avatar
      don't leak all toplevel windows on other screens (correctly remove all · a2f19568
      Michael Natterer authored
      2005-11-23  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkrc.c (gtk_rc_reset_widgets): don't leak all toplevel
      	windows on other screens (correctly remove all temporary
      	references).
      a2f19568
    • Michael Natterer's avatar
      add gtk_style_lookup_color · ab9c57d3
      Michael Natterer authored
      2005-11-23  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk-sections.txt: add gtk_style_lookup_color
      ab9c57d3
    • Michael Natterer's avatar
      Added symbolic themable colors. Patch is a merged version of proposals · de3155a4
      Michael Natterer authored
      2005-11-23  Michael Natterer  <mitch@imendio.com>
      
      	Added symbolic themable colors. Patch is a merged version of
      	proposals from Matthias and maemo-gtk. Fixes bug #114355.
      
      	* configure.in: require glib >= 2.9.1 for refcountable hashtables.
      
      	* gtk/gtksettings.c: added property "color-scheme" which is a
      	string defining colors like "foreground:black\nbackground:grey".
      	Automatically provide a name->GdkColor hash table mapping for the
      	color scheme.
      
      	* gtk/gtkrc.[ch]: added list of color hashes that works like the
      	list of icon factories. Append the color scheme hash from
      	GtkSettings if it exists. Extended gtkrc syntax to allow defining
      	and referencing of logical colors. Also allow to modulate colors
      	in gtkrc by using arbitrary expressions of mix(), shade(),
      	lighter() and darker(). Added internal function
      	_gtk_rc_style_get_color_hashes().
      
      	* gtk/gtkstyle.[ch]: keep a private list of color hashes around.
      	Get the list from _gtk_rc_style_get_color_hashes(). Export
      	internal function _gtk_style_shade() (used by above color
      	expressions). Added public API gtk_style_lookup_color() which
      	looks up a logical color by name.
      
      	* gtk/gtk.symbols: add gtk_style_lookup_color
      
      	* tests/testgtkrc: use symbolic colors for making
      	the scrollbars red.
      de3155a4
  6. 22 Nov, 2005 3 commits
    • 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
    • Anders Carlsson's avatar
      Add quartz backend. · 1097260a
      Anders Carlsson authored
      2005-11-21  Anders Carlsson  <andersca@imendio.com>
      
              * configure.in:
              * gtk/Makefile.am:
              * gdk/Makefile.am:
      	* gdk/quartz/*:
      	Add quartz backend.
      
              * docs/tools/Makefile.am:
      	Only build docshooter when the X11 backend is used.
      
              * gtk/gtkplug-stub.c:
      	Include gtkplug.h here.
      
              * gtk/gtksocket-stub.c:
      	Include gtksocket.h here.
      1097260a
    • Anders Carlsson's avatar
      Add quartz backend. · fbebb232
      Anders Carlsson authored
      2005-11-21  Anders Carlsson  <andersca@imendio.com>
      
              * configure.in:
              * gtk/Makefile.am:
              * gdk/Makefile.am:
              * gdk/quartz/*:
              Add quartz backend.
      
              * docs/tools/Makefile.am:
              Only build docshooter when the X11 backend is used.
      
              * gtk/gtkplug-stub.c:
              Include gtkplug.h here.
      
              * gtk/gtksocket-stub.c:
              Include gtksocket.h here.
      fbebb232
  7. 21 Nov, 2005 7 commits
  8. 20 Nov, 2005 1 commit
  9. 19 Nov, 2005 2 commits
    • Theppitak Karoonboonyanan's avatar
      Fixed typo. · 3e85dac1
      Theppitak Karoonboonyanan authored
      2005-11-19  Theppitak Karoonboonyanan  <thep@linux.thai.net>
      
      	* th.po: Fixed typo.
      3e85dac1
    • Matthias Clasen's avatar
      Fix crashes in connection with pathbar scrolling (#321560, Bogdan Nicula) · 6e4a379e
      Matthias Clasen authored
      2005-11-18  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix crashes in connection with pathbar scrolling (#321560,
      	Bogdan Nicula)
      
      	* gtk/gtkpathbar.c (gtk_path_bar_update_slider_buttons):
      	Stop scrolling when desensitising slider buttons.
      	(gtk_path_bar_scroll_timeout, gtk_path_bar_slider_button_press):
      	And use it here.
      
      	* gtk/gtkpathbar.h (struct _GtkPathBar): Add a separate
      	scrolling_down flag.
      6e4a379e
  10. 18 Nov, 2005 3 commits
  11. 17 Nov, 2005 1 commit