[gnome-todo] todoist-preferences-panel: add parameters to spawn_goa
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] todoist-preferences-panel: add parameters to spawn_goa
- Date: Fri, 25 Aug 2017 13:36:32 +0000 (UTC)
commit 48af9edaf5ce25fbe3c72295bce8bad31fe4440a
Author: Rohit Kaushik <kaushikrohit325 gmail com>
Date: Sat Aug 19 22:33:01 2017 +0530
todoist-preferences-panel: add parameters to spawn_goa
Since todoist is hidden in GOA, on add account button
click todoist panel should open and not goa accounts
panel. This panel fixes this by passing parameters
action and arg that is add and todoist to spawn_goa_
with_args function.
https://bugzilla.gnome.org/show_bug.cgi?id=772278
plugins/todoist/gtd-todoist-preferences-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/todoist/gtd-todoist-preferences-panel.c b/plugins/todoist/gtd-todoist-preferences-panel.c
index 937b273..31ba86c 100644
--- a/plugins/todoist/gtd-todoist-preferences-panel.c
+++ b/plugins/todoist/gtd-todoist-preferences-panel.c
@@ -108,7 +108,7 @@ add_account_button_clicked (GtdTodoistPreferencesPanel *self)
{
g_return_if_fail (GOA_IS_CLIENT (self->client));
- spawn_goa_with_args (NULL, NULL);
+ spawn_goa_with_args ("add", "todoist");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]