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(a)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(a)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.
Revision: 514
Author: ntrel
Date: 2006-07-01 03:44:15 -0700 (Sat, 01 Jul 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=514&view=rev
Log Message:
-----------
Prevent a segfault if the VTE has not been loaded
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/callbacks.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-07-01 10:22:54 UTC (rev 513)
+++ trunk/ChangeLog 2006-07-01 10:44:15 UTC (rev 514)
@@ -2,6 +2,7 @@
* src/notebook.c: Don't prevent notebook tab focus because this
disables the notebook arrows.
+ * src/callbacks.c: Prevent a segfault if the VTE has not been loaded.
2006-06-30 Enrico Tröger <enrico.troeger(a)uvena.de>
Modified: trunk/src/callbacks.c
===================================================================
--- trunk/src/callbacks.c 2006-07-01 10:22:54 UTC (rev 513)
+++ trunk/src/callbacks.c 2006-07-01 10:44:15 UTC (rev 514)
@@ -769,7 +769,7 @@
gchar *path;
gchar *cmd;
- if (doc_list[idx].file_name != NULL)
+ if (app->have_vte && doc_list[idx].file_name != NULL)
{
path = g_path_get_dirname(doc_list[idx].file_name);
cmd = g_strconcat("cd ", path, "\n", "clear\n", NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.