Commit graph

3255 commits

Author SHA1 Message Date
Christian Dywan
e886293ebf Implement 'Proxy type' preference which can be Auto, HTTP or None 2010-04-02 20:41:39 +02:00
Christian Dywan
476f64e9bc Pass the correct parent in the web-view-ready callback
This was overlooked when changing the packing of the view.
2010-04-02 19:14:22 +02:00
Christian Dywan
f2f0f16dd2 Update uses of deprecated GTK+ macros and API 2010-04-02 18:54:29 +02:00
Christian Dywan
12b4859dc7 Use gtk_widget_get_visible rather than GTK_WIDGET_VISIBLE 2010-04-02 18:38:56 +02:00
Christian Dywan
2f1ae3feba Make use of the XScreenSaver extension optional
The extension is only needed for the --inactivity-reset option,
so most users building Midori won't need it.
We also need to check for the according header file.
2010-04-01 18:25:30 +02:00
Per Kongstad
497c73b972 l10n: Updated Danish (da) translation to 99%
New status: 596 messages complete with 0 fuzzies and 1 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-04-01 16:26:15 +02:00
David Štancl
08232e95c6 l10n: Updated Czech (cs) translation to 100%
New status: 597 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-04-01 15:57:35 +02:00
Jari Rahkonen
0b31a8ec1c l10n: Updated Finnish (fi) translation to 100%
New status: 597 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-04-01 10:07:08 +02:00
Christian Dywan
37e2216775 Implement -i, --inactivity-reset command line option
The use case is kiosk systems where leaving the application
idle for a period of time means that the user left, and the
session is reset so the next user starts off clean.

The implementation uses libXss and uses XScreenSaverQueryExtension
which means it is for now supported on X11 only.

Right now reset means closing any opens web pages and opening
the original web page.

Currently --inactivity-reset is only supported with --app.
2010-04-01 00:05:08 +02:00
Christian Dywan
832b2e9922 Change remaining GET_PRIVATE to priv in GtkIconEntry 2010-03-31 21:02:37 +02:00
Christian Dywan
67b9fc013a Use priv instead of GET_PRIVATE in GtkIconEntry 2010-03-31 19:05:17 +02:00
Arno Renevier
c3238d7c12 Change MidoriView into a subclass of GtkVBox
This change makes it possible to pack widgets, notably info bars,
into a MidoriView.
2010-03-31 00:18:42 +02:00
Arno Renevier
dc90c7f093 Use midori_view_get_web_view in extensions 2010-03-31 00:18:42 +02:00
Arno Renevier
3e67ce525f Implement midori_view_get_web_view function
This provides access to the child web view even if we change
the internal packing of MidoriView.
2010-03-31 00:18:41 +02:00
Masato Hashimoto
3f36eddbc4 l10n: Updated Japanese (ja) translation to 100%
New status: 595 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-30 15:38:15 +02:00
Enrico Tröger
05488d8bd3 Filter keyboard state against modfifier default mask
The modifier state does in fact incorporate modal keys such as
NumLock. So code assuming that state be 0 if no modifier is
pressed is wrong, if NumLock, CapsLock and the like are active.

The solution is to filter out these modal keys with
gtk_accelerator_get_default_mod_mask(), and compare the result.

This fixes the problem of being unable to type keys used as
single-letter shortcuts.
2010-03-30 01:05:36 +02:00
Abel Martín
004a347340 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 595 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-29 14:05:11 +02:00
Abel Martín
866f264b81 l10n: Updated Spanish (Castilian) (es) translation to 100%
New status: 595 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-28 22:24:12 +02:00
Abel Martín
81e652b096 l10n: Updated Spanish (Castilian) (es) translation to 96%
New status: 575 messages complete with 14 fuzzies and 6 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-28 22:14:02 +02:00
Abel Martín
b3b033aade l10n: Updated Spanish (Castilian) (es) translation to 90%
New status: 536 messages complete with 30 fuzzies and 29 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-28 21:53:09 +02:00
Abel Martín
4b53bfc8b5 l10n: Updated Spanish (Castilian) (es) translation to 86%
New status: 516 messages complete with 41 fuzzies and 38 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-28 21:44:44 +02:00
Dale Whittaker
9607f2107e Take text from each feed element for tree and web view 2010-03-27 14:22:31 +01:00
Christian Dywan
fdf075513c Don't propagate key events more than once
This fixes problems with dead keys used to type accented letters.
2010-03-26 20:48:33 +01:00
Per Kongstad
4a65fcca41 l10n: Updated Danish (da) translation to 100%
New status: 595 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-26 00:14:42 +01:00
Dale Whittaker
3f8b34853d Update year in Copyright headers 2010-03-25 23:06:38 +01:00
Dale Whittaker
181d62dc01 Don't skip CDATA section nodes in feeds 2010-03-25 23:01:46 +01:00
Dale Whittaker
ff63a5f7bd Wrap the location completion in a GtkFrame
That's what GtkEntryCompletion does as well, so it gives our
completion consistent appearance.
2010-03-24 23:26:51 +01:00
Yarema aka Knedlyk
0bfcc73480 l10n: Updated Ukrainian (uk) translation to 100%
New status: 595 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-24 14:47:17 +01:00
Harald Servat
25bc1a72be l10n: Updated Catalan (Valencian) (ca) translation to 100%
New status: 595 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-24 14:33:23 +01:00
Piotr Sokół
14f9870854 l10n: Updated Polish (pl) translation to 85%
New status: 506 messages complete with 25 fuzzies and 62 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-24 12:04:12 +01:00
Jari Rahkonen
c8a5dfa588 l10n: Updated Finnish (fi) translation to 100%
New status: 595 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-24 12:01:42 +01:00
David Štancl
60f61de3d7 l10n: Updated Czech (cs) translation to 100%
New status: 595 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-24 10:13:42 +01:00
Christian Dywan
a15c70ec61 Add behavior preference 'Allow scripts to open popups' 2010-03-23 20:52:06 +01:00
Dale Whittaker
a8c055bdbc Ignore navigation for clicks in news feeds 2010-03-23 20:27:00 +01:00
Christian Dywan
6496dd5403 Update tab panel colours in icon callback
Since Colorful Tabs now updates colors in the icon callback,
we also need to update in the icon callback.
2010-03-22 22:34:03 +01:00
Arno Renevier
9b9440d49e Use a 60 second timeout if format has no seconds 2010-03-22 21:52:06 +01:00
André Stösel
342aaeb2d6 Use simple button instead of form in error pages 2010-03-22 21:40:54 +01:00
Piotr Sokół
c68c71d96b l10n: Updated Polish (pl) translation to 79%
New status: 472 messages complete with 38 fuzzies and 83 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-22 10:59:25 +01:00
Christian Dywan
9587fde97b Spawn new apps with the original executable name
Opening a web app or private mode should open Midori from the
same executable it was originally opened with.
2010-03-22 02:55:10 +01:00
André Stösel
e9a5857b31 Revert use of "post" method for error page Reload button
Using post causes problems with some websites.
2010-03-21 23:39:44 +01:00
Piotr Sokół
aa914bdc48 l10n: Updated Polish (pl) translation to 74%
New status: 439 messages complete with 48 fuzzies and 106 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-21 11:16:37 +01:00
Piotr Sokół
73cc62a943 l10n: Updated Polish (pl) translation to 63%
New status: 374 messages complete with 63 fuzzies and 156 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-20 10:45:51 +01:00
Piotr Sokół
dcef012a81 l10n: Updated Polish (pl) translation to 52%
New status: 311 messages complete with 98 fuzzies and 184 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-19 23:35:53 +01:00
Samuel Creshal
3cbce9896b Implement page icon based tab colors
Colorful Tabs now uses the icon of a page as the basis for the
tab color, if it has one, otherwise falls back to the previous
address based hash.
The forground color is also adjusted for dark colored tabs.
2010-03-19 21:10:22 +01:00
Arno Renevier
0d27d6f17d Implement Status Clock extension 2010-03-19 20:50:34 +01:00
Christian Dywan
3682b7755e Clarify MidoriApp signal documentation 2010-03-19 20:16:48 +01:00
Christian Dywan
b4a18b2aef Only print error if completion actually failed 2010-03-18 23:26:45 +01:00
Xu Meihong
2622291196 l10n: Updated Chinese (China) (zh_CN) translation to 100%
New status: 593 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-18 08:33:57 +01:00
André Stösel
555f7a57e4 Implement sokoke_resolve_hostname
sokoke_prefetch_uri is extended take a callback and user data.

sokoke_resolve_hostname is implemented for resolving hostnames
based on a maximum timeout.

sokoke_magic_uri resolves localhost and uris with a / to verify
if there is a local domain, otherwise falls back to search.

Thanks to Andy Kittner <andkit@gmx.de> for input on proceeding
the event loop while resolving asynchronously.
2010-03-17 02:20:58 +01:00
Jari Rahkonen
65785d3d80 l10n: Updated Finnish (fi) translation to 100%
New status: 593 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translations.xfce.org).
2010-03-16 08:32:05 +01:00