Commit graph

1453 commits

Author SHA1 Message Date
Alexander Butenko
6e878c2881 Merge _menu_middle_click_on_navigation_action with _action_navigation_activate 2010-06-26 21:57:51 +02:00
Alexander Butenko
0bc4933c17 Add homepage handling in _action_navigation_activate () 2010-06-26 21:45:52 +02:00
Alexander Butenko
6d7e1838ea Merge _action_(back|forward|Previous|Next)into _action_navigation_activate () 2010-06-26 18:55:35 +02:00
Alexander Butenko
3b55b7ab7b Merge _action_zoom_*_activate into _action_zoom_activate () 2010-06-26 17:52:04 +02:00
Alexander Butenko
b2d0d0af8e Show bookmarksbar after item was added to db and not before 2010-06-26 17:43:03 +02:00
Alexander Butenko
08dab16bc2 Refactoring of bookmarks add functions 2010-06-26 17:24:53 +02:00
Alexander Butenko
3eea7c933d Reimplement bookmarkbar with sqlite 2010-06-26 17:08:31 +02:00
Alexander Butenko
2ec272eb96 Rip the old bookmarkbar out of the browser 2010-06-26 16:46:14 +02:00
Peter de Ridder
a84a077ac8 Implement default configuration files on Windows 2010-06-26 16:02:49 +02:00
Christian Dywan
f14152fe17 Don't hardcode toolbar icon style on Windows 2010-06-24 22:37:12 +02:00
Christian Dywan
eec5359cf5 Don't clear bindings of an erroneous sqlite statement
This is not safe and can cause a crash.
2010-06-23 02:12:56 +02:00
Christian Dywan
e200f2cb3e Hide panel if a panel was activated that's already shown
Also default hotkeys for History And Transfers.
2010-06-21 22:47:52 +02:00
Christian Dywan
bc6849494d Add 'Open in New Window' to page context menu
While we're at it, the label of the according tab menu item
should be the same.
2010-06-21 22:19:59 +02:00
Christian Dywan
f5604f290c Refactor findbar into MidoriFindbar
The findbar still depends on the browser for knowing when to
search and to propagate focus. Behaviour did not change.
2010-06-21 01:53:08 +02:00
Alexander Butenko
053048d05e Fixed handling of bookmark meta data
sqlite doesn't store negative value but rather 0 and 1, so we
work with these values now. As a side effect it makes the code
easier to read.
2010-06-19 16:23:49 +02:00
Christian Dywan
22cd35be6f Fix typo of sokoke_gtk_action_count_modifier/s
Oddly enough the compiler failed to complain that the
function had no definition/ prototype.
2010-06-19 15:17:34 +02:00
André Stösel
6556d71273 Add sokoke_gtk_action_count_modifiers helper function 2010-06-19 00:32:58 +02:00
Christian Dywan
fa08c4d1f9 Refactor transferbar into MidoriTransferbar
The transferbar is separated from the browser, albeit it is still
created and filled from within the browser so it is not completely
independent.

The new class now keeps a list of TransferInfo items to keep track
of transfers and queries the status from the download object.

Destroying a button belonging to a transfer is connected to
removing it from the list and cleaning up the info structure. Also
the Clear button is updated from the destroy handler.
2010-06-17 20:17:21 +02:00
Alexander Butenko
f55377e7f3 Fix selecting a directory while adding a new bookmark
Allow folders to be removed
2010-06-17 00:12:17 +02:00
Alexander Butenko
09d9615964 Refresh bookmark sidebar on new items 2010-06-17 00:02:10 +02:00
Alexander Butenko
954939fdd1 Use extra attributes of a bookmark 2010-06-16 23:30:56 +02:00
Alexander Butenko
5af37f6c92 Fix edit/ delete/ new operations on bookmarks 2010-06-16 23:27:59 +02:00
Alexander Butenko
6f415c4e6e Import bookmarks from bookmarks.xbel on the first start.
The bookmark handling in main is not needed any more.
2010-06-16 23:17:51 +02:00
Alexander Butenko
87ac3ae563 Initial sqlite read support
We go back to GtkTreeStore rather than a custom class.
2010-06-16 20:55:37 +02:00
Christian Dywan
1676fcc217 Confirm before overwriting in Save As dialogue 2010-06-11 22:52:51 +02:00
Christian Dywan
61add83eeb Iterate links and anchors for next/ previous labels 2010-06-11 21:36:18 +02:00
Christian Dywan
61c5514c1c Remove toolbar menu items from the compact menu 2010-06-10 17:54:44 +02:00
Christian Dywan
ff6fec6367 Use g_file_set_contents to save 'config' with a temporary file
If the filesystem runs out of space and Midori tries to save
the 'config' file under that condition, the file is lost. To
avoid that, we use g_file_set_contents which writes a temporary
file first, at the cost of destroying symbolic links.
2010-06-10 17:54:44 +02:00
Christian Dywan
fd2e0b7aed Implement MIDORI_UNARMED variable for 'dry run' 2010-06-07 22:01:41 +02:00
Christian Dywan
4aebdad671 Enable encoding action at compilation time 2010-06-07 22:01:41 +02:00
Christian Dywan
dcf1bb5356 Always add blank pages without delay 2010-06-06 23:52:55 +02:00
Christian Dywan
997d8df49c Ensure the web view of the thumb view is realized 2010-06-05 00:50:06 +02:00
Christian Dywan
57b05a458e Replace {enter_dial_size}, not {enter_dial_width} 2010-06-03 22:21:55 +02:00
Peter de Ridder
4422f640cb Combined speed dial resize and thumbnail sizes 2010-06-02 02:09:43 +02:00
Christian Dywan
fa4de7b723 Connect view *after* mime-policy-decision-requested
In order to allow extensions to override the MIME handling,
we need to be late in the order.
2010-06-01 22:19:11 +02:00
Tsahee Zidenberg
ea7e627e3b Implement loading delayed pages at startup
Each view has a meta value 'delay' which indicates whether it be
loaded or needs to be loaded manually before it shows content.

One way to trigger this is that Midori crashes and if it is
configured to 'Show last open tabs', all tabs will now be
delayed. To allow Midori to safely open without crashing again.

The other way is to change the 'Load on Startup' preference to
'Show last tabs without loading'. This causes all tabs restored
from the session to be delayed.

One interesting aspect is that it is possible to have delayed
tabs, use 'Show last open tabs' and tabs will remain as they are,
so delayed tabs will be delayed over following sessions.
2010-06-01 00:12:30 +02:00
Christian Dywan
c2be3d67cf Recognize more characters as next page and be more tolerant 2010-05-26 22:48:33 +02:00
Christian Dywan
dc047272d7 Always bring the inspector window in the foreground 2010-05-25 22:24:41 +02:00
Christian Dywan
c571a6394f Don't pass around KatzeNet instances anymore
The KatzeNet is always a singleton, no need to pass it around.
2010-05-25 19:03:01 +02:00
Christian Dywan
59926ad492 Verbosely explain how to use news feed URI 2010-05-25 18:32:56 +02:00
Christian Dywan
8cb761239f Show dialog if quitting while files are being downloaded 2010-05-23 01:09:40 +02:00
Christian Dywan
6c4d94942f Render stock:// as pixbufs and pass as data URIs
Stock icons do not match filenames in many icon themes and the
appropriate sizes may not be available. Thus we now always
render the icon through the theme engine and encode it as a
data URI with BASE64/ PNG.

As a side effect, we use stock sizes now instead of pixel sizes,
where 1 means menu size, 4 means button size and 6 dialog size;
the value 16 is translated to 4 to keep existing files working.
2010-05-21 02:23:15 +02:00
Christian Dywan
62cafb87b2 Deprecate midori_viewable_new_from_uri and _register_protocol
These facilities haven't been used and likely won't be.
2010-05-21 01:07:25 +02:00
André Stösel
7753db46e0 Pass the frame to midori_view_load_alternate_string
The frame where an error occurs may not be the main frame, and
coincidentally there is a race condition where the main frame
isn't valid, so this actually reolves a crash.
2010-05-20 23:21:55 +02:00
Peter de Ridder
84d4865e22 Allow custom shortcut and column count in speed dial 2010-05-19 00:58:03 +02:00
Christian Dywan
01548549a8 Rename midori_browser_get/set_current_tab to get/set_tab 2010-05-19 00:18:31 +02:00
Christian Dywan
a69ba674b1 Add 'Add to Speed Dial' button to 'Add bookmark' 2010-05-19 00:18:31 +02:00
Peter de Ridder
486ebfb930 Check user data dir first for resource files 2010-05-16 17:57:41 +02:00
Christian Dywan
be0fe03eee Refactor error display into midori_view_display_error
Further more midori_view_load_alternate_string now abstracts the
different ways to load data in different WebKitGTK+ versions.
2010-05-16 02:02:09 +02:00
Christian Dywan
dfddd7ce0a Leave panel icon styles to the system settings 2010-05-13 16:53:19 +02:00