From aaa6cbd1eb5794cbfee5863bcdef890e4e8d0560 Mon Sep 17 00:00:00 2001 From: damien Date: Sat, 14 Apr 2001 17:50:53 +0000 Subject: updated --- clock.pm | 2 +- control-center | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/clock.pm b/clock.pm index 1f0481a8..842662b5 100755 --- a/clock.pm +++ b/clock.pm @@ -54,9 +54,9 @@ $calendar->signal_connect ( $_ => \&cal_changed ) my $button_time = new Gtk::Button _("Time Zone"); $vbox1->pack_start($button_time, 0, 1, 10); $button_time->signal_connect ( clicked => sub { + local $::isEmbedded = 0; $in->{timezone}={}; add2hash($in->{timezone}, { timezone::read('') }); - print "###\n" . Data::Dumper->Dump([$in],['$in']) . "\n###\n"; $in->{timezone}{timezone} = $in->ask_from_treelist('', _("Which is your timezone?"), '/', [ timezone::getTimeZones('') ], $in->{timezone}{timezone}); $in->{timezone}{UTC} = $in->ask_yesorno('', _("Is your hardware clock set to GMT?"), $in->{timezone}{UTC}); timezone::write('', $in->{timezone}); diff --git a/control-center b/control-center index 4dc78f67..06c12aa3 100755 --- a/control-center +++ b/control-center @@ -200,6 +200,7 @@ $darea1->signal_connect( expose_event => sub { $darea1->window->draw_pixmap ($darea1->allocation->[2]-540)/2, ($darea1->allocation->[3]-460)/2, 540, 460); }); +my $tag2 = Gtk->timeout_add(2000, sub { $window_global->draw(undef); }); Gtk->main; sub draw_exposed { -- cgit v1.2.1