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

« back to all changes in this revision

Viewing changes to src/ui/rule_editor.h

  • 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
2
 * @file rule_editor.h  rule editing dialog functionality
3
3
 *
4
 
 * Copyright (C) 2008 Lars Lindner <lars.lindner@gmail.com>
 
4
 * Copyright (C) 2008-2011 Lars Lindner <lars.lindner@gmail.com>
5
5
 *
6
6
 * This library is free software; you can redistribute it and/or
7
7
 * modify it under the terms of the GNU Library General Public
26
26
#include <glib-object.h>
27
27
#include <glib.h>
28
28
 
29
 
#include "vfolder.h"
 
29
#include "rule.h"
 
30
#include "itemset.h"
30
31
 
31
32
G_BEGIN_DECLS
32
33
 
50
51
 
51
52
struct RuleEditorClass 
52
53
{
53
 
        GtkObjectClass parent_class;    
 
54
        GObjectClass parent_class;
54
55
};
55
56
 
56
57
GType rule_editor_get_type      (void);
57
58
 
58
59
/**
59
60
 * Create a new rule editor widget set. Loads all rules
60
 
 * of the given search folder.
61
 
 *
62
 
 * @param vfolder       search folder which rules to load
63
 
 *
64
 
 * @returns the dialog widget
 
61
 * of the itemset passed.
 
62
 *
 
63
 * @param itemset       the itemset with the rules to load
 
64
 *
 
65
 * @returns a new RuleEditor instance
65
66
 */
66
 
RuleEditor * rule_editor_new (vfolderPtr vfolder);
 
67
RuleEditor * rule_editor_new (itemSetPtr itemset);
67
68
 
68
69
/**
69
70
 * This method is used to add another rule to a rule editor. 
80
81
 * the given search folder.
81
82
 *
82
83
 * @param re            the rule editor
83
 
 * @param vfolder       the search folder
 
84
 * @param itemset       the item set to set the rules to
84
85
 */
85
 
void rule_editor_save (RuleEditor *re, vfolderPtr vfolder);
 
86
void rule_editor_save (RuleEditor *re, itemSetPtr itemset);
86
87
 
87
88
/**
88
89
 * Get the root widget of the rule editor.