From 707e685828b3ee3f1c26f95b0bf8d615d337059d Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 22 Jun 2017 23:19:10 +0200 Subject: whitespace cleanup --- lib/Arctica/Browser/Overlay/Proxy.pm | 2 +- lib/Arctica/Browser/Overlay/ToolBar.pm | 8 ++++---- lib/Arctica/Browser/Overlay/Version.pm | 2 +- lib/Arctica/Browser/Overlay/WebView.pm | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/Arctica') diff --git a/lib/Arctica/Browser/Overlay/Proxy.pm b/lib/Arctica/Browser/Overlay/Proxy.pm index 932c022..9034a1e 100644 --- a/lib/Arctica/Browser/Overlay/Proxy.pm +++ b/lib/Arctica/Browser/Overlay/Proxy.pm @@ -95,7 +95,7 @@ sub _set_proxy { $ENV{'http_proxy'} = $proxy_string; $ENV{'HTTPS_PROXY'} = $proxy_string; $ENV{'https_proxy'} = $proxy_string; - + } diff --git a/lib/Arctica/Browser/Overlay/ToolBar.pm b/lib/Arctica/Browser/Overlay/ToolBar.pm index 751c119..0800496 100644 --- a/lib/Arctica/Browser/Overlay/ToolBar.pm +++ b/lib/Arctica/Browser/Overlay/ToolBar.pm @@ -128,11 +128,11 @@ sub _gen_history_buttons { my $the_toolbar = $_[1]; $self->{'_gtk'}{'history'}{'btn_back'} = Gtk3::ToolButton->new_from_stock('gtk-go-back'); $self->{'_gtk'}{'history'}{'btn_back'}->signal_connect( "clicked" => sub {$self->_sigfunc_history_back;}, undef ); - $the_toolbar->insert($self->{'_gtk'}{'history'}{'btn_back'}, -1); + $the_toolbar->insert($self->{'_gtk'}{'history'}{'btn_back'}, -1); $self->{'_gtk'}{'history'}{'btn_forward'} = Gtk3::ToolButton->new_from_stock('gtk-go-forward'); $self->{'_gtk'}{'history'}{'btn_forward'}->signal_connect( "clicked" => sub {$self->_sigfunc_history_forward;}, undef ); - $the_toolbar->insert($self->{'_gtk'}{'history'}{'btn_forward'}, -1); + $the_toolbar->insert($self->{'_gtk'}{'history'}{'btn_forward'}, -1); } sub ext_sigfunc { @@ -190,7 +190,7 @@ sub _sigfunc_url_entry_icon_press { if ($self->{'webview'}) { $self->{'webview'}->ext_sigfunc('reload'); } - } + } } } @@ -200,7 +200,7 @@ sub _sigfunc_url_entry_activate { my $uri = $self->{'_gtk'}{'urlentry'}{'url_entry'}->get_text; unless ($uri =~ /^[a-z]*\:\/\/.*/) {# do better URL validation here! $uri = "http://$uri"; - } + } $self->{'webview'}->ext_sigfunc('load_uri',$uri); } else { warn("No WebView attached to this toolbar?"); diff --git a/lib/Arctica/Browser/Overlay/Version.pm b/lib/Arctica/Browser/Overlay/Version.pm index 01de012..06c956b 100644 --- a/lib/Arctica/Browser/Overlay/Version.pm +++ b/lib/Arctica/Browser/Overlay/Version.pm @@ -13,7 +13,7 @@ # ################################################################################ # -# Copyright (C) 2015-2016 The Arctica Project +# Copyright (C) 2015-2016 The Arctica Project # http://http://arctica-project.org/ # # This code is dual licensed: strictly GPL-2 or AGPL-3+ diff --git a/lib/Arctica/Browser/Overlay/WebView.pm b/lib/Arctica/Browser/Overlay/WebView.pm index 54fe15c..c8098b1 100644 --- a/lib/Arctica/Browser/Overlay/WebView.pm +++ b/lib/Arctica/Browser/Overlay/WebView.pm @@ -118,7 +118,7 @@ sub _gen_webview_main { $self->{'_gtk'}{'webview'}{'bottom_overlay_text'} = Gtk3::Label->new(); $self->{'_gtk'}{'webview'}{'bottom_overlay_text'}->set_halign('start'); - $self->{'_gtk'}{'webview'}{'bottom_overlay_text'}->set_valign('end'); + $self->{'_gtk'}{'webview'}{'bottom_overlay_text'}->set_valign('end'); $self->{'_gtk'}{'webview'}{'main_container'}->add_overlay($self->{'_gtk'}{'webview'}{'bottom_overlay_text'}); @@ -145,7 +145,7 @@ sub ext_sigfunc { $self->{'_gtk'}{'webview'}{'thewebview'}->go_back; } elsif ($func eq "history_forward") { $self->{'_gtk'}{'webview'}{'thewebview'}->go_forward; - } + } } sub _sigfunc_webview_notify_load_status { @@ -168,7 +168,7 @@ sub _sigfunc_webview_notify_progress { my $progress = $self->{'_gtk'}{'webview'}{'thewebview'}->get('progress'); if ($progress) { $self->{'toolbar'}->ext_sigfunc('load_progress',sprintf("%.2f", $progress)); - } + } } sub _sigfunc_webview_hover_over_link { -- cgit v1.2.3