summaryrefslogtreecommitdiffstats
path: root/perl-install/share
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-04 07:33:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-04 07:33:27 +0000
commit7acd01380008db037f4dc67616d09855d82e55b8 (patch)
tree3a2398a8fd00302cbdb14f901afaf767cab51183 /perl-install/share
parent5848d7d28d142c5856103554c142c3dd6754f5c7 (diff)
downloaddrakx-7acd01380008db037f4dc67616d09855d82e55b8.tar
drakx-7acd01380008db037f4dc67616d09855d82e55b8.tar.gz
drakx-7acd01380008db037f4dc67616d09855d82e55b8.tar.bz2
drakx-7acd01380008db037f4dc67616d09855d82e55b8.tar.xz
drakx-7acd01380008db037f4dc67616d09855d82e55b8.zip
update theme editor to current libDrakX api
Diffstat (limited to 'perl-install/share')
-rwxr-xr-xperl-install/share/theme-editor.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/share/theme-editor.pl b/perl-install/share/theme-editor.pl
index fba31a346..f3b8bd5ae 100755
--- a/perl-install/share/theme-editor.pl
+++ b/perl-install/share/theme-editor.pl
@@ -40,7 +40,7 @@ $file ||= "themes-mdk.rc";
$file2 ||= $file;
my $window1 = new Gtk::Window -toplevel;
$window1->signal_connect ( delete_event => sub { Gtk->exit(0); });
-$window1->set_title(_("Theme editor"));
+$window1->set_title(N("Theme editor"));
$window1->set_policy(0, 1, 0);
$window1->set_border_width(5);
gtkadd($window1, my $vb = new Gtk::VBox(0,5));
@@ -97,8 +97,8 @@ foreach (cat_($file)) {
}
gtkpack__($vb,
gtkadd(gtkset_layout(new Gtk::HButtonBox, -end),
- gtksignal_connect(new Gtk::Button(_("OK")), clicked => sub { doit(); Gtk->main_quit() }),
- gtksignal_connect(new Gtk::Button(_("Cancel")), clicked => sub { Gtk->main_quit() }),
+ gtksignal_connect(new Gtk::Button(N("OK")), clicked => sub { doit(); Gtk->main_quit() }),
+ gtksignal_connect(new Gtk::Button(N("Cancel")), clicked => sub { Gtk->main_quit() }),
)
);
@@ -140,14 +140,14 @@ sub change_color {
my $doit;
$window->signal_connect ( delete_event => sub { Gtk->main_quit() });
$window->set_position(1);
- $window->set_title(_("Color configuration"));
+ $window->set_title(N("Color configuration"));
$window->set_border_width(5);
gtkadd(gtkset_modal($window,1),
gtkpack_(new Gtk::VBox(0,5),
1, my $colorsel = new Gtk::ColorSelection,
0, gtkadd(gtkset_layout(new Gtk::HButtonBox, -end),
- gtksignal_connect(new Gtk::Button(_("OK")), clicked => sub { $doit=1; Gtk->main_quit() }),
- gtksignal_connect(new Gtk::Button(_("Cancel")), clicked => sub { Gtk->main_quit() }),
+ gtksignal_connect(new Gtk::Button(N("OK")), clicked => sub { $doit=1; Gtk->main_quit() }),
+ gtksignal_connect(new Gtk::Button(N("Cancel")), clicked => sub { Gtk->main_quit() }),
)
)
);