Code

lessen the overkill nature of whiteboard's Quit
authorishmal <ishmal@users.sourceforge.net>
Thu, 11 Jan 2007 20:52:08 +0000 (20:52 +0000)
committerishmal <ishmal@users.sourceforge.net>
Thu, 11 Jan 2007 20:52:08 +0000 (20:52 +0000)
src/jabber_whiteboard/pedrogui.cpp

index cd5bf681438c9b671ceea58d9c0c8ecd18aeddbc..f66e0981ca65a45102841eeaa56e482f3241abe9 100644 (file)
@@ -2554,7 +2554,10 @@ void PedroGui::disconnectCallback()
 
 void PedroGui::quitCallback()
 {
-    Gtk::Main::quit();
+    client.disconnect();
+    hide();
+    //Severe overkill!  :-)
+    //Gtk::Main::quit();
 }