~ubuntu-branches/ubuntu/precise/me-tv/precise-proposed

« back to all changes in this revision

Viewing changes to src/status_icon.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Lamothe
  • Date: 2008-02-12 21:56:59 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080212215659-g3u4v9iz8wzxu2cd
Tags: 0.5.17-1
New upstream release (Closes: #464922)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2007 Michael Lamothe
 
2
 * Copyright (C) 2008 Michael Lamothe
 
3
 *
 
4
 * This file is part of Me TV
3
5
 *
4
6
 * This program is free software; you can redistribute it and/or modify
5
7
 * it under the terms of the GNU General Public License as published by
20
22
#define __STATUS_ICON_H__
21
23
 
22
24
#include <gtk/gtk.h>
23
 
#include <glibmm/ustring.h>
 
25
#include "string.hh"
24
26
 
25
27
class StatusIcon
26
28
{
27
29
private:
28
 
        GtkWidget* popup_menu;
 
30
        GtkWidget* menu_application_popup;
29
31
        GtkStatusIcon* status_icon;
30
32
 
31
33
        static void on_status_icon_popup_menu(GtkStatusIcon* widget, guint button, guint activate_time,  StatusIcon* status_icon);
39
41
public:
40
42
        StatusIcon();
41
43
 
42
 
        void set_title(const Glib::ustring& title);
 
44
        void set_title(const String& title);
43
45
};
44
46
 
45
47
#endif