diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-07-04 11:10:21 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-07-04 11:10:21 +0000 |
commit | f8d2cd64bb18042dccee1561ea3106cb956b0549 (patch) | |
tree | 0ad9cd135fda573055f76cd03c94cf6445d97919 | |
parent | 03c017c489b4ee344d842fb340dff16027d18c1b (diff) | |
download | userdrake-f8d2cd64bb18042dccee1561ea3106cb956b0549.tar userdrake-f8d2cd64bb18042dccee1561ea3106cb956b0549.tar.gz userdrake-f8d2cd64bb18042dccee1561ea3106cb956b0549.tar.bz2 userdrake-f8d2cd64bb18042dccee1561ea3106cb956b0549.tar.xz userdrake-f8d2cd64bb18042dccee1561ea3106cb956b0549.zip |
- use entry to perform a search
-rwxr-xr-x | userdrake | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -150,6 +150,8 @@ my ($tbuser, $tbgroup, $tbedit, $tbdel, $tbref, $tbhelp) = @toolbwg; foreach (($tbedit, $tbdel, $buttorcheck{edit}, $buttorcheck{delete})) { $_->set_sensitive(0) }; my $ctx = USER::ADMIN->new; $fbut->signal_connect('clicked', sub { $stringsearch = $filter->get_text() ; Refresh($sysfilter, $stringsearch) }); +$filter->signal_connect('key_press_event' => sub { $_[1]->keyval == Gtk2::Gdk::Event::Key->Sym_Return + and Refresh($sysfilter, $filter->get_text()) }); Refresh($sysfilter, $stringsearch); my $tmm = ConvTime(19, 06, 2003); $nb->signal_connect('switch-page' => sub { NotebookSwitch() }); |