[ekiga] Fix "Text on first page of assistant is sometimes not shown"



commit d66a98bb71c88def681c807196589557d7ea6d7a
Author: Boying Lu <brian lu sun com>
Date:   Mon Jun 21 17:43:04 2010 +0200

    Fix "Text on first page of assistant is sometimes not shown"
    
    Closes bug 621419.

 src/gui/assistant.cpp |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gui/assistant.cpp b/src/gui/assistant.cpp
index d8eefc7..57b898a 100644
--- a/src/gui/assistant.cpp
+++ b/src/gui/assistant.cpp
@@ -1559,8 +1559,8 @@ ekiga_assistant_cancel (GtkAssistant *gtkassistant)
 
   main_window = GnomeMeeting::Process ()->GetMainWindow ();
 
-  gtk_widget_hide (GTK_WIDGET (gtkassistant));
   gtk_assistant_set_current_page (gtkassistant, 0);
+  gtk_widget_hide (GTK_WIDGET (gtkassistant));
   gtk_widget_show (main_window);
 }
 
@@ -1616,8 +1616,6 @@ ekiga_assistant_new (Ekiga::ServiceCore *core)
   assistant->priv->core = core;
 
   /* FIXME: move this into the caller */
-  g_signal_connect (assistant, "cancel",
-                    G_CALLBACK (gtk_widget_hide), NULL);
   g_signal_connect (assistant, "key-press-event",
                     G_CALLBACK (ekiga_assistant_key_press_cb), NULL);
 



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