From 0a1622e3cd3960359dcd5452cf24b7b96943c4ed Mon Sep 17 00:00:00 2001 From: fgerlits Date: Wed, 20 Jul 2005 20:39:56 +0000 Subject: [PATCH] made window closeable when nothing is edited --- .../gLiveSupport/src/SimplePlaylistManagementWindow.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/livesupport/products/gLiveSupport/src/SimplePlaylistManagementWindow.cxx b/livesupport/products/gLiveSupport/src/SimplePlaylistManagementWindow.cxx index 3524c3f91..03937e95c 100644 --- a/livesupport/products/gLiveSupport/src/SimplePlaylistManagementWindow.cxx +++ b/livesupport/products/gLiveSupport/src/SimplePlaylistManagementWindow.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.22 $ + Version : $Revision: 1.23 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/SimplePlaylistManagementWindow.cxx,v $ ------------------------------------------------------------------------------*/ @@ -184,7 +184,7 @@ SimplePlaylistManagementWindow :: SimplePlaylistManagementWindow ( // show set_name("simplePlaylistManagementWindow"); - set_default_size(470, 300); + set_default_size(480, 350); set_modal(false); property_window_position().set_value(Gtk::WIN_POS_NONE); @@ -301,6 +301,8 @@ SimplePlaylistManagementWindow :: onCloseButtonClicked(void) throw () // can happen if window is closed } // with Alt-F4 -- treated as cancel } + } else { + closeWindow(); } }