Commit graph

26 commits

Author SHA1 Message Date
Christian Dywan
1fa2c95bf4 Implement reverse ordering for use in Trash and RecentlyVisited actions 2009-12-05 21:33:19 +01:00
Christian Dywan
2f18605656 Be sure to disconnect item notification when the proxy is destroyed 2009-11-30 19:47:41 +01:00
Christian Dywan
dd196dc942 Emit the bookmark proxy signal instead of connecting a new handler 2009-11-30 19:36:16 +01:00
Christian Dywan
84f8207c51 Include config.h in KatzeArrayAction 2009-11-29 14:09:28 +01:00
Christian Dywan
04ebfb4733 Position array menu freely to avoid a GTK+ bug on Hildon 2009-11-29 14:09:28 +01:00
Christian Dywan
ea7c5f9de4 Only take bookmark button for a bookmark if it's a single item 2009-11-24 23:51:21 +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
9eefb25bb6 Refactor loading cached page icon into katze_load_cached_icon
The function is optimized for loading icons and independant from
a KatzeNet instance.
2009-11-17 23:22:08 +01:00
Christian Dywan
d3e5d1af23 Connect overflow toolbar bookmark items for nested folder menus 2009-11-17 19:18:14 +01:00
Christian Dywan
7d3b68d797 Set tool button labels to "" to avoid a regression in GTK+ 2009-11-16 23:46:03 +01:00
Christian Dywan
b478db85ab Enforce icons for webpage menu items and search menu items 2009-07-25 23:06:17 +02:00
Christian Dywan
34c26da9f0 Fix label alignment of tool items created for bookmarks 2009-07-17 17:34:54 +02:00
Christian Dywan
9569a3c060 Provide custom overflow menu items to support middle click 2009-05-15 01:55:11 +02:00
Enrico Tröger
05f403bd54 Fix missing keyboard events for bookmark menu items 2009-05-14 20:52:55 +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
aa181a4a6f Make the proxy insensitive if the array is unset 2009-03-07 13:58:32 +01:00
Christian Dywan
a89a178a05 Implement KatzeSeparatorAction 2009-01-29 00:52:27 +01:00
Christian Dywan
2c1b05913a Propagate mime icons from views to proxy items 2009-01-06 02:09:35 +01:00
Christian Dywan
03ffd05e0a Do not load icons other than in tabs 2008-11-20 01:41:58 +01:00
Christian Dywan
27d5b35f1d Ellipsize bookmarkbar items reasonably 2008-10-29 04:07:37 +01:00
Christian Dywan
dc8e8891e7 Correct a missing differentiation between proxy widgets 2008-10-27 03:01:52 +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
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
ee3b7a3b51 Finish essential KatzeArrayAction functionality 2008-10-17 23:14:21 +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
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