Commit graph

4362 commits

Author SHA1 Message Date
Christian Dywan
d3a065c259 Implemment about:widgets page for HTML5 widgets 2011-12-17 19:09:27 +01:00
Christian Dywan
a19d798049 Always hide the border when going fullscreen
Fixes: https://bugs.launchpad.net/bugs/783675
2011-12-17 11:36:09 +01:00
Christian Dywan
568461c6c5 Set appropximate minimum size on inspector
Fixes: https://bugs.launchpad.net/midori/+bug/867582
2011-12-17 11:18:01 +01:00
Christian Dywan
e2816612c5 The dark themes are there since GTK+ 3.0 in fact
The Since in the documentation is wrong.
2011-12-17 11:06:11 +01:00
Christian Dywan
cd8cb17b9e Use icon channel-(in)secure-symbolc if available
Fixes: https://bugs.launchpad.net/bugs/905086
2011-12-17 10:57:35 +01:00
Christian Dywan
1126ec1088 Use style classes for location entry in GTK+3
The classes are .security_trusted and .security_unknown.
2011-12-17 10:46:03 +01:00
Christian Dywan
de26c19a01 Undo 'Refactor icons handling. Reducing strdups, improve memory cache usage'
That change was unstable and is better revisited after release
2011-12-17 10:40:23 +01:00
Christian Dywan
849351554e Request dark style for private browsing windows
Fixes: https://bugs.launchpad.net/midori/+bug/905056
2011-12-16 02:15:07 +01:00
Christian Dywan
ecac5fdce2 Add help_button class to help in preferences
Fixes: https://bugs.launchpad.net/midori/+bug/889238
2011-12-16 02:06:35 +01:00
Christian Dywan
330a782c1c No timeout for notebook sizing, but a size cache
The timeout was a bad idea because it means the user
can see what's happening for a short period of time.

Caching the last size is less efficent but there's
no visible delay and it's still a big win.
2011-12-16 01:15:50 +01:00
Christian Dywan
1984c69d07 Use previously cached icon in error pages
This notably includes delayed pages.
2011-12-16 00:55:07 +01:00
Alexander Butenko
9e5fb1ef27 Refactor icons handling. Reducing strdups, improve memory cache usage 2011-12-16 00:55:07 +01:00
Alexander Butenko
b32d0d86dc Speeddial MIME type is text/html 2011-12-15 04:29:44 +01:00
Christian Dywan
1966875e98 Correct accidental _modify_fg rather than _text
Fixes: https://bugs.launchpad.net/midori/+bug/904276
2011-12-15 04:29:44 +01:00
Per Kongstad
98bb257554 l10n: Updated Danish (da) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-14 16:07:19 +01:00
Christian Dywan
4af93301e3 Use new GTK+ 3 API to align coords of throbber
Once again existing API is no longer reliable.
2011-12-14 02:14:54 +01:00
Christian Dywan
9a45f8976e Distinguish a view that can be saved, view source
Looking at the data source determines if there's a
way to save the data. The prime use case is having
images in tabs.

Fixes: https://bugs.launchpad.net/midori/+bug/903499
2011-12-14 01:37:14 +01:00
Christian Dywan
7e50bb18f8 Set minimize property from item when creating view
Fixes: https://bugs.launchpad.net/midori/+bug/903325
2011-12-14 01:15:26 +01:00
Christian Dywan
00d8621fe7 Unify toolbar rebuilding in _action_menubar_activate
And merge _midori_browser_save_toolbar_items into it,
which was already not used anywhere else.

CompactMenu is now always skipped and automatically
added if the menubar is hidden. So it can no longer be
duplicated or appear in the toolbar editor.

Fixes: https://bugs.launchpad.net/midori/+bug/903003
2011-12-14 00:03:02 +01:00
Christian Dywan
c522706d63 Only copy icon_uri when needed in _midori_web_view_load_icon 2011-12-14 00:03:02 +01:00
Christian Dywan
0cde623901 Unset dont-write-history and append, instead of 0
So the values don't stay in the saved session.
2011-12-14 00:03:02 +01:00
Mișu Moldovan
353093f7de l10n: Updated Romanian (ro) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-11 12:24:21 +01:00
Christian Dywan
b874009e00 Escape and unescape for unique and never otherwise
Also don't bother to apply magic when receiving the command,
it was already applied before.
2011-12-11 03:27:02 +01:00
Christian Dywan
c8b19b2eeb Avoid copying of strings and making tiny allocations 2011-12-11 02:57:04 +01:00
Christian Dywan
622628b9c3 Use GString to build text in copy tabs extension 2011-12-11 02:53:25 +01:00
Christian Dywan
c4cf5affc5 Ensure title from item is set and uri can be NULL 2011-12-11 02:52:37 +01:00
Paweł Forysiuk
8bd9045ce7 Don't skip blank pages in addons context ready 2011-12-11 02:52:37 +01:00
Christian Dywan
1b86c1d913 Use new color API in location action
Apparently back compatibility failed here.

Fixes: https://bugs.launchpad.net/midori/+bug/898445
2011-12-11 02:52:37 +01:00
Christian Dywan
566794a67e Use system ca file from libsoup if possible 2011-12-11 02:11:36 +01:00
Peter Hatina
35757c2842 Update toolbar menu items (actions) after changes
Fixes: https://bugs.launchpad.net/midori/+bug/853023
2011-12-10 19:31:00 +01:00
Christian Dywan
9ba0c2806e Iterate children in notebook_alloc_timeout 2011-12-10 19:30:48 +01:00
Christian Dywan
1845d0bcbc Reduce notebook alloc timeout and update each time 2011-12-10 19:27:05 +01:00
Christian Dywan
5d9a8d73f3 Obtain and store priv in cookie manager
Getting the private data is expensive, especially
in the cookie update callbacks.
2011-12-10 19:23:52 +01:00
Alexander Butenko
b41367b735 Use gstring to build suggestions script in formhistory 2011-12-09 21:29:16 +01:00
Christian Dywan
a57850e533 Rebase browser_set_current_tab on _set_current_page
The behavior should really match.
2011-12-09 21:11:01 +01:00
Christian Dywan
9c11fb1219 No need to move proxy item if it is appended 2011-12-09 21:01:29 +01:00
Christian Dywan
3d96749b93 Set a timeout on notebook size updates 2011-12-09 21:01:29 +01:00
Christian Dywan
cd05d0a351 Use new _with_item constructor everywhere 2011-12-09 21:01:29 +01:00
Christian Dywan
d81c80edb2 Ellipsize titles on error pages 2011-12-09 21:01:29 +01:00
Chipong Luo
1df4edab1d l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-09 14:25:59 +01:00
Cheng-Chia Tseng
ce3a95360d l10n: Updated Chinese (Taiwan) (zh_TW) translation to 100%
New status: 632 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2011-12-09 11:12:26 +01:00
Christian Dywan
652e392192 Manually building actions is a huge speedup 2011-12-08 02:55:25 +01:00
Christian Dywan
c44f76abb9 Avoid setting the same URI on the item given 2011-12-07 23:19:32 +01:00
Christian Dywan
64f9028eea Handle 'append' as meta, neither object data nor argument
This is more in line with 'dont-write-history' and 'delay'.
2011-12-07 23:15:04 +01:00
Christian Dywan
bd3c1b50fb Handle 'delay' without the pseudo pause: scheme
Behavior change: Tabs won't remain delayed beyond the session.
If some users rely on this, it will need discussion.
2011-12-07 23:08:11 +01:00
Christian Dywan
9888ad610d Avoid extra loop for adding delay to all items 2011-12-07 23:01:50 +01:00
Christian Dywan
ef9e5b6e6c Avoid counting total pages when not necessary 2011-12-07 22:42:06 +01:00
Christian Dywan
e698ba3380 Introduce helper for correctly restoring tabs
We need to ensure a reference on the item.
2011-12-07 22:31:13 +01:00
Christian Dywan
6143654279 Introduce and use midori_view_new_with_item 2011-12-07 21:27:38 +01:00
Alexander Butenko
98f2e3b572 Optimize private element hider algorithm 2011-12-07 20:34:54 +01:00