diff options
Diffstat (limited to 'src/gecko/gecko-html.cpp')
-rw-r--r-- | src/gecko/gecko-html.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gecko/gecko-html.cpp b/src/gecko/gecko-html.cpp index 00a2c76..524fbc6 100644 --- a/src/gecko/gecko-html.cpp +++ b/src/gecko/gecko-html.cpp @@ -133,7 +133,6 @@ static void html_link_message(GtkMozEmbed * embed) if (!strlen(url)) { //* moved out of url - clear appbar - info viewer* gui_set_statusbar (""); - //gnome_appbar_set_status(GNOME_APPBAR(widgets.appbar), ""); in_url = FALSE; //*if(GPOINTER_TO_INT(data) == TEXT_TYPE) // main_clear_viewer();* @@ -179,7 +178,6 @@ static void html_link_message(GtkMozEmbed * embed) } else //* any other link * sprintf(buf, "%s", ""); gui_set_statusbar (buf); - //gnome_appbar_set_status(GNOME_APPBAR(widgets.appbar), buf); } } @@ -527,6 +525,12 @@ void gecko_html_close(GeckoHtml * html) html); } +void gecko_html_render_data(GeckoHtml *html, const char *data, guint32 len) +{ + gtk_moz_embed_render_data(GTK_MOZ_EMBED(html), data, len, + "file:///sword", "text/html"); +} + gboolean gecko_html_find(GeckoHtml * html, const gchar * find_string) { return html->priv->yelper->Find(find_string); @@ -620,10 +624,10 @@ gecko_html_print_document(GtkWindow * window, gchar * mod_name, SWMgr *mgr; if(dialog) { BackEnd *be = (BackEnd *)dialog->backend; - mgr = be->get_display_mgr(); + mgr = be->get_mgr(); } else - mgr = backend->get_display_mgr(); + mgr = backend->get_mgr(); SWModule *mod = mgr->Modules[mod_name]; |