diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-12-16 17:24:35 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-12-16 17:24:35 +0800 |
commit | 109f46a8278fc797ba526f69f44335063903066c (patch) | |
tree | e65ec3672e6c2df4ede307296d81adf348c7e560 /libempathy-gtk/empathy-theme-irc.h | |
parent | 031e66bd2b0b63a6d33d3242e24392e2109a82e2 (diff) | |
download | gsoc2013-empathy-109f46a8278fc797ba526f69f44335063903066c.tar gsoc2013-empathy-109f46a8278fc797ba526f69f44335063903066c.tar.gz gsoc2013-empathy-109f46a8278fc797ba526f69f44335063903066c.tar.bz2 gsoc2013-empathy-109f46a8278fc797ba526f69f44335063903066c.tar.lz gsoc2013-empathy-109f46a8278fc797ba526f69f44335063903066c.tar.xz gsoc2013-empathy-109f46a8278fc797ba526f69f44335063903066c.tar.zst gsoc2013-empathy-109f46a8278fc797ba526f69f44335063903066c.zip |
Completely rework the theming system to make easy implementing themes based on other classes like webkit.
svn path=/trunk/; revision=1993
Diffstat (limited to 'libempathy-gtk/empathy-theme-irc.h')
-rw-r--r-- | libempathy-gtk/empathy-theme-irc.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-theme-irc.h b/libempathy-gtk/empathy-theme-irc.h index 0dbe15528..58d82ac0e 100644 --- a/libempathy-gtk/empathy-theme-irc.h +++ b/libempathy-gtk/empathy-theme-irc.h @@ -1,6 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2007 Imendio AB + * Copyright (C) 2008 Collabora Ltd. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -16,6 +17,8 @@ * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. + * + * Authors: Xavier Claessens <xclaesse@gmail.com> */ #ifndef __EMPATHY_THEME_IRC_H__ @@ -23,7 +26,7 @@ #include <glib-object.h> -#include "empathy-theme.h" +#include "empathy-chat-text-view.h" G_BEGIN_DECLS @@ -38,15 +41,20 @@ typedef struct _EmpathyThemeIrc EmpathyThemeIrc; typedef struct _EmpathyThemeIrcClass EmpathyThemeIrcClass; struct _EmpathyThemeIrc { - EmpathyTheme parent; + EmpathyChatTextView parent; gpointer priv; }; struct _EmpathyThemeIrcClass { - EmpathyThemeClass parent_class; + EmpathyChatTextViewClass parent_class; }; -GType empathy_theme_irc_get_type (void) G_GNUC_CONST; +#define EMPATHY_THEME_IRC_TAG_NICK_SELF "irc-nick-self" +#define EMPATHY_THEME_IRC_TAG_NICK_OTHER "irc-nick-other" +#define EMPATHY_THEME_IRC_TAG_NICK_HIGHLIGHT "irc-nick-highlight" + +GType empathy_theme_irc_get_type (void) G_GNUC_CONST; +EmpathyThemeIrc *empathy_theme_irc_new (void); G_END_DECLS |