SF.net SVN: geany: [518] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Jul 1 14:47:13 UTC 2006


Revision: 518
Author:   eht16
Date:     2006-07-01 07:47:08 -0700 (Sat, 01 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/geany/?rev=518&view=rev

Log Message:
-----------
Deiconify the main window when a new file is opened from the named pipe.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/main.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-07-01 14:12:05 UTC (rev 517)
+++ trunk/ChangeLog	2006-07-01 14:47:08 UTC (rev 518)
@@ -1,6 +1,8 @@
 2006-07-01  Enrico Tröger  <enrico.troeger at uvena.de>
 
  * src/document.c, src/keybindings.c: Added shortcut for Select All.
+ * src/main.c: Deiconify the main window when a new file is opened from
+               the named pipe.
 
 
 2006-07-01  Nick Treleaven  <nick.treleaven at btinternet.com>

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2006-07-01 14:12:05 UTC (rev 517)
+++ trunk/src/main.c	2006-07-01 14:47:08 UTC (rev 518)
@@ -332,6 +332,7 @@
 	if (g_file_test(buffer, G_FILE_TEST_IS_REGULAR | G_FILE_TEST_IS_SYMLINK))
 	{
 		document_open_file(-1, buffer, 0, FALSE, NULL);
+		gtk_window_deiconify(GTK_WINDOW(app->window));
 	}
 	else
 	{


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