Commit graph

14 commits

Author SHA1 Message Date
Lucas Baudin
b5aad2d176 Allow building with GTK+3
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +02:00
Christian Dywan
195c5191ef Showing the (feed) panel needs to be a GtkWidget* 2010-09-12 00:59:24 +02:00
Christian Dywan
40dc38fd21 Implement and use KATZE_ARRAY_FOREACH_ITEM
Iterating an array by a GList is considerably faster than
continuously retrieving items, however it is also a lot
more complicated. So the new macro takes care of that and
uses a new semi-private function to avoid copying the list.

Note that the macro can't be nested, which basically isn't
useful in practise anyway.
2010-09-12 00:59:24 +02:00
Christian Dywan
99a9cfc34c Show the Feed Panel after adding a new news feed 2010-08-23 19:38:11 +02:00
Christian Dywan
c571a6394f Don't pass around KatzeNet instances anymore
The KatzeNet is always a singleton, no need to pass it around.
2010-05-25 19:03:01 +02:00
Enrico Tröger
9183f8e16d Connect callbacks for gtk_widget_destroy where signature differs
Apparently dependent on architecture and compiler, mismatching
callback signatures can cause segmentation faults.
2009-12-29 23:49:10 +01:00
Dale Whittaker
359be5e24b Revert usage of KatzeItem meta data in the feed panel for now 2009-08-17 20:51:35 +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
Dale Whittaker
f48f47f372 Be sure to handle feed panel elements as HTML rather than text
While we are at it, use the new metadata API of KatzeItem.
2009-08-14 23:33:10 +02:00
Christian Dywan
b7e852fe09 Localize 'Last updated' display of feeds and quote URIs 2009-04-29 23:46:41 +02:00
Christian Dywan
9e5477815a Wrap XML element names in error messages in quotes 2009-04-29 17:42:36 +02:00
Dale Whittaker
522b3ac678 Prevent attempts to add duplicate feeds 2009-04-28 23:31:37 +02:00
Dale Whittaker
129f7d8f77 Display feed URLs and show an icon instead of error dialogues 2009-04-27 20:58:30 +02:00
Dale Whittaker
7419d17fb6 Initial version of the Feed Panel extension 2009-04-25 18:15:08 +02:00