diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-11-25 04:10:33 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-11-25 04:10:33 +0100 |
commit | 4a3f1fdfe1eb3743564adcee35d5513224339260 (patch) | |
tree | 1bcc97c9bd5abcf181b9f19294a0f187ff8af103 /plugins/common/WebAuthenticationPane.vala | |
parent | 7152401783578b56343f578b4ec920998660de33 (diff) |
New upstream version 0.25.1upstream/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 () { |