Daniel Silverstone
e87bc1bfda
GTK: Remove hack for url bar refresh on throbber stop
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-22 16:25:49 +00:00
Daniel Silverstone
c9e5fa9bc1
GTK: Ensure that we don't frob the URL bar from the scaffold
...
To correctly refocus the location box on tab switching we
need to not update the url of the tab when the scaffold updates
its global context.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-22 15:47:17 +00:00
Daniel Silverstone
a016445a82
GTK: Add a location focus state machine
...
Because the initial navigation process on new browser window
creation is somewhat complex, we need a small state machine in
the GTK UI to ensure that we handle the correct combination
of focussing needed to maintain selection through initial tab
opening.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-22 15:33:17 +00:00
Daniel Silverstone
5239163f4d
GTK: Request and honour location focus
...
So that when we create a new tab we automatically focus the
location box, pass the flag into create, and honour it when it
comes back to us.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-22 15:12:22 +00:00
Daniel Silverstone
5c377cd285
GTK: Use new BW_CREATE_FOREGROUND flags
...
This gets rid of temp_open_background which was, frankly, a bit
of an eyesore. In addition it makes the open-in-new-tab context
menu action behave like Firefox's with respect to the user's preference
regarding whether or not to immediately focus new tabs.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-22 11:51:10 +00:00
Vincent Sanders
fac20e8d38
make gtk frontend use page information icons
2019-12-01 21:44:55 +00:00
Vincent Sanders
38fb545e1b
add gtk icon resources for page information
2019-12-01 19:22:06 +00:00
Vincent Sanders
08e2cc32ba
repurpose ssl certificate core window for nitial page infor window on gtk
2019-12-01 16:21:16 +00:00
Vincent Sanders
9dd936ae7c
fix toolbar customisation
2019-09-21 10:53:41 +01:00
Vincent Sanders
9d3112a643
persist the menu and tool bar visibility as user settings
2019-09-21 10:53:41 +01:00
Vincent Sanders
bebb883d5a
remove global edit mode and make customisation toolbox construction simpler
2019-09-21 10:53:41 +01:00
Vincent Sanders
cbb818aa64
improve how toolbar contents customisation is stored in user options
2019-09-21 10:53:41 +01:00
Vincent Sanders
9b03d6ba63
add combined reload and stop button
2019-09-21 10:53:41 +01:00
Vincent Sanders
2bed178a33
fix resource release and stopping throbber on toolbar widget destruction
2019-09-21 10:53:41 +01:00
Vincent Sanders
a20fe23ce6
move search toolbar to be per tab and move implementation to one place
2019-09-21 10:53:41 +01:00
Vincent Sanders
9bbc7eb9cb
ensure pixbuf references are updated correctly to avoid leaks
2019-09-21 10:53:41 +01:00
Vincent Sanders
11aa682154
construct all toolbar items from data table
...
This changes toolbar item constuction to use toolbar_items.h
instead of explicit macros.
Additionally all remenants of old stock item themeing are done
away with and GTK icon names are used instead.
2019-09-21 10:53:41 +01:00
Vincent Sanders
9cd9a403e6
do not allocate toolbar items individually
2019-09-21 10:53:41 +01:00
Vincent Sanders
3df34e7dec
cleanup some toolbar item creation bits
2019-09-21 10:53:41 +01:00
Vincent Sanders
a8e186f120
fix customisation toolbar reset and remove unused code
2019-09-21 10:53:41 +01:00
Vincent Sanders
7b63f36a4f
toolbar customisation can now apply chnages
2019-09-21 10:53:41 +01:00
Vincent Sanders
db558f862b
fix dragging into customisation toolbar
2019-09-21 10:53:41 +01:00
Vincent Sanders
c7ad2553d8
allow toolbar customisation to remove widgets from the toolbar
2019-09-21 10:53:41 +01:00
Vincent Sanders
dbc5b5df6a
fixup gtk2 ui builder for toolbar customisation
2019-09-21 10:53:41 +01:00
Vincent Sanders
df398ed886
populate toolbar customisation with icons
2019-09-21 10:53:41 +01:00
Vincent Sanders
778c05a194
populate customize window toolbar
2019-09-21 10:53:41 +01:00
Vincent Sanders
747f135de5
make new browser window creation logic common
2019-09-21 10:53:41 +01:00
Vincent Sanders
c7c89daff3
allow toolbar customisation to open a tab
2019-09-21 10:53:41 +01:00
Vincent Sanders
46e1116aaa
change toolbar customization to tab approach
2019-09-21 10:53:41 +01:00
Vincent Sanders
65d5161558
remove unsused junk gtk_history_window structure and functions
2019-09-21 10:53:41 +01:00
Vincent Sanders
635be1dfb8
make toolbar and menubar hiding work appropriately
2019-09-21 10:53:41 +01:00
Vincent Sanders
bcb2b7a2c4
simplify toolbar items macros
2019-09-21 10:53:41 +01:00
Vincent Sanders
061499eef6
set menu activation handler using toolbar items
2019-09-21 10:53:41 +01:00
Vincent Sanders
64b2f355dc
use toolbar_items to generate more boilerplate code through macros
2019-09-21 10:53:41 +01:00
Vincent Sanders
ec62f346e1
fix toolbar property update
2019-09-21 10:53:41 +01:00
Vincent Sanders
f6a669464f
split burger menu from popup context menu
2019-09-21 10:53:41 +01:00
Vincent Sanders
85b65921ed
cleanup scaffolding a bit
2019-09-21 10:53:41 +01:00
Vincent Sanders
2e8861dc05
make web search icon setting work properly
2019-09-21 10:53:41 +01:00
Vincent Sanders
e84990bc89
make popup context menu work on toolbar
2019-09-21 10:53:41 +01:00
Vincent Sanders
e36338b617
complete toolbar button click handler implementation
2019-09-21 10:53:41 +01:00
Vincent Sanders
08d7c55cc5
another five handlers and fix menu sensitivity on throbber state change
2019-09-21 10:53:41 +01:00
Vincent Sanders
45bd456cd8
add five more handlers
2019-09-21 10:53:41 +01:00
Vincent Sanders
7f115dc926
implemented another seven signal handlers
2019-09-21 10:53:41 +01:00
Vincent Sanders
8f0c0734ea
implement more toolbar item handlers and make menus call them
2019-09-21 10:53:41 +01:00
Vincent Sanders
8eebe695f0
allow menu activation to use the toolbar button implementations
2019-09-21 10:53:41 +01:00
Vincent Sanders
b24b28e40e
clean up some more handler code and remove button push
2019-09-21 10:53:41 +01:00
Vincent Sanders
ff64341ed3
make menu sensitivity work
...
what remains is interfaces to make the toolbar appropriately sensative
2019-09-21 10:53:41 +01:00
Vincent Sanders
c297101c3a
make menus work again
2019-09-21 10:53:41 +01:00
Vincent Sanders
b389dd4116
make web search box work
2019-09-21 10:53:41 +01:00
Vincent Sanders
f3a68771e3
add home button clicked handler
2019-09-21 10:53:41 +01:00