[ekiga/ds-gtk-application] Accounts Window: Removed it.



commit da7924d89ec849439b50738e6a9182eea8cc473f
Author: Damien Sandras <dsandras seconix com>
Date:   Sun Dec 14 16:25:18 2014 +0100

    Accounts Window: Removed it.
    
    Accounts can now be created using the application menu.
    They can be edited from the Roster (and, as a requirement,
    new Account types should always be editable through the Roster).

 lib/Makefile.am                                 |    2 -
 lib/engine/gui/gtk-frontend/accounts-window.cpp |  715 -----------------------
 lib/engine/gui/gtk-frontend/accounts-window.h   |   89 ---
 lib/engine/gui/gtk-frontend/ekiga-app.cpp       |   19 -
 4 files changed, 0 insertions(+), 825 deletions(-)
---
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 2a9d17b..ff0f195 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -389,8 +389,6 @@ libekiga_la_SOURCES += \
 libekiga_la_SOURCES += \
        engine/gui/gtk-frontend/addressbook-window.h \
        engine/gui/gtk-frontend/addressbook-window.cpp \
-       engine/gui/gtk-frontend/accounts-window.h \
-       engine/gui/gtk-frontend/accounts-window.cpp \
        engine/gui/gtk-frontend/assistant-window.h \
        engine/gui/gtk-frontend/assistant-window.cpp \
        engine/gui/gtk-frontend/main_window.h \
diff --git a/lib/engine/gui/gtk-frontend/ekiga-app.cpp b/lib/engine/gui/gtk-frontend/ekiga-app.cpp
index bda8d4b..7fcec74 100644
--- a/lib/engine/gui/gtk-frontend/ekiga-app.cpp
+++ b/lib/engine/gui/gtk-frontend/ekiga-app.cpp
@@ -50,7 +50,6 @@
 #include "contact-core.h"
 #include "presence-core.h"
 #include "addressbook-window.h"
-#include "accounts-window.h"
 #include "assistant-window.h"
 #include "preferences-window.h"
 #include "call-window.h"
@@ -254,9 +253,6 @@ window_activated (GSimpleAction *action,
   else if (!g_strcmp0 (g_action_get_name (G_ACTION (action)), "addressbook"))
     gm_application_show_addressbook_window (self);
 
-  else if (!g_strcmp0 (g_action_get_name (G_ACTION (action)), "accounts"))
-    gm_application_show_accounts_window (self);
-
   else if (!g_strcmp0 (g_action_get_name (G_ACTION (action)), "assistant"))
     gm_application_show_assistant_window (self);
 }
@@ -287,7 +283,6 @@ static GActionEntry app_entries[] =
     { "preferences", window_activated, NULL, NULL, NULL, 0 },
     { "assistant", window_activated, NULL, NULL, NULL, 0 },
     { "addressbook", window_activated, NULL, NULL, NULL, 0 },
-    { "accounts", window_activated, NULL, NULL, NULL, 0 },
     { "help", help_activated, NULL, NULL, NULL, 0 },
     { "about", about_activated, NULL, NULL, NULL, 0 },
     { "quit", quit_activated, NULL, NULL, NULL, 0 }
@@ -430,10 +425,6 @@ gm_application_startup (GApplication *app)
                                "        <attribute name=\"label\" translatable=\"yes\">Address 
_Book</attribute>"
                                "        <attribute name=\"action\">app.addressbook</attribute>"
                                "      </item>"
-                               "      <item>"
-                               "        <attribute name=\"label\" translatable=\"yes\">_Accounts</attribute>"
-                               "        <attribute name=\"action\">app.accounts</attribute>"
-                               "      </item>"
                                "    </section>"
                                "    <section>"
                                "      <item>"
@@ -966,16 +957,6 @@ gm_application_show_addressbook_window (GmApplication *self)
 
 
 void
-gm_application_show_accounts_window (GmApplication *self)
-{
-  g_return_if_fail (GM_IS_APPLICATION (self));
-
-
-  gtk_window_present (GTK_WINDOW (accounts_window_new (self)));
-}
-
-
-void
 gm_application_show_assistant_window (GmApplication *self)
 {
   GtkWindow *parent = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]