Commit graph

158 commits

Author SHA1 Message Date
Bastien Nocera
0014512507 Simple patch to make the filechooser default to a sensible directory
2008-10-10  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* sound-theme.c (get_sound_filename): Simple patch to make
	the filechooser default to a sensible directory


svn path=/trunk/; revision=9056
2008-10-10 09:17:52 +00:00
Vincent Untz
1aee7c2ad6 post-release bump to 2.24.1.
2008-09-24  Vincent Untz  <vuntz@gnome.org>

	* configure.in: post-release bump to 2.24.1.

svn path=/trunk/; revision=9001
2008-09-24 16:50:50 +00:00
Claude Paroz
e0bfd52fb6 reviewed by: Jens Granseuer <jensgr@gmx.net>
2008-08-28  Claude Paroz  <claude@2xlibre.net>

	reviewed by: Jens Granseuer  <jensgr@gmx.net>

	* sound-theme-definition.h: add context to event sound names.
	* sound-theme.c: (setup_sound_theme_custom): replace gettext by g_dpgettext2 to
	use context information added in sound-theme-definition.h (bug #549489)

svn path=/trunk/; revision=8898
2008-08-28 20:51:35 +00:00
Jens Granseuer
a431229943 Patch by: Brian Cameron <brian.cameron@sun.com>
2008-08-21  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Brian Cameron <brian.cameron@sun.com>

	* sound-theme.c: (set_combox_for_theme_name): trying to print NULL
	strings crashes on Solaris (bug #548586)

svn path=/trunk/; revision=8878
2008-08-21 16:04:15 +00:00
Jens Granseuer
eef20ec03e Patch by: Matthias Clasen <mclasen@redhat.com>
2008-08-16  Jens Granseuer  <jensgr@gmx.net>

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

	* sound-theme.c: (play_sound_at_path),
	(custom_treeview_button_press_event_cb),
	(activatable_cell_renderer_pixbuf_activate),
	(activatable_cell_renderer_pixbuf_init),
	(activatable_cell_renderer_pixbuf_class_init),
	(setup_sound_theme_custom): make the event sound preview button
	listen to the "activate" signal so it becomes accessible via
	keyboard (bug #547808)

svn path=/trunk/; revision=8867
2008-08-16 13:06:02 +00:00
Jens Granseuer
2dadfef80e Based on a patch by: Bastien Nocera <hadess@hadess.net>
2008-08-07  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Bastien Nocera <hadess@hadess.net>

	* sound-properties.glade:
	* sound-theme-definition.h: HIG fixes and improved wording (bug
	#545219)

svn path=/trunk/; revision=8844
2008-08-07 20:19:32 +00:00
Jens Granseuer
330fd8c42f fix warning due to left-over developer code (bug #546583)
2008-08-06  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties-capplet.c: (create_dialog): fix warning due to
	left-over developer code (bug #546583)

svn path=/trunk/; revision=8841
2008-08-06 18:35:47 +00:00
Rodrigo Moya
8c8934b0b6 added missing file to _SOURCES.
2008-08-04  Rodrigo Moya <rodrigo@gnome-db.org>

	* Makefile.am: added missing file to _SOURCES.

svn path=/trunk/; revision=8837
2008-08-05 11:47:55 +00:00
Jens Granseuer
ee3ab41e5d Based on a patch by: Alexander Schwenn <alesch@xelaris.net>
2008-08-02  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Alexander Schwenn <alesch@xelaris.net>

	* sound-properties-capplet.c: (filter_device_generic),
	(filter_device_alsa), (filter_device_oss),
	(get_device_description), (device_added_alsa), (device_added_oss): add
	some filtering for OSS devices and create more useful device
	descriptions (bug #545275)

svn path=/trunk/; revision=8832
2008-08-02 12:59:44 +00:00
Bastien Nocera
4bede81a0a "touch" the custom theme directory every time we make a change (Closes:
2008-07-29  Bastien Nocera  <hadess@hadess.net>

	* sound-theme-file-utils.c (custom_theme_update_time):
	* sound-theme-file-utils.h:
	* sound-theme.c (save_custom_theme): "touch" the custom theme
	directory every time we make a change (Closes: #545373)


svn path=/trunk/; revision=8828
2008-07-29 22:45:18 +00:00
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