summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-04-14 17:50:53 +0000
committerdamien <damien@mandriva.com>2001-04-14 17:50:53 +0000
commitaaa6cbd1eb5794cbfee5863bcdef890e4e8d0560 (patch)
tree0d0c8b701519de7d88497211e59288ea9da6d951
parentdf1b873ccc679e39a4db66e0ad9a9cd123c0e148 (diff)
downloadcontrol-center-aaa6cbd1eb5794cbfee5863bcdef890e4e8d0560.tar
control-center-aaa6cbd1eb5794cbfee5863bcdef890e4e8d0560.tar.gz
control-center-aaa6cbd1eb5794cbfee5863bcdef890e4e8d0560.tar.bz2
control-center-aaa6cbd1eb5794cbfee5863bcdef890e4e8d0560.tar.xz
control-center-aaa6cbd1eb5794cbfee5863bcdef890e4e8d0560.zip
updated
-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 {