changeset 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 784d900d0640
files src/gtkprefs.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkprefs.c	Fri Jun 06 07:54:00 2003 +0000
+++ b/src/gtkprefs.c	Fri Jun 06 07:55:06 2003 +0000
@@ -2752,7 +2752,8 @@
 smiley_theme_pref_cb(const char *name, GaimPrefType type, gpointer value,
 					 gpointer data)
 {
-	load_smiley_theme((const char *)value, TRUE);
+	if (strcmp(name, ""))
+		load_smiley_theme((const char *)value, TRUE);
 }
 
 void
@@ -2816,7 +2817,7 @@
 
 	/* Smiley Themes */
 	gaim_prefs_add_none("/gaim/gtk/smileys");
-	gaim_prefs_add_string("/gaim/gtk/smileys/theme", "default");
+	gaim_prefs_add_string("/gaim/gtk/smileys/theme", "");
 
 	/* Smiley Callbacks */
 	gaim_prefs_connect_callback("/gaim/gtk/smileys/theme",