ekiga r7070 - in trunk: . lib/engine/gui/gtk-frontend



Author: jschamp
Date: Tue Sep 23 16:52:27 2008
New Revision: 7070
URL: http://svn.gnome.org/viewvc/ekiga?rev=7070&view=rev

Log:
Don't destroy window when closing by WM

Modified:
   trunk/ChangeLog
   trunk/lib/engine/gui/gtk-frontend/chat-window.cpp

Modified: trunk/lib/engine/gui/gtk-frontend/chat-window.cpp
==============================================================================
--- trunk/lib/engine/gui/gtk-frontend/chat-window.cpp	(original)
+++ trunk/lib/engine/gui/gtk-frontend/chat-window.cpp	Tue Sep 23 16:52:27 2008
@@ -477,6 +477,9 @@
 
   result->priv = new ChatWindowPrivate (core);
 
+  g_signal_connect (G_OBJECT (result), "delete-event",
+		    G_CALLBACK (gtk_widget_hide_on_delete), NULL);
+
   result->priv->notebook = gtk_notebook_new ();
   gtk_container_add (GTK_CONTAINER (result), result->priv->notebook);
   gtk_widget_show (result->priv->notebook);



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