Commit 9234d066 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Wire up the "Sound Settings" button

parent d711c58e
......@@ -577,6 +577,16 @@ visual_bell_type_toggle_cb (GtkWidget *button,
gconf_client_set_string (panel->priv->client, key, "fullscreen", NULL);
}
static void
hearing_sound_preferences_clicked (GtkButton *button,
CcUaPanel *panel)
{
CcShell *shell;
shell = cc_panel_get_shell (CC_PANEL (panel));
cc_shell_set_active_panel_from_id (shell, "sound", NULL);
}
static void
cc_ua_panel_init_hearing (CcUaPanel *self)
{
......@@ -613,6 +623,9 @@ cc_ua_panel_init_hearing (CcUaPanel *self)
g_signal_connect (WID (priv->builder, "hearing_test_flash_button"),
"clicked", G_CALLBACK (gdk_beep), NULL);
g_signal_connect (WID (priv->builder, "hearing_sound_preferences_button"),
"clicked",
G_CALLBACK (hearing_sound_preferences_clicked), self);
}
/* typing/keyboard section */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment