diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-18 09:36:11 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-18 09:36:11 +0000 |
commit | fb897456a46e091b06e62ed61d6a4858e54c147d (patch) | |
tree | 78b2b04e2faa0ed1c57f7452b0b1a8458e5fa3a2 | |
parent | d0032ee0f61cddf952bebc1e5bce09ddb6542e86 (diff) | |
download | rpmdrake-fb897456a46e091b06e62ed61d6a4858e54c147d.tar rpmdrake-fb897456a46e091b06e62ed61d6a4858e54c147d.tar.gz rpmdrake-fb897456a46e091b06e62ed61d6a4858e54c147d.tar.bz2 rpmdrake-fb897456a46e091b06e62ed61d6a4858e54c147d.tar.xz rpmdrake-fb897456a46e091b06e62ed61d6a4858e54c147d.zip |
Reorder fields. Don't show status in read-only mode.
-rwxr-xr-x | rpmdrake | 33 |
1 files changed, 18 insertions, 15 deletions
@@ -993,6 +993,7 @@ Is it ok to continue?", update => N("Software Packages Update"), install => N("Software Packages Installation"), ); + my $status = Gtk2::Label->new; gtkadd( $w->{window}, gtkpack_( @@ -1012,10 +1013,16 @@ Is it ok to continue?", gtksignal_connect(Gtk2::Button->new(but(N("Search"))), clicked => $find_callback) ), 1, $table, - ($> ? () : (0, gtksignal_connect( #- don't show in browse mode - my $show_selections_button = Gtk2::CheckButton->new(N("Show automatically selected packages")), - clicked => sub { $don't_show_selections = !$_[0]->get_active }, - ))), + ($> ? () : ( + 0, gtkpack_( + Gtk2::HBox->new(0, 10), + 1, gtksignal_connect( #- don't show in browse mode + my $show_selections_button = Gtk2::CheckButton->new(N("Show automatically selected packages")), + clicked => sub { $don't_show_selections = !$_[0]->get_active }, + ), + 0, $status + ), + )), 0, gtkpack_( Gtk2::HBox->new(0, 20), 0, gtksignal_connect( @@ -1026,18 +1033,14 @@ Is it ok to continue?", N("The help window has been started, it should appear shortly on your desktop.")); }, ), - 1, my $status = Gtk2::Label->new, - 0, gtkpack( - Gtk2::HBox->new(1, 20), - my $action_button = gtksignal_connect( - Gtk2::Button->new(but_($MODE eq 'remove' ? N("Remove") : N("Install"))), - clicked => sub { $do_action->() }, - ), - gtksignal_connect( - Gtk2::Button->new(but_(N("Quit"))), - clicked => sub { Gtk2->main_quit }, - ) + 0, my $action_button = gtksignal_connect( + Gtk2::Button->new(but_($MODE eq 'remove' ? N("Remove") : N("Install"))), + clicked => sub { $do_action->() }, ), + 0, gtksignal_connect( + Gtk2::Button->new(but_(N("Quit"))), + clicked => sub { Gtk2->main_quit }, + ) ), ), ), |