Thu, 17 Jul 2008 19:40:13 +0000
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
1 | /* |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
2 | * Buddy List Themes for Pidgin |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
3 | * |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
4 | * Pidgin is the legal property of its developers, whose names are too numerous |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
5 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
6 | * source distribution. |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
7 | * |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
8 | * This program is free software; you can redistribute it and/or modify |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
9 | * it under the terms of the GNU General Public License as published by |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
10 | * the Free Software Foundation; either version 2 of the License, or |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
11 | * (at your option) any later version. |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
12 | * |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
13 | * This program is distributed in the hope that it will be useful, |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
16 | * GNU General Public License for more details. |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
17 | * |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
18 | * You should have received a copy of the GNU General Public License |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
19 | * along with this program; if not, write to the Free Software |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
21 | * |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
22 | */ |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
23 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
24 | #include "gtkblist-theme.h" |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
25 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
26 | #define PIDGIN_BLIST_THEME_GET_PRIVATE(Gobject) \ |
|
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
27 | ((PidginBlistThemePrivate *) ((PIDGIN_BLIST_THEME(Gobject))->priv)) |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
28 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
29 | /****************************************************************************** |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
30 | * Structs |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
31 | *****************************************************************************/ |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
32 | typedef struct { |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
33 | gchar *icon_theme; |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
34 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
35 | /* Buddy list */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
36 | GdkColor *bgcolor; |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
37 | gdouble opacity; |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
38 | PidginBlistLayout *layout; |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
39 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
40 | /* groups */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
41 | GdkColor *expanded_color; |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
42 | FontColorPair *expanded; |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
43 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
44 | GdkColor *collapsed_color; |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
45 | FontColorPair *collapsed; |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
46 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
47 | /* buddy */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
48 | GdkColor *buddy_bgcolor1; |
|
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
49 | GdkColor *buddy_bgcolor2; |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
50 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
51 | FontColorPair *online; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
52 | FontColorPair *away; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
53 | FontColorPair *offline; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
54 | FontColorPair *message; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
55 | FontColorPair *status; |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
56 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
57 | } PidginBlistThemePrivate; |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
58 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
59 | /****************************************************************************** |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
60 | * Globals |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
61 | *****************************************************************************/ |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
62 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
63 | static GObjectClass *parent_class = NULL; |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
64 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
65 | /****************************************************************************** |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
66 | * Enums |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
67 | *****************************************************************************/ |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
68 | enum { |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
69 | PROP_ZERO = 0, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
70 | PROP_ICON_THEME, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
71 | PROP_BACKGROUND_COLOR, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
72 | PROP_OPACITY, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
73 | PROP_LAYOUT, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
74 | PROP_EXPANDED_COLOR, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
75 | PROP_EXPANDED_TEXT, |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
76 | PROP_COLLAPSED_COLOR, |
|
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
77 | PROP_COLLAPSED_TEXT, |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
78 | PROP_BGCOLOR1, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
79 | PROP_BGCOLOR2, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
80 | PROP_ONLINE, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
81 | PROP_AWAY, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
82 | PROP_OFFLINE, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
83 | PROP_MESSAGE, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
84 | PROP_STATUS, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
85 | }; |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
86 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
87 | /****************************************************************************** |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
88 | * Helpers |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
89 | *****************************************************************************/ |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
90 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
91 | static void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
92 | free_font_and_color(FontColorPair *pair) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
93 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
94 | if(pair != NULL){ |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
95 | g_free(pair->font); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
96 | g_free(pair); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
97 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
98 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
99 | |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
100 | /****************************************************************************** |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
101 | * GObject Stuff |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
102 | *****************************************************************************/ |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
103 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
104 | static void |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
105 | pidgin_blist_theme_init(GTypeInstance *instance, |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
106 | gpointer klass) |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
107 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
108 | (PIDGIN_BLIST_THEME(instance))->priv = g_new0(PidginBlistThemePrivate, 1); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
109 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
110 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
111 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
112 | static void |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
113 | pidgin_blist_theme_get_property(GObject *obj, guint param_id, GValue *value, |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
114 | GParamSpec *psec) |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
115 | { |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
116 | PidginBlistTheme *theme = PIDGIN_BLIST_THEME(obj); |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
117 | |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
118 | switch(param_id) { |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
119 | case PROP_ICON_THEME: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
120 | g_value_set_string(value, pidgin_blist_theme_get_icon_theme(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
121 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
122 | case PROP_BACKGROUND_COLOR: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
123 | g_value_set_pointer(value, pidgin_blist_theme_get_background_color(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
124 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
125 | case PROP_OPACITY: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
126 | g_value_set_double(value, pidgin_blist_theme_get_opacity(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
127 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
128 | case PROP_LAYOUT: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
129 | g_value_set_pointer(value, pidgin_blist_theme_get_layout(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
130 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
131 | case PROP_EXPANDED_COLOR: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
132 | g_value_set_pointer(value, pidgin_blist_theme_get_expanded_background_color(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
133 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
134 | case PROP_EXPANDED_TEXT: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
135 | g_value_set_pointer(value, pidgin_blist_theme_get_expanded_text_info(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
136 | break; |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
137 | case PROP_COLLAPSED_COLOR: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
138 | g_value_set_pointer(value, pidgin_blist_theme_get_collapsed_background_color(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
139 | break; |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
140 | case PROP_COLLAPSED_TEXT: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
141 | g_value_set_pointer(value, pidgin_blist_theme_get_collapsed_text_info(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
142 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
143 | case PROP_BGCOLOR1: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
144 | g_value_set_pointer(value, pidgin_blist_theme_get_buddy_color_1(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
145 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
146 | case PROP_BGCOLOR2: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
147 | g_value_set_pointer(value, pidgin_blist_theme_get_buddy_color_2(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
148 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
149 | case PROP_ONLINE: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
150 | g_value_set_pointer(value, pidgin_blist_theme_get_online_text_info(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
151 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
152 | case PROP_AWAY: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
153 | g_value_set_pointer(value, pidgin_blist_theme_get_away_text_info(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
154 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
155 | case PROP_OFFLINE: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
156 | g_value_set_pointer(value, pidgin_blist_theme_get_offline_text_info(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
157 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
158 | case PROP_MESSAGE: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
159 | g_value_set_pointer(value, pidgin_blist_theme_get_unread_message_text_info(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
160 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
161 | case PROP_STATUS: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
162 | g_value_set_pointer(value, pidgin_blist_theme_get_status_text_info(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
163 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
164 | default: |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
165 | G_OBJECT_WARN_INVALID_PROPERTY_ID(obj, param_id, psec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
166 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
167 | } |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
168 | } |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
169 | |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
170 | static void |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
171 | pidgin_blist_theme_set_property(GObject *obj, guint param_id, const GValue *value, |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
172 | GParamSpec *psec) |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
173 | { |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
174 | PidginBlistTheme *theme = PIDGIN_BLIST_THEME(obj); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
175 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
176 | switch(param_id) { |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
177 | case PROP_ICON_THEME: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
178 | pidgin_blist_theme_set_icon_theme(theme, g_value_get_string(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
179 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
180 | case PROP_BACKGROUND_COLOR: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
181 | pidgin_blist_theme_set_background_color(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
182 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
183 | case PROP_OPACITY: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
184 | pidgin_blist_theme_set_opacity(theme, g_value_get_double(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
185 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
186 | case PROP_LAYOUT: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
187 | pidgin_blist_theme_set_layout(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
188 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
189 | case PROP_EXPANDED_COLOR: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
190 | pidgin_blist_theme_set_expanded_background_color(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
191 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
192 | case PROP_EXPANDED_TEXT: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
193 | pidgin_blist_theme_set_expanded_text_info(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
194 | break; |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
195 | case PROP_COLLAPSED_COLOR: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
196 | pidgin_blist_theme_set_collapsed_background_color(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
197 | break; |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
198 | case PROP_COLLAPSED_TEXT: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
199 | pidgin_blist_theme_set_collapsed_text_info(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
200 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
201 | case PROP_BGCOLOR1: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
202 | pidgin_blist_theme_set_buddy_color_1(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
203 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
204 | case PROP_BGCOLOR2: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
205 | pidgin_blist_theme_set_buddy_color_2(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
206 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
207 | case PROP_ONLINE: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
208 | pidgin_blist_theme_set_online_text_info(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
209 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
210 | case PROP_AWAY: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
211 | pidgin_blist_theme_set_away_text_info(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
212 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
213 | case PROP_OFFLINE: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
214 | pidgin_blist_theme_set_offline_text_info(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
215 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
216 | case PROP_MESSAGE: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
217 | pidgin_blist_theme_set_unread_message_text_info(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
218 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
219 | case PROP_STATUS: |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
220 | pidgin_blist_theme_set_status_text_info(theme, g_value_get_pointer(value)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
221 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
222 | default: |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
223 | G_OBJECT_WARN_INVALID_PROPERTY_ID(obj, param_id, psec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
224 | break; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
225 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
226 | } |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
227 | static void |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
228 | pidgin_blist_theme_finalize (GObject *obj) |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
229 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
230 | PidginBlistThemePrivate *priv; |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
231 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
232 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(obj); |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
233 | |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
234 | /* Buddy List */ |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
235 | g_free(priv->icon_theme); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
236 | g_free(priv->layout); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
237 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
238 | /* Group */ |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
239 | free_font_and_color(priv->expanded); |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
240 | free_font_and_color(priv->collapsed); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
241 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
242 | /* Buddy */ |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
243 | free_font_and_color(priv->online); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
244 | free_font_and_color(priv->away); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
245 | free_font_and_color(priv->offline); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
246 | free_font_and_color(priv->message); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
247 | free_font_and_color(priv->status); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
248 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
249 | g_free(priv); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
250 | |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
251 | parent_class->finalize (obj); |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
252 | } |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
253 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
254 | static void |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
255 | pidgin_blist_theme_class_init (PidginBlistThemeClass *klass) |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
256 | { |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
257 | GObjectClass *obj_class = G_OBJECT_CLASS(klass); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
258 | GParamSpec *pspec; |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
259 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
260 | parent_class = g_type_class_peek_parent (klass); |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
261 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
262 | obj_class->get_property = pidgin_blist_theme_get_property; |
|
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
263 | obj_class->set_property = pidgin_blist_theme_set_property; |
|
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
264 | obj_class->finalize = pidgin_blist_theme_finalize; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
265 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
266 | /* Icon Theme */ |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
267 | pspec = g_param_spec_string("icon-theme", "Icon Theme", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
268 | "The icon theme to go with this buddy list theme", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
269 | NULL, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
270 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
271 | g_object_class_install_property(obj_class, PROP_ICON_THEME, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
272 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
273 | /* Buddy List */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
274 | pspec = g_param_spec_pointer("background-color", "Background Color", |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
275 | "The background color for the buddy list", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
276 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
277 | g_object_class_install_property(obj_class, PROP_BACKGROUND_COLOR, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
278 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
279 | pspec = g_param_spec_double("opacity","Opacity", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
280 | "The transparency of the buddy list", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
281 | 0.0, 1.0, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
282 | 1.0, |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
283 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
284 | g_object_class_install_property(obj_class, PROP_OPACITY, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
285 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
286 | pspec = g_param_spec_pointer("layout", "Layout", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
287 | "The layout of icons, name, and status of the blist", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
288 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
289 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
290 | g_object_class_install_property(obj_class, PROP_LAYOUT, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
291 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
292 | /* Group */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
293 | pspec = g_param_spec_pointer("expanded-color", "Expanded Background Color", |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
294 | "The background color of an expanded group", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
295 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
296 | g_object_class_install_property(obj_class, PROP_EXPANDED_COLOR, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
297 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
298 | pspec = g_param_spec_pointer("expanded-text", "Expanded Text", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
299 | "The text information for when a group is expanded", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
300 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
301 | g_object_class_install_property(obj_class, PROP_EXPANDED_TEXT, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
302 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
303 | pspec = g_param_spec_pointer("collapsed-color", "Collapsed Background Color", |
|
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
304 | "The background color of a collapsed group", |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
305 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
306 | g_object_class_install_property(obj_class, PROP_EXPANDED_COLOR, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
307 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
308 | pspec = g_param_spec_pointer("collapsed-text", "Collapsed Text", |
|
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
309 | "The text information for when a group is collapsed", |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
310 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
311 | g_object_class_install_property(obj_class, PROP_EXPANDED_TEXT, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
312 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
313 | /* Buddy */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
314 | pspec = g_param_spec_pointer("buddy-bgcolor1", "Buddy Background Color 1", |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
315 | "The background color of a buddy", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
316 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
317 | g_object_class_install_property(obj_class, PROP_BGCOLOR1, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
318 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
319 | pspec = g_param_spec_pointer("buddy-bgcolor2", "Buddy Background Color 2", |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
320 | "The background color of a buddy", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
321 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
322 | g_object_class_install_property(obj_class, PROP_BGCOLOR2, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
323 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
324 | pspec = g_param_spec_pointer("online", "On-line Text", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
325 | "The text information for when a buddy is online", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
326 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
327 | g_object_class_install_property(obj_class, PROP_ONLINE, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
328 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
329 | pspec = g_param_spec_pointer("away", "Away Text", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
330 | "The text information for when a buddy is away", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
331 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
332 | g_object_class_install_property(obj_class, PROP_AWAY, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
333 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
334 | pspec = g_param_spec_pointer("offline", "Off-line Text", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
335 | "The text information for when a buddy is off-line", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
336 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
337 | g_object_class_install_property(obj_class, PROP_OFFLINE, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
338 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
339 | pspec = g_param_spec_pointer("message", "Meggage Text", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
340 | "The text information for when a buddy is has an unread message", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
341 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
342 | g_object_class_install_property(obj_class, PROP_MESSAGE, pspec); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
343 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
344 | pspec = g_param_spec_pointer("status", "Status Text", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
345 | "The text information for a buddy's status", |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
346 | G_PARAM_READWRITE); |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
347 | g_object_class_install_property(obj_class, PROP_STATUS, pspec); |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
348 | } |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
349 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
350 | GType |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
351 | pidgin_blist_theme_get_type (void) |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
352 | { |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
353 | static GType type = 0; |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
354 | if (type == 0) { |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
355 | static const GTypeInfo info = { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
356 | sizeof (PidginBlistThemeClass), |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
357 | NULL, /* base_init */ |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
358 | NULL, /* base_finalize */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
359 | (GClassInitFunc)pidgin_blist_theme_class_init, /* class_init */ |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
360 | NULL, /* class_finalize */ |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
361 | NULL, /* class_data */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
362 | sizeof (PidginBlistTheme), |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
363 | 0, /* n_preallocs */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
364 | pidgin_blist_theme_init, /* instance_init */ |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
365 | NULL, /* value table */ |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
366 | }; |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
367 | type = g_type_register_static (PURPLE_TYPE_THEME, |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
368 | "PidginBlistTheme", |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
369 | &info, 0); |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
370 | } |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
371 | return type; |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
372 | } |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
373 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
374 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
375 | /***************************************************************************** |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
376 | * Public API functions |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
377 | *****************************************************************************/ |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
diff
changeset
|
378 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
379 | /* get methods */ |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
380 | gchar * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
381 | pidgin_blist_theme_get_icon_theme(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
382 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
383 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
384 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
385 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
386 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
387 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
388 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
389 | return priv->icon_theme; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
390 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
391 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
392 | GdkColor * |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
393 | pidgin_blist_theme_get_background_color(PidginBlistTheme *theme) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
394 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
395 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
396 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
397 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
398 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
399 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
400 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
401 | return priv->bgcolor; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
402 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
403 | |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
404 | gdouble |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
405 | pidgin_blist_theme_get_opacity(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
406 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
407 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
408 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
409 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), 1.0); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
410 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
411 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
412 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
413 | return priv->opacity; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
414 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
415 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
416 | PidginBlistLayout * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
417 | pidgin_blist_theme_get_layout(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
418 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
419 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
420 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
421 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
422 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
423 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
424 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
425 | return priv->layout; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
426 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
427 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
428 | GdkColor * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
429 | pidgin_blist_theme_get_expanded_background_color(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
430 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
431 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
432 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
433 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
434 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
435 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
436 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
437 | return priv->expanded_color; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
438 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
439 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
440 | FontColorPair * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
441 | pidgin_blist_theme_get_expanded_text_info(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
442 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
443 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
444 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
445 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
446 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
447 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
448 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
449 | return priv->expanded; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
450 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
451 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
452 | GdkColor * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
453 | pidgin_blist_theme_get_collapsed_background_color(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
454 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
455 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
456 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
457 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
458 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
459 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
460 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
461 | return priv->collapsed_color; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
462 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
463 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
464 | FontColorPair * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
465 | pidgin_blist_theme_get_collapsed_text_info(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
466 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
467 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
468 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
469 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
470 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
471 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
472 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
473 | return priv->collapsed; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
474 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
475 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
476 | GdkColor * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
477 | pidgin_blist_theme_get_buddy_color_1(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
478 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
479 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
480 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
481 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
482 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
483 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
484 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
485 | return priv->buddy_bgcolor1; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
486 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
487 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
488 | GdkColor * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
489 | pidgin_blist_theme_get_buddy_color_2(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
490 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
491 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
492 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
493 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
494 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
495 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
496 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
497 | return priv->buddy_bgcolor2; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
498 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
499 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
500 | FontColorPair * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
501 | pidgin_blist_theme_get_online_text_info(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
502 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
503 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
504 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
505 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
506 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
507 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
508 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
509 | return priv->online; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
510 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
511 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
512 | FontColorPair * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
513 | pidgin_blist_theme_get_away_text_info(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
514 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
515 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
516 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
517 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
518 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
519 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
520 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
521 | return priv->away; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
522 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
523 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
524 | FontColorPair * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
525 | pidgin_blist_theme_get_offline_text_info(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
526 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
527 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
528 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
529 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
530 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
531 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
532 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
533 | return priv->offline; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
534 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
535 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
536 | FontColorPair * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
537 | pidgin_blist_theme_get_unread_message_text_info(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
538 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
539 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
540 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
541 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
542 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
543 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
544 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
545 | return priv->message; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
546 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
547 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
548 | FontColorPair * |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
549 | pidgin_blist_theme_get_status_text_info(PidginBlistTheme *theme) |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
550 | { |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
551 | PidginBlistThemePrivate *priv; |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
552 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
553 | g_return_val_if_fail(PIDGIN_IS_BLIST_THEME(theme), NULL); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
554 | |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23657
diff
changeset
|
555 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
23657
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
556 | |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
557 | return priv->status; |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
558 | } |
|
41ba956129e0
flushed out blist themes a bit with lots of properties and get methods
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
559 | |
|
23660
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
560 | /* Set Methods */ |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
561 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
562 | pidgin_blist_theme_set_icon_theme(PidginBlistTheme *theme, const gchar *icon_theme) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
563 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
564 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
565 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
566 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
567 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
568 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
569 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
570 | g_free(priv->icon_theme); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
571 | priv->icon_theme = g_strdup(icon_theme); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
572 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
573 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
574 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
575 | pidgin_blist_theme_set_background_color(PidginBlistTheme *theme, GdkColor *color) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
576 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
577 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
578 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
579 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
580 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
581 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
582 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
583 | g_free(priv->bgcolor); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
584 | priv->bgcolor = color; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
585 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
586 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
587 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
588 | pidgin_blist_theme_set_opacity(PidginBlistTheme *theme, gdouble opacity) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
589 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
590 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
591 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
592 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme) || opacity < 0.0 || opacity > 1.0); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
593 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
594 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
595 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
596 | priv->opacity = opacity; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
597 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
598 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
599 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
600 | pidgin_blist_theme_set_layout(PidginBlistTheme *theme, PidginBlistLayout *layout) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
601 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
602 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
603 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
604 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
605 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
606 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
607 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
608 | g_free(priv->layout); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
609 | priv->layout = layout; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
610 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
611 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
612 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
613 | pidgin_blist_theme_set_expanded_background_color(PidginBlistTheme *theme, GdkColor *color) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
614 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
615 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
616 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
617 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
618 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
619 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
620 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
621 | g_free(priv->expanded_color); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
622 | priv->expanded_color = color; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
623 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
624 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
625 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
626 | pidgin_blist_theme_set_expanded_text_info(PidginBlistTheme *theme, FontColorPair *pair) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
627 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
628 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
629 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
630 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
631 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
632 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
633 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
634 | free_font_and_color(priv->expanded); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
635 | priv->expanded = pair; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
636 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
637 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
638 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
639 | pidgin_blist_theme_set_collapsed_background_color(PidginBlistTheme *theme, GdkColor *color) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
640 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
641 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
642 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
643 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
644 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
645 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
646 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
647 | g_free(priv->collapsed_color); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
648 | priv->collapsed_color = color; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
649 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
650 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
651 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
652 | pidgin_blist_theme_set_collapsed_text_info(PidginBlistTheme *theme, FontColorPair *pair) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
653 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
654 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
655 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
656 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
657 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
658 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
659 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
660 | free_font_and_color(priv->collapsed); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
661 | priv->collapsed = pair; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
662 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
663 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
664 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
665 | pidgin_blist_theme_set_buddy_color_1(PidginBlistTheme *theme, GdkColor *color) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
666 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
667 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
668 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
669 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
670 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
671 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
672 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
673 | g_free(priv->buddy_bgcolor1); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
674 | priv->buddy_bgcolor1 = color; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
675 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
676 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
677 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
678 | pidgin_blist_theme_set_buddy_color_2(PidginBlistTheme *theme, GdkColor *color) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
679 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
680 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
681 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
682 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
683 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
684 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
685 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
686 | g_free(priv->buddy_bgcolor2); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
687 | priv->buddy_bgcolor2 = color; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
688 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
689 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
690 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
691 | pidgin_blist_theme_set_online_text_info(PidginBlistTheme *theme, FontColorPair *pair) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
692 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
693 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
694 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
695 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
696 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
697 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
698 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
699 | free_font_and_color(priv->online); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
700 | priv->online = pair; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
701 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
702 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
703 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
704 | pidgin_blist_theme_set_away_text_info(PidginBlistTheme *theme, FontColorPair *pair) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
705 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
706 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
707 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
708 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
709 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
710 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
711 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
712 | free_font_and_color(priv->away); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
713 | priv->away = pair; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
714 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
715 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
716 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
717 | pidgin_blist_theme_set_offline_text_info(PidginBlistTheme *theme, FontColorPair *pair) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
718 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
719 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
720 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
721 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
722 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
723 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
724 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
725 | free_font_and_color(priv->offline); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
726 | priv->offline = pair; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
727 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
728 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
729 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
730 | pidgin_blist_theme_set_unread_message_text_info(PidginBlistTheme *theme, FontColorPair *pair) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
731 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
732 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
733 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
734 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
735 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
736 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
737 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
738 | free_font_and_color(priv->message); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
739 | priv->message = pair; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
740 | } |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
741 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
742 | void |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
743 | pidgin_blist_theme_set_status_text_info(PidginBlistTheme *theme, FontColorPair *pair) |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
744 | { |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
745 | PidginBlistThemePrivate *priv; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
746 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
747 | g_return_if_fail(PIDGIN_IS_BLIST_THEME(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
748 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
749 | priv = PIDGIN_BLIST_THEME_GET_PRIVATE(G_OBJECT(theme)); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
750 | |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
751 | free_font_and_color(priv->status); |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
752 | priv->status = pair; |
|
8637cec033e1
Fixed gtkblist-loader_build to no longer assume xml file is correct, added set methods to gtkblist-theme
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23659
diff
changeset
|
753 | } |