changeset 32657:ceae9fb7ae0b

Add template lookup for 'basestyle' CSS.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 21 Sep 2011 03:14:57 +0000
parents 79d48418ba0b
children 90264301600f
files pidgin/gtkconv-theme.c pidgin/gtkconv-theme.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv-theme.c	Wed Sep 21 02:54:35 2011 +0000
+++ b/pidgin/gtkconv-theme.c	Wed Sep 21 03:14:57 2011 +0000
@@ -733,6 +733,9 @@
 		case PIDGIN_CONVERSATION_THEME_TEMPLATE_OUTGOING_NEXT_CONTEXT:
 			html = get_outgoing_next_context_html(priv, dir);
 			break;
+		case PIDGIN_CONVERSATION_THEME_TEMPLATE_BASESTYLE_CSS:
+			html = get_basestyle_css(priv, dir);
+			break;
 		default:
 			purple_debug_error("gtkconv-theme",
 			                   "Requested invalid template type (%d) for theme %s.\n",
--- a/pidgin/gtkconv-theme.h	Wed Sep 21 02:54:35 2011 +0000
+++ b/pidgin/gtkconv-theme.h	Wed Sep 21 03:14:57 2011 +0000
@@ -72,7 +72,8 @@
 	PIDGIN_CONVERSATION_THEME_TEMPLATE_OUTGOING_CONTENT,
 	PIDGIN_CONVERSATION_THEME_TEMPLATE_OUTGOING_NEXT_CONTENT,
 	PIDGIN_CONVERSATION_THEME_TEMPLATE_OUTGOING_CONTEXT,
-	PIDGIN_CONVERSATION_THEME_TEMPLATE_OUTGOING_NEXT_CONTEXT
+	PIDGIN_CONVERSATION_THEME_TEMPLATE_OUTGOING_NEXT_CONTEXT,
+	PIDGIN_CONVERSATION_THEME_TEMPLATE_BASESTYLE_CSS
 
 } PidginConvThemeTemplateType;