diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-06-22 23:19:10 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-06-22 23:27:32 +0200 |
commit | 707e685828b3ee3f1c26f95b0bf8d615d337059d (patch) | |
tree | 55ddf58e7db17dfc0854a1e20f8125e40c04680d /lib | |
parent | 9e326c36511b0f980f4711b9c9919984d518aac1 (diff) | |
download | arctica-browser-707e685828b3ee3f1c26f95b0bf8d615d337059d.tar.gz arctica-browser-707e685828b3ee3f1c26f95b0bf8d615d337059d.tar.bz2 arctica-browser-707e685828b3ee3f1c26f95b0bf8d615d337059d.zip |
whitespace cleanup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Arctica/Browser/Overlay/Proxy.pm | 2 | ||||
-rw-r--r-- | lib/Arctica/Browser/Overlay/ToolBar.pm | 8 | ||||
-rw-r--r-- | lib/Arctica/Browser/Overlay/Version.pm | 2 | ||||
-rw-r--r-- | lib/Arctica/Browser/Overlay/WebView.pm | 6 |
4 files changed, 9 insertions, 9 deletions
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 { |