1
/* vim: set expandtab ts=8 sw=4: */
3
/* This program is free software; you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License as published by
5
* the Free Software Foundation; either version 2 of the License, or
6
* (at your option) any later version.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU Library General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program; if not, write to the Free Software
15
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1
18
#ifndef CONFIG_DIALOG_H
2
19
#define CONFIG_DIALOG_H
4
#include "search_dialog.h"
15
struct xfceweather_dialog {
18
GtkWidget *txt_loc_code;
20
GtkWidget *tooltip_yes;
21
GtkWidget *tooltip_no;
23
GtkWidget *opt_xmloption;
24
GtkWidget *lst_xmloption;
25
GtkListStore *mdl_xmloption;
27
struct xfceweather_data *wd;
30
struct xfceweather_dialog *create_config_dialog(struct xfceweather_data *data,
31
GtkContainer *container,
34
void set_callback_config_dialog(struct xfceweather_dialog *dialog,
35
void(cb)(struct xfceweather_data *));
32
GtkWidget *txt_loc_code;
33
GtkWidget *txt_proxy_host;
34
GtkWidget *txt_proxy_port;
35
GtkWidget *chk_proxy_use;
36
GtkWidget *chk_proxy_fromenv;
38
GtkWidget *tooltip_yes;
39
GtkWidget *tooltip_no;
41
GtkWidget *opt_xmloption;
42
GtkWidget *lst_xmloption;
43
GtkListStore *mdl_xmloption;
50
create_config_dialog (xfceweather_data *data, GtkWidget *vbox);
53
set_callback_config_dialog (xfceweather_dialog *dialog, void(cb)(xfceweather_data *));
56
apply_options (xfceweather_dialog *dialog);