Skip to content

Commit

Permalink
Merge pull request #537 from mjakeman/oscfdezdz/todo-browse-page
Browse files Browse the repository at this point in the history
browse-page: Treat hook to activate initial search in Blueprint
  • Loading branch information
mjakeman authored Feb 5, 2024
2 parents d23eb7e + 90d2d99 commit 6846679
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions src/exm-browse-page.blp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ template $ExmBrowsePage : Gtk.Widget {
Gtk.SearchEntry search_entry {
hexpand: true;

// Hook for triggering initial search
// TODO: Re-enable this once blueprint-compiler!4 is merged
// realize => on_search_entry_realize();
realize => $on_search_entry_realize();
}

// Keep the same order as the ExmSearchSort enum
Expand Down
5 changes: 0 additions & 5 deletions src/exm-browse-page.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,6 @@ exm_browse_page_init (ExmBrowsePage *self)
G_CALLBACK (on_search_changed),
self);

g_signal_connect (self->search_entry,
"realize",
G_CALLBACK (on_search_entry_realize),
self);

g_signal_connect (self->more_results_btn,
"clicked",
G_CALLBACK (on_load_more_results),
Expand Down

0 comments on commit 6846679

Please sign in to comment.