summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-label.c
diff options
context:
space:
mode:
authorRamiro Estrugo <ramiro@src.gnome.org>2000-12-22 02:35:59 +0000
committerRamiro Estrugo <ramiro@src.gnome.org>2000-12-22 02:35:59 +0000
commit69d913bbb81a71c0c84ffff0978c0102f3149e19 (patch)
tree6ce4189da64f59301781cae27611ebbef6c9a7f8 /libnautilus-extensions/nautilus-label.c
parentce4b8d117e04368436812b584d6da79b0bc13c88 (diff)
downloadnautilus-69d913bbb81a71c0c84ffff0978c0102f3149e19.tar.gz
reviewed by: Pavel Cisler <pavel@eazel.com>
* libnautilus-extensions/nautilus-icon-canvas-item.c: (draw_or_measure_label_text_aa): * libnautilus-extensions/nautilus-icon-factory.c: (embed_text): * libnautilus-extensions/nautilus-label.c: (render_buffer_pixbuf): * libnautilus-extensions/nautilus-scalable-font.c: (nautilus_scalable_font_draw_text), (nautilus_scalable_font_draw_text_lines_with_dimensions), (nautilus_scalable_font_draw_text_lines), (nautilus_text_layout_paint), (nautilus_gdk_pixbuf_new_from_text): * libnautilus-extensions/nautilus-scalable-font.h: * libnautilus-extensions/nautilus-tabs.c: (draw_tab_label): * src/nautilus-about.c: (draw_aa_string): * src/nautilus-sidebar-tabs.c: (draw_one_tab_plain), (draw_one_tab_themed): * test/test-nautilus-font.c: (main): Lost the "inverted" feature of smooth text drawing. It wasnt used anywhere except a test program. It never looked well and the nautilus icon container does something unrelated to select text. Also replace some hard coded 255 opacity values to use the NAUTILUS_OPACITY_NONE define.
Diffstat (limited to 'libnautilus-extensions/nautilus-label.c')
-rw-r--r--libnautilus-extensions/nautilus-label.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libnautilus-extensions/nautilus-label.c b/libnautilus-extensions/nautilus-label.c
index e7a983802..413417907 100644
--- a/libnautilus-extensions/nautilus-label.c
+++ b/libnautilus-extensions/nautilus-label.c
@@ -408,7 +408,6 @@ render_buffer_pixbuf (NautilusBufferedWidget *buffered_widget,
y + label->detail->drop_shadow_offset,
label->detail->text_justification,
label->detail->drop_shadow_color,
- FALSE,
FALSE);
}
@@ -418,7 +417,6 @@ render_buffer_pixbuf (NautilusBufferedWidget *buffered_widget,
y,
label->detail->text_justification,
label->detail->text_color,
- FALSE,
FALSE);
y += text_layout->height;
@@ -442,8 +440,7 @@ render_buffer_pixbuf (NautilusBufferedWidget *buffered_widget,
label->detail->line_offset,
label_get_empty_line_height (label),
label->detail->drop_shadow_color,
- label->detail->text_alpha,
- FALSE);
+ label->detail->text_alpha);
}
nautilus_scalable_font_draw_text_lines_with_dimensions (label->detail->font,
@@ -461,8 +458,7 @@ render_buffer_pixbuf (NautilusBufferedWidget *buffered_widget,
label->detail->line_offset,
label_get_empty_line_height (label),
label->detail->text_color,
- label->detail->text_alpha,
- FALSE);
+ label->detail->text_alpha);
}
}