[rkward-cvs] SF.net SVN: rkward:[4072] trunk/rkward/rkward/windows/rkwindowcatcher.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Sun Dec 4 13:22:37 UTC 2011
Revision: 4072
http://rkward.svn.sourceforge.net/rkward/?rev=4072&view=rev
Author: tfry
Date: 2011-12-04 13:22:37 +0000 (Sun, 04 Dec 2011)
Log Message:
-----------
Give a more correct message about failure to embed plot windows on Q_WS_MAC.
Modified Paths:
--------------
trunk/rkward/rkward/windows/rkwindowcatcher.cpp
Modified: trunk/rkward/rkward/windows/rkwindowcatcher.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkwindowcatcher.cpp 2011-12-03 17:54:22 UTC (rev 4071)
+++ trunk/rkward/rkward/windows/rkwindowcatcher.cpp 2011-12-04 13:22:37 UTC (rev 4072)
@@ -66,7 +66,11 @@
KWindowInfo wininfo = KWindowSystem::windowInfo (w, NET::WMName | NET::WMGeometry);
#endif
} else {
+#if defined Q_WS_MAC
+ KMessageBox::information (0, i18n ("You have created a new graphics device window in R. Usually, RKWard tries to detect such windows, to take control of them, and add a menu-bar to them. However, this is not currently supported in this build of RKWard on Mac OS X. See http://p.sf.net/rkward/mac for more information."), i18n ("Could not embed R X11 window"), "embed_x11_device_not_supported");
+#else
KMessageBox::information (0, i18n ("You have created a new X11 device window in R. Usually, RKWard tries to detect such windows, to take control of them, and add a menu-bar to them. This time, however, RKWard failed to detect, which window was created, and so can not embed it.\nIf you created the window on a different screen or X11 display, that is to be expected. You might want to consider changing options(\"display\"), then.\nIf you can see the X11 window on the same screen as this message, then RKWard should do better. In this case, please contact us at rkward-devel at lists.sourceforge.net with details on your setup, so we can try to fix this in future versions of RKWard."), i18n ("Could not embed R X11 window"), "failure_to_detect_x11_device");
+#endif
}
}
last_cur_device = new_cur_device;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list