Introduce CallsAccountOverview: A UI to allow managing VoIP accounts
CallsAccountOverview allows user to view, add and edit VoIP accounts (currently SIP only). Each CallsAccount is represented by a CallsAccountRow. account-row: Staying alive
This commit is contained in:
committed by
Evangelos Ribeiro Tzaras
parent
fadeaeb6b5
commit
fc7156fe75
@@ -350,6 +350,15 @@ copy_number (GSimpleAction *action,
|
||||
g_debug ("Copied `%s' to clipboard", number);
|
||||
}
|
||||
|
||||
static void
|
||||
show_accounts (GSimpleAction *action,
|
||||
GVariant *parameter,
|
||||
gpointer user_data)
|
||||
{
|
||||
CallsApplication *app = CALLS_APPLICATION (g_application_get_default ());
|
||||
calls_main_window_show_accounts_overview (app->main_window);
|
||||
}
|
||||
|
||||
static void
|
||||
manager_state_changed_cb (GApplication *application)
|
||||
{
|
||||
@@ -366,6 +375,8 @@ static const GActionEntry actions[] =
|
||||
{ "set-daemon", set_daemon_action, NULL },
|
||||
{ "dial", dial_action, "s" },
|
||||
{ "copy-number", copy_number, "s"},
|
||||
/* TODO About dialog { "about", show_about, NULL}, */
|
||||
{ "accounts", show_accounts, NULL},
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user