summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-06 12:45:58 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-06 12:45:58 +0000
commitb64135437f824246722edfea9d02a69b9df2e879 (patch)
tree16314bfab25f390efbaa1894298f6cc3c884fa98
parent884067e153a64270d30d427c561086761c88cbb1 (diff)
downloadmgaonline-b64135437f824246722edfea9d02a69b9df2e879.tar
mgaonline-b64135437f824246722edfea9d02a69b9df2e879.tar.gz
mgaonline-b64135437f824246722edfea9d02a69b9df2e879.tar.bz2
mgaonline-b64135437f824246722edfea9d02a69b9df2e879.tar.xz
mgaonline-b64135437f824246722edfea9d02a69b9df2e879.zip
do not use stock icons
-rwxr-xr-xmdkonline4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkonline b/mdkonline
index dff39439..bf508456 100755
--- a/mdkonline
+++ b/mdkonline
@@ -83,8 +83,8 @@ $o->{actions} = {
$p <= 1 and init(0)
}
};
-foreach my $l (['Next', 'gtk-go-forward', 'stock'], ['SkipWiz', N("Skip Wizard")], ['Prev', 'gtk-go-back', 'stock']) {
- $o->{$l->[0]} = $l->[2] ? Gtk2::Button->new_from_stock($l->[1]) : Gtk2::Button->new(" " . $l->[1] . " ");
+foreach my $l (['Next', N("Next"), 1], ['SkipWiz', N("Skip Wizard")], ['Prev', N("Previous"), 1 ]) {
+ $o->{$l->[0]} = Gtk2::Button->new($l->[1]);
$l->[2] ? $o->{bottomHbox}->pack_end($o->{$l->[0]}, 0, 0, 1) : $o->{bottomHbox}->pack_start($o->{$l->[0]}, 0, 0, 1);
$o->{$l->[0]}->signal_connect(clicked => sub { $o->{actions}{$l->[0]}->() });
}