Commit graph

350 commits

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