GNOME Bugzilla – Bug 657220
Add option to use account for phone calls
Last modified: 2011-08-24 14:28:19 UTC
We should use http://telepathy.freedesktop.org/spec/Account_Interface_Addressing.html to let users to say that an account (typically SIP) can be used to make phone calls.
Created attachment 194572 [details] [review] account-settings: add API to set 'tel' in the URISchemes property of the account
Created attachment 194573 [details] [review] account-widget: add empathy_account_widget_get_settings()
Created attachment 194574 [details] [review] widget-sip: load/save file in Glade No change has been done, this is just to keep commits simpler.
Created attachment 194575 [details] [review] account-widget-sip: add option to mark account as being able to call phones
Review of attachment 194575 [details] [review]: ::: libempathy-gtk/empathy-account-widget-sip.c @@ +161,3 @@ + if (empathy_account_settings_has_uri_scheme_tel ( + empathy_account_widget_get_settings (self))) + gtk_toggle_button_set_active (checkbutton_tel, TRUE); gtk_toggle_button_set_active (checkbutton_tel, empathy_account_settings_has_uri_scheme_tel (empathy_account_widget_get_settings (self))); To not depend on the default value set in glade is FALSE? nitpicking probably :)
The rest seems good.
(In reply to comment #5) > Review of attachment 194575 [details] [review]: > > ::: libempathy-gtk/empathy-account-widget-sip.c > @@ +161,3 @@ > + if (empathy_account_settings_has_uri_scheme_tel ( > + empathy_account_widget_get_settings (self))) > + gtk_toggle_button_set_active (checkbutton_tel, TRUE); > > gtk_toggle_button_set_active (checkbutton_tel, > empathy_account_settings_has_uri_scheme_tel > (empathy_account_widget_get_settings (self))); > > To not depend on the default value set in glade is FALSE? nitpicking probably > :) Good point; fixed. merging.
Attachment 194572 [details] pushed as 1ef053f - account-settings: add API to set 'tel' in the URISchemes property of the account Attachment 194573 [details] pushed as fe4fd76 - account-widget: add empathy_account_widget_get_settings() Attachment 194574 [details] pushed as 1363e49 - widget-sip: load/save file in Glade Attachment 194575 [details] pushed as 96d6384 - account-widget-sip: add option to mark account as being able to call phones