Bug 212817 - [GTK] MiniBrowser: stop using GtkToolbar for the search bar
Summary: [GTK] MiniBrowser: stop using GtkToolbar for the search bar
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks: GTK4 210276 212898
  Show dependency treegraph
 
Reported: 2020-06-05 06:00 PDT by Carlos Garcia Campos
Modified: 2020-06-12 01:26 PDT (History)
2 users (show)

See Also:


Attachments
Patch (17.62 KB, patch)
2020-06-05 06:03 PDT, Carlos Garcia Campos
aperez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2020-06-05 06:00:07 PDT
Use a GtkSearchBar instead, because GtkToolbar is no longer available in GTK4.
Comment 1 Carlos Garcia Campos 2020-06-05 06:03:14 PDT
Created attachment 401144 [details]
Patch
Comment 2 Adrian Perez 2020-06-11 07:15:10 PDT
Comment on attachment 401144 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=401144&action=review

LGTM, but please fix the typos before landing :)

> Tools/MiniBrowser/gtk/BrowserSearchBar.c:71
> +    action = g_action_map_lookup_action(G_ACTION_MAP(actionGroup), "beginnig-word");

Typo: beginnig → beginning.

(The same type is around in a few places more, I won't point out every instance.)
Comment 3 Carlos Garcia Campos 2020-06-12 01:26:06 PDT
Committed r262937: <https://trac.webkit.org/changeset/262937>