Commit graph

2242 commits

Author SHA1 Message Date
Peter Hatina
35757c2842 Update toolbar menu items (actions) after changes
Fixes: https://bugs.launchpad.net/midori/+bug/853023
2011-12-10 19:31:00 +01:00
Christian Dywan
9ba0c2806e Iterate children in notebook_alloc_timeout 2011-12-10 19:30:48 +01:00
Christian Dywan
1845d0bcbc Reduce notebook alloc timeout and update each time 2011-12-10 19:27:05 +01:00
Christian Dywan
a57850e533 Rebase browser_set_current_tab on _set_current_page
The behavior should really match.
2011-12-09 21:11:01 +01:00
Christian Dywan
9c11fb1219 No need to move proxy item if it is appended 2011-12-09 21:01:29 +01:00
Christian Dywan
3d96749b93 Set a timeout on notebook size updates 2011-12-09 21:01:29 +01:00
Christian Dywan
cd05d0a351 Use new _with_item constructor everywhere 2011-12-09 21:01:29 +01:00
Christian Dywan
652e392192 Manually building actions is a huge speedup 2011-12-08 02:55:25 +01:00
Christian Dywan
c44f76abb9 Avoid setting the same URI on the item given 2011-12-07 23:19:32 +01:00
Christian Dywan
64f9028eea Handle 'append' as meta, neither object data nor argument
This is more in line with 'dont-write-history' and 'delay'.
2011-12-07 23:15:04 +01:00
Christian Dywan
bd3c1b50fb Handle 'delay' without the pseudo pause: scheme
Behavior change: Tabs won't remain delayed beyond the session.
If some users rely on this, it will need discussion.
2011-12-07 23:08:11 +01:00
Christian Dywan
9888ad610d Avoid extra loop for adding delay to all items 2011-12-07 23:01:50 +01:00
Christian Dywan
ef9e5b6e6c Avoid counting total pages when not necessary 2011-12-07 22:42:06 +01:00
Christian Dywan
e698ba3380 Introduce helper for correctly restoring tabs
We need to ensure a reference on the item.
2011-12-07 22:31:13 +01:00
Christian Dywan
6143654279 Introduce and use midori_view_new_with_item 2011-12-07 21:27:38 +01:00
Alexander Butenko
42387e9b8b Remove conext-ready signal from browser and view 2011-12-07 20:34:11 +01:00
Alexander Butenko
312d321ff9 Skip window_object_cleared in non-http-frames 2011-12-07 20:30:42 +01:00
Christian Dywan
6a068b458b Teach _toggle_tabbar_smartly what fullscreen means
And introduce midori_browser_is_fullscreen

Related to: https://bugs.launchpad.net/midori/+bug/783675
2011-12-01 20:54:27 +01:00
Christian Dywan
5e784e9bcb Avoid superfluous _midori_browser_update_actions calls 2011-12-01 20:04:32 +01:00
Christian Dywan
f50ec92a81 Print cairo versions in about:version 2011-12-01 20:04:32 +01:00
Christian Dywan
d0db33711d Limit items in trash in private browsing 2011-12-01 20:04:32 +01:00
Christian Dywan
0e93695979 Be sure to always initialize startup timers 2011-11-28 23:41:32 +01:00
Christian Dywan
b3344bf6f7 Define H and V widget functions for GTK+3
The horizontal variants are gone from the API.

gtk_rc_get_theme_dir has been deprecated, there is
no replacement so we do the equivalent lookup.

Right-aligned menu items are deprecated.

For now defining gtk_widget_render_icon and
gtk_widget_set_size_request gets rid of warnings.
2011-11-28 23:37:34 +01:00
Christian Dywan
668689fd17 Use struct members in katze_item_set_value_from_column 2011-11-28 23:35:58 +01:00
Paweł Forysiuk
75c5f57f91 Attach Win32 console to stdout if not redirected 2011-11-28 20:42:08 +01:00
Christian Dywan
47445f8c94 Use gdk_display_get_app_launch_context if available 2011-11-28 20:42:08 +01:00
Christian Dywan
e4963aa324 Introduce midori_array_query to unify bookmark queries
This ensures querying is consistently quoted and ordered.
2011-11-23 00:23:41 +01:00
Christian Dywan
6ff2109adb Make Paste and Proceed insensitive if nothing to paste 2011-11-22 21:57:20 +01:00
Christian Dywan
59b3d9319c Implement midori_view_web_view_get_snapshot for GTK+ 3 2011-11-20 22:36:55 +01:00
Christian Dywan
c60a9d220a Tweak last_folder handling to avoid warnings 2011-11-20 22:19:08 +01:00
Christian Dywan
0d2a6cd72f Sort out boxes and scrollables with GTK+ 3.2
There is only GtkBox, neither GtkHBox nor GtkVBox.

Constructors and defaults have changed, we need
to set "orientation" for vertical boxes.

The panel takes care of its pages, and the view
of itself.

gtk_container_add on GtkBox is different to GtkVBox
so we must use gtk_box_pack_start.

GtkScrollable exists as a proper interface now.
2011-11-20 22:14:30 +01:00
Christian Dywan
bfe8f9b879 Fix arguments given to midori_browser_save_source 2011-11-19 21:35:56 +01:00
Christian Dywan
963747523e Retain 'settings' group and highest slot for empty 2011-11-18 23:54:49 +01:00
Christian Dywan
1515b1e8d9 Only show one empty speed dial shortcut at the end
And discard invalid groups automatically.
2011-11-18 22:34:56 +01:00
Christian Dywan
e0168e5a94 Undo "Don't show empty speed dial shortcuts in-between"
This needs more work. The way it is, dial count is broken.
2011-11-18 21:21:50 +01:00
Christian Dywan
4c2fd067ff Midori.URI.parse_hostname clearer semantics and tests 2011-11-18 01:44:48 +01:00
Christian Dywan
c956b6cb75 Add .htm when viewing source if there's no extension 2011-11-18 00:00:41 +01:00
Christian Dywan
a260fdce12 Disable shadows with WebKitGTK+ 1.2.7 2011-11-17 01:50:32 +01:00
Christian Dywan
040a1670e4 Introduce MIDORI_PARAM_DELAYED_SAVING mechanism
The flag says which properties don't trigger saving
to avoid disk I/O.
2011-11-17 00:03:52 +01:00
Peter Hatina
d809cd6040 Save paned actions as separate toolbar items 2011-11-17 00:03:52 +01:00
Christian Dywan
ed5561567b Enforce monospace font elements separately
Fixes: https://bugs.launchpad.net/bugs/888814
2011-11-16 02:08:30 +01:00
Christian Dywan
7cf7dea9ee Drop unused sokoke_combo_box_add_strings 2011-11-16 02:08:30 +01:00
Christian Dywan
acc556e384 Don't initialize app name property
Otherwise lazy name generation is not triggered.
2011-11-16 02:08:29 +01:00
Christian Dywan
be7c663424 Add MidoriPanedAction implementation 2011-11-15 23:55:34 +01:00
Peter Hatina
ccd0562d7d Split location and search entry
Fixes: https://bugs.launchpad.net/midori/+bug/738422
2011-11-15 23:43:14 +01:00
Christian Dywan
524a4bb0a7 Fix compilation broken by wrong speed dial change 2011-11-15 22:42:03 +01:00
Christian Dywan
8ecfdd701e Don't show empty speed dial shortcuts in-between
It is confusing a lot of users.
2011-11-15 21:13:49 +01:00
Christian Dywan
52ae8c90e8 Define navigator.javaEnabled and .mimeTypes
In private browsing 'navigator' is overridden.
2011-11-15 18:34:19 +01:00
Christian Dywan
069ade42d0 No about dialog hooks since GTK+ 2.24, not 3.0 2011-11-15 18:34:19 +01:00
Christian Dywan
49758e4dd8 Ensure data is initialized in midori_array_to_file_format 2011-11-15 18:34:19 +01:00
Christian Dywan
77796803c5 Work around G_CONST_RETURN use in unique.h 2011-11-15 18:34:19 +01:00
Peter Hatina
9572ff99cc Hide all bars in fullscreen and a menu to Unfullscreen
Fixes: https://bugs.launchpad.net/midori/+bug/783675
2011-11-11 01:22:15 +01:00
Christian Dywan
a762ba5a16 Only look for missing speed dial thumbs in the first pass
Otherwise updating after loading a thumb may trigger an
infinite loop by looking for the very same thumb again.
2011-11-10 23:17:18 +01:00
Paweł Forysiuk
db51b7d575 Center speed dial via percentual margin 2011-11-10 22:24:21 +01:00
Christian Dywan
6f6a57a623 Undo "Don't queue thumbs already waiting, 5 seconds timeout"
For now the behavior isn't reliable enough and should
be investigated more.
2011-11-10 19:45:23 +01:00
Peter Hatina
b5ce439a6f Don't enforce visibility of navigationbar while loading
Fixes: https://bugs.launchpad.net/midori/+bug/810838
2011-11-09 23:58:00 +01:00
Christian Dywan
ac6e23680c For lack of a better way, don't scroll extension descriptions
Obscuring the settings icon is very bad for usability.
2011-11-09 23:04:23 +01:00
Christian Dywan
56818ca944 Replace slash (/) appearing in the display name 2011-11-09 23:03:35 +01:00
Christian Dywan
d9c4bb15c0 Remove obsolete MidoriLocationAction and panel boilerplate 2011-11-09 22:06:11 +01:00
Christian Dywan
a121d24d35 sokoke_entry_set_default_text becomes gtk_entry_set_placeholder_text
GTK+ 3.2 and Hildon 2.2 have the exact same feature built-in.
2011-11-09 22:06:10 +01:00
Christian Dywan
23f90e821a Faster Base64-concatenating CSS and stylesheet URI support
It is important to retain user-stylesheet-uri separate from
the value set at runtime and restore it to the config file.

Fixes: https://bugs.launchpad.net/midori/+bug/883879
2011-11-08 22:48:39 +01:00
Christian Dywan
58066e7dcc Move naming logic into initialization of MidoriApp 2011-11-08 22:09:49 +01:00
Christian Dywan
eb205d53d4 Fix test issues due to unset settings, version, session 2011-11-08 22:42:03 +01:00
Christian Dywan
4cb498940d Remove unneeded action tooltips and add unit test
The tooltips used to be shown in the statusbar when hovering
the menubar.
2011-11-08 22:42:02 +01:00
Christian Dywan
eed822dc8b Add gtk_image_menu_item_set_always_show_image to gtk3-compat.h 2011-11-08 22:42:02 +01:00
Peter Hatina
107bb2a58a Render verified secure sites in green, not yellow
Fixes: https://bugs.launchpad.net/midori/+bug/858701
2011-11-08 01:58:16 +01:00
Christian Dywan
c5e6b7a020 Show mismatching build version suffix for extensions
MIDORI_VERSION_SUFFIX resolves to a string that needs to be
added to each extension's version at build time. If it is
different than the running Midori's, it is shown in the
extension list.
2011-11-08 01:53:53 +01:00
Peter Hatina
2b6ccad3f8 Insert Paste and Proceed menu item after default Paste menu item
Fixes: https://bugs.launchpad.net/midori/+bug/776861
2011-11-08 00:43:44 +01:00
Christian Dywan
aa5aeaf23c Don't confuse filename and input in midori_browser_save_uri
The file chooser expects UTF-8 as if typed by the user, not
a filename in the local encoding.
2011-11-08 00:28:07 +01:00
Christian Dywan
0c611f8d6a Move link fingers to Midori.URI and add tests 2011-11-08 00:28:07 +01:00
Christian Dywan
90410efa5d Render home in command line as ~ in about:version 2011-11-01 00:29:31 +01:00
Christian Dywan
686fee50b7 Colons after each video format in about:version 2011-11-01 00:28:41 +01:00
Christian Dywan
8fff7d8fd3 sokoke, gtk3-compat, gtkiconentry, stock join midori-platform.h
Also introduce #define MIDORI_MODULE_PREFIX.

Fixes: https://bugs.launchpad.net/midori/+bug/884395
2011-10-31 22:18:06 +01:00
Christian Dywan
42c1b70c7d unique, notify, and system details in about:version
Introduce midori_web_settings_get_system_name helper.

Add version numbers for libunique and libnotify if available.

Show platform and architecture if possible.

Merge debug string into the full version number.

Render video formats as a one-liner.
2011-10-31 04:01:41 +01:00
Christian Dywan
55227d2a3b Don't queue thumbs already waiting, 5 seconds timeout 2011-10-31 04:01:41 +01:00
Christian Dywan
ea15198b34 Support user-stylesheet-uri again through new API
Related to: https://bugs.launchpad.net/midori/+bug/826441
2011-10-30 16:26:56 +01:00
Christian Dywan
7dee11c0b7 Only show crash dialog if session isn't empty
Fixes: https://bugs.launchpad.net/midori/+bug/830645
2011-10-30 14:42:52 +01:00
Christian Dywan
0c69e6ff64 Define MidoriLoadStatus as alias to WebKitLoadStatus 2011-10-30 14:29:04 +01:00
Paweł Forysiuk
20e84c53c9 Fix typo in midori extension column name 2011-10-30 14:09:12 +01:00
Christian Dywan
6bb66ed111 Queue thumbnails for speed dial, and load if missing 2011-10-29 03:33:43 +02:00
Christian Dywan
a25c34e280 Support res directly in sokoke_find_data_filename
One allocation less each time, less fragmentation.
2011-10-29 01:16:08 +02:00
Christian Dywan
d39b62c73e Use Midori.URI API in sokoke_prefetch_uri 2011-10-29 00:43:03 +02:00
Christian Dywan
cd8cb11ea2 Check that selection range count is not 0
Fixes: https://bugs.launchpad.net/midori/+bug/883157
2011-10-28 23:14:25 +02:00
Christian Dywan
f6d3c29be5 Position the location completion correctly
Fixes: https://bugs.launchpad.net/midori/+bug/883143
2011-10-28 23:03:24 +02:00
Christian Dywan
be04be8303 Introduce and use Midori.URI.is_http
Also make further uses of Midori.URI.parse.
2011-10-28 22:49:10 +02:00
Christian Dywan
8f540b3d86 sokoke_widget_set_pango_font_style can be static 2011-10-28 22:49:10 +02:00
Christian Dywan
2976f6ebb2 Avoid the rarely used sokoke_container_show_children 2011-10-28 22:49:10 +02:00
Christian Dywan
6bceb5a10a Merge thread setup, stock items, argv, i18n into MidoriApp 2011-10-28 22:49:10 +02:00
Paweł Forysiuk
948301f086 NULL-check new speed dial titles to avoid "(null)" 2011-10-27 23:20:10 +02:00
Christian Dywan
0e5cb28e09 Copy styles passed to midori_web_settings_add_style
Style strings are usually allocated, unlike rule_id's.
2011-10-27 23:20:10 +02:00
Paweł Forysiuk
6f41311242 No need to handle thumb size when saving speed dial 2011-10-27 20:12:45 +02:00
Christian Dywan
4440d25e11 Update enforced font when font family changes 2011-10-27 19:32:17 +02:00
Christian Dywan
9937abe3fc No completion when typing token or leading space 2011-10-27 19:32:17 +02:00
Christian Dywan
968c967592 Implement Always use my font choices preference
Patch based on input from Peter Hatina.

Fixes: https://bugs.launchpad.net/midori/+bug/826441
2011-10-26 23:10:24 +02:00
Peter Hatina
0388f2fa39 Introduce midori_web_settings_add/remove_style API
The CSS stylesheets added by ID are globally applied.

Related: https://bugs.launchpad.net/midori/+bug/826441
2011-10-26 23:10:24 +02:00
Christian Dywan
3b2d95c0e4 sokoke_widget_copy_clipboard must be NULL-safe 2011-10-26 20:07:11 +02:00
Christian Dywan
4b33fd2c7d Avoid GTK+3 #ifdef and #define GTK_DIALOG_DESTROY_WITH_PARENT 2011-10-26 20:07:11 +02:00
Christian Dywan
9738f07429 Respect close button visibility for tab size
And use the themed icon size.
2011-10-26 20:07:11 +02:00
Christian Dywan
5ddcfa7be6 Clear Private Data: Merge Closed Tabs with History
It would be misleading to delete one but not the other and
assume the pages are actually gone.
2011-10-26 20:07:11 +02:00
Christian Dywan
2cc0341bf0 Correctly use user-home for Homepage
Since the stock item is re-registered, using GTK_STOCK_HOME
directly will wrongly take gtk-home as the icon name.
2011-10-25 02:17:08 +02:00
Christian Dywan
9159e72b58 Use bookmark-new for Add Bookmark
Fixes: https://bugs.launchpad.net/midori/+bug/880179
2011-10-25 02:13:18 +02:00
Paweł Forysiuk
3c116eab7e Use versioned speed dial template filename 2011-10-25 01:22:30 +02:00
Peter Hatina
d707a8758d Split proxy server and port options into two fields
Fixes: https://bugs.launchpad.net/midori/+bug/699986
2011-10-25 01:22:29 +02:00
Christian Dywan
990b6b77bd Look for localized "next page" link and unify code 2011-10-25 01:22:29 +02:00
Christian Dywan
1ed184ba1c No third-party cookies with soup 2.29.91/ WebKit 1.1.21 2011-10-24 00:20:48 +02:00
Christian Dywan
1d4f129d6c Use right paths in _action_bookmarks_import_activate 2011-10-24 00:20:47 +02:00
Christian Dywan
b360541552 Use CSS style fixup to tweak tab size with GTK+ 3
For consistency, an analogous GtkRc snippet is used with GTK+ 2.

Based on a patch by Lucas Baudin.

Fixes: https://bugs.launchpad.net/midori/+bug/871085
2011-10-21 02:44:01 +02:00
Christian Dywan
77428fe44c Introduce Midori.URI to unitfy all URI logic
sokoke_hostname_from_uri, sokoke_search_uri,
sokoke_hostname_to_ascii and sokoke_unescape_uri_string
are merged into Midori.URI.
midori-core.h is the official API header for Vala now.
2011-10-21 01:00:13 +02:00
Christian Dywan
3f77b9f300 Avoid pre- and suffix with extension default configs
So this mainly matters to package maintainers, as the
configuration files for extensions have pre- and suffix
according to library naming of the platform. Basically
this only ever worked on Linux and Windows.
Now default configs are always installed with plain names.
2011-10-20 23:39:28 +02:00
Christian Dywan
52de747198 Merge GLib and GTK+ compatibility in gtk3-compat.h 2011-10-20 22:46:43 +02:00
Christian Dywan
c06fbee023 Merge bookmark folder combo into helper functions
Fixes: https://bugs.launchpad.net/midori/+bug/874592
2011-10-20 22:19:41 +02:00
Paweł Forysiuk
a12a8e26d6 Re-add enter_shortcut_name placeholder in speeddial-head.html
It is used in renaming dialog
2011-10-20 19:14:27 +02:00
Christian Dywan
2e203e746b Find Firefox profiles for import 2011-10-20 19:14:27 +02:00
Peter Hatina
b6469de5e6 Work-around icon being activatable by default
Fixes: https://bugs.launchpad.net/midori/+bug/770521
2011-10-20 09:14:33 +02:00
Christian Dywan
30f4225cd9 Work-around libSoup not setting a proper directory title
Fixes: https://bugs.launchpad.net/midori/+bug/872123
2011-10-19 09:26:58 +02:00
Christian Dywan
2bb7fe3c2d Rework --run feature based on a hidden browser
Scripts can use console.info to print and create new
windows to have a UI or open websites.

Internal "pass-through-console" is introduced to print
all messages to the console.

Fixes: https://bugs.launchpad.net/midori/+bug/875318
2011-10-19 09:15:47 +02:00
Christian Dywan
6494269ab9 Add certificate file location used on openSUSE 2011-10-19 09:05:08 +02:00
Paweł Forysiuk
7b4f2254ff No need to check for rows and columns in speed dial now 2011-10-17 02:47:56 +02:00
Christian Dywan
3fa294d100 Require GLib 2.22 it's already an implicit dependency 2011-10-17 02:47:56 +02:00
Walther Maldonado
eb45219936 Clear downloads when the transferbar is full
Fixes: https://bugs.launchpad.net/midori/+bug/851452
2011-10-17 02:47:56 +02:00
Christian Dywan
a8bf171c62 Add 'Create desktop shortcut' to app menu 2011-10-17 02:47:55 +02:00
Christian Dywan
756830f6e4 Require libSoup 2.27.90 and drop libidn 2011-10-17 02:47:55 +02:00
Christian Dywan
eda8ac68f9 Findbar should honor close-buttons-left value 2011-10-13 18:31:50 +02:00
Christian Dywan
edb01a11f6 Speed dial should honor close-buttons-left value 2011-10-13 18:31:50 +02:00
Christian Dywan
fd643d72e9 Allow last tab to close private and app mode 2011-10-11 02:53:14 +02:00
Christian Dywan
2f40eee0a5 Only show close in speed dial if it can be saved
And un-negate return value of sokoke_is_app_or_private().
2011-10-11 02:48:47 +02:00
Christian Dywan
7bd92bc67c Set speed dial shortcut title without asking 2011-10-11 01:53:12 +02:00
Paweł Forysiuk
a5ea7607d4 Properly position speed dial close and show on hover 2011-10-11 01:52:39 +02:00
Christian Dywan
8a8e59b598 Don't leak config_file in midori_load_soup_session_full 2011-10-10 23:23:19 +02:00
Alexander Butenko
f5447b921f Implement sqlite3 cookie storage backend
From now on cookies are stored in an sqlite3 database, existing
cookies are imported on first startup.
2011-10-10 23:22:27 +02:00
Christian Dywan
be6d6932f8 Avoid allocating empty mime_type and news_feeds 2011-10-10 21:58:19 +02:00
Christian Dywan
d013cc85a9 Use goto to not leak parts in midori_view_update_icon 2011-10-10 21:55:12 +02:00
Christian Dywan
3071da6711 Use g_format_size with GLib 2.30.0 2011-10-10 21:53:00 +02:00
Christian Dywan
cb6a4290d6 Don't save file dialog folder with GTK+ 3.1.10
The last used folder is restored by default.
2011-10-10 21:49:27 +02:00
Christian Dywan
2219399440 Only disable prefetch in private with WebKitGTK+ 1.3.11 2011-10-10 21:45:51 +02:00
Christian Dywan
9bd775b2d3 Make --snapshot save png images with GtkOffscreenWindow 2011-10-10 21:44:27 +02:00
Paweł Forysiuk
5eb5663cf6 Implement embossed speed dial with custom close buttons
The close button position is wrong.
2011-10-10 01:38:39 +02:00
Christian Dywan
ac272d2f48 Use secondary toolbar style for bookmarks bar
Fixes: https://bugs.launchpad.net/midori/+bug/870854
2011-10-09 14:48:12 +02:00
Christian Dywan
73354dbbab Use GtkOffscreenWindow for speed dial thumbnails
Fixes: https://bugs.launchpad.net/midori/+bug/736427
2011-10-09 14:31:27 +02:00
Christian Dywan
3e60f4424b Introduce Automatic user agent and allow quirks
The new Automatic user agent is meant to pick the string
that websites most likely check for. Right now this is
Safari. Quirks built-in to WebKit are also used.

The separate Midori identification has no quirks.

Fixes: https://bugs.launchpad.net/midori/+bug/865503
2011-10-09 12:20:13 +02:00
Paweł Forysiuk
76a9bc38ff Introduce and use midori_view_save_speed_dial_config 2011-10-07 21:07:21 +02:00
Lucas Baudin
b5aad2d176 Allow building with GTK+3
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +02:00
Lucas Baudin
b46db9b170 Use DOM API to get selected text in WebKitGTK+ 1.4.3
Related to https://bugs.launchpad.net/midori/+bug/799603
2011-10-05 20:51:18 +02:00
Guido Berhoerster
bd5a85fb9f Link explicitly against libjavascriptcoregtk
Fixes: https://bugs.launchpad.net/midori/+bug/855978
2011-10-05 10:02:43 +02:00
Christian Dywan
441191b4a1 Use correct enum value for Flash window on bg tabs
Fixes: https://bugs.launchpad.net/midori/+bug/859107
2011-09-28 22:18:11 +02:00
Christian Dywan
76a8f160f2 Close inspector with Ctrl+W just like a tab
Fixes: https://bugs.launchpad.net/midori/+bug/797865
2011-09-28 18:01:51 +02:00
Christian Dywan
ae56fbf818 Introduce MIDORI_EVENT_NEW_TAB and use it
Fixes: https://bugs.launchpad.net/midori/+bug/797224
Fixes: https://bugs.launchpad.net/midori/+bug/797229
2011-09-28 17:45:37 +02:00
Christian Dywan
b8c707f1cb Fix bogus semicolon in midori_view_set_uri 2011-09-22 00:27:55 +02:00
Christian Dywan
a49c6e8ad7 Switch to already open tab of external URI if possible 2011-09-22 00:26:49 +02:00
Christian Dywan
648d869e4f Use DOM API to get selected text in WebKitGTK+ 1.5.1
Fixes: https://bugs.launchpad.net/midori/+bug/799603
2011-09-21 23:50:51 +02:00