diff options
author | GZNGET FOSS Team <opensource@gznianguan.com> | 2017-11-15 09:29:42 +0100 |
---|---|---|
committer | GZNGET FOSS Team <opensource@gznianguan.com> | 2017-11-15 09:29:42 +0100 |
commit | 1eef3a63fae424ceb655750b1e5d8174426b50aa (patch) | |
tree | c626c799e9bdac4262d478e36e877376a3dea735 /bin | |
parent | eab8280c3cf962cee293788e4cbb06b3d4eb9393 (diff) | |
download | arctica-browser-1eef3a63fae424ceb655750b1e5d8174426b50aa.tar.gz arctica-browser-1eef3a63fae424ceb655750b1e5d8174426b50aa.tar.bz2 arctica-browser-1eef3a63fae424ceb655750b1e5d8174426b50aa.zip |
Re-enable proxy
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/arctica-browser-overlay | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/arctica-browser-overlay b/bin/arctica-browser-overlay index 45e1488..4f0bc21 100755 --- a/bin/arctica-browser-overlay +++ b/bin/arctica-browser-overlay @@ -82,17 +82,17 @@ Glib::Object::Introspection->setup( version => "3.0", package => "Gtk3::Gdk"); -my $proxy;#= Arctica::Browser::Proxy->new; +my $proxy = Arctica::Browser::Proxy->new; my $gnx_xid; if ($ENV{'TEKINXWID'} =~ /^([\da-zA-Z]{4,})$/) { $gnx_xid = hex $1; BugOUT(8,"NX WID: $gnx_xid"); } else { - die("did not get the clientnxwid via ENV{'TEKINXWID'}"); + BugOUT(0,"did not get the clientnxwid via ENV{'TEKINXWID'}"); } unless (-x "/usr/bin/xdotool") { - die("Are we missing xdotool '/usr/bin/xdotool'?"); + BugOUT(0,"Are we missing xdotool '/usr/bin/xdotool'?"); } my $lastcontact = (time + 5); @@ -111,7 +111,7 @@ my $wizx = 0; if (@ARGV[2] =~ /^([a-zA-Z0-9]*)$/) { $sock_id = $1; BugOUT(8,"SOC:\t$sock_id"); -} else {die("YOU SOCK!");} +} else {BugOUT(0,"YOU SOCK!");} my $rwid; if (@ARGV[4] =~ /^([a-zA-Z0-9\_\-]*)$/) { @@ -129,14 +129,14 @@ my $TeKi = Arctica::Core::JABus::Socket->new($ACO,{ }, hooks => { on_ready => sub {my_ready($app_id,$ttid);}, - on_client_errhup => sub {die("\tLOST CONN!\n");}, + on_client_errhup => sub {BugOUT(0,"\tLOST CONN!\n");}, }, }); my $timeout = Glib::Timeout->add(100, sub { - if ($lastcontact < (time-1)) { - die("We're an orphan?"); + if ($lastcontact < (time-5)) { + BugOUT(0,"We're an orphan?"); } return 1; }); |