diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-02-06 23:32:37 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-02-06 23:32:37 +0100 |
commit | 4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9 (patch) | |
tree | 8c3b0adea7bcce74817b329163ba60a554494f02 /modules | |
parent | 8b85fcc404d91f96f88d13fdd6fcd6d78c7f123d (diff) | |
download | colin-keep-4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9.tar colin-keep-4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9.tar.gz colin-keep-4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9.tar.bz2 colin-keep-4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9.tar.xz colin-keep-4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9.zip |
Fixed layout
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/rpmdragora/dragoraUpdate | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/modules/rpmdragora/dragoraUpdate b/modules/rpmdragora/dragoraUpdate index 0261dc0..9e30443 100755 --- a/modules/rpmdragora/dragoraUpdate +++ b/modules/rpmdragora/dragoraUpdate @@ -214,6 +214,27 @@ sub run_treeview_dialog { my $packageTbl = $mgaFactory->createCBTable($vbox, $yTableHeader, $yui::YCBTableCheckBoxOnFirstColumn); $factory->createVSpacing($vbox, 1); my $infoBox = $factory->createRichText($vbox, "", 0); + + # dialog buttons + $factory->createVSpacing($vbox, 1.0); + ## Window push buttons + my $hbox = $factory->createHBox( $vbox ); + $hbox->setWeight(0, 1); + my $align = $factory->createLeft($hbox); + $hbox = $factory->createHBox($align); + + my $helpButton = $factory->createPushButton($hbox, $loc->N("&Help")); + my $aboutButton = $factory->createPushButton($hbox, $loc->N("&About") ); + $align = $factory->createRight($hbox); + $hbox = $factory->createHBox($align); + + ### Service Refresh button ($refreshButton) + my $selectButton = $factory->createPushButton($hbox, $loc->N("&Select all")); + my $updateButton = $factory->createPushButton($hbox, $loc->N("&Update")); + my $closeButton = $factory->createPushButton($hbox, $loc->N("&Quit") ); + $statusbar = $factory->createBusyIndicator($vbox, "" ); + $statusbar->setWeight(0, 1); + $AdminPanel::Rpmdragora::pkg::probe_only_for_updates = 1; # faster startup pkgs_provider('all_updates', pure_updates => 1); # default mode @@ -229,26 +250,6 @@ sub run_treeview_dialog { AdminPanel::Rpmdragora::gui::setInfoOnWidget($pkg, $infoBox); } - # dialog buttons - $factory->createVSpacing($vbox, 1.0); - ## Window push buttons - my $hbox = $factory->createHBox( $vbox ); - my $align = $factory->createLeft($hbox); - $hbox = $factory->createHBox($align); - $hbox->setWeight(0, 1); - - my $helpButton = $factory->createPushButton($hbox, $loc->N("Help")); - my $aboutButton = $factory->createPushButton($hbox, $loc->N("About") ); - $align = $factory->createRight($hbox); - $hbox = $factory->createHBox($align); - - ### Service Refresh button ($refreshButton) - my $selectButton = $factory->createPushButton($hbox, $loc->N("Select all")); - my $updateButton = $factory->createPushButton($hbox, $loc->N("Update")); - my $closeButton = $factory->createPushButton($hbox, $loc->N("Quit") ); - $statusbar = $factory->createBusyIndicator($vbox, "" ); - $statusbar->setWeight(0, 1); - my $info_options = {}; while(1) { |