diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-01-19 17:13:57 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-01-19 17:13:57 +0000 |
commit | bb1bc9b3acafa3145afa732efd9e6914d0b63831 (patch) | |
tree | 5de51543b30b692f1d95751329c25a807a8fde3a /gurpmi | |
parent | f72bd41e7faefc5b8cc17980e4dd3531d807290d (diff) | |
download | urpmi-bb1bc9b3acafa3145afa732efd9e6914d0b63831.tar urpmi-bb1bc9b3acafa3145afa732efd9e6914d0b63831.tar.gz urpmi-bb1bc9b3acafa3145afa732efd9e6914d0b63831.tar.bz2 urpmi-bb1bc9b3acafa3145afa732efd9e6914d0b63831.tar.xz urpmi-bb1bc9b3acafa3145afa732efd9e6914d0b63831.zip |
Split fixes
Diffstat (limited to 'gurpmi')
-rw-r--r-- | gurpmi | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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); |