SF.net SVN: geany: [2573] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Mon May 12 12:40:37 UTC 2008
Revision: 2573
http://geany.svn.sourceforge.net/geany/?rev=2573&view=rev
Author: eht16
Date: 2008-05-12 05:40:37 -0700 (Mon, 12 May 2008)
Log Message:
-----------
Iconify the main window on Windows before de-iconifying it when opening files remotely to ensure the main window pops up.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/socket.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-05-12 12:28:34 UTC (rev 2572)
+++ trunk/ChangeLog 2008-05-12 12:40:37 UTC (rev 2573)
@@ -6,6 +6,9 @@
Use Python styles for embedded Python code.
* src/highlighting.c:
Remove hotspot code as it was never really used.
+ * src/socket.c:
+ Iconify the main window on Windows before de-iconifying it when
+ opening files remotely to ensure the main window pops up.
2008-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/socket.c
===================================================================
--- trunk/src/socket.c 2008-05-12 12:28:34 UTC (rev 2572)
+++ trunk/src/socket.c 2008-05-12 12:40:37 UTC (rev 2573)
@@ -510,10 +510,14 @@
}
document_colourise_new();
- gtk_window_deiconify(GTK_WINDOW(app->window));
#ifdef G_OS_WIN32
+ /* we need to bring the main window up with gtk_window_present() but this is not
+ * enough, instead we need to iconify it so that gtk_window_deiconify() will
+ * bring it in the foreground */
gtk_window_present(GTK_WINDOW(app->window));
+ gtk_window_iconify(GTK_WINDOW(app->window));
#endif
+ gtk_window_deiconify(GTK_WINDOW(app->window));
}
else if (strncmp(buf, "line", 4) == 0)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list