Commit graph

669 commits

Author SHA1 Message Date
Christian Dywan
b70a2569df Open source of local files directly with no temporary copy 2009-09-27 16:19:10 +02:00
Christian Dywan
f294d79a74 Show "Menubar" menu in context menu if menubar and navibar are hidden
It happens that users hide all toolbars and don't find a way to make
them visible again. A menu item will be there for this case.
2009-09-26 22:19:34 +02:00
Christian Dywan
249b8e4669 Use brackets when checking bookmark address to avoid compiler warning 2009-09-26 22:19:34 +02:00
Christian Dywan
b3817bfc52 Actually require http(s):// in bookmark address 2009-09-21 23:58:47 +02:00
Christian Dywan
4f8deae24d Do not put statusbar text in the location entry if it's focussed
This prevents overwriting what the user may be typing while
accidentally moving the mouse.
2009-09-19 21:06:33 +02:00
Christian Dywan
16e00c379e Disable Save/ add button in bookmark dialog if address lacks protocol 2009-09-19 17:25:10 +02:00
Christian Dywan
e4ac13887d Disconnect bookmark removal callback with the right data argument
It would not actually disconnect before because it was disconnected
with the wrong user data, and thus crash in a multiple window
scenario when a bookmark was deleted.
2009-09-17 01:03:24 +02:00
Christian Dywan
d502518434 Display source code in a tab if no editor is specified
This uses view source mode available since WebKitGTK+ 1.1.14.
2009-09-15 00:53:50 +02:00
Christian Dywan
d1b672068b Add Undo and Redo menu items to the menubar and context menu 2009-09-10 02:36:26 +02:00
Dale Whittaker
39f095a0cf Prepend 'mailto' to email links in the About dialogue
Some email clients require this to open email links.
2009-09-09 00:33:34 +02:00
Christian Dywan
d03a8226fa Use WebKitDownload to save web pages with Save As 2009-08-30 16:00:48 +02:00
Christian Dywan
f0d6af642e Only update statusbar text if the view is the current tab 2009-08-29 01:23:10 +02:00
Christian Dywan
0da785e94c Disconnect bookmark folder signals, for bookmarkbar and panel
This would lead to crashes when opening and closing windows and
attempting to add bookmarks afterwards.
2009-08-19 23:51:59 +02:00
Christian Dywan
953a268cf8 Add GTK+ and WebKitGTK+ versions to About dialog 2009-08-17 19:22:33 +02:00
Christian Dywan
04dc7fe855 Pass news feed icon clicks to the feed panel
The secondary-icon-released signal of the location action returns
a boolean now so a callback can indicate that it handled it. So
if the feed panel is active, it adds feeds to the panel and
suppresses the default action.

A possible crash when disabling the panel and clicking the icon
afterwards is fixed by adding a missing signal disconnection.
2009-08-17 02:15:21 +02:00
Christian Dywan
74457cfd75 Always show news feed icon, and show URI if no aggregator was specified 2009-08-14 23:28:18 +02:00
Christian Dywan
a5a473eaad Label the buttons to clear transfers correctly "Clear All" 2009-08-11 17:23:30 +02:00
Christian Dywan
5193790004 Protect panel property notifications and disconnect the callback
Failure to do this could cause new windows to freeze and invalid
pointer access after closing windows.
2009-08-09 15:07:09 +02:00
Christian Dywan
f90c387a2b Show tooltips with file size in the transferbar (statusbar) 2009-08-09 00:18:45 +02:00
Christian Dywan
d8157d59bd Copy history in MidoriBrowser::new-view, eg. when duplicating a tab 2009-07-31 12:44:18 +02:00
Christian Dywan
c4692dfeb4 Use a signed counter variable when copying history 2009-07-31 12:31:41 +02:00
Christian Dywan
420f2f02c5 Copy the back forward history when opening a new tab 2009-07-31 00:40:24 +02:00
Christian Dywan
74757bdc9e Implement "Clear private data when quitting Midori" check button 2009-07-29 00:41:04 +02:00
Christian Dywan
37b715e571 Add midori_browser_get_nth_tab to obtain a particular tab by index 2009-07-28 22:55:34 +02:00
Christian Dywan
438566d87f Add Close Tab to the available toolbar actions 2009-07-26 23:40:34 +02:00
Christian Dywan
ef785dd784 Implement Options menu via a button on the side panel
The new button is visible on all panels and pops up a menu, which
allows toggling the panel titles and the operating controls. A
new signal "populate-option-menu" makes it extendible.
2009-07-26 22:05:39 +02:00
Christian Dywan
225d5643e0 Bring back New Window and Location icons and adjust the menu items
The previous attempt to reduce the amount of icons in menues had the
side effect of removing them from toolbar items. So the icons
are back and we adjust the menu items manually.
2009-07-25 22:53:09 +02:00
Christian Dywan
43e6542702 Implement MidoriBrowser::populate-tool-menu and adjust extensions
Extensions used to look for the menu and append items manually.
In order to show Tools in the Compact menu a proper signal
is needed.

Adblock, Shortcuts and Toolbar Editor are ported to the new API.
2009-07-25 03:05:52 +02:00
Christian Dywan
356f3f20be Use a Go icon when showing the target URI in the location 2009-07-24 17:01:02 +02:00
Christian Dywan
65ff5b3277 Remove icons from a few menu items and add an icon to Close Tab 2009-07-24 16:43:55 +02:00
Christian Dywan
42f9a72360 Shorten 'Closed Tabs and Windows' to 'Closed Tabs'
Effectively only tabs are saved and if that changes one day, the
shorter label should still be good enough.
2009-07-23 00:06:55 +02:00
Christian Dywan
dc4721a9d4 Remove the bookmark popup, its usability just isn't good 2009-07-23 00:02:17 +02:00
Christian Dywan
5dcdccb27c Respect the view's idea of back- or foreground when opening new tabs 2009-07-22 23:55:05 +02:00
Daniel P. Fore
4103dc48ea Improve the wording of a few English strings and use colons 2009-07-22 23:53:29 +02:00
Christian Dywan
7a3535afac Load data files from system data dirs
A new helper function in sokoke is added to keep the code simple.
2009-07-20 09:10:53 +02:00
Christian Dywan
ff8489da20 Put the Preferences menuitem in the Tools menu under Win32 2009-07-20 08:13:29 +02:00
Christian Dywan
572383370f Default to Icons in the toolbar on Win32 2009-07-20 07:05:17 +02:00
Christian Dywan
5dbe1f02ef Fix a typo in the toolbar style callback which could cause a crash 2009-07-19 19:10:18 +02:00
Christian Dywan
22271a661e Fail silently to the the current browser page if it's invalid 2009-07-19 18:46:03 +02:00
Christian Dywan
9ed58f553b Be sure not to crash if "homepage" is NULL and hide homepage button 2009-07-19 18:28:50 +02:00
Christian Dywan
a4632547f9 Preserve metadata from the saved session when loading
At this point, metadata can be set and read from the proxy item of
any view and expected to be found after a restart.
2009-07-18 16:41:13 +02:00
Christian Dywan
3ac71da2c4 Make sure to only update the proxy array if it's still there
The proxy array of the browser is unset during disposal, so we
may end up trying to work with a NULL value.
2009-07-18 15:30:03 +02:00
Christian Dywan
90ab3166f4 Don't advertise AddSpeedDial as a toolbar action 2009-07-18 15:15:00 +02:00
Christian Dywan
c965db8f95 Always show icons and labels in bookmarkbar popup 2009-07-18 00:29:23 +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
54fecef4b7 Set "browser" role on browser windows 2009-07-16 14:00:47 +02:00
Przemek Sitek
f04861e18c Disable notebook border if no tabs are visible 2009-07-13 22:16:58 +02: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
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
8b36138105 Use "Menu" without underscore as compact Menu tooltip 2009-06-27 23:56:01 +02:00
Christian Dywan
33f1d0096a Use "_Menu" as tooltip for the compact Menu button 2009-06-27 23:29:00 +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
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
b23ae6cca3 Use radio actions for the encodings menu 2009-06-22 22:55:23 +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
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
bd5fd85031 Spell "SHIFT_JIS" in menu as "SHIFT__JIS" to prevent unwanted mnemonic 2009-06-12 23:46:24 +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
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
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
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
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
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
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
faae6e9b40 Move midori_view_get_snapshot to MidoriView 2009-05-27 23:38:51 +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
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
907f7a72ce Implement Open new pages in: New window preference 2009-05-17 20:29:31 +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
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
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
a6f2ca54e9 Make sure to only update the address entry with the current view 2009-05-15 17:30:54 +02:00
Christian Dywan
8b3a74b6f0 Update address and actions properly when navigating in-page 2009-05-15 01:18:14 +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
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
541d65f013 Fix Gtk version check for speed dial, this is >= Gtk 2.14 2009-05-12 01:33:44 +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
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
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
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
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
Jérôme Geulfucci
713a9b02ca Simplify handling of background tabs 2009-05-08 13:09:14 +02:00
Jérôme Geulfucci
bb7928303c Implement middle click on Back, Forward, Homepage menu items 2009-05-07 22:41:39 +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
Jérôme Geulfucci
5ab58b60c1 Extend menu item middle click to support trash and history 2009-05-05 23:22:39 +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
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
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
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
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
5a43b646b5 Add midori_browser_get_for_widget_utility function
This function will look for a MidoriBrowser according to a
particular widget - even if it's inside a detached panel
window or any other window transient for the browser.
2009-04-23 04:10:38 +02:00
Christian Dywan
758434e711 Add midori_browser_foreach to iterate over all present browsers 2009-04-22 21:53:14 +02:00
Christian Dywan
ca8d181329 Unify opening URIs externally with good fallbacks 2009-04-20 19:10:13 +02:00
Christian Dywan
192084d48e Unify how search URI and keywords are combined
This handles the presence of a %1 and encoding the keywords.
2009-04-20 00:39:36 +02:00
Christian Dywan
7ae35d62ab Show a 'Delete all' button in the transferbar as needed
The button shows up as a new download starts and vanishes again
if no downloads are there.
2009-04-19 19:05:05 +02:00
Christian Dywan
d7d6edbff3 Percent encode search terms, so '+' actually ends up as a '+' 2009-04-19 00:47:02 +02:00
Christian Dywan
52084a21e1 Add a preference Search engines in location completion
It seems that deletion of completion actions can fail, which means
that the actions remain until the next restart. It is not clear
how to fix this.
2009-04-18 23:26:54 +02:00
Christian Dywan
18b66ce7d1 Allow marking a search engine as Default engine
The default engine is used when search terms are typed in the
address entry without tokens and for the 'Search the Web' item
in the selection context menu.

The 'Location entry search' is removed from the preferences. The
setting 'location-entry-search' remains functional however.
2009-04-18 22:41:37 +02:00
Christian Dywan
a9863cfb40 Add News Aggregator preference
The program set here is called if the user clicks on the news feed
icon, with the address of the current website as argument.

For example liferea-add-feed works like that.
2009-04-14 19:44:48 +02:00
Christian Dywan
0d1fd5794d Use mnemonic in "Clear private data" button 2009-04-13 23:35:31 +02:00
Christian Dywan
c27642e912 Display the news feed icon again
The code for looking up news feeds on websites was disabled
and is now back in simplified form. 'liferea-add-feed' is
hardcoded for the moment.
2009-04-13 22:40:57 +02:00
Christian Dywan
94c1d3c713 Implement "-a" or "--app" to run web apps
At the moment this takes an URI and opens a standalone window
with a non-editable toolbar and a statusbar.
2009-04-13 04:38:01 +02:00
Christian Dywan
1038ee41a3 Don't touch the ythickness of the notebook
This allows the active tab to visually move above other tabs. The
drawback is that it makes all tabs somewhat larger.
2009-04-12 21:57:20 +02:00
Christian Dywan
81d67d3c2e Don't show the progressbar if the location shows progress 2009-04-12 14:09:06 +02:00
Christian Dywan
50f078575b Show search engines as "actions" in location completion 2009-04-11 22:24:56 +02:00
Christian Dywan
592e55c59b Use progress and icon GtkEntry features with GTK+ 2.16 2009-04-11 07:05:28 +02:00
Christian Dywan
a9ea07389a Implement Clear Private Data dialogue 2009-04-11 05:14:53 +02:00
Christian Dywan
deb92e5158 Add an 'Add new folder' menu item to Bookmarks menu 2009-04-10 22:28:36 +02:00
Christian Dywan
3eae091ebb Only print if the browser is visible 2009-04-05 11:28:42 +02:00
Christian Dywan
86292d26f9 Check if we really have a view, it might be invisible 2009-04-01 23:53:45 +02:00
Christian Dywan
b2d14b5fc1 Remove inner border from the panel and leave it to child widgets 2009-04-01 20:44:34 +02:00
Christian Dywan
d14b65563a Save files which are opened immediately to the temporary folder 2009-03-31 21:19:48 +02:00
Christian Dywan
b083c5bbd0 Optimize array iterations in the browser 2009-03-31 21:19:18 +02:00
Christian Dywan
3a36d27d6f Add BookmarkAdd to dummy menu items
This fixes a warning about an accelerator and in some cases
even a crash when opening the bookmarks menu.
2009-03-28 21:00:11 +01:00
Enrico Tröger
f34223e55d Only append separator to bookmarks if the array isn't empty 2009-03-28 20:57:42 +01:00
Christian Dywan
fce6761870 Save tab reordering to the session 2009-03-24 23:54:37 +01:00
Christian Dywan
50690c89e6 Add add-download signal to MidoriBrowser 2009-03-22 15:24:40 +01:00
Christian Dywan
d9f2cf492b Reduce the width of individual download items 2009-03-21 20:17:23 +01:00
Christian Dywan
e5d1f36561 Provide a Clear button for cancelled downloads 2009-03-21 20:08:37 +01:00
Christian Dywan
9e76f7e072 Move download dialog to the view and don't show an error page
We have to handle the dialog when the MIME type is requested,
otherwise we don't know the type. Plus we stop the loading now
to avoid seeing an error page.
2009-03-21 15:06:57 +01:00
Christian Dywan
9be395fe9e Implement the 'open' button in the download dialog 2009-03-21 10:46:25 +01:00
Christian Dywan
42027c256b Show a dialog before downloading asking what to do 2009-03-21 00:40:03 +01:00
Christian Dywan
81717cc965 Remove items from the transferbar when they are opened 2009-03-21 00:11:29 +01:00
Christian Dywan
feed868ec2 Implement opening of downloaded files 2009-03-21 00:08:22 +01:00
Christian Dywan
99fc5f2e4a Allow showing/ hiding the transferbar 2009-03-20 23:55:38 +01:00
Christian Dywan
7af8baee8b Initial support for WebKitDownload
At this point all downloads run automatically and appear in the
statusbar. The destination folder can be chosen in the preferences.
Download can be cancelled. The context menu works as well.
2009-03-19 18:28:50 +01:00
Christian Dywan
bbaa0fb9e6 Implement source view with GIO and drop internal source view
We use GIO to choose a text editor unless a text editor was
specified in the Preferences. We drop our internal source view
now which used to serve as a fallback.
2009-03-17 21:35:05 +01:00
Christian Dywan
13dc1502c8 Use gtk_show_uri, GIO or Exo to open email adresses 2009-03-16 01:21:59 +01:00
Christian Dywan
1af23afbe8 Implement Last Visited Pages menu and toolbar item
We use the name of history folders now to store dates instead
of the token. This makes it possible to show history in an action.
2009-03-07 14:00:14 +01:00
Christian Dywan
1fb5222a3f Fix zooming, and make Zoom Normal work again 2009-03-05 22:45:34 +01:00
Christian Dywan
e12716c917 Update copyright year in --version and about dialog 2009-03-01 21:00:06 +01:00
Christian Dywan
dc357a40aa Use the date format of the user locale to display history dates 2009-02-28 23:03:23 +01:00
Christian Dywan
8ec0e53441 Check for settings and views more properly
These improvements were assisted by a test case that is
going to follow soon.
2009-02-28 14:05:01 +01:00
Christian Dywan
68f00fb31c Add function to obtain the action group of the browser 2009-02-28 04:15:16 +01:00
Christian Dywan
9c4d3ea62a Implement Encoding menu 2009-02-27 23:09:36 +01:00
Christian Dywan
0ddf1bd1b2 Implement 'Open all in Tabs' for bookmark folders and history 2009-02-27 21:52:51 +01:00
Matthias Kruk
1f00d2ed14 Remove any left timeouts if the browser is destroyed 2009-02-24 22:59:18 +01:00
Christian Dywan
69aa3bfdd9 Enable changing the containing folder of bookmarks 2009-02-24 00:17:21 +01:00
Christian Dywan
94532ab9f8 Add a button to change the alignment to the panel 2009-02-22 19:23:45 +01:00
Christian Dywan
e354f8e17b Fix highlighted matches in 'typing' mode 2009-02-22 16:17:32 +01:00
Christian Dywan
9662e99354 Do not actually search less than 3 characters in 'typing' search 2009-02-22 16:12:58 +01:00
Christian Dywan
30729676db Flip the toolbar of the panel as well when aligning it to the right 2009-02-22 16:03:08 +01:00
Christian Dywan
2347045245 Cancel 'typing' search when the entry loses its focus 2009-02-22 15:36:41 +01:00
Dale Whittaker
0d1a1edaaa Save the normal window size, not the maximized size 2009-02-22 14:42:27 +01:00
Christian Dywan
ba9d7d48e5 Fix browser properties along with enabling the property test 2009-02-22 14:38:28 +01:00
Christian Dywan
ca8d22b9b4 Implement "right-align-sidepanel" to align the panel on the right 2009-02-22 03:51:10 +01:00
Christian Dywan
cbe3e75e80 Add a "New folder" button to the bookmark panel 2009-02-22 03:11:40 +01:00
Christian Dywan
f022a72a42 Focus the web view after cancelling an inline find 2009-02-22 02:47:30 +01:00
Christian Dywan
440e3cf72b Hide find options and close button in 'typing' search 2009-02-22 02:34:21 +01:00
Christian Dywan
fb48e0c647 Actually search after every character in 'typing' search 2009-02-22 02:17:58 +01:00
Christian Dywan
51c6fb1cdf Implement a primitive find-as-you-type 2009-02-22 01:45:22 +01:00
Christian Dywan
758d5e1a1b Add a missing check whether 'settings' are set 2009-02-22 00:12:18 +01:00
Christian Dywan
3d42b7453a Load documentation as a proper file:// URI 2009-02-22 00:04:28 +01:00
Christian Dywan
3b9c63937c Refactor History panel into a separate class
This brings back the problem of address and title of items
showing up in the history unfortunately.

Now the history items are appended rather than prepended,
we probably want to fix that in the future.
2009-02-21 23:59:02 +01:00
Christian Dywan
e727e714da Add a Preference Show progress in location entry
Disabling the preference will suppress the progress bar inside
the location entry and also prevent the navigationbar from
showing up during loads if it was otherwise hidden.
2009-02-11 23:41:09 +01:00
Christian Dywan
77c04066c1 Fix "%d days ago" to be translated again 2009-02-01 19:08:53 +01:00
Christian Dywan
5ad8c7eb0b Refactor bookmarks panel into a separate panel widget 2009-01-31 04:09:35 +01:00
Christian Dywan
badc48c1fd Support separators in navigationbar and bookmarkbar 2009-01-29 00:56:07 +01:00
Christian Dywan
7d3ac8fa37 Move {sokoke,katze}_tree_view_get_selected_iter proper 2009-01-28 01:08:51 +01:00
Christian Dywan
181aa10b9d Integrate Midori with Maemo, use a Hildon window and adjust the interface
To make Midori play nicely with Maemo the menubar is now integrated, we
have a service file, a specific toolbar layout, no statusbar and icon styles.

The changes are applied if hildon is available, and can of course be
manually enabled or disabled.
2009-01-27 02:57:40 +01:00
Christian Dywan
6b2d8df6af Instead of adding multiple same history items, update the original item 2009-01-26 03:43:59 +01:00
Christian Dywan
2323c57d7e Save size and panel position with a delay of 5 seconds 2009-01-26 00:54:12 +01:00
Christian Dywan
d6cdac4072 Unmark the matches when hiding the findbar again 2009-01-24 22:15:37 +01:00
Nick Schermer
808a03136d Open or focus Inline Find on activation, close it with Escape 2009-01-24 15:34:31 +01:00
Nick Schermer
af610d48e4 Fix 32bit build after the history changes 2009-01-24 15:02:06 +01:00
Dale Whittaker
fb2a962ad4 Store the 'day' of history items to reduce even more calls to localtime
By storing the timestamp of the day in the database we can significantly
reduce the calls to localtime, which should result in a noticible
speedup.

We are changing the database format. For the convenience of the user
the code automatically converts from the old format.
2009-01-23 22:38:39 +01:00
Christian Dywan
89a205bd59 Remember the last window state, ie. whether Midori was maximized or minimized 2009-01-20 23:27:19 +01:00
Christian Dywan
92fd37ad61 Remove panel pages implicitly as viewables are destroyed
For this to work smoothly, from now on the browser destroys the
panel eary, as it does with the tabs, and the panel in turn
destroys its pages early.
2009-01-20 22:17:04 +01:00
Christian Dywan
0255edba43 Save toolbar changes via the menu and remove the Toolbar Items entry 2009-01-18 04:38:46 +01:00
Christian Dywan
60fd9b19d1 Items can be added via the new toolbar menu now 2009-01-18 03:58:05 +01:00
Christian Dywan
2f63822b60 Implement a not yet functional menu for adding and removing tool items 2009-01-17 23:56:23 +01:00
Nick Schermer
ac707d6f43 Correct capitalizations in Help menu and Inline Find 2009-01-16 05:50:01 +01:00
Nick Schermer
f02f9fd118 Make property strings static to save some memory 2009-01-16 05:19:43 +01:00
Nick Schermer
6448ad3386 Open new tabs by double or middle clicking on the tabbar 2009-01-13 20:50:17 +01:00
Nick Schermer
a82dfb3f40 Add 2px space between tool buttons 2009-01-12 21:52:33 +01:00
Dale Whittaker
6753a9ade3 Store history dates in 'token' to avoid locatime() and revamp deleting
Loading history items used to involve frequent calls to
localtime() and g_memdup(). We avoid this by storing the
date strings in parent items now, which can even be used to
display items in the treeview.
Deleting of treeview items was also reworked so it should
work from menu items and the panel.
2009-01-11 19:30:43 +01:00
Nick Schermer
b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan
6bb3fb442e Various string changes and additions 2009-01-04 19:25:48 +01:00
Christian Dywan
dcd6714d23 Don't use GJS types here, it isn't actually used 2009-01-01 04:05:26 +01:00
Christian Dywan
5d7dc29842 Allow choosing a folder when adding a bookmark 2009-01-01 03:52:43 +01:00
Christian Dywan
995be8e6da Clean up handling of bookmarks like the history before 2008-12-21 20:44:31 +01:00
Christian Dywan
b8c2139d3f Revamp clearing of the history 2008-12-21 19:21:04 +01:00
Christian Dywan
2b188c4743 Don't connect to search buttons twice, and fix a pixbuf leak 2008-12-18 21:15:05 +01:00
Enrico Tröger
88c7fbbb98 Allow adding separators to the navigationbar 2008-12-17 22:17:36 +01:00
Christian Dywan
2c1f0574a6 Remove a hack which lead to a crash after the last change 2008-12-15 20:43:05 +01:00
Dale Whittaker
0fb55faf37 Actually remove history items with the Delete tool button 2008-12-15 20:12:51 +01:00
Christian Dywan
58b40bce38 Optimize location action, so Midori starts up twice as fast 2008-12-12 21:06:33 +01:00
Christian Dywan
dc5ecc5f72 Respect menubar visibility when restoring from fullscreen 2008-12-06 04:53:30 +01:00
Christian Dywan
cc329ec706 Support opening of new windows
The preference determining where to open those windows
is not currently honored, so everything goes in a new tab.

Incidentally compile time checks guarding the web inspector
are replaced with runtime checks here, and the same
approach is used for the create-web-view signal. The
features are used if available.
2008-12-03 04:16:19 +01:00
Christian Dywan
2bc42bfd8d Remove the page holder from the core 2008-11-25 23:55:54 +01:00
Christian Dywan
d00ff95058 Provide MidoriPane interface for use with MidoriPanel 2008-11-24 01:41:45 +01:00
Christian Dywan
4b06ec3c1f Replace window-object-cleared with context-ready
Introduce MidoriBrowser::load-status and also
midori_view_execute_script while we are at it.
2008-11-23 05:22:58 +01:00
Christian Dywan
5a2f5b9b12 Fix clipboard menu items and do some tidying 2008-11-23 01:44:40 +01:00
Christian Dywan
fdb12aa537 Move transfers, console and addons out of the browser 2008-11-20 03:49:57 +01:00
Christian Dywan
03ffd05e0a Do not load icons other than in tabs 2008-11-20 01:41:58 +01:00
Brian Vuyk
dc59d66eb9 Print file saving errors to the standard output 2008-11-18 23:18:53 +01:00
Christian Dywan
58cb93d900 Use katze_object_get_foo instead of sokoke_object_get_foo 2008-11-18 23:10:21 +01:00
Christian Dywan
33804965a1 Expose browser notebook and panel as properties 2008-11-18 02:02:59 +01:00
Christian Dywan
24ca48cc1e Move variable declarations to the beginnings of blocks 2008-11-16 02:00:17 +01:00
Enrico Tröger
c49ed67ab0 Correct usage of datatypes in a number of places 2008-11-16 01:04:12 +01:00
Brian Vuyk
e019c677bb Arrange file saving for error handling to fix warnings 2008-11-16 00:10:39 +01:00
Brian Vuyk
0b16997f1a Fix some compiler warnings 2008-11-12 02:15:52 +01:00
Christian Dywan
9e997e4c90 Update location icon even if it's not in the history 2008-11-11 00:51:28 +01:00
Christian Dywan
38c6ad5dad Implement Save As for arbitrary links 2008-11-09 22:07:42 +01:00
Christian Dywan
9e79f6ba14 Move around history loading in MidoriBrowser 2008-11-09 19:26:48 +01:00
Christian Dywan
3c450ebc97 Introduce descriptive comments meant to help translators
intltool automatically embeds comments in the po template
if they are directly before a translatable string. From
now on we will try to avoid leaving accidental comments
and instead put descriptive comments for translators
before strings, starting with 'i18n'.
2008-11-08 03:05:30 +01:00
Dale Whittaker
0246eeb124 Implement sorting location items by the number of visits
For the moment, a define in the code decides whether items
are sorted based on when they were added or how often
a page was visited. The 'visits' property and respective
database column is unused (we keep it for compatibility).
It turns out it's enough to store that information in
the tree model.

The visit based sorting is not enabled because it is
simply delaying startup incredibly. It will have to be
decided whether to introduce a preference, or always use
a visited based sorting once the startup delay is fixed.

History items are also deleted from the tree model now
if they are too old, according to the preference.
2008-11-08 02:39:45 +01:00
Christian Dywan
9e9365a221 Small adjustments to the History panel
Based on suggestions by Dale
2008-11-06 01:32:42 +01:00
Christian Dywan
dbcfce4197 Improve strings for the sake of better localization 2008-11-03 00:17:43 +01:00
Christian Dywan
96ddc8ae0a Initial support for the Web Inspector 2008-11-01 19:15:58 +01:00
Christian Dywan
d8edb2f05d Marge some more of history and bookmark handling 2008-10-31 01:38:18 +01:00
Christian Dywan
0a65f30926 Refactor bookmark context menu, apply it on the bookmarkbar 2008-10-30 02:19:52 +01:00
Dale Whittaker
973b149c5e Allow adding bookmarks from history items 2008-10-29 03:43:08 +01:00
Christian Dywan
4a3501a279 Share net between browser and views 2008-10-27 04:23:41 +01:00
Dale Whittaker
70516f1f5b First stab at integration history with the location
For starters, the location contains items from the
history and not only from the current session.
2008-10-27 03:12:09 +01:00
Christian Dywan
23e784922e Revamp bookmarkbar items based on KatzeArrayAction
Some refactoring in KatzeArrayAction and the addition
of a function to create arbitrary bookmark tool items
allows us to easily revamp the bookmarkbar so that
it finally reflectls changes to the bookmarks,
including adding and removing items.
2008-10-26 22:22:26 +01:00
Enrico Tröger
7a7353e6fd Implement middle click on bookmarkbar items 2008-10-26 18:39:06 +01:00
Christian Dywan
819bcd6444 Implement Save As functionality 2008-10-26 17:07:59 +01:00
Christian Dywan
b931e1bf53 Improve OSX adjustments in various places 2008-10-26 00:54:57 +02:00
Dale Whittaker
307050c42a Display relative dates in History panel 2008-10-24 01:35:34 +02:00
Enrico Tröger
5e8887a699 Preserve extensions for viewing source files 2008-10-24 01:15:43 +02:00
Christian Dywan
5c69e0269d Implement KatzeNet as a generic URI loader
KatzeNet can from now on be used where
URIs are handled and one would have used
libSoup and/ or local file handling as
appropriate, whereas KatzeNet does both.

Since we are displaying icons in several
places KatzeNet also provides an icon
loader that saves us from doublicating
even more code.

All bookmarks and also history items have
icons now, since KatzeNet makes that
incredibly easy.

Search engines are also using favicons
now, and right now custom icons don't
work, we still need to fix that.

Note that only icons are cached, nothing
else and the code is known to have a
hidden, hard to reproduce crasher which
may appear when an icon is newly loaded.
2008-10-24 00:09:12 +02:00
Christian Dywan
bd111d485c Show all of Toolsbars in the toolbar context menu 2008-10-22 00:28:49 +02:00
Christian Dywan
9ba3f59ff7 Show progress in location independant of statusbar visibility 2008-10-22 00:26:20 +02:00
Christian Dywan
62d7a7d0b4 Add Compact sidepanel Preference 2008-10-22 00:01:01 +02:00
Christian Dywan
74a34277e0 Add source view icons to the location 2008-10-20 22:25:51 +02:00
Christian Dywan
df12b9acb9 Implement View source with external Text editor 2008-10-20 21:32:25 +02:00
Christian Dywan
2fccaa1bea Add an Open external pages in Preference 2008-10-20 08:50:16 +02:00
Christian Dywan
e848d1df6e Require Gtk 2.10 and don't treat GIO specially anymore 2008-10-20 00:41:52 +02:00
Christian Dywan
7f8fc2b31d Implement viewing source with libsoup 2008-10-20 00:13:41 +02:00
Christian Dywan
567e402eaa Make the pageholder work again 2008-10-19 00:15:02 +02:00
Christian Dywan
8ad5649422 Assign Settings to source views 2008-10-18 21:56:53 +02:00
Christian Dywan
5ec06f6d2e Add UndoTabClose to the Dummy menu 2008-10-17 23:53:20 +02:00
Christian Dywan
d53ef7c92f Show toolbar menu when right-clicking the menubar 2008-10-17 23:30:31 +02:00
Christian Dywan
741c5b953a Properly create unfullscreen button with the toolbar 2008-10-17 23:18:56 +02:00
Christian Dywan
7b82ccc139 Open all bookmarks in the current tab 2008-10-17 23:15:37 +02:00
Dale Whittaker
49a4b00b71 Implement number of days history is saved
Note that this will 'break' any existing history
and all dates will suddenly jump the beginning
of the unix epoch.
2008-10-16 01:31:47 +02:00
Christian Dywan
58255d19aa Do not localize object properties, except WebSettings
Property name localization is only useful if the
strings are meant to be used in a user interface,
such as is the case with WebSettings, or for
graphical interface builders, which are not of
our concern, since we don't use Glade and friends
and nobody else is going to use our widgets.

In short, make translation work much easier.
2008-10-15 03:32:11 +02:00
Christian Dywan
7597e2026d Undo tabs-in-processes, it didn't work out
We are not literally undoing in the sense of
reverting, this is actually about undoing
the individual parts of the last refactoring
that implemented the socket/ plug logic.

As turned out, the idea was nice but the
implementation was absolutely not, embedding
of processes in a graphical way is not
at all reliable enough for complex use cases.

Naturally this change should solve all sorts
of peculiar issues, including actual
regressions in functionality. Relieving.
2008-10-15 03:07:38 +02:00
Christian Dywan
d72579711c Implement the Remeber last visited pages preference 2008-10-13 18:29:46 +02:00
Christian Dywan
36a99b9d22 Allow hiding the menubar and showing it again 2008-10-12 22:09:49 +02:00
Christian Dywan
552854c11f Keep otherwise unused actions in a Dummy
This is needed for accelerators to work even
if the according actions are not part of the
permanent UI description.
2008-10-12 21:44:00 +02:00
Christian Dywan
91ea115171 Create navigationbar from a string of actions 2008-10-12 18:25:26 +02:00
Dale Whittaker
77a813dba2 Show a dialog before clearing the history
Plus you can now remove history items with Del.
2008-10-10 23:19:37 +02:00
Christian Dywan
06aa03c6a6 Prevent blank pages from landing in the trash
This actually used to work but meanwhile the
definition of a blank view changed.
2008-10-10 22:50:56 +02:00
Christian Dywan
e1b828edf2 Finish refactoring the toolbar to use only actions
Finally the trash, which was the last item that
needed to be implemented as an action, is an
action, a KatzeArrayAction to be exact.

This simplifies more code and also makes Window
and RecentlyVisited generically implementable.

Incidentally this change also fixes a bug where
the browser tried to add a new tab when the last
one was closed, even while destroying itself.

Furthermore sokoke_image_menu_item_ellipsized
and sokoke_widget_popup were promoted to Katze.
We're still keeping the old functions for now.
2008-10-10 22:31:37 +02:00
Dale Whittaker
d445745787 Implement navigation history backed by sqlite
The implementation relies on KatzeArray for the
most part and only does the storage with sqlite
behind the scenes. The change includes a working
History panel. Changes to the database are
committed in realtime.
2008-10-07 02:19:33 +02:00
Christian Dywan
ba6386850e Implement the search widget as an action
The most part of the search entry code is merely
moved to the new action. We remove the original
entry now, the action is all we need.
2008-10-05 23:25:02 +02:00
Christian Dywan
aa5602ec9e Add Always Show Tabbar preference 2008-10-04 01:45:17 +02:00
Christian Dywan
f7436303f6 Move Find items to Edit again 2008-10-04 01:00:34 +02:00
Christian Dywan
5eb74b6bf3 Connect Help in Preferences to HelpContents 2008-10-04 00:46:54 +02:00
Christian Dywan
8953a9b26b Integrate documentation, bug tracker and website 2008-10-03 22:23:00 +02:00
Christian Dywan
37aca287b4 Remove a few still unimplementable items
Remove Page setup, Print preview, Undo, Redo
and Tab overview. We still can't implement any
of these items, so let's just keep focussing on
what we *can* implement.
2008-10-03 03:42:18 +02:00
Christian Dywan
95111a054c Reimplement missing preferences
Implement font properties, web features,
Middle click opens selection,
Open tabs in the background and proxy.

While we are at it, remove Tab label size.
2008-10-03 00:49:16 +02:00
Christian Dywan
fb320cc0b6 Finally obsolete KatzeXbelItem 2008-10-01 04:00:16 +02:00
Christian Dywan
b41c13b8fa Make Find work again, and disable it for source tabs 2008-09-28 16:29:41 +02:00
Christian Dywan
b76b0fa04e Remove Manage Bookmarks item 2008-09-26 23:39:39 +02:00
Christian Dywan
62838fdf58 Implement tabs in individual processes
The approach is rather plump, Midori can be
run in a plug mode that creates a GtkPlug,
while the normal instance knows how to embed it.

Communication between browser and tabs is
done via named pipes which are portable.

The feature is not complete right now, there
are expected regressions, but it works.

As a bonus, we implement Not found pages.
2008-09-26 23:30:52 +02:00
Christian Dywan
ea2daa62de If there's no statusbar, force location visibile for progress
The idea is that if you hide the statusbar and the
location you don't usually need it, but progress
is something you are still interested in. So show
the navigationbar during progress changes and hide it
normally otherwise.
2008-09-11 02:14:53 +02:00
Christian Dywan
f72f48542b Enable Help > Contents to open the FAQ on the web. 2008-09-07 22:41:03 +02:00
Christian Dywan
30cbc635d6 Ellipsize menu items referring to websites or bookmarks.
Originally menu items could in some cases become as wide as
the whole screen, making working with menus rather hard.

Now we ellipsize at 50 characters in the middle of the string.
2008-09-07 03:39:25 +02:00
Christian Dywan
1d047c4ab5 Factor out katze_xbel_folder_from_data_dirs and _to_data 2008-09-04 00:35:15 +02:00
Christian Dywan
131b911ab5 Rename main.h to midori-stock.h 2008-09-03 02:39:25 +02:00
Christian Dywan
c3f50388a1 Make bookmarks a property of browser and app
This means we have removed the last remaining
global variable.
2008-09-03 02:28:54 +02:00
Dale Whittaker
8025d129a1 Alt + Enter in the location should issue a new tab 2008-08-31 03:21:29 +02:00
Christian Dywan
cad440fa33 Show progress in location entry if statusbar is hidden 2008-08-31 02:45:13 +02:00
Christian Dywan
6dc95a7a9c Refactor a lot of tree view selection code into convenience 2008-08-29 03:20:31 +02:00
Christian Dywan
be4038e555 Remove GIO HTTPS check again, it's not worth the trouble
Apparently lots of users cannot use Midori
after this change and with no way to track down
the cause of the issue, let's just not use this.
The check was only for minimal gain anyway
2008-08-28 00:55:35 +02:00
Arnaud Renevier
db599a99d5 Always show the icon in the Web Search entry 2008-08-26 01:59:02 +02:00
Christian Dywan
bf28e1097b Rework MidoriWebList into KatzeList and KatzeArray 2008-08-26 01:19:38 +02:00
Christian Dywan
1dfebf6c7f Use the right index for Undo Close Tab. 2008-08-24 03:05:00 +02:00
Christian Dywan
74a587f5e8 Use #if instead of #ifdef consistently 2008-08-23 23:44:55 +02:00
Christian Dywan
af2e90a4b1 Rename MidoriWebItem to KatzeItem 2008-08-23 18:32:53 +02:00
Christian Dywan
0fa0e9c342 Use HAVE_GIO instead of a full-blown version check 2008-08-22 04:01:41 +02:00
Christian Dywan
e62ca7a8c0 Don't implicitly change the URI when adding to LocationAction 2008-08-21 21:49:16 +02:00
Christian Dywan
9bf1b23feb Implement the Userstyles Addon panel 2008-08-18 01:24:26 +02:00
Christian Dywan
b9e19d79d6 Enable View Source only if GIO really supports HTTP 2008-08-17 19:11:43 +02:00
Christian Dywan
85dea9aa44 Use fallbacks for all icons, we don't want "broken" icons 2008-08-17 16:14:15 +02:00
Christian Dywan
80251606ff Use Ctrl+Shift+T for Undo Close Tab 2008-08-15 20:48:30 +02:00
Christian Dywan
13dc575968 Introduce Open Tabs next to Current
At the same time make Open popups in tabs readonly
and hide it in the Preferences, as well as
Open new pages in and the whole Privacy page.
2008-08-15 20:38:27 +02:00
Christian Dywan
6ab8bd6fd8 Fix Glib/ GtkSoureview conditionals 2008-08-15 02:50:18 +02:00
Christian Dywan
42095e3aa4 Don't use the wrong Trash callback 2008-08-15 02:18:33 +02:00
Christian Dywan
8dbd06ce47 Implement MidoriLocationAction
This is a step towards customziable toolbars.

The new action actually provides a nicer API than
MidoriLocationEntry does right now. Later we
should improve the widget itself as well.

There are still to resolve regressions:
- The location icon tends to be initially empty
- The news feed icon doesn't show up
- Tab icons sometimes load and reset again afterwards
2008-08-15 01:57:48 +02:00
Christian Dywan
6e910ee107 Create context menu items w/o accelerators 2008-08-10 19:54:22 +02:00
Christian Dywan
b38e3f429e Wrap _has_selection with a check if it is effectly empty 2008-08-10 19:22:34 +02:00
Christian Dywan
323cf2458d Hide the navigationbar initially
We need to make sure that the navigationbar
is initially invisible, so we hide it expressly.
Otherwise it shows up regardless of the
show-navigationbar setting.
2008-08-10 18:28:08 +02:00
Arnaud Renevier
cb0dd889e0 Use mnemonics in panel menu items 2008-08-10 14:17:21 +02:00
Christian Dywan
c04db2dd71 Remove small toolbar option completely, leave it to gtkrc 2008-08-05 02:40:51 +02:00
Christian Dywan
18e1cd7e74 Reuse the trashed item and remove it from the trash properly 2008-08-02 05:29:38 +02:00
Christian Dywan
e971c12c0b Show news feeds in a menu if the icon is clicked 2008-08-02 04:25:05 +02:00
Christian Dywan
68fe5e05e1 Use icons for Script and Extension 2008-08-01 15:49:47 +02:00
Christian Dywan
6f3f0f9d3d Build fix for < Gtk 2.12 and Glib < 2.16 2008-07-28 00:21:45 +02:00
Christian Dywan
2cb278cdb3 Add Midori and news-feed icons, improve waf scripts
Add small, optimized application icons and an all new
news-feed icon including optimized versions. The build
scripts are updated, and the data folder renamed to icons.
Plus the wscript_build is improved. Of course, Midori
now tests the icon theme for news-feed and uses it.
2008-07-27 07:39:39 +02:00
Christian Dywan
549310a7cd Ensure REMOVE_TAB emission, don't alter session when destroying 2008-07-25 12:45:50 +02:00
Christian Dywan
3301b37803 Save the session whenever it changes, instead of on quit. 2008-07-23 20:17:13 +02:00
Christian Dywan
5e66e09c00 Make statusbar children fit in better 2008-07-23 18:23:21 +02:00
Christian Dywan
28141e8bac Revamp the loading signals of MidoriWebView 2008-07-23 17:54:24 +02:00
Christian Dywan
6be7e2ec92 Remove inner border between scrollbars and window border 2008-07-23 14:42:27 +02:00
Christian Dywan
6dba8bb33b Highlight the Clear icon in the findbar 2008-07-22 14:53:25 +02:00
Christian Dywan
2e60726c74 Make tabs with close buttons as small as without 2008-07-22 14:48:30 +02:00
Christian Dywan
e7024a7060 Correct icon handling, which could cause warnings 2008-07-22 02:17:03 +02:00
Christian Dywan
7e8119e5f6 Toggle ZoomReset as the zoom level changes 2008-07-22 01:51:08 +02:00
Christian Dywan
4580486d36 Use notify::title instead of title-changed 2008-07-22 01:39:29 +02:00
Christian Dywan
15f4ab98d4 Make the web view aware of news feeds
This introduces the logic needed to lookup news feeds
and implements a signal news-feed-ready in MidoriWebView,
similar to icon-ready.
The interface in the browser still needs to be done.
2008-07-21 15:55:08 +02:00
Christian Dywan
4f0f228dc4 Load favicons asynchronously 2008-07-19 04:06:10 +02:00
Dale Whittaker
efb148f58e Introduce MidoriLocationEntry and GtkIconEntry 2008-07-17 21:02:14 +02:00
Christian Dywan
9ba5513934 Avoid loading favicons unless we need to 2008-07-17 19:15:36 +02:00
Christian Dywan
05426deadb Reverse Open tabs in the background with Ctrl 2008-07-16 18:08:47 +02:00
Enrico Tröger
31fa4004ae Preliminary fix for crash after removing a bookmark 2008-07-16 14:24:30 +02:00
Christian Dywan
87f5ce1c55 Ensure SourceView really works with a valid file. 2008-07-15 00:36:26 +02:00
Christian Dywan
aecac9b748 Fix tab closing for good 2008-07-14 21:14:57 +02:00
Enrico Tröger
17b8738be1 Fix regression, no empty tooltips in bookmark bar 2008-07-13 23:34:25 +02:00
Christian Dywan
103df3d8cc Use GtkSourceView2 if available 2008-07-13 23:21:46 +02:00
Christian Dywan
a249a6d6f7 Conditionalize SourceView for older Glib 2008-07-13 22:09:52 +02:00
Christian Dywan
96fef89ece Actually handle non web view tabs, and a View Source tab 2008-07-13 21:49:57 +02:00