Bug 62634

Summary: [GTK] Add a statusbar to MiniBrowser
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch mrobinson: review+

Carlos Garcia Campos
Reported 2011-06-14 07:41:25 PDT
To show the url of the current hovered link, like GtkLauncher does.
Attachments
Patch (8.54 KB, patch)
2011-06-14 07:48 PDT, Carlos Garcia Campos
mrobinson: review+
Carlos Garcia Campos
Comment 1 2011-06-14 07:48:34 PDT
Martin Robinson
Comment 2 2011-06-14 08:26:38 PDT
Comment on attachment 97118 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=97118&action=review Looks good, but please make the following changes before landing. > Tools/MiniBrowser/gtk/BrowserWindow.c:47 > GtkWidget* mainBox; > GtkWidget* uriEntry; > + GtkWidget *statusBar; > WKViewRef webView; > > + guint statusBarContextId; > + > gchar* title; > gdouble loadProgress; Do you mind cleaning up the rest of this section as well since you're touching it? > Tools/MiniBrowser/gtk/WebBundle/WebBundleMain.c:35 > +static void mouseDidMoveOverElement(WKBundlePageRef page, WKBundleHitTestResultRef hitTestResult, WKEventModifiers modifiers, WKTypeRef* userData, const void *clientInfo) The asterisk on WKTypeRef should be on userData. > Tools/MiniBrowser/gtk/main.c:32 > +WKContextRef processContext; This could be local and passed as an argument to addInjectedBundleToContext. > Tools/MiniBrowser/gtk/main.c:35 > +static void initContext() I'd prefer this to be called something like addInjectedBundleToContext.
Carlos Garcia Campos
Comment 3 2011-06-15 00:51:54 PDT
Note You need to log in before you can comment on or make changes to this bug.