summaryrefslogtreecommitdiff
path: root/src/totem-object.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-02-11 13:38:18 +0100
committerBastien Nocera <hadess@hadess.net>2022-02-11 14:25:19 +0100
commitdb7a515e09eb9b416513dfaa96f5abf9a23ba194 (patch)
tree34e5a74e1ab30f91c9c148a263e15e62b335becf /src/totem-object.c
parentab8d0f3b1b67cddd886d919c54c07b5e5c68e001 (diff)
downloadtotem-db7a515e09eb9b416513dfaa96f5abf9a23ba194.tar.gz
menu: Split updating subtitles and languages menus
Diffstat (limited to 'src/totem-object.c')
-rw-r--r--src/totem-object.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/totem-object.c b/src/totem-object.c
index 9f3aa84be..b68f68af1 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -2510,7 +2510,8 @@ on_channels_change_event (BaconVideoWidget *bvw, TotemObject *totem)
{
gchar *name;
- totem_sublang_update (totem);
+ totem_subtitles_menu_update (totem);
+ totem_languages_menu_update (totem);
update_media_menu_items (totem);
/* updated stream info (new song) */
@@ -2549,7 +2550,8 @@ on_got_metadata_event (BaconVideoWidget *bvw, TotemObject *totem)
g_free (name);
}
- totem_sublang_update (totem);
+ totem_subtitles_menu_update (totem);
+ totem_languages_menu_update (totem);
update_buttons (totem);
on_playlist_change_name (TOTEM_PLAYLIST (totem->playlist), totem);
}