aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xuserdrake4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index e387482..b6bbd07 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix searching returning no results
+
Version 2.1 - 4 December 2013
- fix "forgiving" primary group when (un)selecting secondary groups (mga#11864)
diff --git a/userdrake b/userdrake
index b40daa8..43c469a 100755
--- a/userdrake
+++ b/userdrake
@@ -176,7 +176,7 @@ my $searchBox = gtkpack_(Gtk3::HBox->new(0,5),
0, Gtk3::Label->new(N("Search:")),
0, gtksignal_connect($filter = Gtk3::Entry->new,
key_press_event => sub {
- $_[1]->keyval == $Gtk3::Gdk::KEY_Return
+ $_[1]->keyval == Gtk3::Gdk::KEY_Return
and Refresh($sysfilter, $filter->get_text);
}),
0, my $fbut = Gtk3::Button->new(N("Apply filter")),
@@ -799,7 +799,7 @@ sub CreateTree {
my (undef, $event) = @_;
my (undef, $iter) = $tree->get_selection->get_selected;
return unless $iter;
- Edit() if $event->keyval == $Gtk3::Gdk::KEY_Return;
+ Edit() if $event->keyval == Gtk3::Gdk::KEY_Return;
});
$tree;
}