gtk/gdk
Owen Taylor fbfc305174 Allow %NULL for style to mean "revert to default style"
Tue Jun 26 19:39:03 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_set_style): Allow %NULL
	for style to mean "revert to default style"

	* gtk/gtkwidget.[ch] (gtk_widget_set_rc_style,
	  gtk_widget_restore_default_style): Make this functions
	deprecated aliases for gtk_widget_set_style (widget, NULL).

	* gtk/gtkwidget.[ch]: Remove:
	   gtk_widget_set_default_style ()
	   gtk_widget_push_style ()
	   gtk_widget_pop_style ()
	These functions interact are overriden by RC files, and
	thus virtually useless, and complicated.

Fri Jun 22 18:49:48 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c: Add a GtkRcContext structure to hold
	most of the previous global variables in gtkrc.c. This is
	in preparation for multi-head, since each screen can
	have different GtkSettings and RC information.

	* gtk/gtkrc.[ch]:

	* gtk/gtkrc.h (struct _GtkRcStyleClass): Add a
	GtkSettings parameter to GtkRcStyle::parse.

	* gdk/x11/gdkevents-x11.c gtk/gtksettings.c gtk/gtkrc.c:
	Add two new settings gtk-theme-name, gtk-key-theme-name,
	for RC files that are loaded by name after reading
	the default RC files.

	* gtk/gtkrc.c: Allow priorities for styles, as wll as
	bindings.

	* gtk/gtkenums.h gtk/gtkrc.c: Add GTK_PATH_PRIO_THEME,
	and use it by default for RC files loaded via
	gtk-theme-name, gtk-key-theme-name.

	* gtk/gtkiconfactory.c (gtk_icon_source_set_filename)
        gtk/gtkrc.c (gtk_rc_parse_pixmap_path_string)
	tests/testgtkrc: Require pathnames to be absolute.

	* gtk/gtkrc.c gtk/gtkiconfactory.c: Look up the full filename for
	the source when parsing, since the operation of looking up a
	pixmap from an RC file depends on the parsing context.

	* gtk/gtkrc.c (gtk_rc_context_reparse_all): Automatically
	reset RC styles on all widgets when files are reparsed.

	* tests/testgtk.c (create_rc_file)
	  gtk/gtkwindow.c (gtk_window_read_rcfiles):
	Simplify, now that gtk_rc_reparse_all() resets styles on
	all widgets itself.

	* gtk/gtkmain.c (gtk_get_default_language): Fix broken
	return value.

	* gtk/gtksettings.[ch] (gtk_settings_install_property[_ch]): Remove
	GtkSettings argument.

	* gtk/gtksettings.[ch] (gtk_settings_get_default): Rename from
	gtk_settings_get_global().

	* gtk/gtkwidget.[ch]: Add a function gtk_widget_Get_settings()
	to get the appropriate GtkSettings for a widget. (For now,
	just gets the default GtkSetttings.)

	* gtk/gtkcolorsel.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtkmenubar.c
	  gtk/gtktextview.c gtk/gtktoolbar.c: Fixes for GtkSettings
        changes.

	* gtk/gtkrc.[ch]: Add gtk_rc_get_style_by_paths() to allow
	getting a style for a path without actually having a widget.
	(Allows using a style for a subpart of a widget, for
	example.)

	* gtk/gtkrc.[ch]: Add gtk_rc_reparse_all_for_setting() to allow forcing
	the RC files to be reloaded for just one GtkSettings
	(not sure how useful this really is.)

	* gtk/gtkrc.h: Deprecate
	gtk_rc_add_widget_name/widget_class/class_style
2001-06-30 16:08:25 +00:00
..
linux-fb Convert GdkDevice to a GObject. 2001-06-30 04:30:32 +00:00
nanox Add dependency on Atk for accessibility support. 2001-05-03 20:11:14 +00:00
win32 updated externals 2001-06-22 14:08:51 +00:00
x11 Allow %NULL for style to mean "revert to default style" 2001-06-30 16:08:25 +00:00
.cvsignore shut up CVS 2001-04-03 23:11:15 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c Fix args to g_type_init(). 2001-06-29 02:54:55 +00:00
gdk.def updated externals 2001-06-22 14:08:51 +00:00
gdk.h Add missing gdk_rectangle_get_type() prototype. 2001-06-14 20:41:44 +00:00
gdkcolor.c Convert GdkVisual to a GObject. 2001-06-30 02:56:50 +00:00
gdkcolor.h Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
gdkcompat.h Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkconfig.h.win32 Fix typo. 1999-11-21 21:21:58 +00:00
gdkcursor.c The following changes correspond to bug #56812 2001-06-28 16:35:38 +00:00
gdkcursor.h The following changes correspond to bug #56812 2001-06-28 16:35:38 +00:00
gdkcursors.h Merge from themes-2. See the ChangeLog for a somewhat detailed 1998-11-06 22:05:02 +00:00
gdkdnd.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkdraw.c Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gdkdrawable.h add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkevents.c Convert GdkVisual to a GObject. 2001-06-30 02:56:50 +00:00
gdkevents.h !GTK_OBJECT_DESTROYED() -> GTK_WIDGET_REALIZE() for resize queueing. 2001-06-28 22:49:20 +00:00
gdkfont.c Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
gdkfont.h added all exports required to link PyGtk 0.7.1 2001-04-16 12:46:02 +00:00
gdkgc.c add --deprecated-guards 2001-02-20 05:21:44 +00:00
gdkgc.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkglobals.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdki18n.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkimage.c Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gdkimage.h Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gdkinput.h Convert GdkVisual to a GObject. 2001-06-30 02:56:50 +00:00
gdkinternals.h Remove old XIM code. 2001-03-09 20:28:20 +00:00
gdkkeys.c Add a direction-changed signal, and gdk_keymap_get_current_direction(). 2001-06-08 16:07:00 +00:00
gdkkeys.h Add a direction-changed signal, and gdk_keymap_get_current_direction(). 2001-06-08 16:07:00 +00:00
gdkkeysyms.h Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkkeyuni.c Handle numeric keypad keysyms; bug #50201 2001-04-18 20:33:26 +00:00
gdkpango.c Add missing gdk_rectangle_get_type() prototype. 2001-06-14 20:41:44 +00:00
gdkpango.h Doc fixes 2001-03-04 00:12:55 +00:00
gdkpixbuf-drawable.c Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gdkpixbuf-render.c Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gdkpixbuf.h Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gdkpixmap.c return solid masks for xpms that have no transparent color. This makes the 2001-02-23 13:35:16 +00:00
gdkpixmap.h s/GdkPixmapClass/GdkPixmapObjectClass/. (#51890, Jeff Franks) 2001-06-05 15:05:21 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkprivate.h removed 2001-03-15 00:43:44 +00:00
gdkproperty.h Use $PKG_CONFIG, not pkg-config. (#51032) 2001-05-29 21:42:20 +00:00
gdkrectangle.c Add GDK_TYPE_RECTANGLE. 2001-06-01 15:44:13 +00:00
gdkregion-generic.c use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h use _gdk_region_get_xrectangles() 2001-03-02 20:02:17 +00:00
gdkrgb.c Patch from ChiDeok Hwang to move call to sync_selection() up a few lines 2001-03-02 17:06:14 +00:00
gdkrgb.h GDK_DISABLE_COMPAT_H, GDK_DISABLE_DEPRECATED (we need to merge those two 2001-02-19 20:38:15 +00:00
gdkselection.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdktypes.h fix this to be sane 2000-12-04 23:04:17 +00:00
gdkvisual.h Convert GdkVisual to a GObject. 2001-06-30 02:56:50 +00:00
gdkwindow.c Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gdkwindow.h new function for mapping a window without fooling with stacking order, but 2001-06-28 05:24:00 +00:00
makeenums.pl Add GdkEventSetting event for notification of changes to system settings, 2001-04-02 23:33:47 +00:00
Makefile.am Start checks for X from pangox/pangoxft CFLAGS to avoid duplicate 2001-05-20 18:25:34 +00:00
makefile.mingw.in Add gdkkeys. 2000-12-14 23:14:18 +00:00
makefile.msc updated exports 2001-05-06 14:02:45 +00:00
testgdk.c Update. 2000-10-09 19:49:42 +00:00
TODO Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00