summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gurpmi14
-rwxr-xr-xgurpmi24
2 files changed, 2 insertions, 16 deletions
diff --git a/gurpmi b/gurpmi
index ac35d490..97dcc166 100644
--- a/gurpmi
+++ b/gurpmi
@@ -52,15 +52,6 @@ my ($mainw, $mainbox);
#- Gtk2 helper functions
-#- Replaces the contents of the main window with the specified box
-#- (avoids popup multiplication)
-sub change_mainw {
- $mainw->remove($mainbox);
- ($mainbox) = @_;
- $mainw->add($mainbox);
- $mainw->show_all;
-}
-
sub add_button_box {
my ($vbox, @buttons) = @_;
my $hbox = Gtk2::HButtonBox->new;
@@ -69,11 +60,6 @@ sub add_button_box {
$_->set_alignment(0.5, 0.5), $hbox->add($_) foreach @buttons;
}
-sub sync {
- $mainw->show;
- Gtk2->main_iteration while Gtk2->events_pending;
-}
-
sub new_label {
my ($msg) = @_;
my $label = Gtk2::Label->new($msg);
diff --git a/gurpmi2 b/gurpmi2
index 04f6b13a..876cab7e 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -31,9 +31,9 @@ use Gtk2;
sub usage () {
print STDERR <<USAGE;
-gurpmi version $urpm::VERSION
+gurpmi2 version $urpm::VERSION
Usage :
- gurpmi <rpm> [ <rpm>... ]
+ gurpmi2 <rpm> [ <rpm>... ]
USAGE
exit 0;
}