[pan2: 4/8] fix
- From: Heinrich Müller <henmull src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2: 4/8] fix
- Date: Fri, 7 Jun 2013 12:03:11 +0000 (UTC)
commit d4f0b12c7044d95e2ec1b30d5c630a3e8e50edb9
Author: Heinrich Müller <henmull src gnome org>
Date: Thu Jun 6 22:55:54 2013 +0200
fix
configure.in | 6 ++++--
pan/gui/task-pane.cc | 24 ------------------------
2 files changed, 4 insertions(+), 26 deletions(-)
---
diff --git a/configure.in b/configure.in
index c4ad573..be34e7a 100644
--- a/configure.in
+++ b/configure.in
@@ -55,7 +55,9 @@ LIBNOTIFY_REQUIRED=0.4.1
LIBGKR_REQUIRED=3.2.0
WEBKIT_REQUIRED=1.8.1
LIBGRSS_REQUIRED=0.5.0
+LIBSOUP_REQUIRED=2.26
AC_SUBST(LIBGRSS_REQUIRED)
+AC_SUBST(LIBSOUP_REQUIRED)
AC_SUBST(GLIB_REQUIRED)
AC_SUBST(GLIB_REQUIRED_FOR_DBUS)
AC_SUBST(GMIME_REQUIRED)
@@ -93,8 +95,8 @@ PKG_CHECK_MODULES([ZLIB], [zlib >= 1.2.0],AC_DEFINE(HAVE_ZLIB,[1],[Zlib for xzve
AC_SUBST(ZLIB_CFLAGS)
AC_SUBST(ZLIB_LIBS)
-dnl rss feed support for nzbindex
-PKG_CHECK_MODULES([GRSS],[libgrss-0.5 >= $LIBGRSS_REQUIRED],[AC_DEFINE(HAVE_RSS,[1],[RSS
support])],[AC_MSG_RESULT(no)])
+dnl rss feed support for nzbindex using libgrss and libsoup for http GET (nzb file(s))
+PKG_CHECK_MODULES([GRSS],[libgrss-0.5 >= $LIBGRSS_REQUIRED libsoup-2.4 >=
LIBSOUP_REQUIRED],[AC_DEFINE(HAVE_RSS,[1],[RSS support])],[AC_MSG_RESULT(no)])
dnl D-Bus support
AC_ARG_WITH(dbus, AS_HELP_STRING([--with-dbus],[enable D-Bus support (normally: no)]), [want_dbus=$withval],
[want_dbus=no])
diff --git a/pan/gui/task-pane.cc b/pan/gui/task-pane.cc
index c8ab299..1674734 100644
--- a/pan/gui/task-pane.cc
+++ b/pan/gui/task-pane.cc
@@ -36,8 +36,6 @@ extern "C" {
#include "task-pane.h"
#include "taskpane.ui.h"
-#include <libgrss.h>
-
enum
{
COL_TASK_POINTER,
@@ -45,25 +43,6 @@ enum
NUM_COLS
};
-namespace
-{
- GrssFeedChannel *feed(0);
-
- void init_feed()
- {
- feed = grss_feed_channel_new();
- grss_feed_channel_set_update_interval (feed, 3);
- GList* list = grss_feed_channel_fetch_all (feed, 0);
-
- GList *iter;
- for (iter = list; iter; iter = g_list_next (iter))
- {
- std::cerr<<"list entry "<<iter->data<<"\n";
- }
-
- }
-}
-
/**
*** Internal Utility
**/
@@ -1037,9 +1016,6 @@ TaskPane :: TaskPane (Queue& queue, Prefs& prefs): _queue(queue), _prefs(prefs)
{
_root = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- //DBG!!
- init_feed();
-
GtkWidget * w;
GtkWidget * vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]