Commit graph

21 commits

Author SHA1 Message Date
Lauris Kaplinski
0335c74339 Fixed carsh on keypresses in icon view, added item activation on enter 2002-03-10 15:04:22 +00:00
Bradford Hovinen
f81c1a2a30 Only add the timeout for cleanup if we are in a root renderer; we don't
2002-02-17  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (bg_applier_apply_prefs): Only add the timeout for
	cleanup if we are in a root renderer; we don't need it for
	preview
2002-02-17 22:49:30 +00:00
Bradford Hovinen
8d1236a2d2 We need to reload the wallpaper pixbuf if it is enabled and not loaded
2002-02-17  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (need_wallpaper_load_p): We need to reload the
	wallpaper pixbuf if it is enabled and not loaded
	(cleanup_cb): Free bg_applier->p->pixbuf too
2002-02-17 22:46:45 +00:00
Bradford Hovinen
323e20bead We don't need a root pixmap if neither a wallpaper nor a gradient is
2002-02-17  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (need_root_pixmap_p): We don't need a root pixmap if
	neither a wallpaper nor a gradient is enabled
	(render_to_screen): Use set_back_pixmap/set_background when just
	setting a color with a root applier
	(need_root_pixmap_p): If the last preferences structure had
	neither gradient nor wallpaper enabled, we need a new root pixmap
2002-02-17 20:34:33 +00:00
Lauris Kaplinski
1eef9d7561 Replaced all deprecated methods except 2 GtkCTree instances with gnome-2
alternatives.
2002-02-13 16:52:18 +00:00
Rachel Hestilow
a6e8bdd1c3 oops 2002-02-12 06:26:36 +00:00
Richard Hestilow
31ac49063f Committed instant-apply patch sans background.
2002-02-11  Richard Hestilow  <hestilow@ximian.com>

	* Committed instant-apply patch sans background.
2002-02-12 06:16:11 +00:00
Rachel Hestilow
42c170078b Reverting changes back to hovinen's pre-seth-ui setup. 2002-02-11 04:13:39 +00:00
Richard Hestilow
96d7f7d1a8 Add "timeout" field. (bg_apply_cleanup_cb): Added.
2002-02-07  Richard Hestilow  <hestilow@ximian.com>

	* applier.c (BGApplierPrivate): Add "timeout" field.
	(bg_apply_cleanup_cb): Added.
	(bg_applier_apply_prefs): Add/reset timeout for cleanup function
	if we load a pixbuf.
2002-02-07 06:15:03 +00:00
Lauris Kaplinski
35e192827a Lot of little fixes to make it to compile without most of the deprecated stuff 2002-02-04 17:48:43 +00:00
Seth Nickell
5fe3e40279 Read control center directory structure out of GnomeVFS instead of
2002-01-28  Seth Nickell  <snickell@stanford.edu>

	* control-center/capplet-dir.c: (capplet_new), (capplet_dir_new),
	(capplet_dir_entry_destroy), (read_entries),
	(get_root_capplet_dir):
	* control-center/capplet-dir.h:

	Read control center directory structure out of GnomeVFS instead of
	directly off the disk.

	Also deal with pixmaps more uniformly, and properly load them
	out of PREFIX/share/pixmaps when they aren't an absolute path.

	* capplets/desktop-links/Sawfish/appearance-properties.desktop.in:
	* capplets/desktop-links/Sawfish/bindings-properties.desktop.in:
	* capplets/desktop-links/Sawfish/focus-properties.desktop.in:
	* capplets/desktop-links/Sawfish/match-properties.desktop.in:
	* capplets/desktop-links/Sawfish/maximize-properties.desktop.in:
	* capplets/desktop-links/Sawfish/meta-properties.desktop.in:
	* capplets/desktop-links/Sawfish/misc-properties.desktop.in:
	* capplets/desktop-links/Sawfish/move-properties.desktop.in:
	* capplets/desktop-links/Sawfish/placement-properties.desktop.in:
	* capplets/desktop-links/Sawfish/sound-properties.desktop.in:
	* capplets/desktop-links/Sawfish/workspace-properties.desktop.in:
	* capplets/ui-properties/behavior.desktop.in.in:

	Add a Categories Field.

	* capplets/desktop-links/Makefile.am:
	* capplets/desktop-links/Sawfish/Makefile.am:
	* capplets/file-types/Makefile.am:
	* capplets/theme-switcher/Makefile.am:
	* capplets/ui-properties/Makefile.am:
	* control-center/Gnome.directory.in.in:
	* control-center/Makefile.am:

	Install directory files into PREFIX/share/gnome/vfolders, the standard
	vfolder description location.
2002-01-29 04:48:25 +00:00
Bradford Hovinen
064dac63c0 Disable the wallpaper if we couldn't load it (bg_applier_apply_prefs):
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (bg_applier_apply_prefs): Disable the wallpaper if we
	couldn't load it
	(bg_applier_apply_prefs): Create a clone of the preferences
	structure first and work off of that
	(wallpaper_full_cover_p): Return FALSE if the wallpaper pixbuf is NULL
2001-12-20 20:47:43 +00:00
Bradford Hovinen
ec0401e89e Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c: Eliminate compiler warnings
2001-12-20 20:17:28 +00:00
Bradford Hovinen
02397e55aa Put gnome-settings-daemon after libbackgrounds
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (SUBDIRS): Put gnome-settings-daemon after
	libbackgrounds

	* background-properties-capplet.c: Update

	* capplets/background/Makefile.am: Update

	* background.desktop.in.in (Exec): Update

	* mouse.desktop.in.in (Exec): Update

	* capplets/keyboard/Makefile.am: Update

	* keyboard.desktop.in.in (Exec): Update

	* mouse.desktop.in.in (Exec): Update

	* gnome-settings-background.c: Update

	* applier.[ch]: Rename applier to bg_applier to avoid possible
	namespace collision
2001-12-20 15:46:08 +00:00
Bradford Hovinen
a2b2b7932a Rename preferences to bg_preferences to avoid possible namespace collision
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* libbackground/preferences.[ch]: Rename preferences to
	bg_preferences to avoid possible namespace collision

	* All: Update to reflect the above
2001-12-20 14:24:56 +00:00
Bradford Hovinen
d69facaef6 Set the pixmap_id correctly if pixmap is NULL or -1.
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (set_root_pixmap): Set the pixmap_id correctly if
	pixmap is NULL or -1.
2001-12-17 20:47:24 +00:00
Bradford Hovinen
182743f90e s/gtk_object_destroy/g_object_unref/
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (applier_apply_prefs):
	s/gtk_object_destroy/g_object_unref/
2001-12-17 18:17:25 +00:00
Bradford Hovinen
933f9f190d Make sure the pixmap is masked correctly
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (applier_get_preview_widget): Make sure the pixmap is
	masked correctly
2001-12-17 17:03:42 +00:00
Bradford Hovinen
215f0ebb20 Construct the GC before using it
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (applier_get_preview_widget): Construct the GC
	before using it
2001-12-07 17:35:00 +00:00
Bradford Hovinen
d2042f6fa9 Initialize object_class properly before using it; install property after
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (applier_class_init): Initialize object_class properly
	before using it; install property after {get|set}_property are set
2001-12-07 17:28:09 +00:00
Bradford Hovinen (Gdict maintainer)
669a1e2f3a Removed background rendering code from the background capplet and moved it
to a separate static library.
2001-12-06 23:53:58 +00:00
Renamed from capplets/background/applier.c (Browse further)