Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MqStopReloadButton: Add a few comments and line breaks | Patrick McDermott | 2017-10-13 | 1 | -0/+5 |
| | |||||
* | MqTabChrome: Use MqStopReloadButton | Patrick McDermott | 2017-10-13 | 2 | -56/+4 |
| | |||||
* | MqStopReloadButton: New class | Patrick McDermott | 2017-10-13 | 3 | -0/+237 |
| | |||||
* | MqBackForwardButtonBox: Derive from GtkToolItem | Patrick McDermott | 2017-10-13 | 3 | -12/+12 |
| | | | | And update MqTabChrome. | ||||
* | MqTabChrome: Use MqUriEntry | Patrick McDermott | 2017-10-13 | 2 | -168/+2 |
| | |||||
* | MqUriEntry: New class | Patrick McDermott | 2017-10-13 | 3 | -0/+360 |
| | |||||
* | MqTabChrome: Remove back_forward_box struct member | Patrick McDermott | 2017-10-13 | 1 | -1/+0 |
| | |||||
* | MqFindToolbar: Get find controller on property setting | Patrick McDermott | 2017-10-13 | 1 | -19/+4 |
| | | | | We don't need a constructed method for this. | ||||
* | MqBackForwardButtonBox: Connect list change signal on property setting | Patrick McDermott | 2017-10-13 | 1 | -14/+6 |
| | | | | We don't need a constructed method for this. | ||||
* | mq_main_menu_new(): Change return type to (GtkToolItem *) | Patrick McDermott | 2017-10-12 | 2 | -2/+2 |
| | |||||
* | MqTabChrome: Add missing #include | Patrick McDermott | 2017-10-12 | 1 | -0/+1 |
| | |||||
* | MqTabChrome: Make menu_button variable function-local | Patrick McDermott | 2017-10-12 | 2 | -3/+3 |
| | |||||
* | MqTabChrome: Use MqMainMenu | Patrick McDermott | 2017-10-12 | 2 | -148/+2 |
| | |||||
* | MqMainMenu: New class | Patrick McDermott | 2017-10-12 | 3 | -0/+353 |
| | |||||
* | MqBackForwardButtonBox: Fix function names | Patrick McDermott | 2017-10-12 | 1 | -2/+2 |
| | |||||
* | MqTabChrome: Use MqBackForwardButtonBox | Patrick McDermott | 2017-10-12 | 2 | -302/+4 |
| | |||||
* | MqBackForwardButtonBox: New class | Patrick McDermott | 2017-10-12 | 3 | -0/+523 |
| | |||||
* | mq_web_view_zoom_*(): Constrain zoom level within [0, G_MAXDOUBLE] | Patrick McDermott | 2017-10-12 | 1 | -0/+6 |
| | |||||
* | MqTabChrome: Close menu first in button click callbacks | Patrick McDermott | 2017-10-12 | 1 | -6/+6 |
| | | | | Although this doesn't really have any effect. | ||||
* | MqTabChrome: Call mq_web_view_zoom_*() in zoom button callbacks | Patrick McDermott | 2017-10-12 | 1 | -8/+3 |
| | |||||
* | mq_web_view_zoom_*(): Make more readable | Patrick McDermott | 2017-10-12 | 1 | -8/+14 |
| | |||||
* | mq_web_view_zoom_*(): New functions | Patrick McDermott | 2017-10-12 | 2 | -2/+33 |
| | |||||
* | MqWebView: Save MqConfig in object struct | Patrick McDermott | 2017-10-12 | 1 | -9/+10 |
| | |||||
* | MqTabChrome: Change callback arg type and drop conditional | Patrick McDermott | 2017-10-12 | 1 | -8/+2 |
| | |||||
* | mq_find_toolbar_new(): Drop GTK_WIDGET() | Patrick McDermott | 2017-10-12 | 1 | -2/+2 |
| | |||||
* | src/find-toolbar.h: Fix #include | Patrick McDermott | 2017-10-12 | 1 | -1/+1 |
| | | | | | | | mq_find_toolbar_new() was originally going to take a MqTab argument and get the MqWebView from that (in case MqFindToolbar ever requires MqConfig in the future), but it's better to make injected dependencies as specific as possible. | ||||
* | mq_tab_chrome_new(): Get and save MqFindToolbar from caller | Patrick McDermott | 2017-10-12 | 3 | -9/+10 |
| | | | | | | Also change member type in struct. And update call in MqTab. | ||||
* | MqTab: Instantiate an MqFindToolbar | Patrick McDermott | 2017-10-12 | 1 | -1/+7 |
| | |||||
* | MqTabChrome: Get Web view in mq_tab_chrome_new() | Patrick McDermott | 2017-10-12 | 3 | -145/+131 |
| | | | | | | | Also remove mq_tab_chrome_set_web_view() and reorganize static functions. And update calls in MqTab. | ||||
* | MqTab: Move mq_tab_chrome_new() call | Patrick McDermott | 2017-10-12 | 1 | -1/+2 |
| | |||||
* | MqFindToolbar: Remove dispose method | Patrick McDermott | 2017-10-12 | 1 | -14/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Destroying child widgets is already handled by the parent class. Fixes: (marquee:xxxxx): Gtk-CRITICAL **: gtk_widget_get_realized: assertion 'GTK_IS_WIDGET (widget)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (marquee:xxxxx): Gtk-CRITICAL **: gtk_widget_get_realized: assertion 'GTK_IS_WIDGET (widget)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (marquee:xxxxx): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer (marquee:xxxxx): GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed | ||||
* | mq_web_view_load_uri(): Check for NULL uri | Patrick McDermott | 2017-10-12 | 1 | -0/+5 |
| | | | | | | | | Fixes: (marquee:xxxxx): GLib-CRITICAL **: g_str_has_prefix: assertion 'str != NULL' failed ** (marquee:xxxxx): CRITICAL **: void webkit_web_view_load_uri(WebKitWebView*, const gchar*): assertion 'uri' failed | ||||
* | MqFindToolbar: Move static method definitions | Patrick McDermott | 2017-10-12 | 1 | -38/+38 |
| | |||||
* | MqWebView: Move static method definitions | Patrick McDermott | 2017-10-12 | 1 | -58/+58 |
| | |||||
* | MqFindToolbar: Add dispose method | Patrick McDermott | 2017-10-12 | 1 | -0/+14 |
| | |||||
* | MqWebView: Free uri member on finalize | Patrick McDermott | 2017-10-12 | 1 | -0/+13 |
| | |||||
* | MqFindToolbar: Move WebKitFindController setup to constructed | Patrick McDermott | 2017-10-12 | 1 | -6/+21 |
| | |||||
* | MqTabChrome: Use MqFindToolbar | Patrick McDermott | 2017-10-12 | 2 | -229/+24 |
| | |||||
* | MqFindToolbar: Add WebKitFindController signal callbacks | Patrick McDermott | 2017-10-12 | 1 | -0/+28 |
| | |||||
* | mq_find_toolbar_reveal(): Define new function | Patrick McDermott | 2017-10-12 | 1 | -0/+7 |
| | | | | Already declared in src/find-toolbar.h. | ||||
* | MqFindToolbar: Add signal callbacks | Patrick McDermott | 2017-10-12 | 1 | -12/+112 |
| | |||||
* | MqFindToolbar: New class | Patrick McDermott | 2017-10-12 | 3 | -0/+250 |
| | |||||
* | MqTabChrome: Set up find toolbar when Web view is set | Patrick McDermott | 2017-10-12 | 1 | -4/+4 |
| | | | | This makes the find toolbar code a little more self-contained. | ||||
* | mq_tab_chrome_set_web_view(): Change argument 2 to (MqWebView *) | Patrick McDermott | 2017-10-12 | 3 | -5/+6 |
| | |||||
* | MqWebView: Don't directly access MqTab struct member | Patrick McDermott | 2017-10-12 | 1 | -4/+4 |
| | |||||
* | MqWebView: Drop a TODO comment | Patrick McDermott | 2017-10-12 | 1 | -1/+1 |
| | |||||
* | mq_web_view_load_uri(): Drop NULL check | Patrick McDermott | 2017-10-12 | 1 | -5/+0 |
| | | | | | In the current codebase, a NULL uri argument isn't (read: shouldn't be) possible. | ||||
* | mq_web_view_get_web_view(): Remove | Patrick McDermott | 2017-10-12 | 2 | -11/+0 |
| | |||||
* | MqTab: Drop mq_web_view_get_web_view() & a struct member | Patrick McDermott | 2017-10-12 | 2 | -4/+2 |
| | | | | | | | The body and web_view struct members are now pointers to the same address, just with different types. body isn't used anywhere outside this instance initialization function, so it doesn't need to be saved in the struct. | ||||
* | mq_web_view_get_container(): Remove | Patrick McDermott | 2017-10-12 | 2 | -8/+0 |
| |