aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2003-07-04 11:10:21 +0000
committerDaouda Lo <daouda@mandriva.com>2003-07-04 11:10:21 +0000
commitf8d2cd64bb18042dccee1561ea3106cb956b0549 (patch)
tree0ad9cd135fda573055f76cd03c94cf6445d97919
parent03c017c489b4ee344d842fb340dff16027d18c1b (diff)
downloaduserdrake-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-xuserdrake2
1 files changed, 2 insertions, 0 deletions
diff --git a/userdrake b/userdrake
index ac18dfc..a65b224 100755
--- a/userdrake
+++ b/userdrake
@@ -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() });