aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/arctica-testbrowser4
-rw-r--r--lib/Arctica/Browser/Overlay/Proxy.pm2
-rw-r--r--lib/Arctica/Browser/Overlay/ToolBar.pm8
-rw-r--r--lib/Arctica/Browser/Overlay/Version.pm2
-rw-r--r--lib/Arctica/Browser/Overlay/WebView.pm6
5 files changed, 11 insertions, 11 deletions
diff --git a/bin/arctica-testbrowser b/bin/arctica-testbrowser
index 4ed1b84..6389cd4 100755
--- a/bin/arctica-testbrowser
+++ b/bin/arctica-testbrowser
@@ -73,8 +73,8 @@ sub LoadCSS {
background-color: #000000;
background-repeat: no-repeat;
background-position: center;
- background-image: url('/tekitest/eyesore_t.png');
+ background-image: url('/tekitest/eyesore_t.png');
}"]);
-
+
Gtk3::StyleContext::add_provider_for_screen( $Screen, $Gtk3_CSS_Provider, Gtk3::STYLE_PROVIDER_PRIORITY_USER);
}
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 {