summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* MqTabBody: Don't load NULL URI in Web viewPatrick McDermott2017-09-221-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 entryPatrick McDermott2017-09-221-1/+3
| | | | | | Fixes: (marquee:xxxxx): Gtk-CRITICAL **: gtk_entry_set_text: assertion 'text != NULL' failed
* MqWindow: Don't load "about:new"Patrick McDermott2017-09-221-1/+1
|
* main(): Enable favicons databasePatrick McDermott2017-09-222-1/+4
| | | | That was easy to fix.
* MqTab: Set tab tooltipsPatrick McDermott2017-09-221-2/+6
| | | | Also plugs a memory leak.
* MqTab: Save tab favicon and title in structPatrick McDermott2017-09-222-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 codePatrick McDermott2017-09-221-8/+9
| | | | Also sneak in a comment about the g_signal_connect() call.
* MqTab: Make tab list scrollablePatrick McDermott2017-09-221-3/+19
|
* MqTabChrome: Convert container from grid to boxPatrick McDermott2017-09-221-3/+3
|
* Move tab context menu code from MqWindow to MqTabPatrick McDermott2017-09-222-106/+106
|
* MqTab: Convert tab page container from grid to boxPatrick McDermott2017-09-221-7/+5
|
* MqTab: Convert tab label container from grid to boxPatrick McDermott2017-09-221-7/+5
|
* Move tab population code from MqWindow to MqTabPatrick McDermott2017-09-223-27/+40
|
* MqTabChrome: Drop saving of tab image and labelPatrick McDermott2017-09-213-9/+3
|
* Move tab image callback from MqTabChrome to MqTabPatrick McDermott2017-09-212-19/+19
|
* Move tab label callbacks from MqTabChrome to MqTabPatrick McDermott2017-09-212-25/+18
|
* MqTab: Save tab image and label in structPatrick McDermott2017-09-212-0/+4
|
* MqTab: Save tab position in structPatrick McDermott2017-09-212-0/+2
|
* MqTab: Save WebKitWebView instance in structPatrick McDermott2017-09-212-5/+6
|
* MqTabChrome: Move a function definitionPatrick McDermott2017-09-211-15/+15
|
* MqTabChrome: Delete commented-out function callsPatrick McDermott2017-09-211-4/+0
|
* MqTabChrome: Explain hardcoded GtkScrolledWindow sizesPatrick McDermott2017-09-211-0/+35
|
* MqTabChrome: Set minimum sizes of tab history scrolled windowsPatrick McDermott2017-09-211-0/+8
|
* MqTabChrome: Drop gtk_scrolled_window_set_policy() callsPatrick McDermott2017-09-211-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 McDermott2017-09-211-18/+2
| | | | This reverts commit c534c7e1bedb56b0f2e44b45a9d1ac5fcb9cef68.
* Revert "src/tab-chrome.c: Try to update scrollbar policies on toggle"Patrick McDermott2017-09-211-14/+6
| | | | This reverts commit 42ca78390d46acf1a997634a6d1c59b8afc466fb.
* Drop MqScrolledWindow and stop use in MqTabChromePatrick McDermott2017-09-214-119/+3
|
* src/scrolled-window.c: Implement stub size_allocate methodPatrick McDermott2017-09-211-0/+10
|
* src/tab-chrome.c: Use MqScrolledWindowPatrick McDermott2017-09-211-2/+3
|
* src/scrolled-window.[ch]: New filesPatrick McDermott2017-09-203-1/+106
|
* src/tab-chrome.c: Try to update scrollbar policies on togglePatrick McDermott2017-09-201-6/+14
|
* src/tab-chrome.c: Hack tab history scrollbar policiesPatrick McDermott2017-09-201-2/+18
|
* Revert "src/tab-chrome.c: Hackishly enlarge tab history text scrolled window"Patrick McDermott2017-09-201-9/+1
| | | | This reverts commit 922cdef53495323446a5fed31065d9338876e8d4.
* Revert "src/tab-chrome.c: Add a scrollbar to tab history text stack"Patrick McDermott2017-09-201-9/+2
| | | | This reverts commit 90686faaa5927f03335a23526d8a6313242adb39.
* src/tab-chrome.c: Add a scrollbar to tab history text stackPatrick McDermott2017-09-201-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 windowPatrick McDermott2017-09-201-1/+9
|
* src/tab-chrome.c: Better organize tab history scrolled windows codePatrick McDermott2017-09-201-13/+20
|
* Revert "src/tab-chrome.c: Try to resize tab history scrolled windows"Patrick McDermott2017-09-201-32/+0
| | | | This reverts commit 22056692ce29110774bf5486214f8b55b5006922.
* src/tab-chrome.c: Try to resize tab history scrolled windowsPatrick McDermott2017-09-201-0/+32
| | | | Doesn't work.
* src/tab-chrome.c: Make tab history list and text scrollablePatrick McDermott2017-09-201-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 viewPatrick McDermott2017-09-201-2/+5
|
* src/tab-chrome.c: Fix order of forward list itemsPatrick McDermott2017-09-201-18/+20
|
* src/window.c: Remove old tab list back button click callbackPatrick McDermott2017-09-191-11/+0
|
* src/window.c: Make tab list button functional (again)Patrick McDermott2017-09-191-11/+8
|
* src/window.c: Convert tab list button to toggle buttonPatrick McDermott2017-09-191-1/+14
|
* src/window.c: Put tab list under tab menu buttonsPatrick McDermott2017-09-191-26/+11
|
* 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.