Commit graph

70 commits

Author SHA1 Message Date
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
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
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
Christian Persch
43d40d7a0a Don't define directories in configure. Remove some obsolete defines, and
2007-02-02  Christian Persch  <chpe@svn.gnome.org>

	* Makefile.am:
	* capplets/about-me/Makefile.am:
	* capplets/about-me/gnome-about-me-password.c: (passdlg_init):
	* capplets/about-me/gnome-about-me.c: (about_me_setup_dialog):
	* capplets/accessibility/at-properties/Makefile.am:
	* capplets/accessibility/keyboard/Makefile.am:
	* capplets/accessibility/keyboard/accessibility-keyboard.c:
	(setup_accessX_dialog):
	* capplets/background/Makefile.am:
	* capplets/background/gnome-wp-capplet.c: (gnome_wp_create_dialog):
	* capplets/common/Makefile.am:
	* capplets/common/capplet-util.c: (capplet_set_icon):
	* capplets/default-applications/Makefile.am:
	* capplets/display/Makefile.am:
	* capplets/file-types/Makefile.am:
	* capplets/file-types/file-types-capplet.c: (create_dialog):
	* capplets/file-types/mime-category-edit-dialog.c:
	(mime_category_edit_dialog_init):
	* capplets/file-types/mime-edit-dialog.c: (mime_edit_dialog_init):
	* capplets/file-types/service-edit-dialog.c:
	(service_edit_dialog_init):
	* capplets/font/Makefile.am:
	* capplets/keybindings/Makefile.am:
	* capplets/keybindings/gnome-keybinding-properties.c:
	(create_dialog):
	* capplets/keyboard/Makefile.am:
	* capplets/keyboard/gnome-keyboard-properties-xkblt.c:
	(xkb_layout_choose):
	* capplets/keyboard/gnome-keyboard-properties-xkbmc.c:
	(choose_model):
	* capplets/keyboard/gnome-keyboard-properties.c: (create_dialog):
	* capplets/localization/Makefile.am:
	* capplets/localization/gnome-localization-properties.c:
	(create_dialog):
	* capplets/mime-type/Makefile.am:
	* capplets/mouse/Makefile.am:
	* capplets/mouse/gnome-mouse-properties.c: (create_dialog):
	* capplets/network/Makefile.am:
	* capplets/network/gnome-network-preferences.c:
	(cb_http_details_button_clicked), (main):
	* capplets/rollback/Makefile.am:
	* capplets/sound/Makefile.am:
	* capplets/sound/sound-properties-capplet.c: (create_dialog),
	(device_test_button_clicked):
	* capplets/theme-switcher/Makefile.am:
	* capplets/ui-properties/Makefile.am:
	* capplets/ui-properties/gnome-ui-properties.c: (create_dialog):
	* capplets/url-properties/Makefile.am:
	* capplets/windows/Makefile.am:
	* capplets/wm-properties/wm-desktops/Makefile.am:
	* configure.in:
	* gnome-settings-daemon/Makefile.am:
	* gnome-settings-daemon/actions/Makefile.am:
	* gnome-settings-daemon/gnome-settings-xmodmap.c:
	(gnome_settings_modmap_dialog_call):
	* gnome-settings-daemon/gnome-settings-xrdb.c:
	* gnome-settings-daemon/gsd-media-keys-window.c: (action_changed),
	(gsd_media_keys_window_init):
	* gnome-settings-daemon/xrdb/Makefile.am:
	* typing-break/Makefile.am:
	* vfs-methods/themus/Makefile.am: Don't define directories in
	configure. Remove some obsolete defines, and use the standard
	installation paths. Bug #395383.

svn path=/trunk/; revision=7226
2007-02-02 18:12:40 +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
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
8a79c51358 Fix spacings and just build the whole dialogue from glade, not just the
2007-01-11  Christian Persch  <chpe@svn.gnome.org>

	* capplets/sound/Makefile.am:
	* capplets/sound/sound-properties-capplet.c: (create_dialog),
	(dialog_response_cb), (main):
	* capplets/sound/sound-properties.glade:
	Fix spacings and just build the whole dialogue from glade, not just
	the main part. Bug #394068.

svn path=/trunk/; revision=7131
2007-01-11 13:05:13 +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
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
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
Ali Akcaagac
77dcdf8760 Fixes #348755
2006-07-26  Ali Akcaagac <aliakc@web.de>

	Fixes #348755

	* sound-properties-capplet.c: only include libhal if HAL is enabled.
2006-07-26 13:25:04 +00:00
Jürg Billeter
cd175929ed Add sound device selection using HAL and GStreamer (Closes: #329112).
2006-05-05  Jürg Billeter  <j@bitron.ch>

	* Makefile.am:
	* pipeline-tests.c: (user_test_pipeline_response),
	(user_test_pipeline_timeout), (build_test_pipeline),
	(pipeline_error_dlg), (user_test_pipeline):
	* pipeline-tests.h:
	* sound-properties-capplet.c: (element_available), (add_device),
	(remove_device), (device_added_callback),
	(device_removed_callback), (setup_hal_devices),
	(device_test_button_clicked), (get_gconf_key_for_profile),
	(device_changed), (get_gconf_description_for_profile),
	(gconf_key_changed), (setup_device_chooser), (add_selected_device),
	(setup_devices), (setup_dialog), (main):
	* sound-properties.glade:

	Add sound device selection using HAL and GStreamer (Closes: #329112).
2006-05-05 13:24:27 +00:00
Dennis Cranston
d590057ff6 Do not hardcode the height of the dialog. Add an alignment to
2006-01-11  Dennis Cranston  <dennis_cranston@yahoo.com>

	* capplets/sound/sound-properties-capplet.c: (create_dialog):
	Do not hardcode the height of the dialog.
	* capplets/sound/sound-properties.glade:  Add an alignment to
2006-01-12 12:55:37 +00:00
Scott Reeves
6226f5c127 new GUI.
2006-01-11  Scott Reeves <SReeves@novell.com>

	* sound-properties.glade: new GUI.

	* sound-properties-capplet.c (create_dialog): make dialog bigger.
2006-01-11 10:17:56 +00:00
Sebastien Bacher
05f52484b8 fix the title according to the HIG (Closes: #304950).
2005-05-22  Sebastien Bacher  <seb128@debian.org>

	* sound-properties-capplet.c: (main):
	fix the title according to the HIG (Closes: #304950).
2005-05-22 19:29:14 +00:00
Sebastien Bacher
581c37e2bb Cleanup of gconf and a few other things, patch from Kjartan Maraas
2005-05-22  Sebastien Bacher  <seb128@debian.org>

        * ChangeLog capplets/about-me/e-image-chooser.c
        capplets/accessibility/at-properties/at-startup-session.h
        capplets/accessibility/keyboard/accessibility-keyboard.c
        capplets/background/gnome-wp-info.c
        capplets/common/gconf-property-editor.c
        capplets/common/gnome-theme-apply.c
        capplets/default-applications/gnome-default-applications-properties.c
        capplets/keybindings/gnome-keybinding-properties.c
        capplets/keyboard/gnome-keyboard-properties.c
        capplets/mouse/gnome-mouse-properties.c
        capplets/network/gnome-network-preferences.c
        capplets/sound/sound-properties-capplet.c
        capplets/theme-switcher/gnome-theme-details.c
        capplets/theme-switcher/gnome-theme-manager.c
        capplets/ui-properties/gnome-ui-properties.c
        capplets/windows/gnome-window-properties.c
        gnome-settings-daemon/factory.c
        gnome-settings-daemon/gnome-settings-accessibility-keyboard.c
        gnome-settings-daemon/gnome-settings-background.c
        gnome-settings-daemon/gnome-settings-daemon.c
        gnome-settings-daemon/gnome-settings-daemon.h
        gnome-settings-daemon/gnome-settings-font.c
        gnome-settings-daemon/gnome-settings-keybindings.c
        gnome-settings-daemon/gnome-settings-keybindings.h
        gnome-settings-daemon/gnome-settings-keyboard-xkb.c
        gnome-settings-daemon/gnome-settings-keyboard.c
        gnome-settings-daemon/gnome-settings-locate-pointer.h
        gnome-settings-daemon/gnome-settings-mouse.c
        gnome-settings-daemon/gnome-settings-multimedia-keys.c
        gnome-settings-daemon/gnome-settings-screensaver.c
        gnome-settings-daemon/gnome-settings-sound.c
        gnome-settings-daemon/gnome-settings-xmodmap.c
        gnome-settings-daemon/gnome-settings-xrdb.c
        gnome-settings-daemon/gnome-settings-xsettings.c
        libbackground/applier.c libbackground/applier.h
        libbackground/preferences.c libsounds/sound-properties.c
        libsounds/sound-view.h libwindow-settings/gnome-wm-manager.c
        libwindow-settings/metacity-window-manager.c
        typing-break/drw-break-window.c typing-break/drw-utils.h
        typing-break/drwright.c vfs-methods/fontilus/font-view.c
        vfs-methods/themus/themus-theme-applier.c:
        Cleanup of gconf and a few other things,
        patch from Kjartan Maraas <kmaraas@gnome.org> (Closes: #301945).
2005-05-22 15:46:45 +00:00
Sebastien Bacher
904cbeb3cf change fullscreen_flash to fullscreen (Closes: #166455).
2005-02-07  Sebastien Bacher  <seb128@debian.org>

        * sound-properties-capplet.c: change fullscreen_flash to fullscreen
          (Closes: #166455).
2005-02-06 23:13:21 +00:00
Frédéric Crozat
347006e0d8 Use themed icons for WM hint. 2004-08-20 16:50:57 +00:00
Leena Gunda
4b5e158ec2 set sensitivity of audible/visual bell options only if XKB enabled.
2004-06-22  Leena Gunda  <leena.gunda@wipro.com>

        * sound-properties-capplet.c:
        (create_dialog): set sensitivity of audible/visual bell
        options only if XKB enabled.
        (CheckXKB): function to check if XKB support available.
        Fixes bug #144090
2004-06-22 09:09:19 +00:00
Mark McLoughlin
d9885e685f update help links to point to user-guide.xml
2004-02-12  Mark McLoughlin  <mark@skynet.ie>

        * capplets/display/main.c: (cb_dialog_response):
        * capplets/localization/gnome-localization-properties.c:
        (dialog_response): update help links to point to user-guide.xml
2004-02-12 14:23:03 +00:00
Dennis Cranston
b9926a9130 Patch to fix spacing between action area and vbox of preferences dialog.
2003-08-01  Dennis Cranston  <dennis_cranston at yahoo com>

	* sound-properties-capplet.c: Patch to fix spacing between action
	area and vbox of preferences dialog.
2003-08-04 05:51:52 +00:00
Dennis Cranston
1a9c18bab7 More fixes for ui-review bug number 99533.
2003-07-11  Dennis Cranston <dennis_cranston at yahoo com>

	* sound-properties.glade, sound-properties-capplet.c:
	More fixes for ui-review bug number 99533.
2003-07-12 02:05:17 +00:00
Bill Haneman
be432c9acb Use a peditor for the visual bell instead.
Fri Jun  6 19:16:43 2003  Jonathan Blandford  <jrb@gnome.org>

	* sound-properties-capplet.c (bell_flash_to_widget),
	(bell_flash_from_widget): Use a peditor for the visual bell
	instead.

2003-06-06  Bill Haneman <bill.haneman@sun.com>

	* sound-properties.glade:
	Added page tab and UI from "visual bell" capplet
	(UI originally from Calum, except for ugly icon)

	* visual-bell.png:
	Ugly new icon which needs TLC from Calum.

	* sound-properties-capplet.c:
	Added gconf keys for visual bell feature and control of
	audio bell.
	(visual_bell_type_changed): New, called when visual bell radiobuttons
	are toggled.
	(create_dialog):
	Set the image on the "System Bell" notebook tab.
	(setup_dialog):
	Added peditors for visual-bell and audio-bell checkboxes/gconf keys.
	Added guards for the visual-bell type buttons, controlled by
	the visual-bell-enabling checkbox.
	Connected visual_bell_type_changed to "toggled" signal on radiobuttons.
2003-06-06 23:20:37 +00:00
Alex Duggan
21e7d16ff8 use appropriate window border icon.
2003-04-30  Alex Duggan  <aldug@astrolinux.com>

	* sound-properties-capplet.c: use appropriate
	window border icon.
2003-05-01 05:31:42 +00:00
Kjartan Maraas
60980d0fe5 Merge from stable branch 2003-04-29 17:52:40 +00:00
Federico Mena Quintero
193f017be8 Do not pass -1 for the dialog flags; just pass GTK_DIALOG_NO_SEPARATOR.
2002-07-31  Federico Mena Quintero  <federico@ximian.com>

	* sound-properties-capplet.c (main): Do not pass -1 for the dialog
	flags; just pass GTK_DIALOG_NO_SEPARATOR.  Fixes #89408 and #88614.
2002-08-01 02:12:51 +00:00
Satyajit Kanungo
b4123f15b1 capplet_help () The Help directory is changed to user-guide.
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>

	* capplet-util.c : capplet_help () The Help directory is changed to
	  user-guide.
2002-05-29 04:14:29 +00:00
Jody Goldberg
bd493373d2 Improve help handling.
Improve help handling.

2002-05-26  Jody Goldberg <jody@gnome.org>

	* capplet-util.c (capplet_help) : new utility.

2002-05-24  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_category_info_load_all) : make this more paranoid.
	* mime-category-edit-dialog.c (update_subcategories) : Move this over
	  here.

2002-05-17  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_category_info_using_custom_app) : add some
	  protection.
2002-05-27 02:54:19 +00:00
Jonathan Blandford
6985207425 Use APPID instead of argv[0] for gnome-program-init 2002-05-26 16:11:37 +00:00
Jody Goldberg
97d5856b53 fix help path
2002-05-08  Jody Goldberg <jody@gnome.org>

	* sound-properties-capplet.c (dialog_button_clicked_cb) : fix help path

2002-05-07  Jody Goldberg <jody@gnome.org>

	* sound-properties-capplet.c (main) : add help.
	(dialog_button_clicked_cb) : support help and support WM based exit.
2002-05-08 15:24:50 +00:00
Richard Hestilow
25e832d716 Add mnemonics.
2002-03-27  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties.glade: Add mnemonics.

	* sound-properties-capplet.c (create_dialog): Connect to
	properties so we know when to save.
2002-03-28 01:10:53 +00:00
Seth Nickell
024ad269ad Activate the settings daemon if its not already running.
2002-03-10  Seth Nickell  <snickell@stanford.edu>

	* main.c: (main):
	* sound-properties-capplet.c: (main):

	Activate the settings daemon if its not already running.
2002-03-11 01:52:13 +00:00
Richard Hestilow
09ad7fc6c4 Okay, so I'm an idiot.
2002-03-07  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties-capplet.c (main): Okay, so I'm an idiot.
2002-03-08 01:26:31 +00:00
Richard Hestilow
9baad113aa Okay, so I'm an idiot.
2002-03-07  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties-capplet.c (main): Okay, so I'm an idiot.
2002-03-07 22:58:10 +00:00
Richard Hestilow
1c6664a71b Remove textdomain stuff. I'm not 100% certain this is correct, but none of
2002-03-06  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties-capplet.c (main): Remove textdomain stuff.
	I'm not 100% certain this is correct, but none of the other capplets
	have it.
2002-03-07 01:55:39 +00:00
Lauris Kaplinski
9a3e95aa2d Do not include unused <esd.h>
2002-03-07  Lauris Kaplinski  <lauris@ximian.com>

	* sound-properties-capplet.c: Do not include unused <esd.h>
2002-03-07 01:22:59 +00:00
Kjartan Maraas
cdd8985d77 s/PACKAGE/GETTEXT_PACKAGE/g
2002-02-27  Kjartan Maraas  <kmaraas@gnome.org>

	* sound-properties-capplet.c: s/PACKAGE/GETTEXT_PACKAGE/g
2002-02-27 22:18:25 +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
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
Richard Hestilow
53a008eb3c Port to GNOME 2.0.
2002-01-08  Richard Hestilow  <hestilow@ximian.com>

	* Port to GNOME 2.0.
2002-01-08 14:58:12 +00:00