Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | 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. | ||||
* | src/tab-chrome.c: Fix gtk_widget_set_can_focus() assertion | Patrick McDermott | 2017-09-19 | 1 | -4/+5 |
| | | | | | | Fixes: Gtk-CRITICAL **: gtk_widget_set_can_focus: assertion 'GTK_IS_WIDGET (widget)' failed | ||||
* | src/window.c: Adjust case of button tooltips | Patrick McDermott | 2017-09-19 | 1 | -7/+7 |
| | |||||
* | src/tab-chrome.c: Disable focus on tab history list icons | Patrick McDermott | 2017-09-19 | 1 | -0/+2 |
| | | | | Otherwise, the radio button can accept the input focus. | ||||
* | mq_window_new(): Disable focus on notebook | Patrick McDermott | 2017-09-19 | 1 | -0/+1 |
| | |||||
* | src/window.c: Add tab list back button | Patrick McDermott | 2017-09-19 | 1 | -3/+30 |
| | |||||
* | src/window.c: Make tab list button functional | Patrick McDermott | 2017-09-19 | 1 | -0/+14 |
| | |||||
* | src/tab-chrome.c: Add "_cb" to a callback function name | Patrick McDermott | 2017-09-19 | 1 | -2/+2 |
| | |||||
* | src/window.c: Add (non-functional) tab close buttons | Patrick McDermott | 2017-09-19 | 1 | -0/+2 |
| | |||||
* | src/window.c: Disable focus on tab popover buttons | Patrick McDermott | 2017-09-19 | 1 | -1/+2 |
| | | | | And sneak in a TODO comment. | ||||
* | src/window.c: Add tab popover/context menu | Patrick McDermott | 2017-09-19 | 1 | -1/+75 |
| | | | | The buttons don't do anything yet. | ||||
* | src/window.c: Rearrange tab label code statements | Patrick McDermott | 2017-09-19 | 1 | -4/+6 |
| | |||||
* | src/tab-chrome.c: Wrap a long line | Patrick McDermott | 2017-09-19 | 1 | -1/+2 |
| | |||||
* | src/tab-chrome.c: Adjust history popover to size of visible child | Patrick McDermott | 2017-09-19 | 1 | -2/+8 |
| | |||||
* | src/tab-chrome.c: Free temporary tab history list item URI string | Patrick McDermott | 2017-09-19 | 1 | -8/+9 |
| | |||||
* | src/tab-chrome.c: Add tab history text view | Patrick McDermott | 2017-09-19 | 1 | -1/+24 |
| | |||||
* | src/tab-chrome.[ch]: Close back/forward popover on row activation | Patrick McDermott | 2017-09-19 | 2 | -4/+21 |
| | |||||
* | mq_tab_body_new(): Remove sidebar | Patrick McDermott | 2017-09-19 | 1 | -6/+1 |
| | |||||
* | src/tab-chrome.c: Add some comments | Patrick McDermott | 2017-09-19 | 1 | -0/+11 |
| | |||||
* | src/tab-chrome.c: Fix tab history list icon stacks | Patrick McDermott | 2017-09-19 | 1 | -16/+27 |
| | | | | This is rather hackish, but oh well. | ||||
* | src/tab-chrome.c: Make tab history list icon stacks | Patrick McDermott | 2017-09-19 | 1 | -10/+20 |
| | | | | Still doesn't quite work. The wrong child is visible on most stacks. | ||||
* | Revert "src/tab-chrome.c: Try to resize tab history list icons" | Patrick McDermott | 2017-09-18 | 1 | -59/+9 |
| | | | | This reverts commit f86483d624227ea01a5d3ed2ddf814cb747cc246. | ||||
* | src/tab-chrome.c: Try to resize tab history list icons | Patrick McDermott | 2017-09-18 | 1 | -9/+59 |
| | | | | Ugly. Doesn't work. | ||||
* | Revert "src/tab-chrome.c: Try to synchronize tab history list icon sizes" | Patrick McDermott | 2017-09-18 | 1 | -48/+4 |
| | | | | This reverts commit 6eb6482e94ee5a82891a7e3294e4f8d72f2104d5. | ||||
* | src/tab-chrome.c: Left-align tab history list toggle button | Patrick McDermott | 2017-09-18 | 1 | -0/+1 |
| | |||||
* | src/tab-chrome.c: Try to synchronize tab history list icon sizes | Patrick McDermott | 2017-09-18 | 1 | -4/+48 |
| | | | | Doesn't work. | ||||
* | src/tab-chrome.c: Left-align tab history list item labels | Patrick McDermott | 2017-09-18 | 1 | -0/+2 |
| | |||||
* | src/tab-chrome.c: Apply tooltips to whole tab history list items | Patrick McDermott | 2017-09-18 | 1 | -2/+2 |
| | |||||
* | src/tab-chrome.c: Add tooltips to tab history list items | Patrick McDermott | 2017-09-18 | 1 | -3/+6 |
| | |||||
* | src/tab-chrome.c: Shorten a variable name | Patrick McDermott | 2017-09-18 | 1 | -5/+5 |
| | |||||
* | src/tab-chrome.c: Refactor tab history list current item code | Patrick McDermott | 2017-09-18 | 1 | -3/+3 |
| | |||||
* | src/tab-chrome.c: Refactor tab history list code | Patrick McDermott | 2017-09-18 | 1 | -17/+23 |
| | |||||
* | src/tab-chrome.c: Add back/forward icons to tab history list | Patrick McDermott | 2017-09-18 | 1 | -4/+15 |
| | |||||
* | src/tab-chrome.c: Implement basic tab history list | Patrick McDermott | 2017-09-18 | 1 | -5/+39 |
| | |||||
* | src/tab-chrome.c: Use toggle button for tab history stack | Patrick McDermott | 2017-09-18 | 1 | -17/+21 |
| | |||||
* | src/tab-chrome.c: Use labels on tab history stack switcher | Patrick McDermott | 2017-09-18 | 1 | -2/+4 |
| | | | | Works, but icons would be prettier. | ||||
* | src/tab-chrome.c: Add basic stack to tab history popover | Patrick McDermott | 2017-09-18 | 1 | -1/+25 |
| | | | | Doesn't work. | ||||
* | src/tab-chrome.c: Monitor middle/right clicks on back/forward | Patrick McDermott | 2017-09-17 | 1 | -1/+25 |
| | | | | Stub handler for now. | ||||
* | src/tab-chrome.[ch]: Save back_forward_box in MqTabChrome | Patrick McDermott | 2017-09-17 | 2 | -8/+8 |
| | |||||
* | src/tab-chrome.c: s/uri_toolitem/uri_tool_item/ | Patrick McDermott | 2017-09-17 | 1 | -5/+5 |
| | |||||
* | src/tab-chrome.[ch]: Link back/forward buttons | Patrick McDermott | 2017-09-17 | 2 | -12/+23 |
| | |||||
* | Revert "src/tab-chrome.[ch]: Wrap back/forward buttons in a button box" | Patrick McDermott | 2017-09-17 | 2 | -22/+12 |
| | | | | | | | | | This reverts commit fd0f25a82781346f6aeef2c4bfeb9b69fdcbf33f. The GtkAlignment widgets in the GtkButton widgets are too wide and the (default) styling doesn't join the buttons together. GtkButtonBox is meant for OK/cancel buttons in dialogs, not joining related buttons together. | ||||
* | src/tab-chrome.[ch]: Wrap back/forward buttons in a button box | Patrick McDermott | 2017-09-17 | 2 | -12/+22 |
| | |||||
* | src/tab-chrome.c: Handle change of target from link to link | Patrick McDermott | 2017-09-17 | 1 | -0/+9 |
| | |||||
* | src/tab-chrome.c: Restore URI bar style on URI change | Patrick McDermott | 2017-09-17 | 1 | -0/+3 |
| | |||||
* | src/tab-chrome.[ch]: Show hovered link URI in URI bar | Patrick McDermott | 2017-09-17 | 2 | -0/+34 |
| | | | | | | | | | | | And do so only if the URI bar hasn't been manually edited. (Or maybe we can just cache the edited string. Then the cache would have to be updated if the Web view's URI changes while a link is targeted.) This is a cool feature I haven't seen anywhere. It largely obviates a status bar, puts the hovered link URI in arguably a more sensible location, and allows the hovered link URI to be added to the primary selection and/or clipboard quickly and easily from the URI bar. | ||||
* | src/window.c: Set minimum tab width | Patrick McDermott | 2017-09-17 | 1 | -0/+1 |
| | |||||
* | src/window.c: Ellipsize and expand tab labels | Patrick McDermott | 2017-09-17 | 1 | -0/+3 |
| |