diff options
-rwxr-xr-x | rpmdrake | 3 | ||||
-rw-r--r-- | rpmdrake.spec | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -37,6 +37,7 @@ BEGIN { #- we want to run this code before the Gtk->init of the use-my_gtk --pkg-nosel=pkg1,.. show only these packages --pkg-sel=pkg1,.. preselect these packages --root force to run as root + --search=pkg run search for "pkg" ), $basename->($0); exit 0; }; @@ -1173,6 +1174,7 @@ Is it ok to continue?", $find_entry->grab_focus; $w->{rwindow}->set_default_size($typical_width*2.7, 500) if !$::isEmbedded; + $find_entry->set_text($options{search}[0]) if $options{search}; $w->{rwindow}->show_all; $options->{widgets} = { @@ -1184,6 +1186,7 @@ Is it ok to continue?", info => $info, status => $status, }; + $options->{init_callback} = $find_callback if $options{search}; ask_browse_tree_info_given_widgets($options); } diff --git a/rpmdrake.spec b/rpmdrake.spec index 5fd1cce1..a87ef1e4 100644 --- a/rpmdrake.spec +++ b/rpmdrake.spec @@ -19,7 +19,7 @@ Summary: Mandrakelinux graphical front end for choosing packages for installion/ Requires: perl-MDK-Common >= 1.1.18-2mdk Requires: urpmi >= 4.6.8-1mdk Requires: perl-URPM >= 1.03-1mdk -Requires: drakxtools >= 10.1-11mdk +Requires: drakxtools >= 10.2-0.22mdk Requires: rpmtools >= 5.0.5 Requires: packdrake >= 5.0.5 Requires: perl-Gtk2 >= 1.054-1mdk |