GdkPixbuf* img;
gchar* file_path;
gchar* dom_id;
+ MidoriBrowser* browser;
+ gint i;
+ GtkWidget* tab;
if (midori_view_get_load_status (thumb_view) != MIDORI_LOAD_FINISHED)
return;
gtk_widget_destroy (GTK_WIDGET (thumb_view));
view->thumb_view = NULL;
#endif
+
+ browser = midori_browser_get_for_widget (GTK_WIDGET (view));
+ i = 0;
+ while ((tab = midori_browser_get_nth_tab (browser, i++)))
+ if (midori_view_is_blank (MIDORI_VIEW (tab)))
+ midori_view_reload (MIDORI_VIEW (tab), FALSE);
}
/**
GtkWidget* notebook;
gchar* msg = g_strdup (message + 16);
gchar** parts = g_strsplit (msg, " ", 4);
+ gint i;
+ GtkWidget* tab;
g_object_get (browser, "notebook", ¬ebook, NULL);
g_object_get (browser, "speed-dial", &key_file, NULL);
config_file = g_build_filename (sokoke_set_config_dir (NULL), "speeddial", NULL);
sokoke_key_file_save_to_file (key_file, config_file, NULL);
+ i = 0;
+ while ((tab = midori_browser_get_nth_tab (browser, i++)))
+ if (midori_view_is_blank (MIDORI_VIEW (tab)))
+ midori_view_reload (MIDORI_VIEW (tab), FALSE);
+
g_free (msg);
g_free (action);
g_free (config_file);