~ubuntu-branches/ubuntu/raring/workrave/raring

« back to all changes in this revision

Viewing changes to frontend/gtkmm/src/StatusIcon.hh

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2011-03-25 17:17:18 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20110325171718-3znn7qnfgmx20iyw
Tags: 1.9.4-1
* New upstream release
  - drop all Debian patches (applied upstream)

* Update location of .xpm menu icon
* Remove empty /usr/include directory after building
* Remove obsolete breaks/replaces from debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// StatusIcon.hh --- Status icon
2
2
//
3
 
// Copyright (C) 2006, 2007, 2008, 2009, 2010 Rob Caelers & Raymond Penners
 
3
// Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Rob Caelers & Raymond Penners
4
4
// All rights reserved.
5
5
//
6
6
// This program is free software: you can redistribute it and/or modify
23
23
#include "preinclude.h"
24
24
 
25
25
#ifdef PLATFORM_OS_WIN32
26
 
#define USE_W32STATUSICON
 
26
#if ! GTK_CHECK_VERSION(2,22,1)
 
27
#define USE_W32STATUSICON 1
 
28
#endif
27
29
#include <gdk/gdkwin32.h>
28
30
#endif
29
31
#include <gtkmm/statusicon.h>
59
61
  GdkFilterReturn win32_filter_func (void *xevent, GdkEvent *event);
60
62
#endif
61
63
#endif
 
64
  void show_balloon(const std::string& balloon);
62
65
 
63
66
private:
64
67
  void insert_icon();