pidgin: a8e18e79: Add template lookup for 'basestyle' CSS.

qulogic at pidgin.im qulogic at pidgin.im
Wed Sep 21 03:07:25 EDT 2011


----------------------------------------------------------------------
Revision: a8e18e79700a4c9bc433a1d5423ba9a77b2e3816
Parent:   1a580adb4dc28aeda9c7c5d0ab9da6754b2fdab9
Author:   qulogic at pidgin.im
Date:     09/20/11 23:14:57
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a8e18e79700a4c9bc433a1d5423ba9a77b2e3816

Changelog: 

Add template lookup for 'basestyle' CSS.

Changes against parent 1a580adb4dc28aeda9c7c5d0ab9da6754b2fdab9

  patched  pidgin/gtkconv-theme.c
  patched  pidgin/gtkconv-theme.h

-------------- next part --------------
============================================================
--- pidgin/gtkconv-theme.c	3ab94a714389414d8879cd0437ed000ecdb0bebb
+++ pidgin/gtkconv-theme.c	8f1a1f367f4e464a9d324f00efb837a07b7a168b
@@ -733,6 +733,9 @@ pidgin_conversation_theme_get_template(P
 		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",
============================================================
--- pidgin/gtkconv-theme.h	0d5cb2a6ba82789478a48014031c3af478457374
+++ pidgin/gtkconv-theme.h	262be5c04740c99e11df7777c63d93b6114de341
@@ -72,7 +72,8 @@ typedef enum {
 	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;
 


More information about the Commits mailing list