~ubuntu-branches/ubuntu/natty/xfce4-weather-plugin/natty-proposed

« back to all changes in this revision

Viewing changes to panel-plugin/weather.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez, Simon Huggins, Yves-Alexis Perez
  • Date: 2007-12-08 19:28:17 UTC
  • mfrom: (0.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208192817-xjr2u2eshv19ndp5
Tags: 0.6.2-1
[ Simon Huggins ]
* debian/control: Move fake Homepage field to a real one now dpkg
  supports it.
* Add Vcs-* headers to debian/control

[ Yves-Alexis Perez ]
* New upstream release.
* debian/control:
  - updated standard versions to 3.7.3.
  - updated my email to the debian.org one.
* debian/copyright: updated copyrights, authors and license.
* debian/NEWS: remove tab at beginning of lines. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  $Id: weather.h 2782 2007-05-26 20:04:05Z nick $
 
2
 *
 
3
 *  Copyright (c) 2003-2007 Xfce Development Team
 
4
 * 
 
5
 *  This program is free software; you can redistribute it and/or modify
 
6
 *  it under the terms of the GNU General Public License as published by
 
7
 *  the Free Software Foundation; either version 2 of the License, or
 
8
 *  (at your option) any later version.
 
9
 *
 
10
 *  This program 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
 
13
 *  GNU Library General Public License for more details.
 
14
 *
 
15
 *  You should have received a copy of the GNU General Public License
 
16
 *  along with this program; if not, write to the Free Software
 
17
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
18
 */
 
19
 
 
20
#ifndef __WEATHER_H__
 
21
#define __WEATHER_H__
 
22
 
 
23
#include <libxfce4panel/xfce-panel-plugin.h>
 
24
#include <libxfce4util/libxfce4util.h>
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
typedef struct
 
29
{
 
30
  XfcePanelPlugin *plugin;
 
31
 
 
32
  GtkTooltips     *tooltips;
 
33
 
 
34
  GtkWidget       *scrollbox;
 
35
  GtkWidget       *iconimage;
 
36
  GtkWidget       *tooltipbox;
 
37
 
 
38
  GtkWidget       *summary_window;
 
39
 
 
40
  GArray          *labels;
 
41
 
 
42
  gint             size;
 
43
  gint             updatetimeout;
 
44
 
 
45
  gchar           *location_code;
 
46
 
 
47
  units            unit;
 
48
 
 
49
  xml_weather     *weatherdata;
 
50
 
 
51
  gchar           *proxy_host;
 
52
  gint             proxy_port;
 
53
 
 
54
  gboolean         proxy_fromenv;
 
55
  /* used for storing the configured
 
56
   * but not active proxy setttings */
 
57
  gchar           *saved_proxy_host;
 
58
  gint             saved_proxy_port;
 
59
}
 
60
xfceweather_data;
 
61
 
 
62
gboolean check_envproxy (gchar ** proxy_host, gint * proxy_port);
 
63
 
 
64
G_END_DECLS
 
65
 
 
66
#endif