Commit graph

148 commits

Author SHA1 Message Date
Bastien Nocera
5b7ea158a0 Never mind, the define is actually used
2008-07-29  Bastien Nocera  <hadess@hadess.net>

	* sound-theme.c (setup_sound_theme_custom): Never mind, the define is
	actually used


svn path=/trunk/; revision=8822
2008-07-29 09:56:39 +00:00
Bastien Nocera
dee271f30f Remove visual-bell.png, unused now
2008-07-29  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am: Remove visual-bell.png, unused now


svn path=/trunk/; revision=8821
2008-07-29 08:16:27 +00:00
Bastien Nocera
4b3d8c6957 Remove unused define
2008-07-29  Bastien Nocera  <hadess@hadess.net>

	* sound-theme.c: Remove unused define


svn path=/trunk/; revision=8818
2008-07-29 00:40:08 +00:00
Jens Granseuer
07ac9b7c5d fix critical warning when music directory isn't set
2008-07-28  Jens Granseuer  <jensgr@gmx.net>

	* sound-theme.c: (get_sound_filename): fix critical warning when music
	directory isn't set

	* (setting_column_edited): fix more leaks

	* (theme_changed_custom_reinit): when resetting a theme, also reset
	the preview icon status

svn path=/trunk/; revision=8816
2008-07-28 20:51:28 +00:00
Jens Granseuer
0a36199bb6 plug some leaks, simplify and/or clarify some code
2008-07-28  Jens Granseuer  <jensgr@gmx.net>

	* sound-theme.c: (load_index_theme_name),
	(set_combox_for_theme_name), (theme_combobox_changed),
	(setup_sound_theme), (get_sound_filename), (dump_theme),
	(setting_column_edited), (setup_sound_theme_custom): plug some leaks,
	simplify and/or clarify some code

svn path=/trunk/; revision=8815
2008-07-28 20:12:58 +00:00
Jens Granseuer
0b295549dd don't preview sounds for insensitive rows
2008-07-28  Jens Granseuer  <jensgr@gmx.net>

	* sound-theme.c: (custom_treeview_button_press_event_cb): don't
	preview sounds for insensitive rows

svn path=/trunk/; revision=8814
2008-07-28 19:45:24 +00:00
Bastien Nocera
5cc13a9b71 When selecting a non-custom sound (such as disabled, or builtin), don't
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* sound-theme.c (setting_set_func), (fill_custom_model),
	(save_sounds), (count_customised_sounds), (setting_column_edited):
	When selecting a non-custom sound (such as disabled, or builtin),
	don't remove the previous custom file's filename from the tree store,
	When a custom file was previously selected, always show it in the
	combo box drop-down (Closes: #545055)


svn path=/trunk/; revision=8812
2008-07-28 18:29:54 +00:00
Bastien Nocera
ee2b7e711b When selecting custom files, listen to "update-preview", and try to play
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* sound-theme.c (play_sound_preview), (get_sound_filename):
	When selecting custom files, listen to "update-preview", and try
	to play everything that the user might select (Closes: #545056)


svn path=/trunk/; revision=8810
2008-07-28 17:35:38 +00:00
Bastien Nocera
e8779d1c8b Fix changelog
svn path=/trunk/; revision=8809
2008-07-28 14:52:27 +00:00
Bastien Nocera
2f22b9318e Fix permissions on the custom theme directory, otherwise not even the user
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* sound-theme.c (save_custom_theme): Fix permissions on the
	custom theme directory, otherwise not even the user can read the files
	in there


svn path=/trunk/; revision=8808
2008-07-28 14:45:41 +00:00
Bastien Nocera
2cac70eea3 Remove libsounds and esound usage, check for libcanberra instead (Closes:
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* configure.in: Remove libsounds and esound usage, check for
	libcanberra instead (Closes: #542979)

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* theme-util.c:
	* theme-util.h: Remove the directory deletion helpers, and
	move them to the common sub-directory

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* capplet-util.c (directory_delete_recursive),
	(capplet_file_delete_recursive):
	* capplet-util.h: Move directory deletion helper function
	from the appearance capplet into a common directory

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* sound-properties-capplet.c (create_dialog), (setup_dialog),
	(get_legacy_settings):
	* sound-properties.glade:
	* sound-theme-definition.h:
	* sound-theme-file-utils.[ch]:
	* sound-theme.[ch]: Remove separate bell settings tab, remove
	libsounds dependency, add freedesktop sound theme support through
	libcanberra (Closes: #542979)


svn path=/trunk/; revision=8802
2008-07-27 23:32:35 +00:00
Vincent Untz
5e14bcf311 post-release bump to 2.23.3
2008-05-17  Vincent Untz  <vuntz@gnome.org>

	* configure.in: post-release bump to 2.23.3

svn path=/trunk/; revision=8716
2008-05-17 16:56:46 +00:00
Jens Granseuer
8f1eace464 Patch by: Tim-Phillip Mueller <t.i.m@zen.co.uk>
2008-04-25  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Tim-Phillip Mueller <t.i.m@zen.co.uk>

	* sound-properties-capplet.c: (add_device_with_probe),
	(device_added_alsa), (device_added_oss), (device_added_callback),
	(device_removed_callback), (setup_devices_by_capability),
	(setup_hal_devices), (setup_devices): add support for OSS 4 (bug
	#529720)

svn path=/trunk/; revision=8667
2008-04-25 16:29:34 +00:00
Jens Granseuer
ad78407721 sort mixer devices alphabetically (bug #525530)
2008-04-01  Jens Granseuer  <jensgr@gmx.net>

	* mixer-support.c: (create_mixer_device_tree_model): sort mixer devices
	alphabetically (bug #525530)

svn path=/trunk/; revision=8623
2008-04-01 18:41:51 +00:00
Jens Granseuer
de1e37ceae don't show modems and other unwanted devices (bug #523888)
2008-04-01  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties-capplet.c: (device_added_callback): don't show
	modems and other unwanted devices (bug #523888)

svn path=/trunk/; revision=8622
2008-04-01 16:22:16 +00:00
Jens Granseuer
23326ef678 don't mention esd (bug #519722)
2008-03-27  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties.glade: don't mention esd (bug #519722)

svn path=/trunk/; revision=8599
2008-03-27 19:32:49 +00:00
Jaap A. Haitsma
0c9753bb72 New tango icon (bug #523916)
2008-03-24  Jaap A. Haitsma  <jaap@haitsma.org>

	* visual-bell.png: New tango icon
	(bug #523916)

svn path=/trunk/; revision=8590
2008-03-24 17:58:37 +00:00
Jens Granseuer
ab3c936d27 use the libsounds.la now that libsounds uses libtool (bug #515252)
2008-02-09  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am: use the libsounds.la now that libsounds uses libtool
	(bug #515252)

svn path=/trunk/; revision=8462
2008-02-09 15:41:21 +00:00
Jens Granseuer
82ce9b1326 add 48x48 PNG icon version by Andreas Nilsson <nisses.mail@home.se> (bug
2007-12-11  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* icons/48x48:
	* icons/48x48/gnome-sound-properties.png: add 48x48 PNG icon version
	by Andreas Nilsson <nisses.mail@home.se> (bug #502945)

svn path=/trunk/; revision=8324
2007-12-11 10:29:44 +00:00
Jens Granseuer
9b57271af8 fix target dir for icons
2007-06-29  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am: fix target dir for icons

svn path=/trunk/; revision=7804
2007-06-29 18:50:12 +00:00
Jens Granseuer
06f1c0403b Patch by: Luca Feretti <elle.uca@libero.it>
2007-06-28  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Luca Feretti <elle.uca@libero.it>

	* gnome-settings-sound.desktop.in.in:
	* sound-properties-capplet.c: (main): use new icon name (patch from bug
	#397305)

svn path=/trunk/; revision=7797
2007-06-28 17:57:24 +00:00
Jens Granseuer
91e2cb7825 add new icons by Josef Vybiral (closes bug #397305)
2007-06-28  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* icons/16x16/gnome-sound-properties.svg:
	* icons/22x22/gnome-sound-properties.svg:
	* icons/32x32/gnome-sound-properties.svg:
	* icons/scalable/gnome-sound-properties.svg:
	add new icons by Josef Vybiral (closes bug #397305)

svn path=/trunk/; revision=7796
2007-06-28 17:51:19 +00:00
Jens Granseuer
b5d7092ee9 and don't use gtk_timeout_remove, either..
2007-05-27  Jens Granseuer  <jensgr@gmx.net>

	* pipeline-tests.c: (user_test_pipeline): and don't use
	gtk_timeout_remove, either..

svn path=/trunk/; revision=7665
2007-05-27 19:12:12 +00:00
Jens Granseuer
d66e29fc59 use g_timeout_add() instead of the deprecated gtk_timeout_add() set non-0
2007-05-27  Jens Granseuer  <jensgr@gmx.net>

	* pipeline-tests.c: (user_test_pipeline): use g_timeout_add() instead
	of the deprecated gtk_timeout_add()
	* sound-properties.glade: set non-0 pulse step for the progress bar to
	actually make it move (fixes bug #441587)

svn path=/trunk/; revision=7664
2007-05-27 18:50:41 +00:00
Jens Granseuer
b21871170d don't crash if glade file is not available
2007-05-06  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties-capplet.c: (create_dialog), (main): don't crash if
	glade file is not available

svn path=/trunk/; revision=7561
2007-05-06 12:49:06 +00:00
Jens Granseuer
c40974353b set button images via code instead of relying on glade, so they respect
2007-05-06  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties-capplet.c: (create_dialog):
	* sound-properties.glade: set button images via code instead of
	relying on glade, so they respect the gtk-button-images xsetting

svn path=/trunk/; revision=7560
2007-05-06 12:44:47 +00:00
Rodrigo Moya
caa4dafea5 renamed Bugzilla product.
2007-04-27  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-sound.desktop.in.in: renamed Bugzilla product.

svn path=/trunk/; revision=7509
2007-04-27 10:19:11 +00:00
Jens Granseuer
66283c87ed move function inside USE_HAL
2007-04-03  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties-capplet.c: (remove_device): move function inside
	USE_HAL

svn path=/trunk/; revision=7438
2007-04-03 19:17:47 +00:00
Jens Granseuer
3804bf4a44 Patch by: Matthias Clasen <mclasen@redhat.com>
2007-04-03  Jens Granseuer  <jensgr@gmx.net>

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

	* sound-properties-capplet.c: (setup_default_mixer): ellipsize the
	device combobox (bug #425650)

svn path=/trunk/; revision=7437
2007-04-03 19:13:17 +00:00
Christian Persch
c7b803a131 Fix button label alignment. Bug #416238.
2007-03-18  Christian Persch  <chpe@gnome.org>

	* sound-properties.glade: Fix button label alignment. Bug #416238.

svn path=/trunk/; revision=7390
2007-03-18 16:15:13 +00:00
Christian Persch
c490230832 Revert unrelated change accidentally committed with the previous commit.
2007-03-18  Christian Persch  <chpe@gnome.org>

	* sound-properties-capplet.c: (create_dialog): Revert unrelated change
	accidentally committed with the previous commit.

svn path=/trunk/; revision=7389
2007-03-18 14:27:53 +00:00
Christian Persch
9975a0cc64 Initialise threads early, and fix option context translation. Bug #416239.
2007-03-18  Christian Persch  <chpe@gnome.org>

	* sound-properties-capplet.c: (create_dialog), (main): Initialise
	threads early, and fix option context translation. Bug #416239.

svn path=/trunk/; revision=7388
2007-03-18 14:25:53 +00:00
Jens Granseuer
6bb442dcc4 Patch by: Patrick Wade <patrick.wade@sun.com>
2007-02-10  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Patrick Wade <patrick.wade@sun.com>

	* sound-properties.glade: add a11y label relations for the devices
	tab (fixes bug #369302)

svn path=/trunk/; revision=7276
2007-02-10 13:08:10 +00:00
Jens Granseuer
76cbf39631 Patch by: Gabor Kelemen <kelemeng@gnome.hu>
2007-02-02  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Gabor Kelemen <kelemeng@gnome.hu>

	* sound-properties-capplet.c: (setup_devices): Polypaudio is now
	PulseAudio (fixes bug #394003)

svn path=/trunk/; revision=7225
2007-02-02 16:29:09 +00:00
Kjartan Maraas
d033af5089 ANSIfication of function declarations.
2007-01-29  Kjartan Maraas  <kmaraas@gnome.org>

	* sound-properties-capplet.c: (setup_hal_devices), (setup_devices):
	ANSIfication of function declarations.

svn path=/trunk/; revision=7197
2007-01-29 09:18:55 +00:00
Christian Persch
a4af2f5fca Fix label alignments bug (caused by glade-3 bug 396433).
2007-01-14  Christian Persch  <chpe@svn.gnome.org>

	* sound-properties.glade: Fix label alignments bug (caused by glade-3
	bug 396433).

svn path=/trunk/; revision=7139
2007-01-14 19:55:33 +00:00
Christian Persch
88f98988bb Show the sound properties view after adding it to the dialogue.
2007-01-14  Christian Persch  <chpe@svn.gnome.org>

	* sound-properties-capplet.c: (create_dialog): Show the sound
	properties view after adding it to the dialogue.

svn path=/trunk/; revision=7138
2007-01-14 19:54:51 +00:00
Christian Persch
a77fc4f15c Fix ChangeLog
svn path=/trunk/; revision=7136
2007-01-14 19:25:24 +00:00
Jan Arne Petersen
dbf78025be Fixes #394736
2007-01-09  Jan Arne Petersen  <jpetersen@jpetersen.org>

	Fixes #394736

	* sound-properties-capplet.c: (update_mixer_tracks_selection),
	(update_mixer_device_combobox): added NULL-check.



svn path=/trunk/; revision=7123
2007-01-09 18:52:04 +00:00
Jan Arne Petersen
90b67faf65 Fixes #173035
2007-01-08  Jan Arne Petersen  <jpetersen@jpetersen.org>

	Fixes #173035

	* configure.in: updated sound capplet requirements.

	* gnome-settings-daemon/actions/Makefile.am:
	* gnome-settings-daemon/actions/acme-volume-gstreamer.c:
	(acme_volume_gstreamer_finalize), (acme_volume_gstreamer_set_mute),
	(update_state), (acme_volume_gstreamer_get_mute),
	(acme_volume_gstreamer_get_volume),
	(acme_volume_gstreamer_set_volume),
	(acme_volume_gstreamer_close_real), (_acme_set_mixer),
	(acme_volume_gstreamer_open), (acme_volume_gstreamer_init): added
	support for multiple mixer tracks. Added support for gconf device and
	track selection.

	* capplets/sound/Makefile.am, mixer-support.c, mixer-support.h: Add new files.
	* capplets/sound/sound-properties-capplet.c: (mixer_device_combobox_changed),
	(add_track_label_to_list), (mixer_tracks_selection_changed),
	(update_mixer_tracks_selection), (default_mixer_tracks_notify),
	(update_mixer_device_combobox), (default_mixer_device_notify),
	(setup_default_mixer), (setup_dialog):
	* capplets/sound/sound-properties.glade: added support for selecting mixer device and
	tracks in the capplet.


svn path=/trunk/; revision=7113
2007-01-08 22:50:39 +00:00
Thomas Wood
869a405a9c Use GtkAlignment for padding, rather than a GtkHbox and GtkFrame. Fixes
2007-01-07  Thomas Wood  <thos@gnome.org>

	* sound-properties.glade: Use GtkAlignment for padding, rather than a
	GtkHbox and GtkFrame. Fixes bug 143215.

svn path=/trunk/; revision=7091
2007-01-07 21:52:18 +00:00
Kjartan Maraas
c01ad4ff50 Spell Enlightened Sound Daemon correctly.
2007-01-07  Kjartan Maraas  <kmaraas@gnome.org>

	* sound-properties-capplet.c: (setup_devices):
	Spell Enlightened Sound Daemon correctly.

svn path=/trunk/; revision=7081
2007-01-07 15:27:40 +00:00
Gabor Kelemen
811900c2a1 Fixes #350572
2007-01-07  Gabor Kelemen  <kelemeng@gnome.hu>

	Fixes #350572 
	
	* sound-properties.glade: Add accelerators to the device tab.

svn path=/trunk/; revision=7072
2007-01-07 00:01:25 +00:00
Marc-Andre Lureau
f0e60de69f Fixes #392276
2007-01-06  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

	Fixes #392276

	* sound-properties-capplet.c (setup_dialog): #ifdef esd-related code.

svn path=/trunk/; revision=7064
2007-01-06 21:17:39 +00:00
Marc-Andre Lureau
113c4c4fb1 Fixes #392276
2007-01-03  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

	Fixes #392276

	* sound-properties-capplet.c (setup_dialog): #ifdef esd-related code.

svn path=/trunk/; revision=7063
2007-01-06 21:17:29 +00:00
Lucas Rocha
d0ea4adb94 Fixes #336286
2007-01-06  Lucas Rocha <lucasr.at.mundo@gmail.com>

	Fixes #336286

	* sound-properties-capplet.c (main): switched from popt to GOptionContext.

svn path=/trunk/; revision=7058
2007-01-06 18:56:09 +00:00
Jan Arne Petersen
d2e2e99b8e do proper dbus/libhal error handling. (Closes #363005)
2007-01-07  Jan Arne Petersen  <jap@gnome.org>

	* sound-properties-capplet.c: (setup_hal_devices): do proper
	dbus/libhal error handling. (Closes #363005)


svn path=/trunk/; revision=7053
2007-01-06 18:41:13 +00:00
Gabor Kelemen
721d95b138 Fixes #393472
2007-01-06  Gabor Kelemen  <kelemeng@gnome.hu>

	Fixes #393472 

	* sound-properties-capplet.c: marked sound system names translatable.

svn path=/trunk/; revision=7047
2007-01-06 17:26:00 +00:00
Christian Persch
42691c98b1 Fixes #350556
2006-08-10  Christian Persch  <chpe@gnome.org>

	Fixes #350556

	* sound-properties-capplet.c (add_selected_device): fixed mem leak.
2006-08-10 11:51:46 +00:00
Klaus Pedersen
5cfeb27ac8 Fixes #349254
2006-08-02  Klaus Pedersen <klaus.kruse.pedersen@mail.tele.dk>

	Fixes #349254

	* sound-properties-capplet.c: removed unneeded header file.
2006-08-02 11:10:16 +00:00