diff options
author | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-07-29 15:20:25 +0800 |
---|---|---|
committer | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-20 18:03:07 +0800 |
commit | 540509cdee5b939f9965ae0fb6106a3b40a2ae3d (patch) | |
tree | 183afafaf3897b3e8119bebe2e6fbdf9763c5a02 /libempathy-gtk | |
parent | b16515893aeebd0dbd1623c6928f467cc0a17b63 (diff) | |
download | gsoc2013-empathy-540509cdee5b939f9965ae0fb6106a3b40a2ae3d.tar gsoc2013-empathy-540509cdee5b939f9965ae0fb6106a3b40a2ae3d.tar.gz gsoc2013-empathy-540509cdee5b939f9965ae0fb6106a3b40a2ae3d.tar.bz2 gsoc2013-empathy-540509cdee5b939f9965ae0fb6106a3b40a2ae3d.tar.lz gsoc2013-empathy-540509cdee5b939f9965ae0fb6106a3b40a2ae3d.tar.xz gsoc2013-empathy-540509cdee5b939f9965ae0fb6106a3b40a2ae3d.tar.zst gsoc2013-empathy-540509cdee5b939f9965ae0fb6106a3b40a2ae3d.zip |
account-widget: add an "action-area" property
This allows user of the class to get the buttons packed in a different
widget, for instance the one returned by gtk_dialog_get_action_area.
https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-local-xmpp-assistant-widget.c | 2 | ||||
-rw-r--r-- | libempathy-gtk/empathy-new-account-dialog.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-local-xmpp-assistant-widget.c b/libempathy-gtk/empathy-local-xmpp-assistant-widget.c index d5f044eba..6ee8711a3 100644 --- a/libempathy-gtk/empathy-local-xmpp-assistant-widget.c +++ b/libempathy-gtk/empathy-local-xmpp-assistant-widget.c @@ -102,7 +102,7 @@ empathy_local_xmpp_assistant_widget_constructed (GObject *object) NULL, _("People nearby")); account_widget = tpaw_account_widget_new_for_protocol ( - self->priv->settings, TRUE); + self->priv->settings, NULL, TRUE); tpaw_account_widget_hide_buttons (account_widget); g_signal_connect (account_widget, "handle-apply", diff --git a/libempathy-gtk/empathy-new-account-dialog.c b/libempathy-gtk/empathy-new-account-dialog.c index 5f77fe2ce..1d87e21ef 100644 --- a/libempathy-gtk/empathy-new-account-dialog.c +++ b/libempathy-gtk/empathy-new-account-dialog.c @@ -75,7 +75,8 @@ protocol_changed_cb (GtkComboBox *chooser, g_object_unref (self->priv->settings); } - account_widget = tpaw_account_widget_new_for_protocol (settings, TRUE); + account_widget = tpaw_account_widget_new_for_protocol (settings, + NULL, TRUE); if (self->priv->current_account_widget != NULL) { |