~ubuntu-branches/ubuntu/saucy/liferea/saucy

« back to all changes in this revision

Viewing changes to .pc/gtk-status-icon.patch/src/ui/ui_popup.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
 
/**
2
 
 * @file ui_popup.h popup menus
3
 
 *
4
 
 * Copyright (C) 2003-2008 Lars Lindner <lars.lindner@gmail.com>
5
 
 * Copyright (C) 2004-2005 Nathan J. Conrad <t98502@users.sourceforge.net>
6
 
 * Copyright (C) 2009 Adrian Bunk <bunk@users.sourceforge.net>
7
 
 *
8
 
 * This program is free software; you can redistribute it and/or modify
9
 
 * it under the terms of the GNU General Public License as published by
10
 
 * the Free Software Foundation; either version 2 of the License, or
11
 
 * (at your option) any later version.
12
 
 *
13
 
 * This program is distributed in the hope that it will be useful,
14
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 * GNU General Public License for more details.
17
 
 *
18
 
 * You should have received a copy of the GNU General Public License
19
 
 * along with this program; if not, write to the Free Software
20
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
21
 
 */
22
 
 
23
 
#ifndef _UI_POPUP_H
24
 
#define _UI_POPUP_H
25
 
 
26
 
#include <gtk/gtk.h>
27
 
 
28
 
#include "item.h"
29
 
#include "enclosure.h"
30
 
 
31
 
/**
32
 
 * Shows a popup menu with options for the item list and the
33
 
 * given selected item.
34
 
 * (Open Link, Copy Item, Copy Link...)
35
 
 *
36
 
 * @param item  the selected item
37
 
 * @param button        the mouse button which was pressed to initiate the event
38
 
 * @param activate_time the time at which the activation event occurred
39
 
 */
40
 
void ui_popup_item_menu (itemPtr item, guint button, guint32 activate_time);
41
 
 
42
 
/**
43
 
 * Shows a popup menu for the systray icon.
44
 
 * (Offline mode, Close, Minimize...)
45
 
 *
46
 
 * @param button        the mouse button which was pressed to initiate the event
47
 
 * @param activate_time the time at which the activation event occurred
48
 
 */
49
 
void ui_popup_systray_menu (guint button, guint32 activate_time);
50
 
 
51
 
/**
52
 
 * Shows a popup menu for the enclosure list view.
53
 
 * (Save As, Open With...)
54
 
 *
55
 
 * @param enclosure     the enclosure
56
 
 * @param button        the mouse button which was pressed to initiate the event
57
 
 * @param activate_time the time at which the activation event occurred
58
 
 */
59
 
void ui_popup_enclosure_menu (enclosurePtr enclosure, guint button,
60
 
                              guint32 activate_time);
61
 
 
62
 
/* GUI callbacks */
63
 
 
64
 
gboolean
65
 
on_mainfeedlist_button_press_event     (GtkWidget       *widget,
66
 
                                        GdkEventButton  *event,
67
 
                                        gpointer         user_data);
68
 
 
69
 
gboolean
70
 
on_itemlist_button_press_event         (GtkWidget       *widget,
71
 
                                        GdkEventButton  *event,
72
 
                                        gpointer         user_data);
73
 
 
74
 
#endif