Christian Dywan
b478db85ab
Enforce icons for webpage menu items and search menu items
2009-07-25 23:06:17 +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
9f4976b168
Remove HAVE_JSCORE so javascripts work again
2009-07-23 23:32:50 +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
414f9412b8
Add a New Tab menu item to the tab context menu
2009-07-22 23:56:16 +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
7192fa38f9
Implement "minimized" views, with a context menu option
...
The flag is saved as meta data of the proxy item. A new signal
meta-data-changed is implemented in KatzeItem to allow the view
to update the tab state as the meta data value is changed.
2009-07-22 01:49:09 +02:00
Christian Dywan
3201370b60
Fix warnings about HAVE_JSCORE not being defined
2009-07-20 23:27:06 +02:00
Christian Dywan
60041f0cbd
Put the Trash in the toolbar right of the Search by default
2009-07-20 22:51:22 +02:00
Christian Dywan
94198ef19a
Look for locales in "locale" folder under Win32
2009-07-20 09:51:29 +02:00
Christian Dywan
cd2e5a3cca
Special case looking for the default search engines file
2009-07-20 09:30:21 +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
e8ffec6b28
Don't use bold, borderless frames on Win32
2009-07-20 08:12:41 +02:00
Christian Dywan
143ec96581
Don't do LRE title trick on Win32, it doesn't work as expected
2009-07-20 07:49:04 +02:00
Christian Dywan
572383370f
Default to Icons in the toolbar on Win32
2009-07-20 07:05:17 +02:00
Christian Dywan
8bbc25695a
Enable Open external pages in unconditionally
...
These days we fallback to sockets if libunique isn't there.
2009-07-20 06:53:41 +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
6bd19cd4d9
Fall back to the first if the last active tab is not there anymore
2009-07-19 18:45:00 +02:00
Christian Dywan
582310203a
Set "homepage" of web apps to NULL, to hide the bookmarkbar
2009-07-19 18:31:13 +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
f492a28764
Don't save empty metadata keys to XBEL
2009-07-18 16:37:01 +02:00
Christian Dywan
afc414e7e3
Skip "owner" elements, these are not metadata keys
2009-07-18 16:24:56 +02:00
Christian Dywan
967ad910ed
Read metadata from XBEL elements other than the root folder
2009-07-18 16:16:39 +02:00
Christian Dywan
dc440e85db
Save metadata of items other than the root folder
2009-07-18 15:49:25 +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
b32122b604
Thaw the location action when setting history in a new window
...
Full history completion was missing because we set the model in new
windows but failed to setup the filter and sort models properly.
2009-07-17 22:55:41 +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
736e7b854a
Use the icon of the view for the window in web app mode
2009-07-16 23:45:45 +02:00
Christian Dywan
54fecef4b7
Set "browser" role on browser windows
2009-07-16 14:00:47 +02:00
Christian Dywan
ba11ec8acd
Open the search engine even if only the token is typed
...
So "g" opens Google while "g cat" uses Google to search for cats.
2009-07-14 23:41:25 +02:00
Przemek Sitek
f04861e18c
Disable notebook border if no tabs are visible
2009-07-13 22:16:58 +02:00
Christian Dywan
8a2d55b918
Use a different method of working around the icon entry bug
2009-07-12 23:22:39 +02:00
Christian Dywan
4001396443
Make sure that the icon entry parent really is a GtkWindow
2009-07-12 13:54:59 +02:00
Christian Dywan
908765d60d
Resolve an object name clash to fix the unit test build
2009-07-12 13:53:22 +02:00
Christian Dywan
d5fac48850
Document _delete_item_from_uri under the correct name
2009-07-11 15:30:48 +02:00
Christian Dywan
5f1792d2f1
Set icons in completion as pixbufs instead of cell data functions
2009-07-11 15:28:16 +02:00
Christian Dywan
48c62d0ec6
Set the completion text renderer to a fixed size of 2 rows
2009-07-11 14:40:52 +02:00
Christian Dywan
1662a03677
Restore the (search) entry focus after changing the icon
2009-07-10 17:00:12 +01: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
Enrico Tröger
8baee5780d
Allocate uris correctly as gchar*, not gchar
2009-07-10 16:20:56 +01:00
Christian Dywan
087a579450
Create Win32 icon and resorce and build it into the executable
2009-07-09 18:55:41 +01:00
Christian Dywan
8ad4e3585f
Cast xmlChar* to gchar* when setting the meta string
2009-07-09 18:43:57 +01:00
Christian Dywan
491fadc119
Read metadata keys from XBEL
2009-07-06 18:32: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
ab6ecc1625
Store meta data in XBEL when saving KatzeArray objects
2009-07-05 00:14:39 +01:00
Christian Dywan
3f62d9e0e6
Add Duplicate Tab to tab context menu
2009-06-30 22:54:55 +02:00
Christian Dywan
8b36138105
Use "Menu" without underscore as compact Menu tooltip
2009-06-27 23:56:01 +02:00
Christian Dywan
c76a468d16
Refactor tab context menu into public midori_view_get_tab_menu
2009-06-27 23:52:48 +02:00
Christian Dywan
33f1d0096a
Use "_Menu" as tooltip for the compact Menu button
2009-06-27 23:29:00 +02:00
Christian Dywan
191f153429
Don't know detached panel windows in the taskbar
2009-06-26 21:19:09 +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
85cdadcdee
Implement a basic context menu for tab labels
2009-06-25 01:02:01 +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
397dd423bd
Draw radio action popup menu items as radio items
2009-06-22 23:03:59 +02:00
Christian Dywan
b23ae6cca3
Use radio actions for the encodings menu
2009-06-22 22:55:23 +02:00
Christian Dywan
eb98806722
Add Encoding menu to the context menu
2009-06-22 22:18:16 +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
d23ea3a098
Add STOCK_WEB_BROWSER to the stock items
2009-06-22 21:31:42 +02:00
Christian Dywan
f96695632b
Always create array actions for popup menu items the normal way
2009-06-22 21:30:28 +02:00
Christian Dywan
35ef1f7485
Add zooming items to the context menu
2009-06-22 21:29:39 +02:00
Christian Dywan
7e01ea42df
Remove Preferences and Menubar items from the context menu
2009-06-22 21:27:52 +02:00
Christian Dywan
8ac1633deb
Make sure to update the model in existing location proxies
2009-06-22 00:47:42 +02:00
Christian Dywan
75e3dae39a
Implement a tree view of open tabs in the Tab Panel
2009-06-21 19:30:51 +02:00
Christian Dywan
18fa1d0fa3
Use an index to iterate news feeds to avoid compiler warnings
2009-06-19 03:06:22 +02:00
Christian Dywan
4c3ac6f86f
Remove now unused speed dial menu item callback
2009-06-19 03:03:06 +02:00
Christian Dywan
6e2f1db63b
Use action proxies for context menu items that correspond to actions
2009-06-19 02:58:06 +02:00
Christian Dywan
6a38cb7ed6
Add Menubar and Preferences to the default context menu
2009-06-19 02:36:36 +02:00
Christian Dywan
8a5c9eba8b
Avoid naming an identifier 'boolean' which is used in Win32 headers
2009-06-17 23:39:50 +02:00
Christian Dywan
abccaf02da
Implement -e or --execute to perform various commands
...
Currently any GtkAction in MidoriBrowser is recognized as a command,
no arguments are supported. Commands affect either a newly run
instance or a currently running one.
2009-06-17 00:46:53 +02:00
Christian Dywan
0ae4b19165
Use Unix name and architecture in identification string
...
This results in a better string on BSD systems which up to now
always identified as 'Linux'.
2009-06-16 01:48:39 +02:00
Christian Dywan
3bcd8b6615
Copy libsylph socket.c as fallback for single instance libunique
...
This socket code makes single instance a mandatory feature assuming
if libunique is not available we can use sockets.
A bit of refactoring of MidoriApp is involved to make the command
logic independant of the nature of the instance handling.
2009-06-16 01:46:22 +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
2834db080b
Always show Open in Download dialogues, regardless of the file type
...
Just too often the reported MIME type is wrong or undetermined, so
we give the user the opportunity to know better.
2009-06-13 03:43:49 +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
52f45952cf
Enforce generated ident string if Custom was not chosen
...
This solves the ident string not being updated when Midori is
upgraded and running with existing configuration files.
2009-06-12 23:17:34 +02:00
Christian Dywan
c474363de2
Do not conditionalize Speed Dial preference on Gtk 2.14
2009-06-12 23:16:57 +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
ce455c2986
Disable thumbnails in tab label tooltips
...
For now they aren't acceptable because they effectively slow
switching tabs with the mouse wheel down significantly.
2009-06-08 20:46:53 +02:00
Christian Dywan
eddb0b30df
Listen for (de)activation of extensions and save the config
2009-06-07 02:15:32 +02:00
Michael Opitz
891d89e3fd
Propagate button press event explicitly from the view
...
Apparently the button events tend to be stuck and not properly
propagated, so we resort to emitting the signal ourselves.
2009-06-07 00:48:19 +02:00
Christian Dywan
35cdff552d
Adjust HAVE_UNIQUE define to resolve a compiler warning
2009-06-06 18:52:29 +02:00