~ubuntu-branches/ubuntu/vivid/liferea/vivid-proposed

« back to all changes in this revision

Viewing changes to src/fl_sources/dummy_source.c

  • Committer: Package Import Robot
  • Author(s): bojo42
  • Date: 2012-03-29 14:17:21 UTC
  • mfrom: (1.3.9) (3.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20120329141721-tbfopcrc5797wxt7
Tags: 1.8.3-0.1ubuntu1
* New upstream release (LP: #290666, #371754, #741543, #716688)
* Merge from Debian unstable (LP: #935147), remaining changes:
* debian/patches:
  - drop gtk-status-icon.patch & notification-append as in upstream
  - drop fix_systray_behavior as mostly upstreamed and rest seems unused
  - 01_ubuntu_feedlists: update & rename, move planets to "Open Source"  
  - add_X-Ubuntu-Gettext-Domain: rebase
  - libunity.patch: rebase, apply before indicator patch (liferea_shell.c)
  - libindicate_increase_version.patch: exclude from libindicate.patch
  - deactivate libindicate.patch, seems partly upstreamed and needs rework
* debian/control: libindicate-dev, libindicate-gtk-dev & libunity-dev
* debian/liferea.indicate & liferea.install: ship indicator desktop file
* debian/rules: enable libindicate

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * @file dummy_source.c dummy feed list source
 
2
 * @file dummy_source.c  dummy feed list source
3
3
 * 
4
 
 * Copyright (C) 2006 Lars Lindner <lars.lindner@gmx.net>
 
4
 * Copyright (C) 2006-2010 Lars Lindner <lars.lindner@gmx.net>
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or modify
7
7
 * it under the terms of the GNU General Public License as published by
20
20
 
21
21
#include "fl_sources/dummy_source.h"
22
22
 
23
 
#include "common.h"
24
 
#include "fl_sources/node_source.h"
25
 
#include "ui/ui_common.h"
 
23
#include "ui/icons.h"
26
24
 
27
25
static gchar * dummy_source_get_feedlist(nodePtr node) { return NULL; }
28
26
 
29
27
static void dummy_source_import(nodePtr node) {
30
28
 
31
 
        node->icon = icons[ICON_UNAVAILABLE];
 
29
        node->icon = (gpointer)icon_get (ICON_UNAVAILABLE);
32
30
}
33
31
 
34
32
static void dummy_source_export(nodePtr node) { }
40
38
/* feed list provider plugin definition */
41
39
 
42
40
static struct nodeSourceType nst = {
43
 
        NODE_SOURCE_TYPE_API_VERSION,
44
41
        NODE_SOURCE_TYPE_DUMMY_ID,
45
42
        "Dummy Feed List Source",
46
43
        "The dummy feed list source. Should never be added manually. If you see this then something went wrong!",