summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclock.pm2
-rwxr-xr-xcontrol-center1
2 files changed, 2 insertions, 1 deletions
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 {