]> git.0d.be Git - empathy.git/commitdiff
Temporarily disable account importing as it still depends on profiles
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Wed, 15 Jul 2009 14:14:17 +0000 (15:14 +0100)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Thu, 16 Jul 2009 11:41:48 +0000 (12:41 +0100)
src/Makefile.am
src/empathy-accounts-dialog.c

index 42485b7d1fed7105ee9f131effd608787523db09..50d317fbbdcb097e60b33e9b0bcba34802a9d4a8 100644 (file)
@@ -39,8 +39,6 @@ empathy_handwritten_source = \
        empathy-chat-window.c empathy-chat-window.h                     \
        empathy-event-manager.c empathy-event-manager.h                 \
        empathy-ft-manager.c empathy-ft-manager.h                       \
-       empathy-import-dialog.c empathy-import-dialog.h                 \
-       empathy-import-pidgin.c empathy-import-pidgin.h                 \
        empathy-main-window.c empathy-main-window.h                     \
        empathy-misc.c empathy-misc.h                                   \
        empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h     \
index 47e2887b08985986d5a7946f9070c6d085c52271..bfb92af3706aff39c488963a6b665df52c8da291 100644 (file)
 #include <libempathy-gtk/empathy-conf.h>
 
 #include "empathy-accounts-dialog.h"
+#if 0
+/* FIXME MC-5 */
 #include "empathy-import-dialog.h"
+#endif
 
 #define DEBUG_FLAG EMPATHY_DEBUG_ACCOUNT
 #include <libempathy/empathy-debug.h>
@@ -142,8 +145,11 @@ static void       accounts_dialog_button_help_clicked_cb    (GtkWidget
                                                             EmpathyAccountsDialog    *dialog);
 static void       accounts_dialog_button_remove_clicked_cb  (GtkWidget                *button,
                                                             EmpathyAccountsDialog    *dialog);
+#if 0
+/* FIXME MC-5 */
 static void       accounts_dialog_button_import_clicked_cb  (GtkWidget                *button,
                                                             EmpathyAccountsDialog    *dialog);
+#endif
 static void       accounts_dialog_response_cb               (GtkWidget                *widget,
                                                             gint                      response,
                                                             EmpathyAccountsDialog    *dialog);
@@ -957,12 +963,15 @@ accounts_dialog_button_remove_clicked_cb (GtkWidget            *button,
        gtk_widget_destroy (message_dialog);
 }
 
+#if 0
+/* FIXME MC-5 */
 static void
 accounts_dialog_button_import_clicked_cb (GtkWidget             *button,
                                          EmpathyAccountsDialog *dialog)
 {
        empathy_import_dialog_show (GTK_WINDOW (dialog->window), TRUE);
 }
+#endif
 
 static void
 accounts_dialog_response_cb (GtkWidget            *widget,
@@ -1072,7 +1081,10 @@ empathy_accounts_dialog_show (GtkWindow *parent,
                              "button_back", "clicked", accounts_dialog_button_back_clicked_cb,
                              "button_add", "clicked", accounts_dialog_button_add_clicked_cb,
                              "button_remove", "clicked", accounts_dialog_button_remove_clicked_cb,
+#if 0
+/* FIXME MC-5  */
                              "button_import", "clicked", accounts_dialog_button_import_clicked_cb,
+#endif
                              "button_help", "clicked", accounts_dialog_button_help_clicked_cb,
                              NULL);
 
@@ -1140,6 +1152,8 @@ empathy_accounts_dialog_show (GtkWindow *parent,
                               EMPATHY_PREFS_IMPORT_ASKED, &import_asked);
 
 
+#if 0
+/* FIXME MC-5 */
        if (empathy_import_dialog_accounts_to_import ()) {
 
                if (!import_asked) {
@@ -1151,6 +1165,7 @@ empathy_accounts_dialog_show (GtkWindow *parent,
        } else {
                gtk_widget_set_sensitive (dialog->button_import, FALSE);
        }
+#endif
 
        return dialog->window;
 }