RESOLVED FIXED 120292
[GTK] Improve the stop/reload button implementation in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=120292
Summary [GTK] Improve the stop/reload button implementation in MiniBrowser
Carlos Garcia Campos
Reported 2013-08-26 01:47:30 PDT
- Use an instance member of BrowserWindow for the button widget instead of a global variable - Use notify::is-loading to monitor the WebView load instead of the estimated-load-progress property - Use webkit_web_view_is_loading() to check whether the view loading to change the button icon instead of a string comparison of the gtk stock icon id
Attachments
Patch (5.33 KB, patch)
2013-08-26 01:51 PDT, Carlos Garcia Campos
pnormand: review+
Carlos Garcia Campos
Comment 1 2013-08-26 01:48:06 PDT
And use the right casts to avoid compile warnings
Carlos Garcia Campos
Comment 2 2013-08-26 01:51:00 PDT
Sergio Villar Senin
Comment 3 2013-08-26 02:09:35 PDT
Comment on attachment 209627 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=209627&action=review Patch looks awesome to me. > Tools/ChangeLog:13 > + loading to change the button icon instead of a string nit: an 'is' is missing here?
Philippe Normand
Comment 4 2013-08-26 03:21:43 PDT
Comment on attachment 209627 [details] Patch Yep please fix this small nit spotted by Sergio :)
Carlos Garcia Campos
Comment 5 2013-08-26 03:30:37 PDT
Note You need to log in before you can comment on or make changes to this bug.