Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/Widgets/SearchBar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ public class Scratch.Widgets.SearchBar : Gtk.Box { //TODO In Gtk4 use a BinLayou
this.orientation = HORIZONTAL;
search_entry = new Gtk.SearchEntry () {
hexpand = true,
placeholder_text = _("Find")
placeholder_text = _("Find"),
primary_icon_activatable = true,
};

search_occurence_count_label = new Gtk.Label (_("No Results"));
Expand Down Expand Up @@ -620,8 +621,8 @@ public class Scratch.Widgets.SearchBar : Gtk.Box { //TODO In Gtk4 use a BinLayou
search_entry.primary_icon_name = "edit-find-symbolic";
}

search_entry.primary_icon_sensitive = !ctx.has_class (Gtk.STYLE_CLASS_ERROR);
return Source.REMOVE;
});

}
}