diff pidgin/gtkconv.c @ 32184:a8f62638417e

Make the max size of incoming smileys a pref instead of harcoding it. Patch from Xinef (with small modifications) Refs #5231
author masca@cpw.pidgin.im
date Thu, 07 Jul 2011 04:47:10 +0000
parents e0856c50cdd8
children 9aee8493db7f e8d4755ef84b e1cc8d07fe07
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Wed Jul 06 22:04:06 2011 +0000
+++ b/pidgin/gtkconv.c	Thu Jul 07 04:47:10 2011 +0000
@@ -7883,6 +7883,8 @@
 	purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/send_underline", FALSE);
 	purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/spellcheck", TRUE);
 	purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/show_incoming_formatting", TRUE);
+	purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/resize_custom_smileys", TRUE);
+	purple_prefs_add_int(PIDGIN_PREFS_ROOT "/conversations/custom_smileys_size", 96);
 	purple_prefs_add_int(PIDGIN_PREFS_ROOT "/conversations/minimum_entry_lines", 2);
 
 	purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/show_timestamps", TRUE);