Commit graph

13 commits

Author SHA1 Message Date
Christian Dywan
8e494ba206 Provide action signals as javascript functions
From javscript C functions cannot be called, but signals
are available through the GObject type system. So
we allow javascript to call action signals like functions.

At the same time we modify a few browser functions, so
that they are functions that are available as signals.
2008-06-01 00:21:08 +02:00
Enrico Tröger
a6aa345316 Do not set a tooltip on tool items if the text is empty 2008-05-23 01:58:44 +02:00
Christian Dywan
61d26feae8 Apply a few small corrections. 2008-05-22 14:32:54 +02:00
Christian Dywan
68e0e521f4 Resolve helpers and globals into sokoke. 2008-04-20 21:44:56 +02:00
Christian Dywan
4d11cf3555 Move UNIMPLEMENTED macro to sokoke. 2008-04-20 06:41:26 +02:00
Christian Dywan
cdde1293ab Switch configuration to MidoriWebSettings.
Switch configuration logic from a custom structure to
fully rely on MidoriWebSettings. This includes revamping
the preferences dialog. The old logic is not yet
replaced completely, this will follow soon, thus several
settings will have no effect right now.
2008-04-13 21:51:43 +02:00
Przemek Sitek
b01eb78c9d Implement proper menu positioning.
Menu position is computed according to the widget position
and size as well as a hint indicating alignment to the
mouse pointer, left or right.
2008-03-29 22:38:59 +01:00
Christian Dywan
be89221aea Implement localization via Gettext.
Based on the implementation of localization via Gettext
contributed by Enrico Tröger, a few adjustments were made
to allow Midori to be properly localized. Initially
German is fully supported.
2008-03-22 03:38:23 +01:00
Christian Dywan
e1f62329f1 Initial refactoring work, regressions expected
The 'browser' struct is superseded by MidoriBrowser, which actually
represents a window that holds pages, i.e. tabs. The tabs are currently
of the type MidoriWebView, which is a slightly enhanced WebView. Also
MidoriWebSettings is introduced to hold additional settings that Midori
needs.

The other two new classes are MidoriTrash, representing closed tabs and
windows and MidoriPanel, representing the side panel.

The refactoring allows for several features to be much more easily
implemented, such as full support for multiple windows and instant
saving of modified files, such as bookmarks or the session. Regressions
are expected and not everything is done yet.
2008-03-10 22:26:09 +01:00
Christian Dywan
e94d8c74e8 Cleanup and WebKit API update 2008-01-20 18:05:16 +01:00
Ori Bernstein
cd8b1e5b22 Prevent repeated checks for the desktop environment.
It is sufficient to check the desktop environment only once.
Also don't shadow 'stdin', 'stdout' and 'stderr'.
2007-12-27 02:42:11 +01:00
Christian Dywan
39dedae0d1 Fix coding style in sokoke.c/ sokoke.h, particularly variable names. 2007-12-27 02:27:05 +01:00
Christian Dywan
3bbd273a4f Initial commit 2007-12-16 23:20:24 +01:00