totem r5087 - in trunk: . src
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5087 - in trunk: . src
- Date: Fri, 8 Feb 2008 21:19:28 +0000 (GMT)
Author: hadess
Date: Fri Feb 8 21:19:28 2008
New Revision: 5087
URL: http://svn.gnome.org/viewvc/totem?rev=5087&view=rev
Log:
2008-02-08 Bastien Nocera <hadess hadess net>
* src/totem.c: (totem_action_load_media):
Fix message when trying to play DVB and plugins are missing
Modified:
trunk/ChangeLog
trunk/src/totem.c
Modified: trunk/src/totem.c
==============================================================================
--- trunk/src/totem.c (original)
+++ trunk/src/totem.c Fri Feb 8 21:19:28 2008
@@ -492,7 +492,11 @@
} else if (status == BVW_CAN_PLAY_UNSUPPORTED) {
msg = g_strdup_printf(_("Totem cannot play this type of media (%s) because it is not supported."), _(totem_cd_get_human_readable_name (type)));
} else if (status == BVW_CAN_PLAY_MISSING_PLUGINS) {
- msg = g_strdup_printf(_("Totem cannot play this type of media (%s) because it does not have the appropriate plugins to be able to read from the disc."), _(totem_cd_get_human_readable_name (type)));
+ if (type == MEDIA_TYPE_DVD || type == MEDIA_TYPE_VCD) {
+ msg = g_strdup_printf(_("Totem cannot play this type of media (%s) because it does not have the appropriate plugins to be able to read from the disc."), _(totem_cd_get_human_readable_name (type)));
+ } else {
+ msg = g_strdup_printf (_("Totem cannot play this type of media (%s) because you do not have the appropriate plugins to handle it."), _(totem_cd_get_human_readable_name (type)));
+ }
totem_interface_error_with_link (msg, _("Please install the necessary plugins and restart Totem to be able to play this media."),
"http://www.gnome.org/projects/totem/#codecs", _("More information about media plugins"),
GTK_WINDOW (totem->win), totem);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]