summaryrefslogtreecommitdiffstats
path: root/src/widgets/desktop-widget.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-01-06 19:25:28 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-01-06 19:25:28 +0000
commit088d4ff31849c5bbf93853fb5327743490a2493f (patch)
treeaca7f5370d60de67a87fac50d56ee117e0c2168e /src/widgets/desktop-widget.cpp
parentAn update of czech translation of interface (diff)
downloadinkscape-088d4ff31849c5bbf93853fb5327743490a2493f.tar.gz
inkscape-088d4ff31849c5bbf93853fb5327743490a2493f.zip
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)
Diffstat (limited to 'src/widgets/desktop-widget.cpp')
-rw-r--r--src/widgets/desktop-widget.cpp5
1 files changed, 2 insertions, 3 deletions
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