Commit graph

20 commits

Author SHA1 Message Date
Christian Dywan
50ab1e8bc7 Turn prefs into MidoriPreferences 2008-04-20 03:30:24 +02:00
Christian Dywan
f98b652996 Fix background tabs, strings and new tab focus. 2008-04-18 02:40:53 +02:00
Christian Dywan
fae6058c26 Focus the web view when opening an URL via the location 2008-04-17 01:58:02 +02:00
Christian Dywan
169973f3fe Remove old configuration logic entirely
Almost all uses of the old system were superseded
by the use of MidoriWebSettings now, the
migration is almost finished.
2008-04-17 01:38:22 +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
Christian Dywan
39bf592772 Remove 'External programs' logic 2008-04-12 15:48:33 +02:00
Przemek Sitek
e70925d064 Append the closed tabs items as a proper submenu. 2008-04-07 01:15:09 +02:00
Christian Dywan
f261464c90 Use an empty URI if Load on Startup is Blank page. 2008-04-05 15:33:54 +02:00
Christian Dywan
793b030d3a Fix Reload/ Stop menu items.
The menu items were sensitive in reversed logic and the Stop item
had the icon and accelerator of the Reload item.

Now the sensitivity is fixed and the Stop item is Stop again.
2008-04-03 23:33:32 +02:00
Christian Dywan
f4abaeb00f Recognize the Enter key in the location entry. 2008-03-30 21:23:42 +02:00
Christian Dywan
ccba177ecb The location is empty and focused by default
When a new tab is opened it won't default to about:blank
but be empty and also gain focus automatically.
2008-03-30 16:55:46 +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
00976c0536 Implement the Console panel for script messages. 2008-03-27 01:21:29 +01:00
Christian Dywan
c8332ddf54 Fix panel close button. 2008-03-24 14:15:23 +01:00
Christian Dywan
e9710d3b3b Destroy the tab, not only the web view 2008-03-22 23:20:22 +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
44bc12c305 Add common context menu items and cleanup.
Add the actions UndoTabClose, BookmarkNew, SaveAs, SourceView and Print
to the context menu. Also add UndoTabClose to the Go menu, remove
STOCK_SOURCE_VIEW and remove ui.h which is obsolete.
2008-03-19 14:46:08 +01:00
Christian Dywan
4a1e0ab67b Fix Back button and opening new tabs. 2008-03-11 20:27:23 +01:00
Christian Dywan
9abae486dd Build fix: Accidentally removed the wrong action. 2008-03-10 22:48:12 +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