diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-11-25 04:11:58 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-11-25 04:11:58 +0100 |
commit | ccff5442184e84d511c2bd25ed3da53e4336a272 (patch) | |
tree | 8402a0ba68852e0aec5841ed4519ccfe88352223 /plugins/common/WebAuthenticationPane.vala | |
parent | a1e1833f48ed618273dab9198b547148a89832a7 (diff) | |
parent | 4a3f1fdfe1eb3743564adcee35d5513224339260 (diff) |
Merge tag 'upstream/0.25.1'
Upstream version 0.25.1
Diffstat (limited to 'plugins/common/WebAuthenticationPane.vala')
-rw-r--r-- | plugins/common/WebAuthenticationPane.vala | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/common/WebAuthenticationPane.vala b/plugins/common/WebAuthenticationPane.vala index 0a77cf6..c537748 100644 --- a/plugins/common/WebAuthenticationPane.vala +++ b/plugins/common/WebAuthenticationPane.vala @@ -14,7 +14,6 @@ namespace Shotwell.Plugins.Common { public string login_uri { owned get; construct; } private WebKit.WebView webview; - private Gtk.Box pane_widget; public override void constructed () { base.constructed (); @@ -24,15 +23,12 @@ namespace Shotwell.Plugins.Common { this.webview.load_changed.connect (this.on_page_load_changed); this.webview.context_menu.connect ( () => { return false; }); - - this.pane_widget = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); - this.pane_widget.pack_start (this.webview, true, true, 0); } public abstract void on_page_load (); protected void set_cursor (Gdk.CursorType type) { - var window = pane_widget.get_window (); + var window = webview.get_window (); var display = window.get_display (); var cursor = new Gdk.Cursor.for_display (display, type); window.set_cursor (cursor); @@ -62,7 +58,7 @@ namespace Shotwell.Plugins.Common { } public Gtk.Widget get_widget() { - return pane_widget; + return this.webview; } public void on_pane_installed () { |