diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-08-09 23:48:57 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-22 21:25:14 +0800 |
commit | 0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be (patch) | |
tree | 10e460b9b8288697c0a2174967d891cb14d661c4 /src/empathy-import-widget.h | |
parent | 350ed3dbdba49253b6a94c8066c45ae81e95bed1 (diff) | |
download | gsoc2013-empathy-0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be.tar.gz gsoc2013-empathy-0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be.tar.zst gsoc2013-empathy-0e5397ae0e6cc3d75f8e9db19ca872cf28cf41be.zip |
Make the import system more future-proof
Split the utilities from the widget and the dialog; we now have an enum
for supported applications, with a special value which means "all
applications", which is the only one which triggers showing the "Source"
column in EmpathyImportWidget. We need this to avoid being redundant in
the EmpathyAccountAssistant, as we already choose there the application
from which to import.
Diffstat (limited to 'src/empathy-import-widget.h')
-rw-r--r-- | src/empathy-import-widget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-import-widget.h b/src/empathy-import-widget.h index 8af953d79..48f2e1d48 100644 --- a/src/empathy-import-widget.h +++ b/src/empathy-import-widget.h @@ -27,6 +27,8 @@ #include <glib-object.h> +#include "empathy-import-utils.h" + G_BEGIN_DECLS #define EMPATHY_TYPE_IMPORT_WIDGET empathy_import_widget_get_type() @@ -57,7 +59,7 @@ typedef struct { GType empathy_import_widget_get_type (void); -EmpathyImportWidget* empathy_import_widget_new (void); +EmpathyImportWidget* empathy_import_widget_new (EmpathyImportApplication id); GtkWidget * empathy_import_widget_get_widget (EmpathyImportWidget *self); |