Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | mq_web_view_open(), mq_web_view_save(): Move gtk_widget_show_all() call to end | Patrick McDermott | 2017-10-28 | 1 | -6/+8 |
| | | | | Otherwise, the save chooser's extra widget children are invisible. | ||||
* | mq_web_view_save(): Add file type combo box | Patrick McDermott | 2017-10-28 | 1 | -0/+17 |
| | |||||
* | mq_web_view_open(), mq_web_view_save(): Add file filters to file choosers | Patrick McDermott | 2017-10-28 | 1 | -0/+38 |
| | |||||
* | mq_web_view_open(), mq_web_view_save(): Add blank lines and rearrange lines | Patrick McDermott | 2017-10-28 | 1 | -6/+10 |
| | | | | Try to make the code a little more readable and maintainable. | ||||
* | mq_web_view_open(): Add TODO comment | Patrick McDermott | 2017-10-28 | 1 | -0/+2 |
| | |||||
* | mq_web_view_open(), mq_web_view_save(): Don't save NULL chooser folder | Patrick McDermott | 2017-10-28 | 1 | -7/+18 |
| | | | | | Also free the return value of gtk_file_chooser_get_current_folder() and save the configuration in mq_web_view_open()'s callback. | ||||
* | mq_web_view_open(): Set file chooser's current folder | Patrick McDermott | 2017-10-28 | 1 | -0/+8 |
| | |||||
* | mq_web_view_open(): Set directories.open-file to chooser's folder | Patrick McDermott | 2017-10-28 | 1 | -0/+3 |
| | |||||
* | mq_web_view_save(): Set directories.downloads to chooser's folder | Patrick McDermott | 2017-10-28 | 1 | -0/+4 |
| | |||||
* | mq_web_view_save(): Set file chooser's current folder | Patrick McDermott | 2017-10-28 | 1 | -1/+4 |
| | |||||
* | mq_web_view_save(): Clean up title for file name | Patrick McDermott | 2017-10-28 | 1 | -3/+18 |
| | |||||
* | mq_web_view_open(), mq_web_view_save(): New functions | Patrick McDermott | 2017-10-28 | 1 | -0/+87 |
| | |||||
* | MqTabLabel, MqMainMenu, MqWebView: Use G_STMT_START/G_STMT_END in macros | Patrick McDermott | 2017-10-25 | 1 | -10/+10 |
| | |||||
* | mq_notebook_insert_*(): Optionally switch to new tab | Patrick McDermott | 2017-10-24 | 1 | -5/+11 |
| | | | | And update calls. | ||||
* | MqWebView: Use mq_notebook_insert_child() | Patrick McDermott | 2017-10-23 | 1 | -18/+26 |
| | |||||
* | MqWebView: Adapt to new tree-less MqTabPage API | Patrick McDermott | 2017-10-23 | 1 | -15/+18 |
| | |||||
* | MqTabLabel, MqNavigationToolbar, MqWebView: Chain up finalize method | Patrick McDermott | 2017-10-22 | 1 | -0/+2 |
| | |||||
* | MqWebView: Use g_value_[sg]et_object() for MqTabPage | Patrick McDermott | 2017-10-18 | 1 | -2/+2 |
| | |||||
* | MqWebView: Use MqTabPage | Patrick McDermott | 2017-10-18 | 1 | -29/+34 |
| | |||||
* | src/*.c: Reorganize #include directives | Patrick McDermott | 2017-10-13 | 1 | -2/+3 |
| | |||||
* | Standardize spelling of GParamSpec parameter names | Patrick McDermott | 2017-10-13 | 1 | -5/+5 |
| | |||||
* | mq_web_view_zoom_*(): Constrain zoom level within [0, G_MAXDOUBLE] | Patrick McDermott | 2017-10-12 | 1 | -0/+6 |
| | |||||
* | 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 | 1 | -2/+24 |
| | |||||
* | MqWebView: Save MqConfig in object struct | Patrick McDermott | 2017-10-12 | 1 | -9/+10 |
| | |||||
* | 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 | ||||
* | MqWebView: Move static method definitions | Patrick McDermott | 2017-10-12 | 1 | -58/+58 |
| | |||||
* | MqWebView: Free uri member on finalize | Patrick McDermott | 2017-10-12 | 1 | -0/+13 |
| | |||||
* | 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 | 1 | -6/+0 |
| | |||||
* | mq_web_view_get_container(): Remove | Patrick McDermott | 2017-10-12 | 1 | -6/+0 |
| | |||||
* | MqWebView: Improve property descriptions | Patrick McDermott | 2017-10-12 | 1 | -2/+7 |
| | |||||
* | MqWebView: Rename "uri" property to "rewritten-uri" | Patrick McDermott | 2017-10-12 | 1 | -8/+10 |
| | | | | This fixes the infinite loop introduced in commit a88de09. | ||||
* | mq_web_view_load_uri(): Free uri member before assigning to it | Patrick McDermott | 2017-10-12 | 1 | -0/+3 |
| | | | | | | | | We're checking that it isn't NULL before calling g_free(). g_free() already does this check, so we don't actually have to do this. But it's good practice, and it'll save the overhead of unnecessary g_free() calls (at the expense of extra comparisons and branchings when g_free() needs to be called). | ||||
* | MqWebView: Make uri member non-const | Patrick McDermott | 2017-10-12 | 1 | -1/+1 |
| | | | | | | mq_web_view_load_uri() and the WebKitWebView "notify::uri" callback copy strings to it, so it need not be const. We're also now freeing it when copying to it. | ||||
* | MqWebView: Connect to WebKitWebView's "notify::uri" signal | Patrick McDermott | 2017-10-12 | 1 | -0/+26 |
| | | | | This causes a fun infinite loop of signal emissions. | ||||
* | mq_web_view_load_uri(): Save a copy of uri | Patrick McDermott | 2017-10-12 | 1 | -1/+1 |
| | |||||
* | mq_web_view_get_uri(): New function | Patrick McDermott | 2017-10-12 | 1 | -0/+6 |
| | |||||
* | MqWebView: Don't set "uri" property during construction | Patrick McDermott | 2017-10-12 | 1 | -1/+1 |
| | | | | | | Setting the "uri" property now calls mq_web_view_load_uri(), which calls webkit_web_view_load_uri(). This causes a segmentation fault if the WebKitWebView's constructed method hasn't been called yet. | ||||
* | mq_web_view_load_uri(): New function | Patrick McDermott | 2017-10-12 | 1 | -1/+25 |
| | |||||
* | MqWebView: Remove unused macro definition | Patrick McDermott | 2017-10-11 | 1 | -2/+0 |
| | |||||
* | MqWebView: Use g_signal_connect() | Patrick McDermott | 2017-10-11 | 1 | -18/+18 |
| | |||||
* | MqWebView: Warn on invalid property IDs | Patrick McDermott | 2017-10-11 | 1 | -2/+10 |
| | |||||
* | imq_web_view_new(): Initialize parent web-context property | Patrick McDermott | 2017-10-11 | 1 | -0/+1 |
| | |||||
* | MqWebView: Call parent class constructed method earlier | Patrick McDermott | 2017-10-11 | 1 | -2/+4 |
| | |||||
* | MqWebView: Move code from instance_init to constructed method | Patrick McDermott | 2017-10-11 | 1 | -26/+36 |
| | |||||
* | MqWebView: Make tab property writable | Patrick McDermott | 2017-10-11 | 1 | -1/+1 |
| | |||||
* | MqWebView: New class | Patrick McDermott | 2017-10-11 | 1 | -0/+653 |