diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-23 14:54:49 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2004-02-23 14:54:49 +0000 |
commit | 0820ef18b864a05c2d115e2b2495f1fa5ed53b10 (patch) | |
tree | 61eb5164a414988131e5239cd9bc75777b62f234 | |
parent | 10e439ba8e52ee7584ff6fb6746dfe96c26caab5 (diff) | |
download | urpmi-0820ef18b864a05c2d115e2b2495f1fa5ed53b10.tar urpmi-0820ef18b864a05c2d115e2b2495f1fa5ed53b10.tar.gz urpmi-0820ef18b864a05c2d115e2b2495f1fa5ed53b10.tar.bz2 urpmi-0820ef18b864a05c2d115e2b2495f1fa5ed53b10.tar.xz urpmi-0820ef18b864a05c2d115e2b2495f1fa5ed53b10.zip |
allow to pass options to ugtk2 object (so that we can set
transient_for option, fixes #8146)
-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" |