Commit graph

160 commits

Author SHA1 Message Date
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
Richard Hestilow
888b9aa637 Link to libbackground.la.
2002-01-28  Richard Hestilow  <hestilow@ximian.com>

	* Link to libbackground.la.
2002-01-29 00:18:55 +00:00
Jakub Steiner
f705ff5540 tweak the icon a bit 2002-01-17 20:58:51 +00:00
Richard Hestilow
9c985fe0cd .
2002-01-15  Richard Hestilow <hestilow@ximian.com>

	* (Many "make distcheck" fixes).
2002-01-15 20:45:34 +00:00
Bradford Hovinen (Gdict maintainer)
ce01a530be Renamed binaries with the convention gnome2-* so as to be guaranteed
fully parallel installable (and consistent)
2002-01-14 19:30:34 +00:00
Jonathan Blandford
b47bd9d7f9 we now depend on esound.
Tue Jan  8 15:00:27 2002  Jonathan Blandford  <jrb@redhat.com>

	* configure.in (XF86MISC_LIBS): we now depend on esound.

	* background-properties-capplet.c (main): Removed call to set up
	session management - obsolete

	* gnome-settings-daemon/Makefile.am (INCLUDES): Added missing
	-I$(top_srcdir)

	* POTFILES.in: Update
2002-01-14 17:39:15 +00:00
Bradford Hovinen
7953e8085a Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c: Eliminate compiler warnings
2001-12-20 20:22:37 +00:00
Bradford Hovinen
fb0d289855 Fold the callback back in; accept variable argument list with extra
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new): Fold the callback
	back in; accept variable argument list with extra parameters
	(gconf_peditor_new_filename): Return the property editor
	(gconf_peditor_new_string_valist): Split this out
	(gconf_peditor_new_string): Call _valist variant
	(gconf_peditor_new*): Update

	* */*-properties*.c: Update according to above
2001-12-20 20:14:59 +00:00
Bradford Hovinen
7ec25076f0 Add background, screensaver files (install-data-local): Allow
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* schemas/Makefile.am (schema_DATA): Add background, screensaver
	files
	(install-data-local): Allow specification of multiple schema files

	* capplets/default-applications/Makefile.am: Clean up
2001-12-20 19:45:12 +00:00
Bradford Hovinen (Gdict maintainer)
89b1e89843 Moved background, screensaver schema files to schemas 2001-12-20 18:58:11 +00:00
Bradford Hovinen
30389610b4 Add parameter GNOME_PARAM_APP_DATADIR
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/screensaver/main.c (main): Add parameter
	GNOME_PARAM_APP_DATADIR

	* mouse-properties-capplet.c (main): Add parameter
	GNOME_PARAM_APP_DATADIR

	* configure.in (GNOMECC_DESKTOP_DIR): Define
	(GNOMECC_DATA_DIR): Define
	Remove AC_DEFINE_UNQUOTED for the rest of the directories

	* All: Update to reflect above
2001-12-20 18:52:39 +00:00
Bradford Hovinen
2dd5ccf964 Update (main): Use a GtkDialog rather than a GnomeDialog; don't place a
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* *-properties*.c (dialog_button_clicked_cb): Update
	(main): Use a GtkDialog rather than a GnomeDialog; don't place a
	weak ref on gtk_main_quit
2001-12-20 18:21:12 +00:00
Bradford Hovinen
cb0a578f7e Add
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* schemas/Makefile.am (EXTRA_DIST): Add

	* configure.in: Removed capplets/sound/Makefile

	* capplets/*/Makefile.am: Compilation fixes
2001-12-20 17:58:44 +00:00
Bradford Hovinen (Gdict maintainer)
f51312135c Replace .desktop.in.in with .desktop.in, as we no longer need the pixmap
filename substitution in GNOME 2.0
2001-12-20 15:53:57 +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
b65967ac90 Add common, background, keyboard, mouse back in
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (always_built_SUBDIRS): Add common,
	background, keyboard, mouse back in

	* configure.in (PKG_CHECK_MODULES): Remove lines pertaining to the
	archiver, add line for gnome settings daemon

	* background-properties-capplet.c (dialog_button_clicked_cb):
	Remove call to apply_settings
	(apply_settings): Remove
	(main): Remove apply_only support

	* default-application-properties.c (main): Call gtk_main, not
	capplet_gtk_main

	* interface.c: Don't #include capplet-widget.h

	* main.c: Don't #include capplet-widget.h or the archiver stuff
	(main): Call gtk_main rather than capplet_gtk_main
	Remove archiver stuff
	(setup_capplet_widget): Don't connect to state_changed_cb
	(state_changed_cb): Remove
	(main): Don't pass cap_options

	* gnome-settings-daemon/Makefile.am
	(gnome_settings_daemon_SOURCES): Add
	gnome-settings-{keyboard|background}.[ch]
	(INCLUDES): Add -I$(top_srcdir)/libbackground
	(gnome_settings_daemon_LDADD): Add
	$(top_builddir)/libbackground/libbackground.a

	* gnome-settings-daemon.c (main): Initialize keyboard and
	background subsystems

	* Added gnome-settings-{keyboard|background}.[ch],
	gnome-settings-daemon/ChangeLog
2001-12-20 14:11:59 +00:00
Seth Nickell
3419fa82da Add Categories field so it goes into the right location in the panel
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* background.desktop.in.in:

	Add Categories field so it goes into the right location
	in the panel menus.
2001-12-19 11:37:18 +00:00
Bradford Hovinen
cb0a97e5a3 Don't #include bonobo.h
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c: Don't #include bonobo.h
2001-12-18 19:46:26 +00:00
Bradford Hovinen
66f47e6a78 Use gconf_client rather than gconf_engine (setup_dialog): Use correct path
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c: Use gconf_client rather than
	gconf_engine
	(setup_dialog): Use correct path for enabled
	(main): Preload the background settings directory for performance
2001-12-18 16:39:30 +00:00
Bradford Hovinen
1279ed6dcf Update keys to use /desktop/gnome/background
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background.schema: Update keys to use /desktop/gnome/background

	* background-properties-capplet.c: Update GConf keys to use
	/desktop/gnome/background
2001-12-18 16:17:44 +00:00
Bradford Hovinen
82a6d01255 Remove (create_dialog): Return GladeXML, not GtkWidget (setup_dialog): Put
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (property_change_cb): Remove
	(create_dialog): Return GladeXML, not GtkWidget
	(setup_dialog): Put GladeXML in the signature rather than
	GtkWidget
	(peditor_value_changed): Retrieve color_frame directory rather
	than through Glade
	(real_realize_cb): Ditto
	(setup_dialog): Set color-frame rather than glade-data
	(main): Construct the preview applier here rather than in
	create_dialog
	(main): Unref the applier object when the dialog is destroyed
	(setup_dialog, create_dialog): Put the applier in the signature
	Use weak_ref rather than the destroy signal for all relevant
	objects
2001-12-18 16:01:47 +00:00
Bradford Hovinen
d43d10b25e Update
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background.desktop.in.in (Exec): Update
2001-12-17 20:33:32 +00:00
Bradford Hovinen
0fb231b7d0 Set the sensitivity of the color frame depending on the settings
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (peditor_value_changed): Set
	the sensitivity of the color frame depending on the settings
	(peditor_value_changed): Use correct keys
2001-12-17 20:01:22 +00:00
Bradford Hovinen
27097008ce Enabled set_guard call
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (setup_dialog): Enabled
	set_guard call
2001-12-17 19:33:12 +00:00
Bradford Hovinen
7b408b24fc Connect missing signal
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (setup_dialog): Connect
	missing signal
2001-12-17 18:33:12 +00:00
Bradford Hovinen
7241f04206 Retrieve the applier from the preferences object and use it to apply
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (peditor_value_changed):
	Retrieve the applier from the preferences object and use it to
	apply settings on the preview widget
2001-12-17 18:17:57 +00:00
Bradford Hovinen
756102ee52 Apply settings after commiting the change set
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (dialog_button_clicked_cb):
	Apply settings after commiting the change set
2001-12-17 17:34:38 +00:00
Bradford Hovinen
f8dbd8090f Don't hide opacity controls
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (setup_dialog): Don't hide
	opacity controls

	* background-properties.glade: Remove opacity controls
2001-12-17 17:28:23 +00:00
Bradford Hovinen
c93c970346 Added wallpaper-enabled
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background.schema: Added wallpaper-enabled
2001-12-17 17:06:39 +00:00
Bradford Hovinen
fd0119b1e9 Use prefs_widget rather than preview placeholder widget
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (create_dialog): Use
	prefs_widget rather than preview placeholder widget

	* background-properties.glade: Remove the preview placeholder
2001-12-17 16:23:10 +00:00
Gediminas Paulauskas
9f8ed1254f retrieve translation in utf-8 codeset. Do not setlocale (). remove intl.
2001-12-09  Gediminas Paulauskas <menesis@delfi.lt>

	* *.c (main): retrieve translation in utf-8 codeset. Do not
	setlocale ().
	* some Makefile.am (INCLUDES): remove intl.
	(..._LDADD): remove INTLLIBS
2001-12-09 12:23:40 +00:00
Bradford Hovinen
8561c30299 Fix default values
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

        * background.schema: Fix default values
2001-12-07 22:05:36 +00:00
Bradford Hovinen
bf475e9374 Connect the destroy signal
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (main): Connect the destroy
	signal

	* background.schema: Fix type on opacity schema
2001-12-07 19:56:23 +00:00
Bradford Hovinen
8133132cd2 NULL-terminate the dialog construction parameters
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (main): NULL-terminate the
	dialog construction parameters
2001-12-07 19:35:11 +00:00
Bradford Hovinen (Gdict maintainer)
5671440629 Added Glade 1.x version of file for future interface tweaking pending
the creation of a libglade-2.0 -compatible Glade.
2001-12-07 17:30:26 +00:00
Bradford Hovinen
a52a434f78 Remove use of capplet_init, instead do the initialization ourselves (note:
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (main): Remove use of
	capplet_init, instead do the initialization ourselves (note: this
	means we are no longer a Bonobo control)
	(dialog_button_clicked_cb): Implement

	* background-properties.glade: libglade-convert
2001-12-07 17:29:43 +00:00
Bradford Hovinen (Gdict maintainer)
abd06447c9 Added schema for background properties 2001-12-07 00:04:00 +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
Bradford Hovinen (Gdict maintainer)
575c8e852f Compilation fixes. 2001-11-25 14:57:03 +00:00
Bradford Hovinen (Gdict maintainer)
467b92037d GNOME 2.0 port. Changes too numerous to mention. 2001-11-10 20:51:12 +00:00
Bradford Hovinen
3611eb3a6a Remove screensaver from always_built_SUBDIRS and add $(SCREENSAVER) to
2001-10-26  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am: Remove screensaver from
	always_built_SUBDIRS and add $(SCREENSAVER) to SUBDIRS

	* capplets/{background|keyboard|mouse|sound}/Makefile.am:
	Fix so that automake does not choke on these files
2001-10-26 19:17:07 +00:00
Jakub Steiner
705002fcd6 bcg icon 2001-10-18 23:22:47 +00:00
Bradford Hovinen
4b6d9f7f99 Try to resolve a listener to make sure that something is listening when we
2001-10-13  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (real_sync): Try to resolve a listener
	to make sure that something is listening when we issue the sync
	event (disabled for now)
	(get_listener_oafiid): Implement (disabled for now)

2001-10-12  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (get_factory_name): Updated factory name to
	reflect new, expanded roles

	* Bonobo_Control_Capplet_generic.oaf.in: Create

2001-09-29  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (create_control_cb): Elimite reference counter --
	it's not necessary
	(create_control_cb): Make this a multi-factory so that we can
	return the listener when needed
	(capplet_init): Set up the listener here rather than in
	get_control_cb; also remove the listener and unref the database
	here
	(quit_cb, real_quit_cb): Remove (thank the gods)

2001-10-12  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am ($(oaffile)): Make creation of the .oaf file generic

2001-10-12  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Unref the property bag
	when we are done
2001-10-13 17:26:48 +00:00
Bradford Hovinen
d2650b1049 Notice: I have not tested these changes on machines with support for multiple
simultaneous visuals. I will revert them if it turns out not to work in that
case.

Fixes Ximian bugzilla bug #10541

2001-10-12  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (render_to_screen): Use standard gdk and gdk_pixbuf
	rather than xlib and gdk_pixbuf_xlib
	(make_root_pixmap): Create a GdkPixmap
	(set_root_pixmap): Accept GdkPixmap and convert to X id
2001-10-12 14:09:24 +00:00
Jose Maria Celorio
598a876b87 shhhhh 2001-09-29 03:37:51 +00:00
Bradford Hovinen
988e42c227 Use BONOBO_RET_EX rather than RETURN_IF_EX; remove the definition of the
2001-09-28  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_load_from_bonobo_db):
	(preferences_load_from_bonobo_pbag): Use BONOBO_RET_EX rather than
	RETURN_IF_EX; remove the definition of the latter macro

	* applier.c (fill_gradient): Copied from control center 1.4.0
	(render_background): Create the pixbuf first and then pass to
	fill_gradient
	(render_to_screen): Use XLIB_RGB_DITHER_MAX rather than
	GDK_RGB_DITHER_NORMAL
2001-09-28 21:05:16 +00:00
Bradford Hovinen
ca6b2c78e6 Use GDK_RGB_DITHER_MAX rather than GDK_RGB_DITHER_NORMAL
2001-09-28  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (render_to_screen): Use GDK_RGB_DITHER_MAX rather
	than GDK_RGB_DITHER_NORMAL
2001-09-28 18:14:23 +00:00
Bradford Hovinen
a850f20fa7 Remove -control from the end of the string as well as -capplet
2001-09-28  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (get_default_moniker): Remove -control from the
	end of the string as well as -capplet
	(get_factory_name): Ditto
	(get_property_name): Ditto

	* capplets/*/Makefile.am: Change the binary name to
	*-properties-control and create a wrapper script from
	../common/wrapper-script.in to be named
	*-properties-capplet
	Remove support for disabling bonobo-conf build
2001-09-28 12:30:35 +00:00
Bradford Hovinen
90e4bac6ed Create the root pixmap after we know about the gradient geometry
2001-09-22  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (run_render_pipeline): Create the root pixmap after we
	know about the gradient geometry
	(place_pixbuf):
	(tile_pixbuf): Fix calls to gdk_pixbuf_composite[_color]
	(render_wallpaper): Fix setting of pixbuf_xlate
	(render_background): Fix pixbuf_render_geom here in case the
	gradient geometry is small
2001-09-24 02:10:21 +00:00