Commit graph

2121 commits

Author SHA1 Message Date
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