diff options
author | Stefan Siegel <siegel@linux-mandrake.com> | 2001-08-22 18:04:35 +0000 |
---|---|---|
committer | Stefan Siegel <siegel@linux-mandrake.com> | 2001-08-22 18:04:35 +0000 |
commit | 6ee88adfbba39acc78c137900f88f06c038bcb65 (patch) | |
tree | 888a7b4470caac0207620cdb455e60c9e275cbf0 | |
parent | efca31ffc5ce59d74b6bef8c84bcb6a65741870d (diff) | |
download | control-center-6ee88adfbba39acc78c137900f88f06c038bcb65.tar control-center-6ee88adfbba39acc78c137900f88f06c038bcb65.tar.gz control-center-6ee88adfbba39acc78c137900f88f06c038bcb65.tar.bz2 control-center-6ee88adfbba39acc78c137900f88f06c038bcb65.tar.xz control-center-6ee88adfbba39acc78c137900f88f06c038bcb65.zip |
hide uggly clock.pm if called outside of drakconf
-rwxr-xr-x | clock.pm | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -45,6 +45,7 @@ my ($old_year, $old_month, $old_day); my $its_reset=0; my $window = $::isEmbedded ? new Gtk::Plug ($::XID) : new Gtk::Window -toplevel; my $vbox = new Gtk::VBox(0,0); +$window->set_title(_("DrakClock")); $window->add($vbox); $window->signal_connect ( delete_event => \&quit_global ); my $hbox = new Gtk::HBox(0,0); @@ -63,9 +64,9 @@ $button_time->signal_connect ( clicked => sub { $in->{timezone}={}; add2hash($in->{timezone}, { timezone::read('') }); my $timezone = $in->{timezone}{timezone}; - $in->{timezone}{timezone} = $in->ask_from_treelist('', _("Which is your timezone?"), '/', [ timezone::getTimeZones('') ], $timezone); + $in->{timezone}{timezone} = $in->ask_from_treelist(_("Timezone - DrakClock"), _("Which is your timezone?"), '/', [ timezone::getTimeZones('') ], $timezone); if( defined($in->{timezone}{timezone}) ){ - $in->{timezone}{UTC} = $in->ask_yesorno('', _("Is your hardware clock set to GMT?"), $in->{timezone}{UTC}); + $in->{timezone}{UTC} = $in->ask_yesorno(_("GMT - DrakClock"), _("Is your hardware clock set to GMT?"), $in->{timezone}{UTC}); timezone::write('', $in->{timezone}); } else { $in->{timezone}{timezone} = $timezone; |