summaryrefslogtreecommitdiff
path: root/src/totem-preferences.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2010-09-02 18:57:35 +0100
committerBastien Nocera <hadess@hadess.net>2010-09-02 18:58:41 +0100
commit63377577e22954c31f65da2b370366ac81a1180a (patch)
tree0557ca2248a1d1b7061428216b62367cad9ba654 /src/totem-preferences.c
parent8a5e18c87d9b90b49539f0e44444a147b8976457 (diff)
downloadtotem-63377577e22954c31f65da2b370366ac81a1180a.tar.gz
Remove the unused "restart after change" dialogues
https://bugzilla.gnome.org/show_bug.cgi?id=322226
Diffstat (limited to 'src/totem-preferences.c')
-rw-r--r--src/totem-preferences.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/totem-preferences.c b/src/totem-preferences.c
index e0015ccf8..2646380bc 100644
--- a/src/totem-preferences.c
+++ b/src/totem-preferences.c
@@ -400,8 +400,7 @@ visual_menu_changed (GtkComboBox *combobox, Totem *totem)
gconf_client_set_string (totem->gc, GCONF_PREFIX"/visual",
name, NULL);
- if (bacon_video_widget_set_visuals (totem->bvw, name) != FALSE)
- totem_action_info (_("Changing the visuals effect type will require a restart to take effect."), totem);
+ bacon_video_widget_set_visuals (totem->bvw, name);
}
g_free (old_name);
@@ -480,16 +479,9 @@ void
audio_out_menu_changed (GtkComboBox *combobox, Totem *totem)
{
BvwAudioOutType audio_out;
- gboolean need_restart;
audio_out = gtk_combo_box_get_active (combobox);
- need_restart = bacon_video_widget_set_audio_out_type (totem->bvw, audio_out);
- if (need_restart != FALSE) {
- totem_action_info (_("The change of audio output type will "
- "only take effect when Totem is "
- "restarted."),
- totem);
- }
+ bacon_video_widget_set_audio_out_type (totem->bvw, audio_out);
}
void