aboutsummaryrefslogtreecommitdiffstats
path: root/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-13 21:18:39 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-07-24 22:20:03 +0800
commitef6264b648b0ef50f25753cffc64c515494721e7 (patch)
tree794517bd90de55fc436adc905ab1db87fa450856 /ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin.c
parent70ea840bfec883f883b748e937e28f68d9f0870f (diff)
downloadgsoc2013-empathy-ef6264b648b0ef50f25753cffc64c515494721e7.tar
gsoc2013-empathy-ef6264b648b0ef50f25753cffc64c515494721e7.tar.gz
gsoc2013-empathy-ef6264b648b0ef50f25753cffc64c515494721e7.tar.bz2
gsoc2013-empathy-ef6264b648b0ef50f25753cffc64c515494721e7.tar.lz
gsoc2013-empathy-ef6264b648b0ef50f25753cffc64c515494721e7.tar.xz
gsoc2013-empathy-ef6264b648b0ef50f25753cffc64c515494721e7.tar.zst
gsoc2013-empathy-ef6264b648b0ef50f25753cffc64c515494721e7.zip
account-plugin-widget: display the top bar and account widget
https://bugzilla.gnome.org/show_bug.cgi?id=680448
Diffstat (limited to 'ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin.c')
-rw-r--r--ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin.c b/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin.c
index 517ba5272..cbbe90b3e 100644
--- a/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin.c
+++ b/ubuntu-online-accounts/cc-plugins/empathy-accounts-plugin.c
@@ -26,10 +26,24 @@
G_DEFINE_TYPE (EmpathyAccountsPlugin, empathy_accounts_plugin, AP_TYPE_PLUGIN)
+static void
+widget_done_cb (EmpathyAccountsPluginWidget *widget,
+ ApPlugin *plugin)
+{
+ ap_plugin_emit_finished (plugin);
+}
+
static GtkWidget *
empathy_accounts_plugin_build_widget (ApPlugin *plugin)
{
- return empathy_accounts_plugin_widget_new (ap_plugin_get_account (plugin));
+ GtkWidget *widget;
+
+ widget = empathy_accounts_plugin_widget_new (ap_plugin_get_account (plugin));
+
+ g_signal_connect (widget, "done",
+ G_CALLBACK (widget_done_cb), plugin);
+
+ return widget;
}
static void
@@ -43,7 +57,6 @@ empathy_accounts_plugin_delete_account (ApPlugin *plugin,
static void
empathy_accounts_plugin_act_headless (ApPlugin *plugin)
{
- /* TODO */
}
static void