Mercurial > pidgin
comparison src/gtkprefs.c @ 5771:f63a008726c6
[gaim-migrate @ 6196]
This is probably better, but it works without it. *shrug*.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 06 Jun 2003 07:55:06 +0000 |
parents | a86051df9122 |
children | 7bdf66ab4fdd |
comparison
equal
deleted
inserted
replaced
5770:a86051df9122 | 5771:f63a008726c6 |
---|---|
2750 | 2750 |
2751 static void | 2751 static void |
2752 smiley_theme_pref_cb(const char *name, GaimPrefType type, gpointer value, | 2752 smiley_theme_pref_cb(const char *name, GaimPrefType type, gpointer value, |
2753 gpointer data) | 2753 gpointer data) |
2754 { | 2754 { |
2755 load_smiley_theme((const char *)value, TRUE); | 2755 if (strcmp(name, "")) |
2756 load_smiley_theme((const char *)value, TRUE); | |
2756 } | 2757 } |
2757 | 2758 |
2758 void | 2759 void |
2759 gaim_gtk_prefs_init(void) | 2760 gaim_gtk_prefs_init(void) |
2760 { | 2761 { |
2814 gaim_prefs_add_bool("/gaim/gtk/logging/log_own_states", TRUE); | 2815 gaim_prefs_add_bool("/gaim/gtk/logging/log_own_states", TRUE); |
2815 gaim_prefs_add_bool("/gaim/gtk/logging/individual_logs", FALSE); | 2816 gaim_prefs_add_bool("/gaim/gtk/logging/individual_logs", FALSE); |
2816 | 2817 |
2817 /* Smiley Themes */ | 2818 /* Smiley Themes */ |
2818 gaim_prefs_add_none("/gaim/gtk/smileys"); | 2819 gaim_prefs_add_none("/gaim/gtk/smileys"); |
2819 gaim_prefs_add_string("/gaim/gtk/smileys/theme", "default"); | 2820 gaim_prefs_add_string("/gaim/gtk/smileys/theme", ""); |
2820 | 2821 |
2821 /* Smiley Callbacks */ | 2822 /* Smiley Callbacks */ |
2822 gaim_prefs_connect_callback("/gaim/gtk/smileys/theme", | 2823 gaim_prefs_connect_callback("/gaim/gtk/smileys/theme", |
2823 smiley_theme_pref_cb, NULL); | 2824 smiley_theme_pref_cb, NULL); |
2824 } | 2825 } |