Mercurial > pidgin.yaz
comparison src/prefs.c @ 4323:8a932c488afc
[gaim-migrate @ 4578]
This is so you don't have to restart Gaim to use a new theme, yo.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 17 Jan 2003 07:18:26 +0000 |
parents | 5978e3d53f29 |
children | 561316116cd8 |
comparison
equal
deleted
inserted
replaced
4322:a789969fc198 | 4323:8a932c488afc |
---|---|
213 } | 213 } |
214 | 214 |
215 GtkWidget *theme_page() { | 215 GtkWidget *theme_page() { |
216 GtkWidget *ret; | 216 GtkWidget *ret; |
217 GtkWidget *sw; | 217 GtkWidget *sw; |
218 GSList *themes = smiley_themes; | 218 GSList *themes; |
219 GtkTreeIter iter; | 219 GtkTreeIter iter; |
220 GtkWidget *view; | 220 GtkWidget *view; |
221 GtkCellRenderer *rend; | 221 GtkCellRenderer *rend; |
222 GtkTreeViewColumn *col; | 222 GtkTreeViewColumn *col; |
223 GtkTreeSelection *sel; | 223 GtkTreeSelection *sel; |
224 GtkTreePath *path = NULL; | 224 GtkTreePath *path = NULL; |
225 GtkListStore *store; | 225 GtkListStore *store; |
226 GdkPixbuf *pixbuf; | 226 GdkPixbuf *pixbuf; |
227 int ind =0; | 227 int ind =0; |
228 | 228 |
229 smiley_theme_probe(); | |
230 if (!smiley_themes) | |
231 return; | |
232 themes = smiley_themes; | |
233 | |
229 ret = gtk_vbox_new(FALSE, 18); | 234 ret = gtk_vbox_new(FALSE, 18); |
230 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); | 235 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); |
231 | 236 |
232 sw = gtk_scrolled_window_new(NULL,NULL); | 237 sw = gtk_scrolled_window_new(NULL,NULL); |
233 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); | 238 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); |