From 088d4ff31849c5bbf93853fb5327743490a2493f Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sat, 6 Jan 2007 19:25:28 +0000 Subject: Special #ifdef win32 code to enable Dialogs on Top for windows. Note the removal of options from the global preferences on win32! just one option left: dialogs on top yes/no. Does have one "bug" though... read note! (bzr r2138) --- src/widgets/desktop-widget.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/widgets') diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index 106df37d7..c84292e50 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -765,12 +765,12 @@ SPDesktopWidget::setWindowSize (gint w, gint h) /** * \note transientizing does not work on windows; when you minimize a document * and then open it back, only its transient emerges and you cannot access - * the document window. + * the document window. The document window must be restored by rightclicking + * the taskbar button and pressing "Restore" */ void SPDesktopWidget::setWindowTransient (void *p, int transient_policy) { -#ifndef WIN32 GtkWindow *w =GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(this))); if (w) { @@ -788,7 +788,6 @@ SPDesktopWidget::setWindowTransient (void *p, int transient_policy) // without this, a transient window not always emerges on top gtk_window_present (w); } -#endif } void -- cgit v1.2.3