1. 20 May, 2014 1 commit
    • Matthias Clasen's avatar
      docs: enum cleanup · 04192d04
      Matthias Clasen authored
      Move types that are only used in binding parsing to
      gtkrc, together with the deprecated api.
      04192d04
  2. 05 Feb, 2014 1 commit
  3. 28 Jan, 2014 1 commit
  4. 21 Jan, 2014 5 commits
  5. 20 Jan, 2014 1 commit
  6. 05 May, 2013 1 commit
  7. 28 Dec, 2012 1 commit
  8. 27 Feb, 2012 2 commits
  9. 02 Nov, 2011 1 commit
  10. 11 Oct, 2011 1 commit
  11. 19 Apr, 2011 1 commit
  12. 18 Dec, 2010 1 commit
    • Carlos Garnacho's avatar
      Remove dead Gtk[Rc]Style code · 56c3d4b1
      Carlos Garnacho authored
      Most code in gtkrc.c has been turned into a no-op, but that one
      reverting in public API (gtk_rc_scanner_new() and such). GtStyle
      is also more shallow, now fully relies in the backing
      GtkStyleContext and all connection to gtkrc.c has been removed.
      
      GtkBinding has been also affected, there is no replacement yet
      for custom keybindings in style files, so that piece of code that
      hooked into gtkrc has been replaced by a FIXME so in the future
      it may be added back.
      56c3d4b1
  13. 04 Dec, 2010 1 commit
  14. 30 Aug, 2010 1 commit
  15. 02 May, 2010 2 commits
  16. 29 Apr, 2010 1 commit
  17. 01 Jul, 2008 1 commit
  18. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  19. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmen...
      eff99c28
  20. 08 Jun, 2007 1 commit
    • Matthias Clasen's avatar
      Make it possible for theme engines to support symbolic colors. (#426192, · 3c49e2ef
      Matthias Clasen authored
      2007-06-08  Matthias Clasen  <mclasen@redhat.com>
      
              Make it possible for theme engines to support symbolic 
              colors.  (#426192, Andrea Cimitan, patch by Olivier Samyn)
      
              * gtk/gtk.symbols:
              * gtk/gtkrc.h:
              * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function
      
              * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
              to new style before parsing engine section.
      
      svn path=/trunk/; revision=18081
      3c49e2ef
  21. 06 Jun, 2007 1 commit
    • Yevgen Muntyan's avatar
      new method, gtk_widget_modify_cursor() (#89314). · 2cbaeadf
      Yevgen Muntyan authored
      2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtkwidget.c:
      	* gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#89314).
      
      	* gtkrc.c:
      	* gtkrc.h: new functions _gtk_rc_style_set_rc_property() and
      	_gtk_rc_style_unset_rc_property().
      
      	* gtk/gtk.symbols: added gtk_widget_modify_cursor.
      
      	* tests/testtext.c (do_cursor_visible_changed):
      	* tests/testgtk.c (create_styles): test it.
      
      
      svn path=/trunk/; revision=18066
      2cbaeadf
  22. 27 Jan, 2007 1 commit
  23. 05 Oct, 2006 1 commit
    • Michael Natterer's avatar
      added new scanner token "unbind" which gets rid of a key binding (in fact, · a3b67535
      Michael Natterer authored
      2006-10-05  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
      	rid of a key binding (in fact, it only lets it appear unbound).
      
      	* gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
      	"guint marks_unbound : 1"
      
      	(gtk_binding_entry_skip): new API which marks the entry as unbound.
      
      	Changed code so it returns FALSE when "marks_unbound == TRUE" is
      	encountered while activating bindings, effectively letting the
      	binding appear unbound (regardless of still existing bindings in
      	lower binding priority levels). Fixes bug #358329.
      
      	(gtk_binding_entry_add)
      	(gtk_binding_entry_clear)
      	(gtk_binding_entry_add_signall)
      	(gtk_binding_parse_binding): deprected these functions.
      
      	(_gtk_binding_parse_binding)
      	(_gtk_binding_entry_add_signall): new internal API.
      
      	* gtk/gtk.symbols: changed accordingly.
      a3b67535
  24. 21 Jul, 2006 1 commit
    • Matthias Clasen's avatar
      New function to destroy an rc context. · fee9accb
      Matthias Clasen authored
      2006-07-21  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkrc.h:
      	* gtk/gtkrc.c (_gtk_rc_context_destroy): New function to
      	destroy an rc context.
      
      	* gtk/gtksettings.c (gtk_settings_finalize): Destroy the rc context.
      	(gtk_settings_get_for_screen): Unref the settings when the screen
      	goes away. (#348096, Chris Wilson)
      fee9accb
  25. 23 Mar, 2006 1 commit
    • Matthias Clasen's avatar
      Support subclasses in RC files. (#142417, Todd Berman, patch based on a · ac879843
      Matthias Clasen authored
      2006-03-23  Matthias Clasen  <mclasen@redhat.com>
      
      	Support subclasses in RC files.  (#142417, Todd Berman, patch
      	based on a patch by Benjamin Berg)
      
      	* gtk/gtkrc.h:
      	* gtk/gtkrc.c: Support <classname> elements in widget_class paths
      	in rc files which match any classes derived from named class.
      
      	(_gtk_rc_init): Use the new syntax in the default rc string.
      
      	* gtk/gtkbindings.c: Support the new syntax for bindings too.
      
      	* tests/testrc.c: Tests for widget_class path matching
      ac879843
  26. 23 Nov, 2005 1 commit
    • 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
  27. 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
  28. 12 Dec, 2004 1 commit
    • Tor Lillqvist's avatar
      gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.c · f3da1705
      Tor Lillqvist authored
      2004-12-12  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkaccelmap.[ch]
      	* gtk/gtkfilechooser.[ch]
      	* gtk/gtkfilesel.c
      	* gtk/gtkfilesystemwin32.c
      	* gtk/gtkiconfactory.[ch]
      	* gtk/gtkicontheme.[ch]
      	* gtk/gtkimage.[ch]
      	* gtk/gtkimmodule.c
      	* gtk/gtkmodules.c
      	* gtk/gtkrc.[ch]
      	* gtk/gtkuimanager.[ch]
      	* gtk/gtkwindow.[ch]
      	* gtk/updateiconcache.c
      	* gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert
      	environment variables referring to pathnames from locale encoding
      	to UTF-8. As in GLib, in order to preserve Windows DLL ABI
      	stability, add binary compatibility versions of functions that
      	take file names as arguments, or return file names. Add a _utf8
      	suffix to the "real" such functions on Windows. The ABI
      	compatibility versions keep the old name.
      
      	* gtk/Makefile.am: Strip PRIVATE symbols from the GNU import
      	library.
      
      	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement
      	file mapping on Win32.
      
      	* gtk/updateiconcache.c: Don't cr...
      f3da1705
  29. 26 Feb, 2004 1 commit
  30. 03 Sep, 2003 1 commit
  31. 24 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Make icon sizes configurable (#70648, slightly based on a patch from Bill · 15896b96
      Owen Taylor authored
      Tue Sep 24 16:40:14 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Make icon sizes configurable (#70648, slightly based
      	on a patch from Bill Haneman, Brian Cameron)
      
      	* gtk/gtkiconfactory.[ch]: Add
      	gtk_icon_size_lookup_for_settings().
      
      	* gtk/gtksettings.c: Add gtk-icon-sizes XSETTING
      
      	* gtk/gtkiconfactory.c: Make icon sizes per-GtkSettings.
      
      	* gtk/gtkstyle.c: Use gtk_icon_size_lookup_for_settings()
      
      	* gtk/gtkrc.[ch]: Privately export _gtk_rc_reset_styles()
      	to force all the widgets to recompute their appearance.
      15896b96
  32. 01 Aug, 2002 1 commit
    • Owen Taylor's avatar
      New demo for window migration between different displays and screens. · 63489392
      Owen Taylor authored
      Thu Aug  1 19:09:39 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* demos/gtk-demo/changedisplay.c: New demo for
      	window migration between different displays and screens.
      
      	* gtk/gtkrc.c gtkstyle.[ch]: Add
      	_gtk_style_init_for_settings(), so that gtkrc.c
      	can initialize the styles it creates for the
      	right display.
      
      	* gdk/gdkdisplaymanager.c (gdk_screen_get_default)
      	* gtk/gtksettings.c (gtk_settings_get_default)
      	* gtk/gtkstyle.c (gtk_style_init): Handle absence of
      	a default screen.
      
      	* gdk/x11/gdkmain-x11.c (_gdk_windowing_set_default_display):
      	Handle display == NULL.x
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): Free the
      	event queue.
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkdisplay-x11.c:
      	Remove the event source when closing a display.
      
      	* gdk/gdkdisplay.[ch]: Add a ::closed signal, dispose()
      	isn't convenient enough by itself.
      
      	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb):
      	Create foreign windows for watch windows if there isn't
      	an existing window, instead of installing a global filter.
      
      	* gdk/x11/gdkscreen-x11.c gdk/x11/gdkprivate-x11.h
      	gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen):
      	Clean up the xsettings_client when we are done with
      	it.
      
      	* gdk/x11/gdkevents-x11.c (_gdk_events_init): Remove
      	excess call to _gdk_x11_events_init_screen()
      63489392
  33. 03 Mar, 2002 1 commit