diff options
author | mutantturkey <crazycal00@gmail.com> | 2010-05-09 10:37:01 -0400 |
---|---|---|
committer | mutantturkey <crazycal00@gmail.com> | 2010-05-09 10:37:01 -0400 |
commit | 55fa2aa0aa663e6a585e3d7d4d498cd4697c762d (patch) | |
tree | df4bd6b956ba8857b177b7979ccb4fd518000006 | |
parent | 40fb9378b60b229986d0125cf48ce3e464835ff5 (diff) |
started working on progress change cb
-rw-r--r-- | sb.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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( |