Commit graph

379 commits

Author SHA1 Message Date
Jens Granseuer
4101101650 Patch by: Matthias Clasen <mclasen@redhat.com>
2007-12-06  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Matthias Clasen <mclasen@redhat.com>

	As a stop-gap measure, until we've got a proper search interface,
	simply check whether beagle or tracker are installed, and prefer them
	to gnome-search-tool if they are (bug #497802)

	* gnome-settings-multimedia-keys.c: (do_action): prefer beagle and
	tracker to gnome-search-tool

svn path=/trunk/; revision=8317
2007-12-06 22:07:34 +00:00
Jens Granseuer
8acdd218b3 use new setting from libgnome to make toolbar icon size setting work (bug
2007-12-06  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-xsettings.c: use new setting from libgnome to make
	toolbar icon size setting work (bug #401030)

svn path=/trunk/; revision=8313
2007-12-06 21:25:06 +00:00
Jens Granseuer
facf5c5730 launch Nautilus with --no-desktop for the home key so we don't mess up the
2007-11-28  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-multimedia-keys.c: (do_action): launch Nautilus with
	--no-desktop for the home key so we don't mess up the desktop for
	people using something else to manage the background (bug #500085)

svn path=/trunk/; revision=8301
2007-11-28 18:18:18 +00:00
Jens Granseuer
d1c4a27974 Patch by: Dan Winship <danw@novell.com> Lucas Rocha <lucasr@gnome.org>
2007-11-18  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Dan Winship <danw@novell.com>
	          Lucas Rocha <lucasr@gnome.org>

	* Makefile.am:
	* gnome-settings-daemon.c: (gnome_settings_daemon_init):
	* gnome-settings-xrandr.c: move display settings here from
	gnome-session (bug #434982)

svn path=/trunk/; revision=8291
2007-11-18 13:25:13 +00:00
Jens Granseuer
56793f1706 Patch by: Bastien Nocera <hadess@hadess.net>
2007-11-18  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Bastien Nocera <hadess@hadess.net>

	* gnome-settings-multimedia-keys.c: allow key bindings using Super and
	Meta combinations (bug #165343)

svn path=/trunk/; revision=8290
2007-11-18 13:09:28 +00:00
Jens Granseuer
85136d042d slightly increase the popup window size again (130x130 at 640x480 and
2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* gsd-media-keys-window.c: (gsd_media_keys_window_init): slightly
	increase the popup window size again (130x130 at 640x480 and scaled
	from there)

svn path=/trunk/; revision=8273
2007-11-11 12:04:00 +00:00
Jens Granseuer
19fcf3f094 The media window popup has a fixed size 300x300 when running in composited
2007-11-10  Jens Granseuer  <jensgr@gmx.net>

	The media window popup has a fixed size 300x300 when running in
	composited mode. For smaller display sizes this is quite excessive.
	Change the window size to be 100x100 on 800x600 and smaller screens,
	and scale up from that for anthing bigger. (bug #495346)

	* gsd-media-keys-window.c: (initialize_alpha_mode),
	(gsd_media_keys_window_init): make composited media popup window sizes
	scale with the screen size

svn path=/trunk/; revision=8267
2007-11-10 16:59:53 +00:00
Jens Granseuer
c9c114f388 Patch by: Iain Holmes <iain@gnome.org>
2007-10-26  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Iain Holmes <iain@gnome.org>

	* gsd-media-keys-window.c: (fade_timeout), (hide_timeout),
	(remove_hide_timeout), (add_hide_timeout), (on_expose_event),
	(gsd_media_keys_window_init): gradually fade out the OSD when composited
	(bug #490593)

svn path=/trunk/; revision=8207
2007-10-26 18:13:57 +00:00
Jens Granseuer
7def256ed5 Based on a patch by: Sebastien Bacher <seb128@debian.org>
2007-10-22  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Sebastien Bacher <seb128@debian.org>

	* capplets/keybindings/00-multimedia-key.xml.in:
	* gnome-settings-daemon/action/acme.h:
	* gnome-settings-daemon/gnome-settings-multimedia-keys.c (do_action):
	* schemas/apps_gnome_settings_daemon_keybindings.schemas.in:
	add support for calculator key

svn path=/trunk/; revision=8187
2007-10-22 18:59:37 +00:00
Sergey V. Udaltsov
74263d6f39 no more annoying warning, b.g.o#358048
svn path=/trunk/; revision=8177
2007-10-16 22:13:45 +00:00
Sergey V. Udaltsov
72db6fd6de dropping unneeded kbd indicator's dbus server, bumping libgnomekbd version requirement
svn path=/trunk/; revision=8161
2007-10-08 17:16:09 +00:00
Sergey V. Udaltsov
b6f2b9d7e3 initializing current_*config early, b.g.o#469192
svn path=/trunk/; revision=8035
2007-08-22 21:16:33 +00:00
Rodrigo Moya
63ba8e54af use gnome_settings_delayed_show_dialog() to display the error message, so
2007-08-21  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-keyboard-xkb.c
	(gnome_settings_keyboard_xkb_analyze_sysconfig): use
	gnome_settings_delayed_show_dialog() to display the error message,
	so that it is shown when a window manager is running, thus being
	centered and with a proper frame.

svn path=/trunk/; revision=8033
2007-08-22 10:00:09 +00:00
Jens Granseuer
8323405071 don't check the internal volume since this makes it impossible to unmute a
2007-08-18  Jens Granseuer  <jensgr@gmx.net>

	* actions/acme-volume-gstreamer.c: (update_state): don't check the
	internal volume since this makes it impossible to unmute a low volume
	(that translates to an internal GStreamer volume of 0)

	* gnome-settings-multimedia-keys.c: (do_sound_action): if we're
	muted and silent, don't just unmute on VOL+ but also raise the
	volume

svn path=/trunk/; revision=8017
2007-08-18 11:54:46 +00:00
Jens Granseuer
e56210e777 use a list instead of a hash table to store the settings modules (closes
2007-08-17  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-daemon.c: (initialize_modules), (start_modules),
	(stop_modules), (finalize), (gnome_settings_daemon_init),
	(gnome_settings_daemon_new): use a list instead of a hash table to
	store the settings modules (closes bug #449118)

svn path=/trunk/; revision=8014
2007-08-17 19:02:13 +00:00
Jens Granseuer
17f843f6fc don't forget the Xft callback (fixes bug #455992)
2007-07-12  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-xsettings.c:
	(gnome_settings_module_xsettings_initialize): don't forget the Xft
	callback (fixes bug #455992)

svn path=/trunk/; revision=7852
2007-07-12 17:43:34 +00:00
Jens Granseuer
762d87b655 Patch by: Grzegorz Dymarek <gregd@interia.pl>
2007-07-01  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Grzegorz Dymarek <gregd@interia.pl>

	* gnome-settings-multimedia-keys.c: (do_sound_action): don't
	unmute when lowering the volume and switch to muted when the
	volume reaches 0 (closes bug #337896)

svn path=/trunk/; revision=7818
2007-07-01 16:45:33 +00:00
Jens Granseuer
c214dd27e9 if we don't take over the background because nautilus is running, don't
2007-07-01  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-background.c:
	(gnome_settings_module_background_start): if we don't take over
	the background because nautilus is running, don't treat that as
	an error

svn path=/trunk/; revision=7814
2007-07-01 15:58:55 +00:00
Jens Granseuer
e73cddb29f reduce static data
2007-07-01  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-accessibility-keyboard.c:
	(gnome_settings_module_accessibility_keyboard_get_type):
	* gnome-settings-background.c:
	(gnome_settings_module_background_get_type):
	* gnome-settings-clipboard.c:
	(gnome_settings_module_clipboard_get_type):
	* gnome-settings-default-editor.c:
	(gnome_settings_module_default_editor_get_type):
	* gnome-settings-font.c: (gnome_settings_module_font_get_type):
	* gnome-settings-gtk1theme.c:
	(gnome_settings_module_gtk1_get_type):
	* gnome-settings-keybindings.c:
	(gnome_settings_module_keybindings_get_type):
	* gnome-settings-keyboard.c:
	(gnome_settings_module_keyboard_get_type):
	* gnome-settings-module.c: (gnome_settings_module_get_type):
	* gnome-settings-mouse.c: (gnome_settings_module_mouse_get_type):
	* gnome-settings-multimedia-keys.c:
	(gnome_settings_module_multimedia_keys_get_type):
	* gnome-settings-screensaver.c:
	(gnome_settings_module_screensaver_get_type):
	* gnome-settings-sound.c: (gnome_settings_module_sound_get_type):
	* gnome-settings-typing-break.c:
	(gnome_settings_module_typing_break_get_type):
	* gnome-settings-xrdb.c: (gnome_settings_module_xrdb_get_type):
	* gnome-settings-xsettings.c:
	(gnome_settings_module_xsettings_get_type): reduce static data

svn path=/trunk/; revision=7813
2007-07-01 15:56:19 +00:00
Jens Granseuer
d69ad6a3fc fix compiler warnings (closes bug #438152)
2007-07-01  Jens Granseuer  <jensgr@gmx.net>

	* factory.c: (main):
	* gnome-settings-keybindings.c:
	* gnome-settings-mouse.c:
	* gnome-settings-screensaver.c: (key_toggled_cb):
	* gnome-settings-xrdb.c: fix compiler warnings (closes bug #438152)

svn path=/trunk/; revision=7811
2007-07-01 15:37:19 +00:00
Jens Granseuer
9c0c8e49ec add a frame to the media popup (closes bug #451674)
2007-06-29  Jens Granseuer  <jensgr@gmx.net>

	* actions/acme.glade:
	* gsd-media-keys-window.c: (gsd_media_keys_window_init): add a frame to
	the media popup (closes bug #451674)

svn path=/trunk/; revision=7803
2007-06-29 16:16:24 +00:00
Rodrigo Moya
1872955fe9 incorporate fixes from Matthias Clasen in bug #430889
2007-06-22  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-daemon.c: incorporate fixes from Matthias Clasen in
	bug #430889
	(gnome_settings_daemon_init): create the DBus server here.
	(gnome_settings_daemon_new): install an idle callback to initialize the
	modules.
	(init_modules_idle_cb): initialize modules and install an idle callback
	to start the modules.
	(start_modules_idle_cb): start modules here.
	(finalize): unref the DBus service.

svn path=/trunk/; revision=7757
2007-06-22 11:48:14 +00:00
Rodrigo Moya
4f4291f6d4 all modules use now the new arch.
2007-06-21  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-accessibility-keyboard.c:
	* gnome-settings-keybindings.c:
	* gnome-settings-keyboard.c:
	* gnome-settings-multimedia-keys.c:
	* gnome-settings-xrdb.c:
	* gnome-settings-daemon.c: all modules use now the new arch.

	* gnome-settings-background.c (background_callback): pass the correct
	argument to the idle callback.

svn path=/trunk/; revision=7756
2007-06-21 12:19:06 +00:00
Rodrigo Moya
89d4dc18ff return TRUE if the module does not implement the method. It's not an
2007-06-19  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-module.c (gnome_settings_module_start|_stop): return
	TRUE if the module does not implement the method. It's not an error,
	just the module does not need to implement it.

	* gnome-settings-daemon.c (gnome_settings_daemon_init): allocate memory
	for the index in the hash table.

svn path=/trunk/; revision=7753
2007-06-20 11:07:32 +00:00
Rodrigo Moya
a4f397b6f7 converted to new arch.
2007-06-18  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-typing-break.c: converted to new arch.

	* gnome-settings-daemon.c: use new converted modules.

	* Makefile.am: removed unneeded header files.

	* factory.c (main): call g_thread_init to avoid warnings.

svn path=/trunk/; revision=7747
2007-06-18 20:50:39 +00:00
Jens Granseuer
73c40991a8 remove non-existing gnome-settings-xsettings.h
2007-06-18  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am: remove non-existing gnome-settings-xsettings.h

svn path=/trunk/; revision=7744
2007-06-18 17:55:52 +00:00
Jens Granseuer
a2ec246221 don't leak the GError
2007-06-15  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-screensaver.c:
	(gnome_settings_module_screensaver_start): don't leak the GError

svn path=/trunk/; revision=7727
2007-06-15 16:31:15 +00:00
Bastien Nocera
0faffda202 Force launching nautilus in the home directory, rather than relying on it
2007-06-11  Bastien Nocera  <hadess@hadess.net>

	* gnome-settings-multimedia-keys.c: (do_action): Force launching
	nautilus in the home directory, rather than relying on it
	opening there (Closes: #356069)


svn path=/trunk/; revision=7716
2007-06-11 09:06:15 +00:00
Rodrigo Moya
ff9f268fff converted more modules to the new arch.
2007-06-06  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-default-editor.c:
	* gnome-settings-gtk1theme.c:
	* gnome-settings-mouse.c:
	* gnome-settings-sound.c:
	* gnome-settings-xsettings.c: converted more modules to the new arch.

	* gnome-settings-daemon.c (gnome_settings_daemon_new): now this is much
	cleaner.

svn path=/trunk/; revision=7697
2007-06-06 11:51:40 +00:00
Rodrigo Moya
759c98a608 converted font module to a loadable module.
2007-06-05  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-font.c:
	* gnome-settings-daemon.c: converted font module to a loadable module.

svn path=/trunk/; revision=7691
2007-06-05 15:45:16 +00:00
Jan Arne Petersen
d2b6d5ef48 set the device property to the correct value before opening the mixer.
2007-05-28  Jan Arne Petersen  <jpetersen@jpetersen.org>

	* actions/acme-volume-gstreamer.c: (acme_volume_gstreamer_open): set
	the device property to the correct value before opening the mixer.
	(closes bug #441552)


svn path=/trunk/; revision=7668
2007-05-28 12:25:56 +00:00
Jens Granseuer
3ba13b0c46 archiver/*
2007-05-28  Jens Granseuer  <jensgr@gmx.net>

	* TODO.xml:
	* archiver/*
	* control-center.spec.in:
	* debian/*:
	* idl/*:
	* root-manager/*: remove obsolete files

2007-05-28  Jens Granseuer  <jensgr@gmx.net>

	* GNOME_SettingsDaemon.server.in: remove file

svn path=/trunk/; revision=7667
2007-05-28 12:09:18 +00:00
Jens Granseuer
ec44448235 sync with libegg code (closes bug #441042)
2007-05-25  Jens Granseuer  <jensgr@gmx.net>

	* eggaccelerators.c: (egg_accelerator_parse_virtual): sync with libegg
	code (closes bug #441042)

svn path=/trunk/; revision=7657
2007-05-25 17:28:05 +00:00
Jens Granseuer
a76ef5e383 Patch by: Chad Miller
2007-05-17  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Chad Miller
                            
	* gnome-settings-dbus.c: (gnome_settings_server_init): double-check
	that DBUS really passed us an error (closes bug #439208)

svn path=/trunk/; revision=7632
2007-05-17 19:45:08 +00:00
Rodrigo Moya
ab651d94c1 declare module types registration functions.
2007-05-17  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-daemon.c: declare module types registration functions.

svn path=/trunk/; revision=7630
2007-05-17 09:00:56 +00:00
Rodrigo Moya
5d9f6730ea use correct parent for GnomeSettingsModuleScreensaverClass.
2007-05-17  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-screensaver.c: use correct parent for
	GnomeSettingsModuleScreensaverClass.

svn path=/trunk/; revision=7629
2007-05-17 08:47:57 +00:00
Jens Granseuer
600e0694c9 use "eject -T" as the default eject command (closes bug #386297)
2007-05-13  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-multimedia-keys.c: (do_eject_action): use "eject -T" as
	the default eject command (closes bug #386297)

svn path=/trunk/; revision=7600
2007-05-13 13:09:25 +00:00
Rodrigo Moya
cf66c0fd80 svn path=/trunk/; revision=7587
svn path=/trunk/; revision=7587
2007-05-09 18:42:25 +00:00
Rodrigo Moya
01a3eccfdc converted to a loadable module.
2007-05-09  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-screensaver.c: converted to a loadable module.

	* gnome-settings-screensaver.h: removed unneeded file.

svn path=/trunk/; revision=7586
2007-05-09 15:51:40 +00:00
Rodrigo Moya
275f942e68 no need to keep the GConfClient around, it is already stored in the
2007-05-09  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-background.c (gnome_settings_module_background_init,
	gnome_settings_module_background_start): no need to keep the GConfClient
	around, it is already stored in the GnomeSettingsModule class.

svn path=/trunk/; revision=7585
2007-05-09 15:05:11 +00:00
Rodrigo Moya
19cba117f3 removed G_BEGIN|END_DECLS. (gnome_settings_module_background_get_type):
2007-05-09  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-background.c: removed G_BEGIN|END_DECLS.
	(gnome_settings_module_background_get_type): register with correct type.
	(gnome_settings_module_background_initialize): store the GConfClient we get.
	(gnome_settings_module_background_start): use the stored GConfClient.

	* gnome-settings-background.h: removed unneeded file.

	* gnome-settins-clipboard.c: new file to implement the clipboard manager as
	a loadable module. Replaces clipboard-manager.[ch].

	* gnome-settings-daemon.c: removed old clipboard manager and use the new
	module-based one.

	* Makefile.am: added/removed sources.

svn path=/trunk/; revision=7584
2007-05-09 15:01:51 +00:00
Rodrigo Moya
55b39ed23a changed to use the new GnomeSettingsModule class for loadable modules.
2007-05-08  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-background.c: changed to use the new GnomeSettingsModule
	class for loadable modules.

	* gnome-settings-daemon.c (initialize_modules, start_modules,
	stop_modules): new functions to call modules's methods.
	(gnome_settings_daemon_init): get all module types and create objects
	from each of them.
	(gnome_settings_daemon_new): added code to call loadable modules's
	methods where appropriate.

svn path=/trunk/; revision=7580
2007-05-08 10:51:22 +00:00
Rodrigo Moya
c246e6aa6c new method.
2007-04-23  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-module.[ch] (gnome_settings_module_get_runlevel):
	new method.

svn path=/trunk/; revision=7485
2007-04-23 16:26:37 +00:00
Rodrigo Moya
6535f4364e new class for modules.
2007-04-20  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-module.[ch]: new class for modules.

	* Makefile.am: added new files.

svn path=/trunk/; revision=7478
2007-04-20 08:35:45 +00:00
Ross Burton
8e4d835261 Remove all settings that are not related to colour (#428615).
2007-04-11  Ross Burton  <ross@burtonini.com>

	* xrdb/General.ad:
	* xrdb/Motif.ad:
	* xrdb/Editres.ad:
	* xrdb/Xaw.ad:
	* xrdb/Emacs.ad:
	Remove all settings that are not related to colour (#428615).

svn path=/trunk/; revision=7462
2007-04-11 19:02:18 +00:00
Alexander Larsson
d8426a9677 Also check registered directories for notification. Fixes theme e.g.
2007-04-10  Alexander Larsson <alexl@redhat.com>

	* utils.c (config_notify):
	Also check registered directories for notification.
	Fixes theme e.g. switching.


svn path=/trunk/; revision=7456
2007-04-10 11:50:49 +00:00
Rodrigo Moya
fbfb49fd95 Added missing files
svn path=/trunk/; revision=7436
2007-04-02 15:30:30 +00:00
Rodrigo Moya
53bb60e945 return NULL when there is an error, not exit(), so that we do proper
2007-04-02  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-daemon.c (gnome_settings_daemon_new): return NULL
	when there is an error, not exit(), so that we do proper cleanup.
	Remove code to register GConf callbacks, that is done in utils.c.
	(gnome_settings_daemon_get_conf_client,
	 gnome_settings_daemon_register_callback,
	 gnome_settings_daemon_spawn_with_input,
	 gnome_settings_daemon_get_invisible,
	 gnome_settings_daemon_delayed_show_dialog): removed from the
	GnomeSettingsDaemon interface.

	* utils.c (gnome_settings_get_config_client,
	 gnome_settings_get_invisible,
	 gnome_settings_register_config_callback,
	 gnome_settings_spawn_with_input,
	 gnome_settings_delayed_show_dialog): moved from GnomeSettingsDaemon
	interface.

	* factory.c (main): check return value from gnome_settings_daemon().

	* *.c: adapted to changes in function names.

	* Makefile.am: put source files in alphabetical order.

svn path=/trunk/; revision=7435
2007-04-02 15:29:28 +00:00
Rodrigo Moya
e16cbd24dc return NULL when there is an error, not exit(), so that we do proper
2007-04-02  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-daemon.c (gnome_settings_daemon_new): return NULL
	when there is an error, not exit(), so that we do proper cleanup.
	Remove code to register GConf callbacks, that is done in utils.c.
	(gnome_settings_daemon_get_conf_client,
	gnome_settings_daemon_register_callback,
	 gnome_settings_daemon_spawn_with_input,
	 gnome_settings_daemon_get_invisible,
	 gnome_settings_daemon_delayed_show_dialog): removed from the
	GnomeSettingsDaemon interface.

	* utils.c (gnome_settings_get_config_client,
	 gnome_settings_get_invisible,
	 gnome_settings_register_config_callback,
	 gnome_settings_spawn_with_input,
	 gnome_settings_delayed_show_dialog): moved from GnomeSettingsDaemon
	interface.

	* factory.c (main): check return value from gnome_settings_daemon().

	* *.c: adapted to changes in function names.

	* Makefile.am: put source files in alphabetical order.

svn path=/trunk/; revision=7434
2007-04-02 15:27:35 +00:00
Priit Laes
5895ee2be5 Fix launch application in terminal support. (closes bug #362578).
2007-03-29  Priit Laes  <amd@store20.com>

	* gnome-settings-multimedia-keys.c: (get_term_command), (execute),
	(do_unknown_action), (do_help_action), (do_mail_action),
	(do_media_action), (do_www_action), (do_exit_action), (do_eject_action),
	(do_action): Fix launch application in terminal support. (closes bug
	#362578).

svn path=/trunk/; revision=7429
2007-03-29 18:47:28 +00:00