summaryrefslogtreecommitdiff
path: root/mate-volume-control
diff options
context:
space:
mode:
Diffstat (limited to 'mate-volume-control')
-rw-r--r--mate-volume-control/gvc-sound-theme-chooser.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mate-volume-control/gvc-sound-theme-chooser.c b/mate-volume-control/gvc-sound-theme-chooser.c
index 9edc630..55c4ee2 100644
--- a/mate-volume-control/gvc-sound-theme-chooser.c
+++ b/mate-volume-control/gvc-sound-theme-chooser.c
@@ -1069,6 +1069,11 @@ gvc_sound_theme_chooser_init (GvcSoundThemeChooser *chooser)
chooser->priv->sound_settings = g_settings_new (KEY_SOUNDS_SCHEMA);
+ g_signal_connect (G_OBJECT (chooser->priv->sound_settings),
+ "changed",
+ G_CALLBACK (on_key_changed),
+ chooser);
+
str = g_strdup_printf ("<b>%s</b>", _("C_hoose an alert sound:"));
chooser->priv->selection_box = box = gtk_frame_new (str);
g_free (str);
@@ -1113,10 +1118,6 @@ gvc_sound_theme_chooser_init (GvcSoundThemeChooser *chooser)
"toggled",
G_CALLBACK (on_click_feedback_toggled),
chooser);
- g_signal_connect (G_OBJECT (chooser->priv->sound_settings),
- "changed",
- G_CALLBACK (on_key_changed),
- chooser);
setup_theme_selector (chooser);
update_theme (chooser);