aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-02-06 23:32:37 +0100
committerAngelo Naselli <anaselli@linux.it>2015-02-06 23:32:37 +0100
commit4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9 (patch)
tree8c3b0adea7bcce74817b329163ba60a554494f02
parent8b85fcc404d91f96f88d13fdd6fcd6d78c7f123d (diff)
downloadmanatools-4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9.tar
manatools-4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9.tar.gz
manatools-4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9.tar.bz2
manatools-4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9.tar.xz
manatools-4fdc7ab42c1c5372dc01ac43f51faca9de37bfa9.zip
Fixed layout
-rwxr-xr-xmodules/rpmdragora/dragoraUpdate41
1 files changed, 21 insertions, 20 deletions
diff --git a/modules/rpmdragora/dragoraUpdate b/modules/rpmdragora/dragoraUpdate
index 0261dc03..9e304439 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) {