I#1649 - Unable to clear search
Correct signal ordering, aka save the state before executing the search, thus when some part loads the search it's the new one, not the previous search. Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1649
This commit is contained in:
@ -688,7 +688,7 @@ shell_searchbar_constructed (GObject *object)
|
||||
shell_view, "custom-search",
|
||||
G_CALLBACK (shell_searchbar_custom_search_cb), searchbar);
|
||||
|
||||
g_signal_connect_after (
|
||||
g_signal_connect (
|
||||
shell_view, "execute-search",
|
||||
G_CALLBACK (shell_searchbar_execute_search_cb), searchbar);
|
||||
|
||||
|
@ -1068,7 +1068,7 @@ e_shell_view_class_init (EShellViewClass *class)
|
||||
signals[EXECUTE_SEARCH] = g_signal_new (
|
||||
"execute-search",
|
||||
G_OBJECT_CLASS_TYPE (object_class),
|
||||
G_SIGNAL_RUN_FIRST,
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (EShellViewClass, execute_search),
|
||||
NULL, NULL,
|
||||
g_cclosure_marshal_VOID__VOID,
|
||||
|
Reference in New Issue
Block a user