Commit graph

649 commits

Author SHA1 Message Date
Christian Dywan
ecb9de246c Put 'Find' into the compact popup menu 2010-12-05 23:01:01 +01:00
Christian Dywan
5f90c91a24 Use Properties stock icon for the compact menu 2010-11-22 03:49:52 +01:00
Christian Dywan
8ad224c9a8 Add bookmarks through array and update the panel 2010-11-22 03:49:52 +01:00
Christian Dywan
6246987ba8 Clear history through array and update the panel 2010-11-22 03:49:51 +01:00
Christian Dywan
cb83843a28 Open blank page if an item with no URI is passed
This avoids the very confusing situation where the session
file contains no URI and critical warnings are visible.

Notably MIDORI_UNARMED can cause this.
2010-11-18 21:22:12 +01:00
Christian Dywan
32d80dcfad Follow up to correct custom docdir location 2010-11-01 21:21:58 +01:00
Christian Dywan
10222bffd2 Be sure to show bookmarkbar if enabled 2010-11-01 16:54:11 +01:00
Christian Dywan
ed6d44df5f Use function to access browser settings an panel 2010-11-01 16:47:32 +01:00
Christian Dywan
d20f0c3b89 Only show Trash and UndoTabClose if there is a trash 2010-10-31 21:27:47 +01:00
Christian Dywan
f9559b7d27 Only show bookmarkbar if we have bookmarks at all 2010-10-31 21:27:22 +01:00
Christian Dywan
a0c0207133 Use mnemonic for "History" in Clear Private Data
This doesn't introduce a new string.
2010-10-30 21:44:19 +02:00
Christian Dywan
691f6c7bbd Right-click on statusbar border should show context menu 2010-10-26 00:26:54 +02:00
Christian Dywan
cbb9189e7c Label 'Custom' and file chooser 'Import from a file' 2010-10-24 23:48:03 +02:00
Christian Dywan
21a82db268 Correct description of TabMinimize
While internally still called 'minimize', the description
needs to say that only the icon of the tab is shown.
2010-10-24 21:06:28 +02:00
Christian Dywan
b915e45332 Fallback for opening new windows in app mode
This is not quite enough, inheriting config won't
work, but better than nothing at all.
2010-10-24 21:06:27 +02:00
Christian Dywan
6b77d140ea Toggle bookmark actions depending on if we have any
So app mode without bookmarks won't show menu items
for adding or managing bookmarks.
2010-10-24 21:06:27 +02:00
Christian Dywan
bcde0df374 Remove 'locked' browser hack and rely on actions 2010-10-24 21:06:27 +02:00
Christian Dywan
23db2145ad Avoid build_config_filename in main() and simplify it 2010-10-23 00:31:11 +02:00
Christian Dywan
ed0440cd9f Click Go icon in blank or speed dial to Paste and Proceed 2010-10-22 23:52:08 +02:00
Christian Dywan
936758afdc Add translation comments to 'History' and 'Form History' 2010-10-21 21:09:00 +02:00
Christian Dywan
fc166214b0 Use accessors for statusbar message area 2010-10-19 00:53:01 +02:00
Christian Dywan
32988e55af Use accessors for window and allocation of a widget 2010-10-19 00:53:01 +02:00
Christian Dywan
2bc7fbac24 Make 'Clear' the default button for Clear Private Data 2010-10-17 23:13:54 +02:00
Christian Dywan
d73b471ec4 Implement sokoke_register_privacy_item facility
The new function allows registering callbacks which clear data,
with a name and label so they show up in the Clear Private Data
dialogue and the chosen items are saved.

The old enumeration still keeps history, trash and the flag
whether to clear when Midori quits.
2010-10-17 22:48:32 +02:00
Christian Dywan
8302cfe004 Don't leak URI in midori_browser_get_uri_extension 2010-10-14 21:07:55 +02:00
Christian Dywan
72be5942f7 Don't leak strings when adding speed dial shortcut 2010-10-14 21:07:55 +02:00
Christian Dywan
bcc622c456 Let private mode inherit preferences
Private mode should retain most preferences, while menus for
Bookmarks, Tools and Panel are hidden.

App mode now hides the navigationbar by default.
2010-10-13 23:41:11 +02:00
Christian Dywan
80ff8ac0f0 Add midori_browser_set_action_visible method 2010-10-13 23:22:54 +02:00
Christian Dywan
e74f89f8c2 Remove 'filename' argument from sokoke_spawn_program 2010-10-10 13:27:06 +02:00
Christian Dywan
120c5bf40f Move app spawning to sokoke_spawn_app and use in MidoriView 2010-10-10 13:02:50 +02:00
Christian Dywan
0b3cf4810f Add InspectPage action to dummies to make hotkey work 2010-10-05 21:43:33 +02:00
Christian Dywan
5a0fc37d2f Don't use the deprecated GTK_IN_DESTRUCTION flag
As a workaround, the browser now sets its own flag.
2010-10-05 00:04:28 +02:00
Christian Dywan
80e1c4149c Don't use GtkNotebookPage* in callback signature 2010-10-05 00:04:28 +02:00
Christian Dywan
cd783acee0 Don't use GTK_WIDGET_SET_FLAGS in browser and panel 2010-10-05 00:04:28 +02:00
Christian Dywan
b6247e3314 Shell quote argv[0] before spawning a process
The path to the executable may contain spaces.
2010-10-03 07:15:44 +02:00
Christian Dywan
bba6cb76ad Verify that the download location is writable 2010-10-01 01:12:12 +02:00
Christian Dywan
648befe7ca Implement and use midori_view_new_with_uri
The function provides an optimised and quick way to creating
visible views with uri, title and settings. This is how virtually
all views are created.
2010-09-17 22:42:52 +02:00
Christian Dywan
5806cdb884 Return FALSE in _action_bookmarks_populate_folder if db is NULL 2010-09-17 22:42:52 +02:00
Christian Dywan
b66902ef7a Make KatzeArrayAction::activate-item-alt fully autonomous
Implementing the signal and returning TRUE makes it unneeded
to implement activate-item as well now.
2010-09-17 22:42:52 +02:00
Christian Dywan
d39148f230 Re-implement 'Bookmarks' menubar and toolbar button 2010-09-15 04:10:55 +02:00
Christian Dywan
d34da1c500 Remove pointless FIXME and TODO comments from Midori classes 2010-09-12 20:23:39 +02:00
Christian Dywan
db6e5954e8 Show statusbar on new transfars if transferbar is visible 2010-09-12 20:14:48 +02:00
Christian Dywan
40dc38fd21 Implement and use KATZE_ARRAY_FOREACH_ITEM
Iterating an array by a GList is considerably faster than
continuously retrieving items, however it is also a lot
more complicated. So the new macro takes care of that and
uses a new semi-private function to avoid copying the list.

Note that the macro can't be nested, which basically isn't
useful in practise anyway.
2010-09-12 00:59:24 +02:00
Christian Dywan
91328aef2e Use Alt+Shift+Left/ Right for Previous and Next actions
Control+Left/ Right conflicts with text cursor movement.
2010-09-03 00:21:03 +02:00
Christian Dywan
f8e5e8f7e0 Don't hide homepage smartly, don't show it in bookmarkbar 2010-08-22 03:39:11 +02:00
Christian Dywan
b563479014 Simplify update_interface and avoid extra updates 2010-08-16 21:01:02 +02:00
Christian Dywan
9c84a2c407 Use midori_browser_open_bookmark for the bookmarkbar 2010-08-14 20:58:38 +02:00
Christian Dywan
a7452bd0b5 Use KatzeArray* to remove and monitor deleted bookmarks
The panel and the bookmarkbar need to monitor the removal of
bookmarks, and there can be multiple windows, so the database
should only be used to remove in one central place.
2010-08-10 23:46:49 +02:00
Christian Dywan
2d1d19de23 Remove freeze, thaw and set_uri from MidoriLocationAction 2010-07-31 13:59:48 +02:00
Christian Dywan
34d7a8033b Use KatzeArray* to signal new items to MidoriHistory 2010-07-31 01:42:14 +02:00