Commit dfdd6b2e authored by Emmanuel Pacaud's avatar Emmanuel Pacaud Committed by Emmanuel Pacaud

don't disable theming.

2004-12-17  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* graph/plot-xy/gog-xy.c (gog_xy_series_init_style): don't disable
	theming.
parent 2a14141c
......@@ -11,8 +11,6 @@ Release Critical
: Use GNOME Recent for the gnome build
: tie the custom ui into action sensitivity pools
: kasal's popt patch
: emmanuel's legend resize patch
: emmanuel's disable theme patch for xy plots with only lines
: support array evaluation for =LARGE and friends
http://bugzilla.gnome.org/show_bug.cgi?id=157997
: image import from xl95
......
Gnumeric 1.4.2
Emmanuel Pacaud:
* fix legend update on pie label change.
* don't disable theming for xy plot with line or marker only.
J.H.M. Dassen (Ray):
* XLS import for paper sizes for which gnome-print doesn't have a
name.
......
2004-12-17 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/plot-xy/gog-xy.c (gog_xy_series_init_style): don't disable
theming.
2004-12-17 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
* graph/gog-series.c (gog_series_dataset_dim_changed): resize for every
......
......@@ -928,23 +928,14 @@ gog_xy_series_init_style (GogStyledObject *gso, GogStyle *style)
return;
plot = GOG_XY_PLOT (series->plot);
if (!plot->default_style_has_markers) {
style->disable_theming |= GOG_STYLE_MARKER;
if (style->marker.auto_shape) {
GOMarker *m = go_marker_new ();
go_marker_set_shape (m, GO_MARKER_NONE);
gog_style_set_marker (style, m);
}
}
if (!plot->default_style_has_lines) {
style->disable_theming |= GOG_STYLE_LINE;
if (style->line.auto_dash)
style->line.dash_type = GO_LINE_NONE;
if (style->line.auto_color) {
style->line.width = 0;
style->line.color = RGBA_BLACK;
}
}
if (!plot->default_style_has_markers &&
style->marker.auto_shape)
go_marker_set_shape (style->marker.mark, GO_MARKER_NONE);
if (!plot->default_style_has_lines &&
style->line.auto_dash)
style->line.dash_type = GO_LINE_NONE;
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment