summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* src/window.c: Arrange tab menu buttons in gridPatrick McDermott2017-09-191-25/+24
|
* src/tab-chrome.[ch]: Add (non-functional) menuPatrick McDermott2017-09-192-0/+61
|
* mq_tab_body_new(): Or maybe that didn't really work.Patrick McDermott2017-09-191-0/+1
|
* mq_tab_body_new(): Assign focus to Web viewPatrick McDermott2017-09-191-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() assertionPatrick McDermott2017-09-191-4/+5
| | | | | | Fixes: Gtk-CRITICAL **: gtk_widget_set_can_focus: assertion 'GTK_IS_WIDGET (widget)' failed
* src/window.c: Adjust case of button tooltipsPatrick McDermott2017-09-191-7/+7
|
* src/tab-chrome.c: Disable focus on tab history list iconsPatrick McDermott2017-09-191-0/+2
| | | | Otherwise, the radio button can accept the input focus.
* mq_window_new(): Disable focus on notebookPatrick McDermott2017-09-191-0/+1
|
* src/window.c: Add tab list back buttonPatrick McDermott2017-09-191-3/+30
|
* src/window.c: Make tab list button functionalPatrick McDermott2017-09-191-0/+14
|
* src/tab-chrome.c: Add "_cb" to a callback function namePatrick McDermott2017-09-191-2/+2
|
* src/window.c: Add (non-functional) tab close buttonsPatrick McDermott2017-09-191-0/+2
|
* src/window.c: Disable focus on tab popover buttonsPatrick McDermott2017-09-191-1/+2
| | | | And sneak in a TODO comment.
* src/window.c: Add tab popover/context menuPatrick McDermott2017-09-191-1/+75
| | | | The buttons don't do anything yet.
* src/window.c: Rearrange tab label code statementsPatrick McDermott2017-09-191-4/+6
|
* src/tab-chrome.c: Wrap a long linePatrick McDermott2017-09-191-1/+2
|
* src/tab-chrome.c: Adjust history popover to size of visible childPatrick McDermott2017-09-191-2/+8
|
* src/tab-chrome.c: Free temporary tab history list item URI stringPatrick McDermott2017-09-191-8/+9
|
* src/tab-chrome.c: Add tab history text viewPatrick McDermott2017-09-191-1/+24
|
* src/tab-chrome.[ch]: Close back/forward popover on row activationPatrick McDermott2017-09-192-4/+21
|
* mq_tab_body_new(): Remove sidebarPatrick McDermott2017-09-191-6/+1
|
* src/tab-chrome.c: Add some commentsPatrick McDermott2017-09-191-0/+11
|
* src/tab-chrome.c: Fix tab history list icon stacksPatrick McDermott2017-09-191-16/+27
| | | | This is rather hackish, but oh well.
* src/tab-chrome.c: Make tab history list icon stacksPatrick McDermott2017-09-191-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 McDermott2017-09-181-59/+9
| | | | This reverts commit f86483d624227ea01a5d3ed2ddf814cb747cc246.
* src/tab-chrome.c: Try to resize tab history list iconsPatrick McDermott2017-09-181-9/+59
| | | | Ugly. Doesn't work.
* Revert "src/tab-chrome.c: Try to synchronize tab history list icon sizes"Patrick McDermott2017-09-181-48/+4
| | | | This reverts commit 6eb6482e94ee5a82891a7e3294e4f8d72f2104d5.
* src/tab-chrome.c: Left-align tab history list toggle buttonPatrick McDermott2017-09-181-0/+1
|
* src/tab-chrome.c: Try to synchronize tab history list icon sizesPatrick McDermott2017-09-181-4/+48
| | | | Doesn't work.
* src/tab-chrome.c: Left-align tab history list item labelsPatrick McDermott2017-09-181-0/+2
|
* src/tab-chrome.c: Apply tooltips to whole tab history list itemsPatrick McDermott2017-09-181-2/+2
|
* src/tab-chrome.c: Add tooltips to tab history list itemsPatrick McDermott2017-09-181-3/+6
|
* src/tab-chrome.c: Shorten a variable namePatrick McDermott2017-09-181-5/+5
|
* src/tab-chrome.c: Refactor tab history list current item codePatrick McDermott2017-09-181-3/+3
|
* src/tab-chrome.c: Refactor tab history list codePatrick McDermott2017-09-181-17/+23
|
* src/tab-chrome.c: Add back/forward icons to tab history listPatrick McDermott2017-09-181-4/+15
|
* src/tab-chrome.c: Implement basic tab history listPatrick McDermott2017-09-181-5/+39
|
* src/tab-chrome.c: Use toggle button for tab history stackPatrick McDermott2017-09-181-17/+21
|
* src/tab-chrome.c: Use labels on tab history stack switcherPatrick McDermott2017-09-181-2/+4
| | | | Works, but icons would be prettier.
* src/tab-chrome.c: Add basic stack to tab history popoverPatrick McDermott2017-09-181-1/+25
| | | | Doesn't work.
* src/tab-chrome.c: Monitor middle/right clicks on back/forwardPatrick McDermott2017-09-171-1/+25
| | | | Stub handler for now.
* src/tab-chrome.[ch]: Save back_forward_box in MqTabChromePatrick McDermott2017-09-172-8/+8
|
* src/tab-chrome.c: s/uri_toolitem/uri_tool_item/Patrick McDermott2017-09-171-5/+5
|
* src/tab-chrome.[ch]: Link back/forward buttonsPatrick McDermott2017-09-172-12/+23
|
* Revert "src/tab-chrome.[ch]: Wrap back/forward buttons in a button box"Patrick McDermott2017-09-172-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 boxPatrick McDermott2017-09-172-12/+22
|
* src/tab-chrome.c: Handle change of target from link to linkPatrick McDermott2017-09-171-0/+9
|
* src/tab-chrome.c: Restore URI bar style on URI changePatrick McDermott2017-09-171-0/+3
|
* src/tab-chrome.[ch]: Show hovered link URI in URI barPatrick McDermott2017-09-172-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 widthPatrick McDermott2017-09-171-0/+1
|