aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
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-09-05 22:20:35 +0800
commitc6e11eb4767148a799ab565de508886ffa7fa86f (patch)
tree8e64ab26483aac830f131f9fdd9a47ea446f92b6 /libempathy-gtk
parent87842463373ddfbed87fdf27a617f1b35fb35d41 (diff)
downloadgsoc2013-empathy-c6e11eb4767148a799ab565de508886ffa7fa86f.tar
gsoc2013-empathy-c6e11eb4767148a799ab565de508886ffa7fa86f.tar.gz
gsoc2013-empathy-c6e11eb4767148a799ab565de508886ffa7fa86f.tar.bz2
gsoc2013-empathy-c6e11eb4767148a799ab565de508886ffa7fa86f.tar.lz
gsoc2013-empathy-c6e11eb4767148a799ab565de508886ffa7fa86f.tar.xz
gsoc2013-empathy-c6e11eb4767148a799ab565de508886ffa7fa86f.tar.zst
gsoc2013-empathy-c6e11eb4767148a799ab565de508886ffa7fa86f.zip
Display an accurate error when not enough credit
Diffstat (limited to 'libempathy-gtk')
-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 eb01fe25b..0926230ec 100644
--- a/libempathy-gtk/empathy-call-utils.c
+++ b/libempathy-gtk/empathy-call-utils.c
@@ -55,6 +55,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");