summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-24 16:21:58 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-24 16:21:58 +0000
commitc88413de537276aa1879b5500c1a6355382153a4 (patch)
treeb971d72692063d543b1c20db9c0108303bdeaeec /perl-install
parentbbba7c47f91515723d3693ad1bd71693e2b501e3 (diff)
downloaddrakx-backup-do-not-use-c88413de537276aa1879b5500c1a6355382153a4.tar
drakx-backup-do-not-use-c88413de537276aa1879b5500c1a6355382153a4.tar.gz
drakx-backup-do-not-use-c88413de537276aa1879b5500c1a6355382153a4.tar.bz2
drakx-backup-do-not-use-c88413de537276aa1879b5500c1a6355382153a4.tar.xz
drakx-backup-do-not-use-c88413de537276aa1879b5500c1a6355382153a4.zip
use stock icons and std button layout in settings dialog
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakperm10
1 files changed, 6 insertions, 4 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm
index 274db2a8f..5941485dc 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -214,8 +214,8 @@ sub row_setting_dialog {
$dlg->set_transient_for($w->{rwindow}) unless $::isEmbedded;
$dlg->set_modal(1);
# $dlg->set_resizable(0);
- my $ok = new Gtk2::Button('ok');
- my $cancel = new Gtk2::Button('cancel');
+ my $ok = Gtk2::Button->new_from_stock('gtk-ok');
+ my $cancel = Gtk2::Button->new_from_stock('gtk-cancel');
my $browse = new Gtk2::Button(N("browse"));
my $users = new Gtk2::Combo;
my $groups = new Gtk2::Combo;
@@ -351,8 +351,10 @@ sub row_setting_dialog {
0, $F_usr,
1, $F_rights
);
- $dlg->action_area->add($ok);
- $dlg->action_area->add($cancel);
+ gtkadd($dlg->action_area,
+ $cancel,
+ $ok
+ );
$dlg->show_all;