Christian Dywan
b973527239
Remove SelectionSourceView action stubs
...
The web inspector is more than good enough for inspecting select
parts of a page.
2009-12-27 17:05:40 +01:00
Christian Dywan
b45fe5cca2
Implement Next and Previous buttons and add to the default toolbar
2009-12-27 13:41:37 +01:00
Christian Dywan
3686061033
Update location icon for the correct view, and update it properly
2009-12-26 15:20:57 +01:00
Christian Dywan
112966fe67
Implement web inspector attaching/ detaching properly
2009-12-23 22:01:42 +01:00
Christian Dywan
973e4aa907
Bookmarking a link is a new bookmark, hence pass TRUE for new_bookmark
...
This used to work by accident as long as the code wasn't optimized
to avoid removing and adding existing bookmarks.
2009-12-23 15:26:34 +01:00
Alexander Butenko
045cc81b45
Use g_access instead of g_file_test consistently
2009-12-19 11:28:46 +01:00
Christian Dywan
c9da1beb1c
Fix visibility of the Statusbar action
2009-12-14 18:52:16 +01:00
Christian Dywan
a6a4f0ffec
Make sure there is an URI when spawning private browsing
...
This is mainly an issue for unit tests.
2009-12-13 15:59:54 +01:00
Christian Dywan
d2d5bf33b6
Implement context menu in menu items, forward buttons from the menubar
2009-12-13 15:44:02 +01:00
Christian Dywan
18ec1f25cb
Add primitive Private Browsing based on Midori web app mode
...
Essentially it's just an instance of Midori that doesn't load or
write any preferences or personal data. The main drawback is that
it doesn't load any extensions either.
2009-12-12 21:56:11 +01:00
Christian Dywan
e403f2259b
Don't remove edited bookmark from parent if it's at the toplevel
2009-12-12 00:14:20 +01:00
Christian Dywan
7ce27f542f
Revise populating and updating of the bookmarkbar
...
Avoid removing items except when actually newly added.
2009-12-11 23:58:21 +01:00
Daniel Michalik
d6457fd085
Check for the correct dialogue response for Save As
...
This fixes choosing Save As in file download fialogues.
2009-12-09 20:58:15 +01:00
Christian Dywan
8d3b12629c
Omit Hildon customizations in MidoriBrower that can be configured
2009-12-09 20:58:15 +01:00
Christian Dywan
a08caa02b9
Retain the visibility of the navigationbar in fullscreen mode
...
It can be hidden manually, the way it used to be in 0.2.0
2009-12-08 23:57:58 +01:00
Christian Dywan
88b720295f
Implement middle click on the bookmark button in the bookmarkbar
2009-12-07 21:14:10 +01:00
Christian Dywan
9c40d3b5ba
Handle Empty menu item in bookmarks and not in KatzeArrayAction
2009-12-05 23:58:40 +01:00
Christian Dywan
ca6174ba6c
Support RDF bookmarks, and add Epiphany to Import bookmarks
2009-12-05 23:43:12 +01:00
Christian Dywan
1fa2c95bf4
Implement reverse ordering for use in Trash and RecentlyVisited actions
2009-12-05 21:33:19 +01:00
Christian Dywan
05d9c26e37
Add Konqueror to the Import bookmarks dialogue
2009-12-05 20:14:41 +01:00
Christian Dywan
3a1b795b9e
Add Custom option to Import bookmarks dialogue
2009-12-04 02:55:08 +01:00
Christian Dywan
c7601bdb9a
Use Preferences icon for Tools if used in the toolbar
2009-12-03 00:06:53 +01:00
Christian Dywan
a35b548589
Add 'Web Cache' to Delete private data dialogue
2009-12-02 19:02:59 +01:00
Christian Dywan
2ea4ae7079
Revise handling of application paths when importing bookmarks
2009-12-02 00:39:56 +01:00
Christian Dywan
557fdda228
Try hard to open bookmarks if they have an incomplete address
2009-11-30 19:36:16 +01:00
Christian Dywan
baaca9a061
Remove Hildon specific icon and shortcut values
2009-11-30 19:36:15 +01:00
Christian Dywan
2973df0f9b
Enable Zoom and Fullscreen with hardware keys on Hildon
2009-11-29 15:09:00 +01:00
Christian Dywan
d9eb5dcec9
Build an invisible menubar in Hildon to retain hotkey functionality
...
GtkUIManager requires existing proxies for hotkeys to work at all.
2009-11-29 15:01:57 +01:00
Christian Dywan
a7ca507b3a
Don't prioritize key presses because that breaks inline find
...
This 'breaks' using single character shortcuts in conjunction
with inline find, but we can live with that.
2009-11-29 14:31:23 +01:00
Christian Dywan
dd97edf856
Refactor compact add and error message dialogues
2009-11-29 14:09:29 +01:00
Christian Dywan
5a65ed6253
Optionally open panels in standalone windows by default
2009-11-29 14:09:29 +01:00
Christian Dywan
2ace79c85a
Replace Bookmarks with Tools in the Hildon toolbar layout
2009-11-29 14:09:28 +01:00
Christian Dywan
7d89c3c357
Don't capitalize bookmark addresses automatically on Hildon
2009-11-29 14:09:28 +01:00
Christian Dywan
1d68dc9fb7
Implement and optimize for portrait mode support for Fremantle
...
Listen to accelerometer movement.
Hide tool items in portrait mode.
Omit Homepage and View Source from app menu.
Include Compact Add, View Source and Fullscreen in context menu.
Hide buttons in portrait mode in preferences.
2009-11-29 14:09:28 +01:00
Christian Dywan
ffee6e3850
Open bookmarks from the panel as apps or internal consistently
2009-11-26 23:16:07 +01:00
Christian Dywan
d02d1db97f
Support tel:, callto: and refactor MIME supporting (including Hildon)
2009-11-24 23:54:29 +01:00
Christian Dywan
3b573328cc
Only show bookmarks in the toolbar which are marked as such
2009-11-23 20:46:00 +01:00
Christian Dywan
99ff111e69
Show a popup menu to choose from multiple available news feeds
2009-11-22 20:40:21 +01:00
Christian Dywan
21f7bd7c68
Display application icons in the Import bookmarks dialogue
2009-11-22 05:12:13 +01:00
Christian Dywan
641c37a8de
Add Kazehakase to the applications to import bookmarks from
2009-11-22 05:12:13 +01:00
Christian Dywan
6ed99001fc
Check that new-window did return a browser before adding a tab
2009-11-21 06:45:01 +01:00
Christian Dywan
83dbe3417f
Only prefill inline find entry if there is actually a selection
2009-11-21 06:42:16 +01:00
Christian Dywan
0af9c0cc9d
Bail out of BookmarksImport action if no bookmarks or hidden browser
2009-11-21 06:39:18 +01:00
Christian Dywan
3253f1605a
Only set search in the browser if we have any search engines
...
This fixes the test case which broke when we made settings obligatory.
2009-11-21 06:36:35 +01:00
Christian Dywan
34e02640cf
Do not treat URIs passed externally like files, pass them as they are
2009-11-21 02:35:14 +01:00
Christian Dywan
18526f2ac6
Implement 'Run as web application' option on bookmarks
...
If enabled, the bookmark will run as a standalone process by default.
2009-11-18 23:10:47 +01:00
Christian Dywan
104a2712f8
Open pages from the trash as foreground tabs
...
This is the same behaviour as Undo close tab shows.
2009-11-18 20:08:54 +01:00
Christian Dywan
83f07d7de9
Allow reloading regardless of whether a load is already in progress
2009-11-18 19:36:37 +01:00
Christian Dywan
3fc0c192fd
Support new GtkStatusbar layout and the old layout
2009-11-17 19:18:14 +01:00
Christian Dywan
d154158d0c
Implement "Small icons" toolbar style and preference
2009-11-17 19:18:14 +01:00
Christian Dywan
830553e85e
Add BookmarksImport action to dummy actions
2009-11-16 21:22:09 +01:00
Christian Dywan
f79bbe1eef
Prefill entry with selected text when using inline fine manually
2009-11-16 20:12:39 +01:00
Christian Dywan
308b9dd07d
Support importing bookmarks from Opera 6 bookmark files
2009-11-16 17:45:09 +01:00
Christian Dywan
fd7d778e0c
Remove sokoke_widget_popup and replace all call sites
2009-11-15 18:21:59 +01:00
Christian Dywan
c012a1e5bd
Implement importing bookmarks, from Arora XBEL only for now
2009-11-15 17:56:05 +01:00
Christian Dywan
1324c1db31
Reduce the maximum days history is saved for to a number
...
No need for a boolean flag, 0 days are just as good.
2009-11-14 22:50:21 +01:00
Christian Dywan
f212c1542b
Allow closing the last tab, while a blank tab will take its place
2009-11-14 22:50:20 +01:00
Christian Dywan
e5d8016bf4
Wrap file chooser into the function sokoke_file_chooser_dialog_new
2009-11-14 22:50:20 +01:00
Christian Dywan
ca5230d2ef
Remove remaining cases checking if browser->settings is set
2009-11-13 18:27:49 +01:00
Christian Dywan
694526704d
Omit instances of if (browser->settings)
2009-11-13 18:24:16 +01:00
Christian Dywan
8ab4123c3f
Ensure that the menubar/ compact button visibility follows settings
...
When toggling the menubar it wouldn't always update all windows
to the same state.
2009-11-13 02:18:18 +01:00
Christian Dywan
5417a4f52b
Allow hiding the menubar in Hildon, effectively disabling it
2009-11-11 23:31:54 +01:00
Christian Dywan
ae0c01705a
Swap Next Tab and Previous Tab menu items
2009-11-10 22:01:54 +01:00
Christian Dywan
cc7bc356e8
Open all links in the current tab if Open new pages in: Current Tab is set
...
There is a small flaw in that we also open all windows opened by scripts
in the current tab and we don't treat popup windows specially.
2009-11-10 22:01:54 +01:00
Christian Dywan
d0dff4dd05
Show the menubar when restoring from fullscreen and it was visible before
2009-11-09 21:49:01 +01:00
Christian Dywan
b799be5386
Hide navigationbar in fullscreen but toggle when focussed
2009-11-08 22:08:21 +01:00
Christian Dywan
04e9255a9a
Show 'Menubar' item in compact menu to toggle the menubar
2009-11-08 21:54:34 +01:00
Christian Dywan
1954b8a00c
Remove statusbar/ progressbar hacks and let it size freely
2009-11-08 14:39:46 +01:00
Christian Dywan
d0215c4032
Support keyboard hotkeys that GTK+ considers invalid
...
We re-implement the usual key handling by overriding the key press
handler, emulating the according steps but leaving out the
validation that normally rejects certain combinations.
Single key hotkeys work unless an entry is focussed, in which case
the entry receives the input, and Control+Tab works as well.
The shortcuts extension is adjusted to accept any hotkeys.
2009-11-04 14:31:16 +01:00
Christian Dywan
1b8def494d
Create actions that can have hotkeys for all panel items
...
Bookmarks have Ctrl+B by default.
2009-11-01 19:11:28 +01:00
Christian Dywan
f320e0fc5f
Preserve action visibility when adding menu items to the compact menu
2009-10-31 23:07:15 +01:00
Woo Youngho
657822c15c
Add Korean encoding to the available of character encodings
2009-10-31 22:51:35 +01:00
Christian Dywan
d550d2c520
Hide permanently unavailable actions instead of disabling them
2009-10-31 22:43:58 +01:00
Christian Dywan
3efbc1b462
Leave setting up windows to the app, which is a lot faster
...
With a mature history setting up a browser window can be slow, but
if it's setup at creation time it is extremely fast.
The signal prototype of MidoriBrowser::new-window had to change,
all call sites were adjusted.
2009-10-31 04:29:15 +01:00
Christian Dywan
f955da564b
Add 'Add Bookmark' to the available toolbar items
2009-10-28 22:54:42 +01:00
Christian Dywan
edb28df168
Don't disable ellipsizing of statusbar text
2009-10-28 22:51:21 +01:00
Christian Dywan
bda19771c3
Rearrange statusbar packing to keep themes happy
2009-10-28 20:34:39 +01:00
Christian Dywan
c9dc0c5d55
Make midori_view_get_snapshot a public function
2009-10-27 22:58:11 +01:00
Christian Dywan
552c99cd56
Show script, image and plugin options and views source in app menu
2009-10-26 18:08:54 +01:00
Christian Dywan
f28d6e78d7
Optimize inline find for mobile use
2009-10-26 02:11:09 +01:00
Christian Dywan
4b912f17de
Fix underscores in labels in app menu and compact add
2009-10-22 23:27:03 +02:00
Christian Dywan
d37194cd7a
Fix brackets around bookmark URI check
2009-10-22 23:18:23 +02:00
Christian Dywan
f3cf2561ff
Regard data: and javascript: URIs as allowed when adding bookmarks
2009-10-22 02:20:26 +02:00
Christian Dywan
1451026160
Implement app menu and progress indicator on Hildon 2.2
2009-10-14 00:48:25 +02:00
Christian Dywan
8fdb284b54
Implement Compact Add button, and readjust the Hildon toolbar
...
Actions AddNewsFeed and AddDesktopShortcut are introduced and the
toolbar layout for Hildon is changed.
Desktop shortcuts are not implemented yet.
2009-10-12 23:06:04 +02:00
Christian Dywan
406572c4fb
Be sure to focus the web view rather than the scrolled widget
2009-10-12 13:05:43 +02:00
Christian Dywan
641553d312
Use compact menu as the main menu when building for Maemo
2009-10-12 13:02:39 +02:00
Christian Dywan
ca81aeb034
Regard file:// URIs as valid for bookmarks
2009-10-06 20:40:43 +02:00
Christian Dywan
7aaf59ec9a
Format addresses nicely, with no percents and no punycode
2009-10-05 20:50:08 +02:00
Christian Dywan
b53c39b82e
Remember text typed in the location when switching tabs
...
The API of the location action is adjusted so that any typed
text can be retrieved, distinguished from a confirmed URI.
2009-10-04 02:32:50 +02:00
Christian Dywan
255018aeaa
Do not add history items for URIs that were visited on the same day
2009-10-02 21:29:08 +02:00
Christian Dywan
e4b09739fa
Don't use gtk_action_get_tooltip since it is GTK+ 2.16 only
2009-10-01 23:19:01 +02:00
Christian Dywan
2d1481699a
When hovering menu items, show descriptions in the statusbar
2009-10-01 02:35:15 +02:00
Christian Dywan
60a96b9d8b
Implement 'Open last session' menu item
2009-09-30 23:02:10 +02:00
Christian Dywan
3686db6f6f
Add Window > Focus Current Tab
2009-09-30 22:18:17 +02:00
Christian Dywan
df88be1aff
Reduce the mount of casts in the browser
2009-09-29 22:25:09 +02:00
Christian Dywan
f530218492
Notify MidoriBrowser::tab property properly
2009-09-29 20:49:30 +02:00
Christian Dywan
6d31faecf3
Default to Ctrl+Alt+U instead of Ctrl+U for View source
2009-09-28 23:10:31 +02:00
Christian Dywan
96093d9067
Implement drag (finger) and kinetic scrolling with KatzeScrolled
...
The feature is primarily interesting for mobile devices and
by default enabled with gtk-touchscreen-mode.
2009-09-28 22:12:41 +02:00
Christian Dywan
7259066e20
Apply the correct settings to source view tabs
2009-09-27 23:37:08 +02:00
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