diff options
author | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-05-09 22:50:15 +0800 |
---|---|---|
committer | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-20 18:03:05 +0800 |
commit | 1f633bf20747995395b1dcc7001e0c9502104eda (patch) | |
tree | 33eadea37c7a822d332d564ecc6a6e5e5d08db2b /libempathy-gtk/empathy-contact-blocking-dialog.c | |
parent | eb7ddccaf6365f4ceb45d8a2ccd006e67e5dd340 (diff) | |
download | gsoc2013-empathy-1f633bf20747995395b1dcc7001e0c9502104eda.tar gsoc2013-empathy-1f633bf20747995395b1dcc7001e0c9502104eda.tar.gz gsoc2013-empathy-1f633bf20747995395b1dcc7001e0c9502104eda.tar.bz2 gsoc2013-empathy-1f633bf20747995395b1dcc7001e0c9502104eda.tar.lz gsoc2013-empathy-1f633bf20747995395b1dcc7001e0c9502104eda.tar.xz gsoc2013-empathy-1f633bf20747995395b1dcc7001e0c9502104eda.tar.zst gsoc2013-empathy-1f633bf20747995395b1dcc7001e0c9502104eda.zip |
builder: move empathy_builder_* from Empathy to tp-account-widgets
This commit also changes the licence of the moved code from GPL to LGPL.
See GOSSIP-RELICENSING.txt for details.
https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'libempathy-gtk/empathy-contact-blocking-dialog.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-blocking-dialog.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-blocking-dialog.c b/libempathy-gtk/empathy-contact-blocking-dialog.c index ddcbcf315..046356ae1 100644 --- a/libempathy-gtk/empathy-contact-blocking-dialog.c +++ b/libempathy-gtk/empathy-contact-blocking-dialog.c @@ -26,6 +26,7 @@ #include "empathy-contact-blocking-dialog.h" #include <glib/gi18n-lib.h> +#include <tp-account-widgets/tpaw-builder.h> #include "empathy-account-chooser.h" #include "empathy-ui-utils.h" @@ -614,7 +615,7 @@ empathy_contact_blocking_dialog_init (EmpathyContactBlockingDialog *self) filename = empathy_file_lookup ("empathy-contact-blocking-dialog.ui", "libempathy-gtk"); - gui = empathy_builder_get_file (filename, + gui = tpaw_builder_get_file (filename, "contents", &contents, "account-hbox", &account_hbox, "add-button", &self->priv->add_button, @@ -626,7 +627,7 @@ empathy_contact_blocking_dialog_init (EmpathyContactBlockingDialog *self) "remove-toolbar", &remove_toolbar, NULL); - empathy_builder_connect (gui, self, + tpaw_builder_connect (gui, self, "add-button", "clicked", contact_blocking_dialog_add_contact, "add-contact-entry", "activate", contact_blocking_dialog_add_contact, "remove-button", "clicked", contact_blocking_dialog_remove_contacts, |