From 55fa2aa0aa663e6a585e3d7d4d498cd4697c762d Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Sun, 9 May 2010 10:37:01 -0400 Subject: started working on progress change cb --- sb.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sb.c b/sb.c index 2ca43e9..8813c65 100644 --- a/sb.c +++ b/sb.c @@ -72,7 +72,7 @@ static void title_change_cb(WebKitWebView *v, WebKitWebFrame *f, const char *tit } static void progress_change_cb (WebKitWebView* p, gint progress, gpointer data) { -/*nothing needed yet*/ +printf("%d \n", progress); } static void load_commit_cb (WebKitWebView* p, WebKitWebFrame* frame, gpointer data) { @@ -130,13 +130,10 @@ gtk_notebook_set_current_page(GTK_NOTEBOOK(w.notebook), current); } - static void tab_new() { /*seperate function so it will be easier to setup the webkit crap*/ tab *t; t = g_new0(tab, 1); - - t->scroll = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(t->scroll),GTK_POLICY_NEVER, GTK_POLICY_NEVER); //gtk_widget_set_style( -- cgit v1.2.3