feat: search community on enter
This commit is contained in:
@@ -69,6 +69,7 @@ impl SimpleComponent for CommunitiesPage {
|
|||||||
set_hexpand: true,
|
set_hexpand: true,
|
||||||
set_tooltip_text: Some("Search"),
|
set_tooltip_text: Some("Search"),
|
||||||
set_buffer: &model.community_search_buffer,
|
set_buffer: &model.community_search_buffer,
|
||||||
|
connect_activate => CommunitiesPageInput::FetchCommunities(model.communities_type, true),
|
||||||
},
|
},
|
||||||
gtk::Button {
|
gtk::Button {
|
||||||
set_label: "Search",
|
set_label: "Search",
|
||||||
|
|||||||
Reference in New Issue
Block a user