GNOME Bugzilla – Bug 661734
Report insufficient balance for calls
Last modified: 2011-10-21 21:47:48 UTC
We need to support the insufficient balance error for calls with a way to offer the user to top-up via ManageCreditURI. I rebased and squashed this old branch from Emilio: http://cgit.collabora.com/git/user/danni/empathy.git/log/?h=balance-errors It could probably do with designer input (also porting to use the factory, rather than re-preparing the Connection).
Updated with some small fixes, which haven't been tested, because I can't seem to compile empathy-call :-/
I tried it and hit this crash: Program received signal SIGSEGV, Segmentation fault. 0x0000000000434523 in empathy_call_window_state_changed_cb (handler=0x707cb0, state=TPY_CALL_STATE_PENDING_RECEIVER, reason=0x1c53410 "", self=0x0) at empathy-call-window.c:3186 3186 EmpathyCallWindowPriv *priv = GET_PRIV (self); (gdb) bt
+ Trace 228804
Created attachment 199614 [details] [review] updated patch Rebased, fixed and tested. 2 new commits. The crash was a missing argument to g_signal_new(). Also swapped the order of the buttons so that Top Up is on top of Close. Makes more sense that way IMO.
Review of attachment 199614 [details] [review]: Looks good (I didn't test it).
Cool. Merged. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.