Iconify the main window on Windows before de-iconifying it when opening files remotely to ensure the main window pops up.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2573 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
340dccfb73
commit
a8855d2ec5
@ -6,6 +6,9 @@
|
|||||||
Use Python styles for embedded Python code.
|
Use Python styles for embedded Python code.
|
||||||
* src/highlighting.c:
|
* src/highlighting.c:
|
||||||
Remove hotspot code as it was never really used.
|
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>
|
2008-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
@ -510,10 +510,14 @@ gboolean socket_lock_input_cb(GIOChannel *source, GIOCondition condition, gpoint
|
|||||||
}
|
}
|
||||||
document_colourise_new();
|
document_colourise_new();
|
||||||
|
|
||||||
gtk_window_deiconify(GTK_WINDOW(app->window));
|
|
||||||
#ifdef G_OS_WIN32
|
#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_present(GTK_WINDOW(app->window));
|
||||||
|
gtk_window_iconify(GTK_WINDOW(app->window));
|
||||||
#endif
|
#endif
|
||||||
|
gtk_window_deiconify(GTK_WINDOW(app->window));
|
||||||
}
|
}
|
||||||
else if (strncmp(buf, "line", 4) == 0)
|
else if (strncmp(buf, "line", 4) == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user