diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-24 16:21:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-24 16:21:58 +0000 |
commit | c88413de537276aa1879b5500c1a6355382153a4 (patch) | |
tree | b971d72692063d543b1c20db9c0108303bdeaeec /perl-install/standalone | |
parent | bbba7c47f91515723d3693ad1bd71693e2b501e3 (diff) | |
download | drakx-c88413de537276aa1879b5500c1a6355382153a4.tar drakx-c88413de537276aa1879b5500c1a6355382153a4.tar.gz drakx-c88413de537276aa1879b5500c1a6355382153a4.tar.bz2 drakx-c88413de537276aa1879b5500c1a6355382153a4.tar.xz drakx-c88413de537276aa1879b5500c1a6355382153a4.zip |
use stock icons and std button layout in settings dialog
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakperm | 10 |
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; |