Bug 71474 - [GTK] Show url of history items in a status bar in MiniBrowser
Summary: [GTK] Show url of history items in a status bar in MiniBrowser
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on: 71466
Blocks: 71447
  Show dependency treegraph
 
Reported: 2011-11-03 07:37 PDT by Carlos Garcia Campos
Modified: 2011-11-03 10:07 PDT (History)
2 users (show)

See Also:


Attachments
Patch (4.56 KB, patch)
2011-11-03 07:44 PDT, Carlos Garcia Campos
mrobinson: 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 2011-11-03 07:37:31 PDT
We used a GtkStatusbar for that, but I think we can use a GtkOverlay instead.
Comment 1 Carlos Garcia Campos 2011-11-03 07:44:12 PDT
Created attachment 113491 [details]
Patch
Comment 2 Martin Robinson 2011-11-03 09:17:37 PDT
Comment on attachment 113491 [details]
Patch

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

Okay.

> Tools/MiniBrowser/gtk/BrowserWindow.c:43
> +    GtkWidget *statusLabel;

statusLabel -> statusOverlay ?

> Tools/MiniBrowser/gtk/BrowserWindow.c:58
> +#if GTK_CHECK_VERSION(3, 2, 0)

So it begins. :(

> Tools/MiniBrowser/gtk/BrowserWindow.c:66
> +    browserWindowSetStatusText(window, 0);

0 -> NULL

> Tools/MiniBrowser/gtk/BrowserWindow.c:106
> +    browserWindowSetStatusText(window, action ? gtk_action_get_name(action) : 0);

0 -> NULL

> Tools/MiniBrowser/gtk/BrowserWindow.c:268
> +    window->statusLabel = gtk_label_new(0);

0 -> NULL
Comment 3 Carlos Garcia Campos 2011-11-03 10:07:09 PDT
Committed r99207: <http://trac.webkit.org/changeset/99207>