Commit graph

982 commits

Author SHA1 Message Date
Christian Dywan
b32122b604 Thaw the location action when setting history in a new window
Full history completion was missing because we set the model in new
windows but failed to setup the filter and sort models properly.
2009-07-17 22:55:41 +02:00
Christian Dywan
35f11238a4 No Print or Reset Zoom in context menu, but Print in compact menu 2009-07-17 19:37:49 +02:00
Christian Dywan
0c9058f566 Popup bookmarkbar when focussing location if bookmarkbar is hidden 2009-07-17 17:36:03 +02:00
Christian Dywan
e83bf5b730 Show fixed Homepage button in the bookmarkbar
The homepage is essentially a special bookmark, and so it makes
sense to have it in the bookmarkbar. It's hidden if the homepage
is unset.
2009-07-17 04:28:53 +02:00
Christian Dywan
525e7a2227 Display statusbar text in the location if the statusbar is hidden 2009-07-17 04:06:44 +02:00
Christian Dywan
736e7b854a Use the icon of the view for the window in web app mode 2009-07-16 23:45:45 +02:00
Christian Dywan
54fecef4b7 Set "browser" role on browser windows 2009-07-16 14:00:47 +02:00
Christian Dywan
ba11ec8acd Open the search engine even if only the token is typed
So "g" opens Google while "g cat" uses Google to search for cats.
2009-07-14 23:41:25 +02:00
Przemek Sitek
f04861e18c Disable notebook border if no tabs are visible 2009-07-13 22:16:58 +02:00
Christian Dywan
8a2d55b918 Use a different method of working around the icon entry bug 2009-07-12 23:22:39 +02:00
Christian Dywan
4001396443 Make sure that the icon entry parent really is a GtkWindow 2009-07-12 13:54:59 +02:00
Christian Dywan
908765d60d Resolve an object name clash to fix the unit test build 2009-07-12 13:53:22 +02:00
Christian Dywan
d5fac48850 Document _delete_item_from_uri under the correct name 2009-07-11 15:30:48 +02:00
Christian Dywan
5f1792d2f1 Set icons in completion as pixbufs instead of cell data functions 2009-07-11 15:28:16 +02:00
Christian Dywan
48c62d0ec6 Set the completion text renderer to a fixed size of 2 rows 2009-07-11 14:40:52 +02:00
Christian Dywan
1662a03677 Restore the (search) entry focus after changing the icon 2009-07-10 17:00:12 +01:00
Christian Dywan
90f04fea52 Remove the Add/ Remove toolbar menu, we have a proper editor now 2009-07-10 16:45:22 +01:00
Enrico Tröger
313e0f9e35 Add a public function to retrieve the recommended toolbar actions 2009-07-10 16:37:44 +01:00
Enrico Tröger
8baee5780d Allocate uris correctly as gchar*, not gchar 2009-07-10 16:20:56 +01:00
Christian Dywan
087a579450 Create Win32 icon and resorce and build it into the executable 2009-07-09 18:55:41 +01:00
Christian Dywan
8ad4e3585f Cast xmlChar* to gchar* when setting the meta string 2009-07-09 18:43:57 +01:00
Christian Dywan
491fadc119 Read metadata keys from XBEL 2009-07-06 18:32:44 +01:00
Christian Dywan
82e0a66de7 Use metadata API to store and lookup the current page
This effectively doesn't work yet as loading of metadata isn't
implemented in XBEL.
2009-07-05 00:17:00 +01:00
Christian Dywan
ab6ecc1625 Store meta data in XBEL when saving KatzeArray objects 2009-07-05 00:14:39 +01:00
Christian Dywan
3f62d9e0e6 Add Duplicate Tab to tab context menu 2009-06-30 22:54:55 +02:00
Christian Dywan
8b36138105 Use "Menu" without underscore as compact Menu tooltip 2009-06-27 23:56:01 +02:00
Christian Dywan
c76a468d16 Refactor tab context menu into public midori_view_get_tab_menu 2009-06-27 23:52:48 +02:00
Christian Dywan
33f1d0096a Use "_Menu" as tooltip for the compact Menu button 2009-06-27 23:29:00 +02:00
Christian Dywan
191f153429 Don't know detached panel windows in the taskbar 2009-06-26 21:19:09 +02:00
Christian Dywan
2cdaa2869e Don't open tabs when double- or middle-clicking notebook arrows
We need to connect after the button-press-event to make sure that
GtkNotebook blocks the signal appropriately.

Double click is disabled for now since we can't figure out if
it was a click on a button or not.
2009-06-26 21:18:02 +02:00
Christian Dywan
85cdadcdee Implement a basic context menu for tab labels 2009-06-25 01:02:01 +02:00
Christian Dywan
f626465c56 Fix panel "page" notifications and save the last open panel 2009-06-23 01:05:38 +02:00
Christian Dywan
610f6a1fa7 Implement show-tabs property in MidoriBrowser 2009-06-22 23:48:41 +02:00
Christian Dywan
397dd423bd Draw radio action popup menu items as radio items 2009-06-22 23:03:59 +02:00
Christian Dywan
b23ae6cca3 Use radio actions for the encodings menu 2009-06-22 22:55:23 +02:00
Christian Dywan
eb98806722 Add Encoding menu to the context menu 2009-06-22 22:18:16 +02:00
Christian Dywan
97c0b4d257 Add a compact menu to the navigationbar if the menubar is hidden
The compact menu item provides functionality that is not
accessible via the context menu.

The item is added when the menubar is hidden and removed when the
menubar is shown. It can be removed via right-click > Remove.
2009-06-22 21:54:19 +02:00
Christian Dywan
d23ea3a098 Add STOCK_WEB_BROWSER to the stock items 2009-06-22 21:31:42 +02:00
Christian Dywan
f96695632b Always create array actions for popup menu items the normal way 2009-06-22 21:30:28 +02:00
Christian Dywan
35ef1f7485 Add zooming items to the context menu 2009-06-22 21:29:39 +02:00
Christian Dywan
7e01ea42df Remove Preferences and Menubar items from the context menu 2009-06-22 21:27:52 +02:00
Christian Dywan
8ac1633deb Make sure to update the model in existing location proxies 2009-06-22 00:47:42 +02:00
Christian Dywan
75e3dae39a Implement a tree view of open tabs in the Tab Panel 2009-06-21 19:30:51 +02:00
Christian Dywan
18fa1d0fa3 Use an index to iterate news feeds to avoid compiler warnings 2009-06-19 03:06:22 +02:00
Christian Dywan
4c3ac6f86f Remove now unused speed dial menu item callback 2009-06-19 03:03:06 +02:00
Christian Dywan
6e2f1db63b Use action proxies for context menu items that correspond to actions 2009-06-19 02:58:06 +02:00
Christian Dywan
6a38cb7ed6 Add Menubar and Preferences to the default context menu 2009-06-19 02:36:36 +02:00
Christian Dywan
8a5c9eba8b Avoid naming an identifier 'boolean' which is used in Win32 headers 2009-06-17 23:39:50 +02:00
Christian Dywan
abccaf02da Implement -e or --execute to perform various commands
Currently any GtkAction in MidoriBrowser is recognized as a command,
no arguments are supported. Commands affect either a newly run
instance or a currently running one.
2009-06-17 00:46:53 +02:00
Christian Dywan
0ae4b19165 Use Unix name and architecture in identification string
This results in a better string on BSD systems which up to now
always identified as 'Linux'.
2009-06-16 01:48:39 +02:00
Christian Dywan
3bcd8b6615 Copy libsylph socket.c as fallback for single instance libunique
This socket code makes single instance a mandatory feature assuming
if libunique is not available we can use sockets.
A bit of refactoring of MidoriApp is involved to make the command
logic independant of the nature of the instance handling.
2009-06-16 01:46:22 +02:00
Christian Dywan
4822eaf4c4 Replace Go button with a Go icon inside the address entry
The icon is displayed by default, takes a little less space, but
replaced with the news feed icon as appropriate. If the address
entry is focussed, the Go icon takes precedence.

We also introduce the focus-in signal on MidoriLocationAction.
2009-06-13 03:45:11 +02:00
Christian Dywan
2834db080b Always show Open in Download dialogues, regardless of the file type
Just too often the reported MIME type is wrong or undetermined, so
we give the user the opportunity to know better.
2009-06-13 03:43:49 +02:00
Christian Dywan
bd5fd85031 Spell "SHIFT_JIS" in menu as "SHIFT__JIS" to prevent unwanted mnemonic 2009-06-12 23:46:24 +02:00
Christian Dywan
52f45952cf Enforce generated ident string if Custom was not chosen
This solves the ident string not being updated when Midori is
upgraded and running with existing configuration files.
2009-06-12 23:17:34 +02:00
Christian Dywan
c474363de2 Do not conditionalize Speed Dial preference on Gtk 2.14 2009-06-12 23:16:57 +02:00
Christian Dywan
696b6eab77 Bind Alt + Number to switching to the according tab from 1 to 0 2009-06-12 02:02:55 +02:00
Christian Dywan
491b89bcb3 Adjust mnemonics to not conflict when used in the same context 2009-06-11 23:57:42 +02:00
Christian Dywan
58d2b44316 Also strip search terms entered in the location entry 2009-06-11 23:38:07 +02:00
Christian Dywan
fd19d34410 Strip whitespace from the location entry input 2009-06-11 23:31:02 +02:00
Enrico Tröger
b284b2de7a Add New Window to toolbar items available in the Add context menu 2009-06-11 19:24:58 +02:00
Christian Dywan
ce455c2986 Disable thumbnails in tab label tooltips
For now they aren't acceptable because they effectively slow
switching tabs with the mouse wheel down significantly.
2009-06-08 20:46:53 +02:00
Christian Dywan
eddb0b30df Listen for (de)activation of extensions and save the config 2009-06-07 02:15:32 +02:00
Michael Opitz
891d89e3fd Propagate button press event explicitly from the view
Apparently the button events tend to be stuck and not properly
propagated, so we resort to emitting the signal ourselves.
2009-06-07 00:48:19 +02:00
Christian Dywan
35cdff552d Adjust HAVE_UNIQUE define to resolve a compiler warning 2009-06-06 18:52:29 +02:00
Christian Dywan
0f5e13e706 Allow building without JSCore and do so for mingw 2009-06-06 18:51:57 +02:00
Christian Dywan
fb316e7873 Use MDATA instead of DATA to avoid naming conflict
The header file objidl.h on Windows uses DATA in a different way,
so we need to avoid that name.
2009-06-06 06:22:35 +02:00
Przemek Sitek
7bd151a3e9 Implement an optional "website" property in MidoriExtension 2009-06-05 23:38:32 +02:00
Christian Dywan
e9ee1bcfbe Render tab tooltip thumbnails smaller and a lot faster 2009-06-04 01:00:50 +02:00
Christian Dywan
c41845b907 Add an entry for fixed-with font size to the Preferences 2009-06-03 22:00:29 +02:00
Christian Dywan
cad725a04c Connect the remove-item callback for the history again
It was accidentally removed when moving insertion of history items
into the location action.
2009-06-03 01:32:22 +02:00
Enrico Tröger
ad0b2ac077 Remember last folder of the Save As dialog when downloading files
This is done by creating the dialog only once and holding a
reference to it in memory. When the dialog is closed, it is only
hidden instead of destroyed. So, the next time we just re-show
the dialog with the previously used directory. It is destroyed
when the parent MidoriBrowser instance is destroyed.
2009-06-03 01:15:36 +02:00
Enrico Tröger
144eb69e5c Remove unused variable 'action' and move declarations into a block 2009-06-03 01:13:24 +02:00
Enrico Tröger
f9ac1af55d Show the suggested filename in the Save As dialog for downloads 2009-06-03 00:59:41 +02:00
Christian Dywan
64dcddefd7 Refresh speed dial tabs when adding a new shortcut 2009-06-02 19:16:59 +02:00
Christian Dywan
28b9571444 Special case reloading speed dial views 2009-06-02 19:05:42 +02:00
Christian Dywan
60bcbcf470 Use destination filename in the transferbar 2009-06-01 20:04:31 +02:00
Christian Dywan
54a2272b7a Only show the download if it's actually accepted 2009-06-01 19:57:43 +02:00
Christian Dywan
af25a8bc0f Show the title in tab tooltips if available, not the URI 2009-06-01 19:47:14 +02:00
Christian Dywan
ec4a10c385 Show Open in download dialogue only with known file types 2009-06-01 19:45:10 +02:00
Christian Dywan
c2f0732678 Display destined filename when notifying about a finished transfer 2009-06-01 19:41:03 +02:00
Christian Dywan
842a83d481 Implement a Save As button in the download dialogue 2009-06-01 19:33:44 +02:00
Christian Dywan
1bd94a4d28 Show thumbnail tab tooltips with Gtk 2.12 if speed dial is enabled 2009-06-01 09:35:16 +02:00
Christian Dywan
7fbe7f81b9 Improve panel Detach and Align button tooltips 2009-06-01 08:23:35 +02:00
Christian Dywan
4ddf55ccc3 Create completion model in one place and thaw/ freeze only new model 2009-06-01 08:11:50 +02:00
Christian Dywan
5f27b80ce4 Keep the history object of the location around 2009-06-01 06:41:23 +02:00
Christian Dywan
ff7092b601 Map completion models to 'history' objects
This trick avoids having to create a full copy of the completion
model in each window, which makes opening of new windows a lot
faster.
2009-06-01 06:27:36 +02:00
Christian Dywan
28ed75e017 Let the browser assign 'history' to the location action
We implement a 'history' property which makes it possible to
actually insert our history array into the location action and
move the insertion code into the action.
2009-06-01 05:14:36 +02:00
Christian Dywan
d878298f8c Store 'completion' in a variable independant from the entry 2009-06-01 03:06:45 +02:00
Jérôme Geulfucci
be3f9354aa Edit search engines in the dialogue with Enter or double click 2009-05-31 22:27:08 +02:00
Enrico Tröger
1dee538e41 Revisit inline find bindings to support the numpad '/' key 2009-05-31 03:43:15 +02:00
Przemek Sitek
09f0940bac Actually flip the position of the panel knob when changing alignment 2009-05-31 00:22:23 +02:00
Jérôme Geulfucci
4df9c87585 Implement a proper Fullscreen button superseding the special case 2009-05-31 00:04:20 +02:00
Enrico Tröger
20a34d0ae7 Treat select-all specially with text views and tree views
Unfortunately select-all signals within Gtk have different
semantics against intuition, so we have to treat text views
and tree views specially to avoid crashing.
2009-05-28 23:01:56 +02:00
Christian Dywan
a2d89bc37b Load thumbnails when needed and not from a filename
We actually pack views solely needed to take snapshots in the
notebook of the parent browser but try to keep them hidden.
2009-05-28 02:44:24 +02:00
Christian Dywan
faae6e9b40 Move midori_view_get_snapshot to MidoriView 2009-05-27 23:38:51 +02:00
Christian Dywan
5bf2662bad Don't re-implement New Window in context menus, it just works
This in fact prevents a second window from being opened.
2009-05-26 07:50:37 +02:00
Christian Dywan
682e53ea81 Always focus the location in (blank) new windows 2009-05-26 07:41:17 +02:00
Jérôme Geulfucci
3d288392db Tweak padding and alignment of the Clear private data dialogue 2009-05-25 18:41:54 +02:00
Jean-François Guchens
017d789f4f Remove spaces from the speed dial JSON 2009-05-23 23:59:22 +02:00
Christian Dywan
441db87647 Don't show 'Add to speed dial' on blank pages 2009-05-23 00:16:39 +02:00
Jean-François Guchens
1fa9dec7b4 Remember options in Clear private data dialogue 2009-05-22 23:53:54 +02:00
Christian Dywan
56d2637020 Add tabs to new browser windows *after* emitting NEW_WINDOW
The app takes care of settings as well as other state when the
NEW_WINDOW signal of a browser is emitted. So we need to add
tabs after emitting the signal, otherwise the new tab has
default settings for a limited period of time.
2009-05-22 23:15:53 +02:00
Christian Dywan
16912f4cdf Implement a hack to keep the text direction left-to-right 2009-05-22 04:01:56 +02:00
Jean-François Guchens
24dc508fa7 Add 'Closed tabs and windows' to Clear private data dialogue 2009-05-22 02:18:08 +02:00
Christian Dywan
a102146f15 Generate thumbnails as needed without saving to disk 2009-05-21 19:14:46 +02:00
Christian Dywan
7087a0d25f Send a synthetic expose event to snapshot views 2009-05-21 18:23:27 +02:00
Christian Dywan
1b094dda75 Replace FindQuick with direct '.' and '/' search hotkey support
Using an action for a single character turned out to be a bad idea
and rather than trying to work around it, we implement '/' and '.'
hotkeys directly in the view.
2009-05-18 22:40:13 +02:00
Christian Dywan
c106e52fca Implement Quick Find, which is inline find started with '.' 2009-05-18 02:57:52 +02:00
Christian Dywan
7fc6c46c9a Allow WebKit to catch key presses first
If we connect to key presses after WebKit processes them this
resolves the conflict between hotkeys and inline search.
2009-05-18 02:43:56 +02:00
Christian Dywan
907f7a72ce Implement Open new pages in: New window preference 2009-05-17 20:29:31 +02:00
Christian Dywan
964bcd0c1c Adjust completion test after modifying the location entry 2009-05-17 16:55:02 +02:00
Christian Dywan
e3ed65c3f2 Always append tabs opened via middle/ double click on the tab bar 2009-05-17 16:49:46 +02:00
Christian Dywan
87e712f51c Implement a small Go button next to the location entry 2009-05-17 16:26:31 +02:00
Christian Dywan
696a592e82 Use a trick to prevent default activation when middle clicking 2009-05-17 13:38:42 +02:00
Christian Dywan
eaaed697bf Add a type cast to resolve a warning in MidoriBrowser 2009-05-17 02:54:50 +02:00
Christian Dywan
0c6d0420b3 Remove superuser warning completely 2009-05-17 02:53:57 +02:00
Christian Dywan
c8493b4c04 Treat "about:blank" and "" equally in midori_view_set_uri
This solves the problem of open speed dial tabs in the session
coming back as blank tabs after a restart of Midori.
2009-05-17 00:01:52 +02:00
Christian Dywan
e3fea6c2eb Ensure that the address entry is focussed with speed dial 2009-05-16 23:52:59 +02:00
Jean-François Guchens
0717e42458 Protect speed dial against quoting in titles 2009-05-15 23:49:01 +02:00
Christian Dywan
4c2a3f5bb7 Support custom sizes of icons in res_server 2009-05-15 23:08:52 +02:00
Enrico Tröger
90e9ee4af7 Fix crash for URIs with an invalid hostname and without a path 2009-05-15 18:58:57 +02:00
Christian Dywan
c217609403 Title the speed dial as Speed dial instead of Blank page 2009-05-15 18:56:14 +02:00
Christian Dywan
a6f2ca54e9 Make sure to only update the address entry with the current view 2009-05-15 17:30:54 +02:00
Christian Dywan
b0babb3c17 Moving tab title update to a function and fix tab titles 2009-05-15 17:26:09 +02:00
Christian Dywan
8b3a74b6f0 Update address and actions properly when navigating in-page 2009-05-15 01:18:14 +02:00
Christian Dywan
ade0f16053 Fix a crash caused by a mistaken attempt at plugging a leak 2009-05-15 00:58:58 +02:00
Christian Dywan
06d9e2d026 Move 'Add to Speed dial' from View to File menu 2009-05-14 22:29:59 +02:00
Christian Dywan
03a6f54d25 Plug a few memory leaks in MidoriView and MidoriWebSettings 2009-05-14 22:26:02 +02:00
Christian Dywan
67fea42b12 Bind View Source to Ctrl+U by default 2009-05-14 20:36:26 +02:00
Jean-François Guchens
760553f374 Store speed dial as JSON instead of actual HTML source
This will make it possible to change the layout of the page
without losing shortcuts.
2009-05-13 23:56:55 +02:00
Christian Dywan
0e9803a31c Point out that translators should adjust the spell check example 2009-05-12 02:30:00 +02:00
Christian Dywan
ff2abf1fd4 Use katze_assign, not katze_object_assign for program_notify_send 2009-05-12 01:50:07 +02:00
Christian Dywan
465ff4d0ff Include compat.h in sokoke 2009-05-12 01:41:15 +02:00
Christian Dywan
541d65f013 Fix Gtk version check for speed dial, this is >= Gtk 2.14 2009-05-12 01:33:44 +02:00
Christian Dywan
8588c3b43f Ellipsize tab labels differently to emphasize subtitles 2009-05-12 01:27:51 +02:00
Christian Dywan
a582d8dcc0 Fix font family/ homepage tooltip mixup 2009-05-10 16:40:43 +02:00
Christian Dywan
b5a534b363 Replace variables in templates literally 2009-05-10 16:20:50 +02:00
Christian Dywan
906ccf632d Go back to referring to Speed Dial in the user interface
The term customized homepage is somewhat unclear and speed dial
is known from phones and other browsers.
2009-05-10 16:07:28 +02:00
Jean-François Guchens
e5276907e9 Add an 'edit' icon to emphasize that shortcut can be renamed 2009-05-10 15:06:15 +02:00
Christian Dywan
db826d348a Make AddSpeedDial visible/ hidden instead of sensitive/ grayed 2009-05-10 14:57:26 +02:00
Christian Dywan
64b60d7f94 Use the correct config folder to store speed dial
This is important when using the -c or --config switch
2009-05-10 14:48:12 +02:00
Jean-François Guchens
56c1231d7a Move speed dial to browser and add an AddSpeedDial action 2009-05-10 14:39:20 +02:00
Jean-François Guchens
2e250b66e8 Fix the search in the custom homepage and optimize the saving 2009-05-09 23:29:35 +02:00
Alexander Butenko
5916815daf Work around broken reloading of "alternate content" 2009-05-09 22:45:21 +02:00
Christian Dywan
79e278bea8 Compress thumbnails to 70% JPEG
The compressed images are still reasonably good and save a
noticible amount of disk space.
2009-05-09 22:16:03 +02:00
Christian Dywan
7fcb3d9095 Add a mnemonic to Add to customized homepage 2009-05-09 17:30:54 +02:00
Jean-François Guchens
bd6c23cc71 Allow adding speed dial shortcuts from the context menu 2009-05-09 16:41:01 +02:00
Enrico Tröger
70a9d29ea6 Add midori_app_send_notification() to easily send notifications
Sending such messages is either done by using libnotify if
available. Otherwise the program "notify-send" is used.
2009-05-09 15:55:10 +02:00
Enrico Tröger
429c460e86 Fix shadowed variable 'error' 2009-05-09 15:32:45 +02:00
Jérôme Geulfucci
68bfa4331b Refactor middle clicks on navigation actions 2009-05-09 13:57:52 +02:00
Christian Dywan
446fe346cb Only save thumbnails if Customized homepage is enabled 2009-05-08 17:46:50 +02:00
Christian Dywan
5e1b3a0bad Rename Speed dial in news tabs to Customized homepage in new tabs 2009-05-08 17:41:40 +02:00
Christian Dywan
581c69f4e8 Use "Search" to label Search button and entry, not "Suchen" 2009-05-08 13:15:08 +02:00
Christian Dywan
5dc0b3d0cc Recognize {stock} in error page template 2009-05-08 13:13:39 +02:00
Christian Dywan
b1815fb63c Implement /stock path in res_server 2009-05-08 13:13:08 +02:00
Jérôme Geulfucci
713a9b02ca Simplify handling of background tabs 2009-05-08 13:09:14 +02:00
Christian Dywan
f60b8ab9b6 Add a preference Show speed dial in new tabs 2009-05-08 03:29:25 +02:00
Christian Dywan
68bb3d2378 Localize "Search" in quick dial and use the user's default search 2009-05-08 02:56:26 +02:00
Christian Dywan
b0c069730f Fix opening any page when having the speed dial open 2009-05-07 23:08:13 +02:00
Christian Dywan
e5621fc44f Don't declare print function for WebKit >= 1.1.6 2009-05-07 23:00:29 +02:00
Jérôme Geulfucci
bb7928303c Implement middle click on Back, Forward, Homepage menu items 2009-05-07 22:41:39 +02:00
Jean-François Guchens
c89651c05f Implement quick launch page code named Tandoori
The quick launch page replaces the blank page unless it turns out
to be a bad idea.
2009-05-07 22:22:43 +02:00
Mike Massonnet
0fa7db4ed3 Let Ctrl+K load default search website if no Search in the toolbar 2009-05-06 02:45:59 +02:00
Alexander Butenko
fc14fb7a0b Restrict res_server to listen only to localhost 2009-05-05 23:32:38 +02:00
Jérôme Geulfucci
5ab58b60c1 Extend menu item middle click to support trash and history 2009-05-05 23:22:39 +02:00
Christian Dywan
902e75fb77 Conditionalize --snapshot on WebKitGTK+ 1.1.6 2009-05-05 23:02:45 +02:00
Christian Dywan
adec655c01 Implement '--snapshot' or '-s' command line switch
Calling Midori in the form "midori --snapshot URI" makes a
snapshot of the specified address and saves it to PDF. The format,
path or size can currently not be influenced.
Also note that web pages which look different when printed will
apply their print style.
2009-05-04 02:09:46 +02:00
Christian Dywan
c5eba36cf4 Reject non-local requests to the res_server
This sever is solely meant to provide internal resources and
should not be accessible from outside, so anything non-local
is blocked with a No Content error.
2009-05-04 01:09:52 +02:00
Christian Dywan
b6dde64875 Return the correct content type in res_server responses 2009-05-04 00:51:14 +02:00
Christian Dywan
6ab464075d Fix setting the news-feeds property of MidoriView 2009-05-03 21:41:31 +02:00
Jérôme Geulfucci
b92ebdccaa Implement middle-clicks on Back, Forward and Homepage tool buttons 2009-05-03 21:35:05 +02:00
Enrico Tröger
186c2d708b Ensure destroyed panel widgets remove the scrolled window 2009-05-03 21:13:54 +02:00
Enrico Tröger
ae23ae0583 Implement middle click on array actions, ie. bookmark menu items
Add a new signal activate-item-alt to KatzeArrayAction which has
a button argument specifying the mouse button that was pressed. If
this signal is handled one can special case middle or right
clicks, and return TRUE to suppress the emission of activate-item.

The browser utilizes this to open new tabs when middle clicking
on bookmark menu items.
2009-05-03 12:42:47 +02:00
Christian Dywan
9d472f4054 Introduce 'news-feeds' property on MidoriView
This is a KatzeArray of KatzeItems with the feeds of the loaded
web page, particularly useful for extensions.
2009-05-03 03:11:33 +02:00
Christian Dywan
1d7293a2a8 Quote the page address in the error page 2009-05-03 01:53:49 +02:00
Christian Dywan
ca98c68e70 Support error pages with the load-error signal in WebKitGTK+ 1.1.6 2009-05-02 21:44:20 +02:00
Christian Dywan
7d0d2d60bc Add sokoke_replace_variables 2009-05-02 21:38:43 +02:00
Christian Dywan
d6721f09b0 Add sokoke_get_res_server 2009-05-02 21:36:09 +02:00
Christian Dywan
8c8551d384 Generate thumbnails of open tabs
The images aren't used for anything yet, and can't be disabled
2009-05-02 00:23:43 +02:00
Christian Dywan
f93c3c166f Ensure that completion items have a title
Items are added as lone URIs often enough, so it happened that
we accidentally unset a title. We check that now.
2009-05-01 20:03:40 +02:00
Christian Dywan
566e8252c2 Activating Search if hidden should spawn the search page 2009-04-30 00:43:47 +02:00
Dale Whittaker
eb606ecdad Leave 'added' stamp of history items to fix duplicate detection
Only the 'added' value of parents shall contain the age in days.
2009-04-29 23:53:59 +02:00
Christian Dywan
5257a9e6c5 Correct 'Enables spell checking' to 'Enable spell checking' 2009-04-29 17:44:12 +02:00
Christian Dywan
f8b10d8513 Add example to the spell checking language tooltip 2009-04-29 17:35:36 +02:00
Christian Dywan
0506d04601 Add Spell Checking preferences to the dialogue
We need to think of a better way to choose dictionaries than a
mere text entry.
2009-04-29 00:42:47 +02:00
Christian Dywan
bd002e9a7b Fix 'Refresh' menu item localization in the context menu 2009-04-29 00:16:26 +02:00
Christian Dywan
a40cd75d14 Add new transfer preferences and new Applications tab 2009-04-28 23:52:16 +02:00
Christian Dywan
bd11e1c4f7 Add Ask for destination folder preference
The value is not functional yet
2009-04-28 23:49:52 +02:00
Enrico Tröger
c711a75379 No need to work around GtkIconEntry issue afterall 2009-04-27 21:30:27 +02:00
Christian Dywan
6d2013f16f Default to loading the last open pages at startup 2009-04-27 20:49:32 +02:00
Christian Dywan
10426983b0 Fail silently on xprop errors when determining the environment 2009-04-27 17:46:04 +02:00
Enrico Tröger
ba7e8846ee Do not display any icon if there's no news feed available
Work around a bug that made unsetting the secondary icon in the
location entry impossible and do not set an icon if there is
no news feed instead of an 'information' icon.
2009-04-27 01:11:58 +02:00
Christian Dywan
d328d2afab Implement transfer completion notification via libnotify 2009-04-27 00:22:16 +02:00
Christian Dywan
62edfeb06e Disconnect panel toolitem destroy handler when detaching 2009-04-26 17:11:16 +02:00
Christian Dywan
bdf9c2c11d Fix label/ button on the panel when detaching and re-attaching 2009-04-26 16:57:23 +02:00
Christian Dywan
9cda61ad1a Add a Fixed-width Font Family preference 2009-04-26 02:23:27 +02:00
Christian Dywan
dafa435e47 Switch the current panel after detaching a panel 2009-04-25 23:33:09 +02:00
Christian Dywan
5d3afb0713 Disable 'Detach' button if all panels are detached 2009-04-25 23:26:54 +02:00
Christian Dywan
90d9e85167 Refer to 'Netscape plugins' instead of 'plugins'
A remarkable amount of people have problems telling 'plugins'
and 'extensions' apart, due to their different meaning in
different applications. So make it clearer.
2009-04-25 16:13:23 +02:00