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

« back to all changes in this revision

Viewing changes to src/ui/eggtrayicon.h

  • Committer: Package Import Robot
  • Author(s): Moray Allan, Bojo42, Rodrigo Gallardo, Moray Allan
  • Date: 2012-03-27 21:44:42 UTC
  • mfrom: (1.5.1)
  • mto: (3.3.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 122.
  • Revision ID: package-import@ubuntu.com-20120327214442-g0xfh714cdmsbnts
Tags: 1.8.3-0.1
[ Bojo42 ]
* Non-maintainer upload.
* New upstream release (Closes: #502307, #623619, #631778, #651913) 
* debian/patches:
  - drop libnotify0.7 as in upstream
  - debian-example-feeds: update, move planets from "News" to "Open Source"
  - www-browser: update due to new file location
  - libtool-dont-rearange-as-needed: rebase
* debian/control:
  - update Standards-Version
  - remove obsolete Build-Depends:
    - quilt not needed for "3.0 (quilt)" source format
    - libnm-glib-dev & libdbus-glib-1-dev: upstream switched to GDBus
    - liblua5.1-0-dev: LUA scripting support got dropped
  - new Build-Depends on libunique-dev, libjson-glib-dev & dh_autoreconf
  - update version dependencies
* debian/rules: run dh_autoreconf & update translations
* debian/liferea.install: nothing to ship from /usr/lib/liferea

[ Rodrigo Gallardo ]
* Lintian love:
  - debian/control: switch from Conflicts to Breaks
  - debian/rules: redo build targets

[ Moray Allan ]
* debian/copyright: update to include additional copyright owners.
* debian/patches/www-browser: also set default external browser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
 
/* eggtrayicon.h
3
 
 * Copyright (C) 2002 Anders Carlsson <andersca@gnu.org>
4
 
 *
5
 
 * This library is free software; you can redistribute it and/or
6
 
 * modify it under the terms of the GNU Lesser General Public
7
 
 * License as published by the Free Software Foundation; either
8
 
 * version 2 of the License, or (at your option) any later version.
9
 
 *
10
 
 * This library is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 
 * Lesser General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU Lesser General Public
16
 
 * License along with this library; if not, write to the
17
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
 
 * Boston, MA 02111-1307, USA.
19
 
 */
20
 
 
21
 
#ifndef __EGG_TRAY_ICON_H__
22
 
#define __EGG_TRAY_ICON_H__
23
 
 
24
 
#include <gtk/gtk.h>
25
 
#ifdef GDK_WINDOWING_X11
26
 
#include <gdk/gdkx.h>
27
 
#endif
28
 
 
29
 
G_BEGIN_DECLS
30
 
 
31
 
#define EGG_TYPE_TRAY_ICON              (egg_tray_icon_get_type ())
32
 
#define EGG_TRAY_ICON(obj)              (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_TRAY_ICON, EggTrayIcon))
33
 
#define EGG_TRAY_ICON_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_TRAY_ICON, EggTrayIconClass))
34
 
#define EGG_IS_TRAY_ICON(obj)           (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_TRAY_ICON))
35
 
#define EGG_IS_TRAY_ICON_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_TRAY_ICON))
36
 
#define EGG_TRAY_ICON_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_TRAY_ICON, EggTrayIconClass))
37
 
        
38
 
typedef struct _EggTrayIcon       EggTrayIcon;
39
 
typedef struct _EggTrayIconClass  EggTrayIconClass;
40
 
 
41
 
struct _EggTrayIcon
42
 
{
43
 
  GtkPlug parent_instance;
44
 
 
45
 
  guint stamp;
46
 
  
47
 
#ifdef GDK_WINDOWING_X11
48
 
  Atom selection_atom;
49
 
  Atom manager_atom;
50
 
  Atom system_tray_opcode_atom;
51
 
  Atom orientation_atom;
52
 
  Window manager_window;
53
 
#endif
54
 
  GtkOrientation orientation;
55
 
};
56
 
 
57
 
struct _EggTrayIconClass
58
 
{
59
 
  GtkPlugClass parent_class;
60
 
};
61
 
 
62
 
GType        egg_tray_icon_get_type       (void);
63
 
 
64
 
EggTrayIcon *egg_tray_icon_new_for_screen (GdkScreen   *screen,
65
 
                                           const gchar *name);
66
 
 
67
 
EggTrayIcon *egg_tray_icon_new            (const gchar *name);
68
 
 
69
 
guint        egg_tray_icon_send_message   (EggTrayIcon *icon,
70
 
                                           gint         timeout,
71
 
                                           const char  *message,
72
 
                                           gint         len);
73
 
void         egg_tray_icon_cancel_message (EggTrayIcon *icon,
74
 
                                           guint        id);
75
 
 
76
 
GtkOrientation egg_tray_icon_get_orientation (EggTrayIcon *icon);
77
 
                                            
78
 
G_END_DECLS
79
 
 
80
 
#endif /* __EGG_TRAY_ICON_H__ */