empathy r1997 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1997 - trunk/libempathy-gtk
- Date: Tue, 16 Dec 2008 09:24:49 +0000 (UTC)
Author: xclaesse
Date: Tue Dec 16 09:24:49 2008
New Revision: 1997
URL: http://svn.gnome.org/viewvc/empathy?rev=1997&view=rev
Log:
Remove useless commented code
Modified:
trunk/libempathy-gtk/empathy-theme-manager.c
Modified: trunk/libempathy-gtk/empathy-theme-manager.c
==============================================================================
--- trunk/libempathy-gtk/empathy-theme-manager.c (original)
+++ trunk/libempathy-gtk/empathy-theme-manager.c Tue Dec 16 09:24:49 2008
@@ -479,121 +479,3 @@
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]