[passepartout] Made the file properties dialog transient



commit 860d7b55d6b5fb8fa5e15e60c8bb100395a53269
Author: Sven Herzberg <sven imendio com>
Date:   Wed Mar 21 11:53:27 2007 +0100

    Made the file properties dialog transient
---
 src/pptout/docpropsdialog.cc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/pptout/docpropsdialog.cc b/src/pptout/docpropsdialog.cc
index 6b80f5f..1510c6d 100644
--- a/src/pptout/docpropsdialog.cc
+++ b/src/pptout/docpropsdialog.cc
@@ -192,6 +192,8 @@ void DocPropsDialog::show_it(DocumentView *_view, bool create_new) {
   set_title(new_document
 	    ? "Create new document"
  	    : "Document properties");
+
+  set_transient_for (*dynamic_cast<Gtk::Window*>(view->get_toplevel ()));
 }
 
 



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