aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-04-16 01:12:59 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-04-16 01:12:59 +0800
commit6d6df84008ea0cf7e86aa2377c827274a2c76275 (patch)
tree33a51f841f00750524f2af3fb7eb55b9a5d9911e
parent26f6794195d98dd5cd199d3a3f92c2b0bda573e1 (diff)
downloadgsoc2013-empathy-6d6df84008ea0cf7e86aa2377c827274a2c76275.tar
gsoc2013-empathy-6d6df84008ea0cf7e86aa2377c827274a2c76275.tar.gz
gsoc2013-empathy-6d6df84008ea0cf7e86aa2377c827274a2c76275.tar.bz2
gsoc2013-empathy-6d6df84008ea0cf7e86aa2377c827274a2c76275.tar.lz
gsoc2013-empathy-6d6df84008ea0cf7e86aa2377c827274a2c76275.tar.xz
gsoc2013-empathy-6d6df84008ea0cf7e86aa2377c827274a2c76275.tar.zst
gsoc2013-empathy-6d6df84008ea0cf7e86aa2377c827274a2c76275.zip
Display an accurate error when not enough credit
-rw-r--r--libempathy-gtk/empathy-call-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-call-utils.c b/libempathy-gtk/empathy-call-utils.c
index b362ecaa8..1fe9257cc 100644
--- a/libempathy-gtk/empathy-call-utils.c
+++ b/libempathy-gtk/empathy-call-utils.c
@@ -51,6 +51,8 @@ get_error_display_message (GError *error)
return _("The specified contact is not valid");
case TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED:
return _("Emergency calls are not supported on this protocol");
+ case TP_ERROR_INSUFFICIENT_BALANCE:
+ return _("You don't have enough credit in order to place this call");
}
return _("There was an error starting the call");