Commit graph

1325 commits

Author SHA1 Message Date
Alexander Butenko
458c5109be Dupe OS type for ident string before using it 2010-02-22 19:03:45 +01:00
Alexander Butenko
f3f53db4d7 Fallback to the first browser if one is closed
We need to keep one browser as the default for commands
and opening files externally.
2010-02-22 19:03:45 +01:00
Christian Dywan
679ecf5d84 Don't override small toolbar icon size
The hack was originally meant to fix themes with no proper
small icons, but it doesn't really help in most cases.
2010-02-22 14:23:20 +01:00
Christian Dywan
7cf326a338 Always use Icons only for panel toolbar 2010-02-21 18:03:27 +01:00
Christian Dywan
7580ecad8e Omit micro version and arch from ident string 2010-02-20 22:31:58 +01:00
Christian Dywan
142dc432ca Use content_area instead of GtkDialog->vbox in browser 2010-02-19 19:05:29 +01:00
Alexander Butenko
e94edca766 Use the correct completion model and no static
Since the model was a static variable and only set when the
popup was created, we ended up using an obsolete model in
case multiple windows were opened and closed.

As a small optimization we don't need to retrieve the database
pointer except when compiling the statement initially.
2010-02-19 18:55:16 +01:00
Christian Dywan
10591640d1 Re-implement 'Recently visited pages' based on sqlite 2010-02-19 00:34:39 +01:00
Christian Dywan
f3f9dd2b3f Be sure to save outstanding changes to the config on quit
We intentionally set a timeout before saving changes to avoid
continuous disc access and also in case opening or closing a tab
results in an immediate crash or freezing.
But closing Midori normally should save outstanding changes.
2010-02-17 23:19:16 +01:00
Peter de Ridder
aef84bfa02 Look for MidoriView resource files dynamically 2010-02-16 00:59:43 +01:00
Peter de Ridder
4774e35932 Look for user documentation dynamically on win32 2010-02-16 00:59:43 +01:00
Peter de Ridder
c90344ac44 Look for extensions relative to program folder on win32 2010-02-16 00:59:42 +01:00
Peter de Ridder
f4b2111b40 Implement sokoke_show_uri on top of explorer for win32 2010-02-16 00:59:42 +01:00
Christian Dywan
902f836810 Improve and optimize sokoke_uri_to_ascii to parse about:version 2010-02-12 02:08:05 +01:00
Christian Dywan
f19412bc70 Pass action to cell renderer callback rather than the entry
The entry pointer is only meaningful if completion was triggered
by typing or editing in an entry.
We shouldn't render a key in results if the arrow button opened the
completion popup.
We need to check the key in the callback to avoid accidentally
working with an entry of a different window.
2010-02-12 00:36:59 +01:00
Alexander Butenko
f733f453d2 Clear history via sqlite if selected in 'Clear private data' dialog 2010-02-11 23:24:28 +01:00
Christian Dywan
de12aa0078 Revise completion key handling to directly pass or compute the key 2010-02-11 01:57:42 +01:00
Christian Dywan
f494ec090b Handle external, magic URIs from command line consistently 2010-02-11 00:28:49 +01:00
Christian Dywan
532e84ea4f Set consistent flags on all properties of MidoriWebSettings 2010-02-10 23:37:33 +01:00
Christian Dywan
713091134f Handle search engines in MidoriBrowser and simplify sokoke_magic_uri 2010-02-10 19:52:12 +01:00
Christian Dywan
0243e26bed Only split URI if no domain pattern is found in the string 2010-02-10 19:52:11 +01:00
Christian Dywan
060c0b6940 Use strncmp instead of g_str_has_prefix to optimize sokoke_magic_uri 2010-02-10 19:52:11 +01:00
Christian Dywan
ccaf696256 Remove unused KatzeNet instance from MidoriSearchAction 2010-02-10 19:52:11 +01:00
Christian Dywan
e15fe776ed Don't update the saved window size if it didn't actually change 2010-02-10 19:52:10 +01:00
Christian Dywan
13b1c9462b Connect config change notifications after creating the first browser 2010-02-10 19:52:10 +01:00
Christian Dywan
2e5c5026bc Only set config properties which are present in the config file 2010-02-07 17:19:00 +01:00
Christian Dywan
0bf27662c5 Only update location combo arrow if there is a history at all 2010-02-07 17:19:00 +01:00
Christian Dywan
14f0a091f6 Do startup timing if MIDORI_STARTTIME environment variable is set 2010-02-07 17:19:00 +01:00
Alexander Butenko
d7f42c5d72 Fix check whether we have the latest database structure 2010-02-04 22:16:01 +01:00
Alexander Butenko
4461a16a79 Refactor location completion queries to use prepared statements 2010-02-04 22:07:30 +01:00
Alexander Butenko
db334e2921 Switch to prepared statements when adding/ updating history 2010-02-04 22:07:16 +01:00
Alexander Butenko
5887067e73 Show the combo arrow if the history table contains any rows 2010-02-04 03:30:09 +01:00
Christian Dywan
af94855fee Render search actions as one line without address 2010-02-04 03:11:52 +01:00
Alexander Butenko
c273d6c73a NULL check the key before rendering suggestions 2010-02-04 02:44:30 +01:00
Christian Dywan
4d05be6a5e Do allow internal icons for views with an unreachable URI 2010-02-03 22:18:51 +01:00
Alexander Butenko
42a29682e6 Store visited pages in the history again 2010-02-03 22:12:19 +01:00
Christian Dywan
297d38e7d0 Use the correct theme detail for < GTK+ 2.18 entry progress 2010-02-03 18:41:54 +01:00
Christian Dywan
bee4615d10 Render history dates directly without age column or render callback
Resurrect sokoke_days_between for calculating age in days.
2010-02-03 01:39:13 +01:00
Christian Dywan
b4a414f371 Load about:blank in private window if URI is empty 2010-02-02 22:29:31 +01:00
Alexander Butenko
57ce6cbe21 Do not populate the history array from sqlite at startup 2010-02-02 21:02:45 +01:00
Christian Dywan
c9c9351ffb Always enable developer extras regardless of the saved value 2010-02-01 23:55:51 +01:00
Christian Dywan
c056a21d1a Unconditionally propagae modified user-agent property value 2010-02-01 23:55:51 +01:00
Christian Dywan
24759ec86f Do not add duplicate Netscape plugins to the extensions 2010-01-31 23:02:31 +01:00
Christian Dywan
41583dc940 Guard pixbuf in location action that is not used with Hildon 2010-01-31 22:29:22 +01:00
Christian Dywan
f5489973f5 Position the suggestion popup, towards the top if below is too narrow 2010-01-31 22:12:58 +01:00
Christian Dywan
4f9d726c55 Merge ident-string setting into user-agent for old and new WebKit
Since the existence of two properties causes confusion among users
we merge the two, and actually remove ident-string.
2010-01-31 22:10:24 +01:00
Christian Dywan
b447070d7d Use new GtkActivatable API in MidoriBrowser 2010-01-31 20:41:30 +01:00
Christian Dywan
cc50c6d58b Remember whether 'Clear private data when quitting' is enabled 2010-01-31 20:41:30 +01:00
Christian Dywan
5472c5d5df Fix the order of search engines in the completion 2010-01-30 17:39:32 +01:00
Christian Dywan
a436234edb Add local storage, database and offline app cache to preferences 2010-01-30 17:26:26 +01:00