comparison src/gtkprefs.h @ 5530:2c4c975620f0

[gaim-migrate @ 5930] Okay, several changes in this commit. - We now have gtkprefs.h. - We have a place where we can add UI prefs. - show_prefs() -> gaim_gtk_prefs_show(). - make_frame() -> gaim_gtk_make_frame(). - The debug window is the first thing to have prefs. You can even turn off the toolbar if you edit ~/.gaim/prefs.xml. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 26 May 2003 08:30:48 +0000
parents
children 2a781d4178ba
comparison
equal deleted inserted replaced
5529:e7747cae9710 5530:2c4c975620f0
1 /**
2 * @file gtkprefs.h GTK+ Preferences
3 * @ingroup gtkui
4 *
5 * gaim
6 *
7 * Copyright (C) 1998-2002, Mark Spencer <markster@marko.net>
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 *
23 */
24 #ifndef _GAIM_GTK_PREFS_H_
25 #define _GAIM_GTK_PREFS_H_
26
27 /* XXX These should go. */
28 extern GtkListStore *prefs_away_store;
29 extern GtkWidget *prefs_away_menu;
30 extern GtkWidget *pref_fg_picture;
31 extern GtkWidget *pref_bg_picture;
32
33 /**
34 * Initializes all UI-specific preferences.
35 */
36 void gaim_gtk_prefs_init(void);
37
38 /**
39 * Shows the preferences dialog.
40 */
41 void gaim_gtk_prefs_show(void);
42
43 /**
44 * Sets the default away message.
45 *
46 * @todo This should be moved or renamed or something?
47 */
48 void set_default_away(GtkWidget *, gpointer);
49
50 /**
51 * Initializes the default away menu.
52 *
53 * @todo This should be moved or renamed or something?
54 */
55 void default_away_menu_init(GtkWidget *);
56
57 void apply_font_dlg(GtkWidget *, GtkWidget *);
58 void apply_color_dlg(GtkWidget *, gpointer);
59 void destroy_colorsel(GtkWidget *, gpointer);
60
61 #endif /* _GAIM_GTK_PREFS_H_ */