Commit graph

135 commits

Author SHA1 Message Date
Christian Dywan
a580cf281b Fix focus in location if starting up with a Blank page
At the point of loading the first page the web view
hasn't loaded anything, so we need to manually focus
the Location if the page is blank.

Incidentally midori_browser_activate_action can activate
any action, so it will probably be much more useful
in the future.
2008-04-25 21:31:57 +02:00
Christian Dywan
62cbafe12a Attempt to fix handling of background and foreground tabs. 2008-04-25 00:20:43 +02:00
Arnaud Renevier
a2aa737677 Add string allocations to avoid freeing of constant strings. 2008-04-24 00:42:41 +02:00
Christian Dywan
7a7499d8db Show hidden location/ web search temporarily when needed.
If the location or web search was hidden, and one attempted
to use the menus or shortcuts for Location or Web search,
an appropriate dialog with an entry was shown.

Now we show the according widget temporarily and hide it again
once it loses focus.
2008-04-22 23:36:37 +02:00
Christian Dywan
d9f7abc5c7 Update interface and web featureswith preference changes.
The toolbar style, small toolbar, New Tab, Web Search and
Trash buttons are shown or hidden respectively as
the preference values change.
This is also an attempt at updating the web view's settings
immediately. Although it seems to work, an ugly warning is
emitted to the console on every change.
2008-04-22 22:19:24 +02:00
Christian Dywan
68e0e521f4 Resolve helpers and globals into sokoke. 2008-04-20 21:44:56 +02:00
Enrico Tröger
3811549791 Fix crash on startup caused by invalid settings. 2008-04-20 18:29:14 +02:00
Christian Dywan
1264eb0667 Implement a font combobox and use it for Default Font Family. 2008-04-20 18:13:20 +02:00
Christian Dywan
4d11cf3555 Move UNIMPLEMENTED macro to sokoke. 2008-04-20 06:41:26 +02:00
Christian Dywan
ecae9e1e49 Mention intltool in INSTALL. 2008-04-20 03:31:55 +02:00
Christian Dywan
181734acb3 Update French translation 2008-04-20 03:31:22 +02:00
Christian Dywan
50ab1e8bc7 Turn prefs into MidoriPreferences 2008-04-20 03:30:24 +02:00
Christian Dywan
457b012240 Add French translation, not quite complete yet 2008-04-19 14:21:08 +02:00
Christian Dywan
d1b085f61a Update German localisation plus a tiny string fix. 2008-04-19 14:19:37 +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
a2aa2e4973 Mention libtool and autogen.sh in INSTALL 2008-04-17 01:40:15 +02:00
Christian Dywan
74b300ef33 Correct the example of a function definition 2008-04-17 01:39:07 +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
a9eb81a016 Implement property proxy widget creation.
The functions katze_property_proxy and katze_propery_label
can intelligently create widgets that represent properties
of a particular object. This allows for building up a
configuration interface with few to no code dealing with
specific settings.
2008-04-13 21:21:39 +02:00
Christian Dywan
f11b76b6ef Remove unused signal pointers from settings. 2008-04-13 11:40:27 +02:00
Christian Dywan
e91d077a84 Enhance Web Settings greatly with new properties.
A lot of new properties are added, which are going to
be the basis of the coming configuration replacement.

Also a little cleanup is done in a few places.
2008-04-13 11:36:42 +02:00
Christian Dywan
39bf592772 Remove 'External programs' logic 2008-04-12 15:48:33 +02:00
Przemek Sitek
616b43004c Open selection in new tab via Control. 2008-04-07 06:54:02 +02:00
Przemek Sitek
ef7113caca Save the return value of the panel's 'close' signal. 2008-04-07 01:19:53 +02:00
Przemek Sitek
e70925d064 Append the closed tabs items as a proper submenu. 2008-04-07 01:15:09 +02:00
Christian Dywan
00df47913d Use a default tab icon. 2008-04-05 16:22:42 +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
a482dc36a8 Quick fix: Open URIs again. 2008-03-30 17:07:56 +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
Przemek Sitek
173b05dd78 Add Polish translation. 2008-03-29 22:07:23 +01:00
Christian Dywan
00976c0536 Implement the Console panel for script messages. 2008-03-27 01:21:29 +01:00
Christian Dywan
2bb99e0030 Show the panel's name in the toolbar. 2008-03-27 00:55:09 +01:00
Christian Dywan
c8332ddf54 Fix panel close button. 2008-03-24 14:15:23 +01:00
Christian Dywan
fea97e80c3 Update .gitignore and remove po/Makefile.in.in 2008-03-24 14:12:00 +01:00
Mikael Magnusson
b8ac63e60a Add swedish translation. 2008-03-24 04:24:18 +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
bf80618658 Update the TODO file. 2008-03-19 15:14:44 +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
02d7848c5d Add Open Link in New Tab and Open URL in New Tab.
Enhance the context menu to allow opening of links in a
new tab as well as any selected text that looks like an URL.
2008-03-13 01:21:59 +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
Nicholas E. Manley
622f8ee445 Don't restrict the minimum font size. 2008-02-11 07:37:29 +01:00
Christian Dywan
fbcd3a9680 Append a semicolon to the mime types in the desktop file.
According to the spec the list of mime types in a desktop
file 'should' end with a trailing semicolon.
2008-02-04 22:08:38 +01:00