[ekiga] Use ekiga_main_window_set_url to set the url.



commit 9d883a194e5dc928457ff44d9c4d532ab49efa49
Author: Damien Sandras <dsandras seconix com>
Date:   Sun May 17 13:43:04 2009 +0200

    Use ekiga_main_window_set_url to set the url.
    
    Let's not use gtk_entry_set_text directly, but our own defined function.
---
 src/gui/main.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 631587d..9be08c4 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -3335,7 +3335,7 @@ ekiga_main_window_init_uri_toolbar (EkigaMainWindow *mw)
   gtk_container_set_border_width (GTK_CONTAINER (item), 0);
   gtk_tool_item_set_expand (GTK_TOOL_ITEM (item), true);
   
-  gtk_entry_set_text (GTK_ENTRY (mw->priv->entry), "sip:");
+  ekiga_main_window_set_call_url (mw, "sip:");
 
   // activate Ctrl-L to get the entry focus
   gtk_widget_add_accelerator (mw->priv->entry, "grab-focus",



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