~ubuntu-branches/ubuntu/karmic/webkit/karmic-proposed

« back to all changes in this revision

Viewing changes to WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-05-15 18:30:58 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090515183058-50q5exjo9b1kxy9s
Tags: 1.1.7-1
* New upstream release
* debian/libwebkit-1.0-2.symbols:
- updated with the new symbols in 1.1.7
* debian/libwebkit-dev.install, debian/libwebkit-dev.links,
  debian/rules:
- Build, and ship gtk-doc documentation (Closes: #526683)
* debian/copyright:
- updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
    g_signal_connect(m_webView, "destroy",
93
93
                     G_CALLBACK(notifyWebViewDestroyed), (gpointer)this);
94
94
 
95
 
    webkit_web_view_open(m_webView, "file://"DATA_DIR"/webkit-1.0/webinspector/inspector.html");
 
95
    gchar* inspectorURI = g_filename_to_uri(DATA_DIR"/webkit-1.0/webinspector/inspector.html", NULL, NULL);
 
96
    webkit_web_view_load_uri(m_webView, inspectorURI);
 
97
    g_free(inspectorURI);
 
98
 
96
99
    gtk_widget_show(GTK_WIDGET(m_webView));
97
100
 
98
101
    return core(m_webView);
100
103
 
101
104
String InspectorClient::localizedStringsURL()
102
105
{
103
 
    notImplemented();
104
 
    return String();
 
106
    // FIXME: support l10n of localizedStrings.js
 
107
    return String::fromUTF8(g_filename_to_uri(DATA_DIR"/webkit-1.0/webinspector/localizedStrings.js", NULL, NULL));
105
108
}
106
109
 
107
110
String InspectorClient::hiddenPanels()