[ekiga] Removed code which didn't do anything as far as I can tell



commit 964104cb395b4fea51bb8204daafa455da9ef450
Author: Julien Puydt <jpuydt gnome org>
Date:   Thu Jun 18 14:43:27 2009 +0200

    Removed code which didn't do anything as far as I can tell

 src/gui/main.cpp |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 722ce12..7bab4c0 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -1479,16 +1479,10 @@ place_call_cb (GtkWidget * /*widget*/,
     // Dial
     if (call_core->dial (uri)) {
 
-      pos = uri.find ("@");
-      if (pos != std::string::npos) {
+      // nothing special
 
-        std::string host = uri.substr (pos + 1);
-        mw->priv->accounts.remove (host);
-        mw->priv->accounts.push_front (host);
-      }
+    } else {
 
-    }
-    else {
       ekiga_main_window_flash_message (mw, _("Could not connect to remote host"));
       ekiga_main_window_update_calling_state (mw, Standby);
     }



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