diff options
-rw-r--r-- | gurpm.pm | 4 | ||||
-rw-r--r-- | urpmi.spec | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -27,8 +27,8 @@ $::isStandalone = 1; our ($mainw, $label, $progressbar, $vbox, $cancel, $hbox_cancel); sub init { - my ($title, $initializing, $cancel_msg, $cancel_cb) = @_; - $mainw = ugtk2->new($title); + my ($title, $initializing, %options) = @_; + $mainw = ugtk2->new($title, %options); $label = Gtk2::Label->new($initializing); $progressbar = gtkset_size_request(Gtk2::ProgressBar->new, 300, -1); gtkadd($mainw->{window}, gtkpack__($vbox = Gtk2::VBox->new(0, 5), $label, $progressbar)); @@ -243,6 +243,8 @@ $urpm->update_media(nolock => 1, nopubkey => 1); %changelog * Sun Feb 22 2004 François Pons <fpons@garrigue.homelinux.org> 4.4.5-8mdk - fix bug 8110. +- gurpm.pm: allow to pass options to ugtk2 object (so that we can set + transient_for option, fixes #8146) (gc) * Fri Feb 20 2004 David Baudens <baudens@mandrakesoft.com> 4.4.5-7mdk - Revert menu entry from needs="x11" to needs="gnome" and needs="kde" |