Created
May 3, 2009 16:56
-
-
Save farhaven/106052 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a9b8acbca19583bb671f65ab481b2a8bc0595491 Mon Sep 17 00:00:00 2001 | |
From: Gregor Best <[email protected]> | |
Date: Sun, 3 May 2009 18:55:40 +0200 | |
Subject: [PATCH] allow starting with multiple windows | |
Signed-off-by: Gregor Best <[email protected]> | |
--- | |
main.c | 4 ++++ | |
1 files changed, 4 insertions(+), 0 deletions(-) | |
diff --git a/main.c b/main.c | |
index 6c243e7..ab4588d 100644 | |
--- a/main.c | |
+++ b/main.c | |
@@ -720,6 +720,10 @@ main (int argc, char* argv[]) | |
gchar* uri = (gchar*) (argc > 1 ? argv[1] : STARTPAGE); | |
webkit_web_view_load_uri (web_view, uri); | |
+ int i = 2; | |
+ for(; i < argc; i++) | |
+ exec(argv[i]); | |
+ | |
//g_signal_connect (G_OBJECT (inspector), "inspect-web-view", G_CALLBACK(embed_inspector), NULL); | |
gtk_widget_grab_focus (GTK_WIDGET (web_view)); | |
-- | |
1.6.2.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment