goffice r2273 - in trunk: . goffice/graph
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2273 - in trunk: . goffice/graph
- Date: Tue, 11 Nov 2008 12:24:00 +0000 (UTC)
Author: jbrefort
Date: Tue Nov 11 12:24:00 2008
New Revision: 2273
URL: http://svn.gnome.org/viewvc/goffice?rev=2273&view=rev
Log:
2008-11-11 Jean Brefort <jean brefort normalesup org>
* goffice/graph/gog-chart.c: set title priority to 0. [#152675]
* goffice/graph/gog-graph.c: (gog_graph_class_init): ditto.
Modified:
trunk/ChangeLog
trunk/goffice/graph/gog-chart.c
trunk/goffice/graph/gog-graph.c
Modified: trunk/goffice/graph/gog-chart.c
==============================================================================
--- trunk/goffice/graph/gog-chart.c (original)
+++ trunk/goffice/graph/gog-chart.c Tue Nov 11 12:24:00 2008
@@ -393,42 +393,42 @@
static gboolean role_3d_box_can_remove (GogObject const *parent) {return FALSE;}
static GogObjectRole const roles[] = {
- { N_("Backplane"), "GogGrid", 0,
+ { N_("Backplane"), "GogGrid", 1,
GOG_POSITION_SPECIAL, GOG_POSITION_SPECIAL, GOG_OBJECT_NAME_BY_ROLE,
role_grid_can_add, NULL, NULL, role_grid_post_add, role_grid_pre_remove, NULL, { -1 } },
- { N_("XY-Backplane"), "GogGrid", 0,
+ { N_("XY-Backplane"), "GogGrid", 1,
GOG_POSITION_SPECIAL, GOG_POSITION_SPECIAL, GOG_OBJECT_NAME_BY_ROLE,
xy_grid_3d_can_add, NULL, NULL, xy_grid_3d_post_add, NULL, NULL,
{ GOG_GRID_XY } },
- { N_("YZ-Backplane"), "GogGrid", 0,
+ { N_("YZ-Backplane"), "GogGrid", 1,
GOG_POSITION_SPECIAL, GOG_POSITION_SPECIAL, GOG_OBJECT_NAME_BY_ROLE,
yz_grid_3d_can_add, NULL, NULL, yz_grid_3d_post_add, NULL, NULL,
{ GOG_GRID_YZ } },
- { N_("ZX-Backplane"), "GogGrid", 0,
+ { N_("ZX-Backplane"), "GogGrid", 1,
GOG_POSITION_SPECIAL, GOG_POSITION_SPECIAL, GOG_OBJECT_NAME_BY_ROLE,
zx_grid_3d_can_add, NULL, NULL, zx_grid_3d_post_add, NULL, NULL,
{ GOG_GRID_ZX } },
- { N_("X-Axis"), "GogAxis", 1,
+ { N_("X-Axis"), "GogAxis", 2,
GOG_POSITION_PADDING, GOG_POSITION_PADDING, GOG_OBJECT_NAME_BY_ROLE,
x_axis_can_add, axis_can_remove, NULL, x_axis_post_add, axis_pre_remove, NULL,
{ GOG_AXIS_X } },
- { N_("Y-Axis"), "GogAxis", 2,
+ { N_("Y-Axis"), "GogAxis", 3,
GOG_POSITION_PADDING, GOG_POSITION_PADDING, GOG_OBJECT_NAME_BY_ROLE,
y_axis_can_add, axis_can_remove, NULL, y_axis_post_add, axis_pre_remove, NULL,
{ GOG_AXIS_Y } },
- { N_("Z-Axis"), "GogAxis", 3,
+ { N_("Z-Axis"), "GogAxis", 4,
GOG_POSITION_PADDING, GOG_POSITION_PADDING, GOG_OBJECT_NAME_BY_ROLE,
z_axis_can_add, axis_can_remove, NULL, z_axis_post_add, axis_pre_remove, NULL,
{ GOG_AXIS_Z } },
- { N_("Circular-Axis"), "GogAxis", 1,
+ { N_("Circular-Axis"), "GogAxis", 2,
GOG_POSITION_PADDING, GOG_POSITION_PADDING, GOG_OBJECT_NAME_BY_ROLE,
circular_axis_can_add, axis_can_remove, NULL, circular_axis_post_add, axis_pre_remove, NULL,
{ GOG_AXIS_CIRCULAR } },
- { N_("Radial-Axis"), "GogAxis", 2,
+ { N_("Radial-Axis"), "GogAxis", 3,
GOG_POSITION_PADDING, GOG_POSITION_PADDING, GOG_OBJECT_NAME_BY_ROLE,
radial_axis_can_add, axis_can_remove, NULL, radial_axis_post_add, axis_pre_remove, NULL,
{ GOG_AXIS_RADIAL } },
- { N_("Pseudo-3D-Axis"), "GogAxis", 3,
+ { N_("Pseudo-3D-Axis"), "GogAxis", 4,
GOG_POSITION_SPECIAL, GOG_POSITION_SPECIAL, GOG_OBJECT_NAME_BY_ROLE,
pseudo_3d_axis_can_add, axis_can_remove, NULL, pseudo_3d_axis_post_add, axis_pre_remove, NULL,
{ GOG_AXIS_PSEUDO_3D } },
@@ -436,14 +436,14 @@
GOG_POSITION_SPECIAL, GOG_POSITION_SPECIAL, GOG_OBJECT_NAME_BY_ROLE,
bubble_axis_can_add, axis_can_remove, NULL, bubble_axis_post_add, axis_pre_remove, NULL,
{ GOG_AXIS_BUBBLE } },
- { N_("Color-Axis"), "GogAxis", 5,
+ { N_("Color-Axis"), "GogAxis", 4,
GOG_POSITION_SPECIAL, GOG_POSITION_SPECIAL, GOG_OBJECT_NAME_BY_ROLE,
color_axis_can_add, axis_can_remove, NULL, color_axis_post_add, axis_pre_remove, NULL,
{ GOG_AXIS_COLOR } },
{ N_("Plot"), "GogPlot", 6, /* keep the axis before the plots */
GOG_POSITION_SPECIAL, GOG_POSITION_SPECIAL, GOG_OBJECT_NAME_BY_TYPE,
NULL, NULL, NULL, role_plot_post_add, role_plot_pre_remove, NULL, { -1 } },
- { N_("Title"), "GogLabel", 10,
+ { N_("Title"), "GogLabel", 0,
GOG_POSITION_COMPASS|GOG_POSITION_ANY_MANUAL,
GOG_POSITION_N|GOG_POSITION_ALIGN_CENTER,
GOG_OBJECT_NAME_BY_ROLE,
@@ -453,7 +453,7 @@
GOG_POSITION_E|GOG_POSITION_ALIGN_CENTER,
GOG_OBJECT_NAME_BY_ROLE,
NULL, NULL, NULL, NULL, NULL, NULL, { -1 } },
- { N_("3D-Box"), "Gog3DBox", 0,
+ { N_("3D-Box"), "Gog3DBox", 1,
GOG_POSITION_SPECIAL, GOG_POSITION_SPECIAL, GOG_OBJECT_NAME_BY_ROLE,
role_3d_box_can_add, role_3d_box_can_remove, NULL, NULL, NULL, NULL, { -1 } }
};
Modified: trunk/goffice/graph/gog-graph.c
==============================================================================
--- trunk/goffice/graph/gog-graph.c (original)
+++ trunk/goffice/graph/gog-graph.c Tue Nov 11 12:24:00 2008
@@ -280,12 +280,12 @@
GogObjectClass *gog_klass = (GogObjectClass *) klass;
static GogObjectRole const roles[] = {
- { N_("Chart"), "GogChart", 0,
+ { N_("Chart"), "GogChart", 1,
GOG_POSITION_SPECIAL|GOG_POSITION_ANY_MANUAL,
GOG_POSITION_SPECIAL,
GOG_OBJECT_NAME_BY_ROLE,
NULL, NULL, NULL, role_chart_post_add, role_chart_pre_remove, NULL },
- { N_("Title"), "GogLabel", 1,
+ { N_("Title"), "GogLabel", 0,
GOG_POSITION_COMPASS|GOG_POSITION_ANY_MANUAL,
GOG_POSITION_N|GOG_POSITION_ALIGN_CENTER,
GOG_OBJECT_NAME_BY_ROLE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]