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 /gurpm.pm | |
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)
Diffstat (limited to 'gurpm.pm')
-rw-r--r-- | gurpm.pm | 4 |
1 files changed, 2 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)); |