aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-12-16 17:24:49 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-12-16 17:24:49 +0800
commit9b6c7e48a3612b439ab1b0505daec27db2a369a2 (patch)
tree1305fc50116d417b5d24a6017b9f99b2fb8ff175
parent0dd602e463b10a5b8f6f81549c2cf47fd206bb72 (diff)
downloadgsoc2013-empathy-9b6c7e48a3612b439ab1b0505daec27db2a369a2.tar
gsoc2013-empathy-9b6c7e48a3612b439ab1b0505daec27db2a369a2.tar.gz
gsoc2013-empathy-9b6c7e48a3612b439ab1b0505daec27db2a369a2.tar.bz2
gsoc2013-empathy-9b6c7e48a3612b439ab1b0505daec27db2a369a2.tar.lz
gsoc2013-empathy-9b6c7e48a3612b439ab1b0505daec27db2a369a2.tar.xz
gsoc2013-empathy-9b6c7e48a3612b439ab1b0505daec27db2a369a2.tar.zst
gsoc2013-empathy-9b6c7e48a3612b439ab1b0505daec27db2a369a2.zip
Remove useless commented code
svn path=/trunk/; revision=1997
-rw-r--r--libempathy-gtk/empathy-theme-manager.c118
1 files changed, 0 insertions, 118 deletions
diff --git a/libempathy-gtk/empathy-theme-manager.c b/libempathy-gtk/empathy-theme-manager.c
index f8ca8578a..f67f066a9 100644
--- a/libempathy-gtk/empathy-theme-manager.c
+++ b/libempathy-gtk/empathy-theme-manager.c
@@ -479,121 +479,3 @@ empathy_theme_manager_get_themes (void)
return themes;
}
-
-#if 0
-// theme boxes
- empathy_text_buffer_tag_set (buffer, "fancy-spacing",
- "size", 3000,
- "pixels-above-lines", 8,
- NULL);
-
- tag = empathy_text_buffer_tag_set (buffer, "fancy-header",
- "weight", PANGO_WEIGHT_BOLD,
- "pixels-above-lines", HEADER_PADDING,
- "pixels-below-lines", HEADER_PADDING,
- NULL);
- if (priv->header_foreground) {
- g_object_set (tag,
- "foreground", priv->header_foreground,
- "paragraph-background", priv->header_background,
- NULL);
- }
-
- tag = empathy_text_buffer_tag_set (buffer, "fancy-header-line",
- "size", 1,
- NULL);
- if (priv->header_line_background) {
- g_object_set (tag,
- "paragraph-background", priv->header_line_background,
- NULL);
- }
-
- tag = empathy_text_buffer_tag_set (buffer, "fancy-body",
- "pixels-above-lines", 4,
- NULL);
- if (priv->text_background) {
- g_object_set (tag,
- "paragraph-background", priv->text_background,
- NULL);
- }
-
- if (priv->text_foreground) {
- g_object_set (tag,
- "foreground", priv->text_foreground,
- NULL);
- }
-
- tag = empathy_text_buffer_tag_set (buffer, "fancy-action",
- "style", PANGO_STYLE_ITALIC,
- "pixels-above-lines", 4,
- NULL);
-
- if (priv->text_background) {
- g_object_set (tag,
- "paragraph-background", priv->text_background,
- NULL);
- }
-
- if (priv->action_foreground) {
- g_object_set (tag,
- "foreground", priv->action_foreground,
- NULL);
- }
-
- tag = empathy_text_buffer_tag_set (buffer, "fancy-highlight",
- "weight", PANGO_WEIGHT_BOLD,
- "pixels-above-lines", 4,
- NULL);
- if (priv->text_background) {
- g_object_set (tag,
- "paragraph-background", priv->text_background,
- NULL);
- }
-
-
- if (priv->highlight_foreground) {
- g_object_set (tag,
- "foreground", priv->highlight_foreground,
- NULL);
- }
-
- tag = empathy_text_buffer_tag_set (buffer, "fancy-time",
- "justification", GTK_JUSTIFY_CENTER,
- NULL);
- if (priv->time_foreground) {
- g_object_set (tag,
- "foreground", priv->time_foreground,
- NULL);
- }
-
- tag = empathy_text_buffer_tag_set (buffer, "fancy-event",
- "justification", GTK_JUSTIFY_LEFT,
- NULL);
- if (priv->event_foreground) {
- g_object_set (tag,
- "foreground", priv->event_foreground,
- NULL);
- }
-
- tag = empathy_text_buffer_tag_set (buffer, "invite", NULL);
- if (priv->invite_foreground) {
- g_object_set (tag,
- "foreground", priv->invite_foreground,
- NULL);
- }
-
- tag = empathy_text_buffer_tag_set (buffer, "fancy-link",
- "underline", PANGO_UNDERLINE_SINGLE,
- NULL);
- if (priv->link_foreground) {
- g_object_set (tag,
- "foreground", priv->link_foreground,
- NULL);
- }
- empathy_chat_view_set_margin (view, MARGIN);
-
-
-
- priv->simple_theme = g_object_new (EMPATHY_TYPE_THEME_BOXES, NULL);
- theme_manager_color_hash_notify_cb (manager);
-#endif