Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | MqTabBody: Don't load NULL URI in Web view | Patrick McDermott | 2017-09-22 | 1 | -1/+3 |
| | | | | | | Fixes: ** (marquee:xxxxx): CRITICAL **: void webkit_web_view_load_uri(WebKitWebView*, const gchar*): assertion 'uri' failed | ||||
* | MqTabChrome: Don't set NULL URI in URI entry | Patrick McDermott | 2017-09-22 | 1 | -1/+3 |
| | | | | | | Fixes: (marquee:xxxxx): Gtk-CRITICAL **: gtk_entry_set_text: assertion 'text != NULL' failed | ||||
* | MqWindow: Don't load "about:new" | Patrick McDermott | 2017-09-22 | 1 | -1/+1 |
| | |||||
* | main(): Enable favicons database | Patrick McDermott | 2017-09-22 | 2 | -1/+4 |
| | | | | That was easy to fix. | ||||
* | MqTab: Set tab tooltips | Patrick McDermott | 2017-09-22 | 1 | -2/+6 |
| | | | | Also plugs a memory leak. | ||||
* | MqTab: Save tab favicon and title in struct | Patrick McDermott | 2017-09-22 | 2 | -13/+16 |
| | | | | | This allows the "New tab" title to remain, rather than getting overwritten with NULL from webkit_web_view_get_title(). | ||||
* | MqTab: Move tab context menu rows box population code | Patrick McDermott | 2017-09-22 | 1 | -8/+9 |
| | | | | Also sneak in a comment about the g_signal_connect() call. | ||||
* | MqTab: Make tab list scrollable | Patrick McDermott | 2017-09-22 | 1 | -3/+19 |
| | |||||
* | MqTabChrome: Convert container from grid to box | Patrick McDermott | 2017-09-22 | 1 | -3/+3 |
| | |||||
* | Move tab context menu code from MqWindow to MqTab | Patrick McDermott | 2017-09-22 | 2 | -106/+106 |
| | |||||
* | MqTab: Convert tab page container from grid to box | Patrick McDermott | 2017-09-22 | 1 | -7/+5 |
| | |||||
* | MqTab: Convert tab label container from grid to box | Patrick McDermott | 2017-09-22 | 1 | -7/+5 |
| | |||||
* | Move tab population code from MqWindow to MqTab | Patrick McDermott | 2017-09-22 | 3 | -27/+40 |
| | |||||
* | MqTabChrome: Drop saving of tab image and label | Patrick McDermott | 2017-09-21 | 3 | -9/+3 |
| | |||||
* | Move tab image callback from MqTabChrome to MqTab | Patrick McDermott | 2017-09-21 | 2 | -19/+19 |
| | |||||
* | Move tab label callbacks from MqTabChrome to MqTab | Patrick McDermott | 2017-09-21 | 2 | -25/+18 |
| | |||||
* | MqTab: Save tab image and label in struct | Patrick McDermott | 2017-09-21 | 2 | -0/+4 |
| | |||||
* | MqTab: Save tab position in struct | Patrick McDermott | 2017-09-21 | 2 | -0/+2 |
| | |||||
* | MqTab: Save WebKitWebView instance in struct | Patrick McDermott | 2017-09-21 | 2 | -5/+6 |
| | |||||
* | MqTabChrome: Move a function definition | Patrick McDermott | 2017-09-21 | 1 | -15/+15 |
| | |||||
* | MqTabChrome: Delete commented-out function calls | Patrick McDermott | 2017-09-21 | 1 | -4/+0 |
| | |||||
* | MqTabChrome: Explain hardcoded GtkScrolledWindow sizes | Patrick McDermott | 2017-09-21 | 1 | -0/+35 |
| | |||||
* | MqTabChrome: Set minimum sizes of tab history scrolled windows | Patrick McDermott | 2017-09-21 | 1 | -0/+8 |
| | |||||
* | MqTabChrome: Drop gtk_scrolled_window_set_policy() calls | Patrick McDermott | 2017-09-21 | 1 | -6/+0 |
| | | | | The values set are the defaults, so these calls have no effect. | ||||
* | Revert "src/tab-chrome.c: Hack tab history scrollbar policies" | Patrick McDermott | 2017-09-21 | 1 | -18/+2 |
| | | | | This reverts commit c534c7e1bedb56b0f2e44b45a9d1ac5fcb9cef68. | ||||
* | Revert "src/tab-chrome.c: Try to update scrollbar policies on toggle" | Patrick McDermott | 2017-09-21 | 1 | -14/+6 |
| | | | | This reverts commit 42ca78390d46acf1a997634a6d1c59b8afc466fb. | ||||
* | Drop MqScrolledWindow and stop use in MqTabChrome | Patrick McDermott | 2017-09-21 | 4 | -119/+3 |
| | |||||
* | src/scrolled-window.c: Implement stub size_allocate method | Patrick McDermott | 2017-09-21 | 1 | -0/+10 |
| | |||||
* | src/tab-chrome.c: Use MqScrolledWindow | Patrick McDermott | 2017-09-21 | 1 | -2/+3 |
| | |||||
* | src/scrolled-window.[ch]: New files | Patrick McDermott | 2017-09-20 | 3 | -1/+106 |
| | |||||
* | src/tab-chrome.c: Try to update scrollbar policies on toggle | Patrick McDermott | 2017-09-20 | 1 | -6/+14 |
| | |||||
* | src/tab-chrome.c: Hack tab history scrollbar policies | Patrick McDermott | 2017-09-20 | 1 | -2/+18 |
| | |||||
* | Revert "src/tab-chrome.c: Hackishly enlarge tab history text scrolled window" | Patrick McDermott | 2017-09-20 | 1 | -9/+1 |
| | | | | This reverts commit 922cdef53495323446a5fed31065d9338876e8d4. | ||||
* | Revert "src/tab-chrome.c: Add a scrollbar to tab history text stack" | Patrick McDermott | 2017-09-20 | 1 | -9/+2 |
| | | | | This reverts commit 90686faaa5927f03335a23526d8a6313242adb39. | ||||
* | src/tab-chrome.c: Add a scrollbar to tab history text stack | Patrick McDermott | 2017-09-20 | 1 | -2/+9 |
| | | | | | Make sure that, if a vertical scrollbar is added, a horizontal one doesn't also have to be added. | ||||
* | src/tab-chrome.c: Hackishly enlarge tab history text scrolled window | Patrick McDermott | 2017-09-20 | 1 | -1/+9 |
| | |||||
* | src/tab-chrome.c: Better organize tab history scrolled windows code | Patrick McDermott | 2017-09-20 | 1 | -13/+20 |
| | |||||
* | Revert "src/tab-chrome.c: Try to resize tab history scrolled windows" | Patrick McDermott | 2017-09-20 | 1 | -32/+0 |
| | | | | This reverts commit 22056692ce29110774bf5486214f8b55b5006922. | ||||
* | src/tab-chrome.c: Try to resize tab history scrolled windows | Patrick McDermott | 2017-09-20 | 1 | -0/+32 |
| | | | | Doesn't work. | ||||
* | src/tab-chrome.c: Make tab history list and text scrollable | Patrick McDermott | 2017-09-20 | 1 | -3/+16 |
| | | | | | Currently, the list's and text view's sizes aren't propagated to their parent scrolled windows. | ||||
* | src/tab-chrome.c: Bolden the current URI in tab history text view | Patrick McDermott | 2017-09-20 | 1 | -2/+5 |
| | |||||
* | src/tab-chrome.c: Fix order of forward list items | Patrick McDermott | 2017-09-20 | 1 | -18/+20 |
| | |||||
* | src/window.c: Remove old tab list back button click callback | Patrick McDermott | 2017-09-19 | 1 | -11/+0 |
| | |||||
* | src/window.c: Make tab list button functional (again) | Patrick McDermott | 2017-09-19 | 1 | -11/+8 |
| | |||||
* | src/window.c: Convert tab list button to toggle button | Patrick McDermott | 2017-09-19 | 1 | -1/+14 |
| | |||||
* | src/window.c: Put tab list under tab menu buttons | Patrick McDermott | 2017-09-19 | 1 | -26/+11 |
| | |||||
* | src/window.c: Arrange tab menu buttons in grid | Patrick McDermott | 2017-09-19 | 1 | -25/+24 |
| | |||||
* | src/tab-chrome.[ch]: Add (non-functional) menu | Patrick McDermott | 2017-09-19 | 2 | -0/+61 |
| | |||||
* | mq_tab_body_new(): Or maybe that didn't really work. | Patrick McDermott | 2017-09-19 | 1 | -0/+1 |
| | |||||
* | mq_tab_body_new(): Assign focus to Web view | Patrick McDermott | 2017-09-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following assertion in GTK+ versions before 3.15.3: Gtk-CRITICAL **: gtk_widget_is_ancestor: assertion 'GTK_IS_WIDGET (widget)' failed This assertion occurs when: 1. No widget has been given input focus, 2. A popover (e.g. the tab label context menu) is shown, and 3. The window regains focus. This is because of the following code in window_focus_in() in gtk/gtkpopover.c (from 3.14.x): focus = gtk_window_get_focus (GTK_WINDOW (widget)); if (!gtk_widget_is_ancestor (focus, GTK_WIDGET (popover))) gtk_widget_grab_focus (GTK_WIDGET (popover)); When no widget has focus, the first argument to gtk_widget_is_ancestor() (which is checked with a GTK_IS_WIDGET() assertion) is NULL. So, some widget needs to have focus before a popover is shown and the window regains focus. Arguably, this is a bug in GTK+, and it has been fixed in GTK+ 3.15.3: https://git.gnome.org/browse/gtk+/commit/gtk/gtkpopover.c?id=e26fddc With that change, the above lines from window_focus_in() now read: focus = gtk_window_get_focus (GTK_WINDOW (widget)); if (focus == NULL || !gtk_widget_is_ancestor (focus, GTK_WIDGET (popover))) gtk_widget_grab_focus (GTK_WIDGET (popover)); That is, if focus is NULL, don't check if popover is an ancestor of it. Instead just give focus to popover. |