diff options
author | Milan Crha <mcrha@redhat.com> | 2010-04-02 03:40:19 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-04-02 03:40:19 +0800 |
commit | b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6 (patch) | |
tree | c931eb292f3610cb9c5687260d56b660db176d47 /widgets/table | |
parent | 125573b8fd62f4d0d38907c95c70168ca984d3c4 (diff) | |
download | gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.gz gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.bz2 gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.lz gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.xz gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.zst gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.zip |
Bug #325121 - Do not translate developer strings in g_param_spec_*
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-cell-pixbuf.c | 12 | ||||
-rw-r--r-- | widgets/table/e-cell-text.c | 24 | ||||
-rw-r--r-- | widgets/table/e-table-click-to-add.c | 20 | ||||
-rw-r--r-- | widgets/table/e-table-col.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-config.c | 4 | ||||
-rw-r--r-- | widgets/table/e-table-field-chooser-dialog.c | 6 | ||||
-rw-r--r-- | widgets/table/e-table-field-chooser-item.c | 10 | ||||
-rw-r--r-- | widgets/table/e-table-field-chooser.c | 6 | ||||
-rw-r--r-- | widgets/table/e-table-group-container.c | 48 | ||||
-rw-r--r-- | widgets/table/e-table-group-leaf.c | 48 | ||||
-rw-r--r-- | widgets/table/e-table-header-item.c | 14 | ||||
-rw-r--r-- | widgets/table/e-table-item.c | 56 | ||||
-rw-r--r-- | widgets/table/e-table-selection-model.c | 8 | ||||
-rw-r--r-- | widgets/table/e-table-sorter.c | 4 | ||||
-rw-r--r-- | widgets/table/e-table.c | 24 | ||||
-rw-r--r-- | widgets/table/e-tree-selection-model.c | 14 | ||||
-rw-r--r-- | widgets/table/e-tree.c | 36 |
17 files changed, 168 insertions, 168 deletions
diff --git a/widgets/table/e-cell-pixbuf.c b/widgets/table/e-cell-pixbuf.c index eb7b1330c3..1d536026fc 100644 --- a/widgets/table/e-cell-pixbuf.c +++ b/widgets/table/e-cell-pixbuf.c @@ -354,22 +354,22 @@ e_cell_pixbuf_class_init (ECellPixbufClass *klass) g_object_class_install_property (object_class, PROP_SELECTED_COLUMN, g_param_spec_int ("selected_column", - _("Selected Column"), - /*_( */"XXX blurb" /*)*/, + "Selected Column", + NULL, 0, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FOCUSED_COLUMN, g_param_spec_int ("focused_column", - _("Focused Column"), - /*_( */"XXX blurb" /*)*/, + "Focused Column", + NULL, 0, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_UNSELECTED_COLUMN, g_param_spec_int ("unselected_column", - _("Unselected Column"), - /*_( */"XXX blurb" /*)*/, + "Unselected Column", + NULL, 0, G_MAXINT, 0, G_PARAM_READWRITE)); } diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index f0509e4590..b501c47c10 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -1628,43 +1628,43 @@ e_cell_text_class_init (ECellTextClass *klass) g_object_class_install_property (object_class, PROP_STRIKEOUT_COLUMN, g_param_spec_int ("strikeout_column", - _("Strikeout Column"), - /*_( */"XXX blurb" /*)*/, + "Strikeout Column", + NULL, -1, G_MAXINT, -1, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_UNDERLINE_COLUMN, g_param_spec_int ("underline_column", - _("Underline Column"), - /*_( */"XXX blurb" /*)*/, + "Underline Column", + NULL, -1, G_MAXINT, -1, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_BOLD_COLUMN, g_param_spec_int ("bold_column", - _("Bold Column"), - /*_( */"XXX blurb" /*)*/, + "Bold Column", + NULL, -1, G_MAXINT, -1, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_COLOR_COLUMN, g_param_spec_int ("color_column", - _("Color Column"), - /*_( */"XXX blurb" /*)*/, + "Color Column", + NULL, -1, G_MAXINT, -1, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _("Editable"), - /*_( */"XXX blurb" /*)*/, + "Editable", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_BG_COLOR_COLUMN, g_param_spec_int ("bg_color_column", - _("BG Color Column"), - /*_( */"XXX blurb" /*)*/, + "BG Color Column", + NULL, -1, G_MAXINT, -1, G_PARAM_READWRITE)); diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c index 944e1dd268..deebd7939c 100644 --- a/widgets/table/e-table-click-to-add.c +++ b/widgets/table/e-table-click-to-add.c @@ -501,36 +501,36 @@ etcta_class_init (ETableClickToAddClass *klass) g_object_class_install_property (object_class, PROP_HEADER, g_param_spec_object ("header", - _("Header"), - /*_( */"XXX blurb" /*)*/, + "Header", + NULL, E_TABLE_HEADER_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MODEL, g_param_spec_object ("model", - _("Model"), - /*_( */"XXX blurb" /*)*/, + "Model", + NULL, E_TABLE_MODEL_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MESSAGE, g_param_spec_string ("message", - _("Message"), - /*_( */"XXX blurb" /*)*/, + "Message", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_double ("width", - _("Width"), - /*_( */"XXX blurb" /*)*/, + "Width", + NULL, 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE | G_PARAM_LAX_VALIDATION)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_double ("height", - _("Height"), - /*_( */"XXX blurb" /*)*/, + "Height", + NULL, 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READABLE | G_PARAM_LAX_VALIDATION)); diff --git a/widgets/table/e-table-col.c b/widgets/table/e-table-col.c index cd96441b63..974ead48c1 100644 --- a/widgets/table/e-table-col.c +++ b/widgets/table/e-table-col.c @@ -118,7 +118,7 @@ e_table_col_class_init (ETableColClass *klass) g_object_class_install_property (object_class, PROP_COMPARE_COL, g_param_spec_int ("compare_col", - _( "Width" ), + "Width", "Width", 0, G_MAXINT, 0, G_PARAM_READWRITE)); diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c index f87b316dd0..23046c717a 100644 --- a/widgets/table/e-table-config.c +++ b/widgets/table/e-table-config.c @@ -147,8 +147,8 @@ e_table_config_class_init (ETableConfigClass *klass) g_object_class_install_property (object_class, PROP_STATE, g_param_spec_object ("state", - _("State"), - /*_( */"XXX blurb" /*)*/, + "State", + NULL, E_TABLE_STATE_TYPE, G_PARAM_READABLE)); } diff --git a/widgets/table/e-table-field-chooser-dialog.c b/widgets/table/e-table-field-chooser-dialog.c index 74bbe827ac..9641f6c58e 100644 --- a/widgets/table/e-table-field-chooser-dialog.c +++ b/widgets/table/e-table-field-chooser-dialog.c @@ -63,21 +63,21 @@ e_table_field_chooser_dialog_class_init (ETableFieldChooserDialogClass *klass) g_object_class_install_property (object_class, PROP_DND_CODE, g_param_spec_string ("dnd_code", "DnD code", - /*_( */"XXX blurb" /*)*/, + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FULL_HEADER, g_param_spec_object ("full_header", "Full Header", - /*_( */"XXX blurb" /*)*/, + NULL, E_TABLE_HEADER_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEADER, g_param_spec_object ("header", "Header", - /*_( */"XXX blurb" /*)*/, + NULL, E_TABLE_HEADER_TYPE, G_PARAM_READWRITE)); } diff --git a/widgets/table/e-table-field-chooser-item.c b/widgets/table/e-table-field-chooser-item.c index 69f1fe85dc..69c0b58249 100644 --- a/widgets/table/e-table-field-chooser-item.c +++ b/widgets/table/e-table-field-chooser-item.c @@ -632,35 +632,35 @@ etfci_class_init (ETableFieldChooserItemClass *klass) g_object_class_install_property (object_class, PROP_DND_CODE, g_param_spec_string ("dnd_code", "DnD code", - /*_( */"XXX blurb" /*)*/, + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FULL_HEADER, g_param_spec_object ("full_header", "Full Header", - /*_( */"XXX blurb" /*)*/, + NULL, E_TABLE_HEADER_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEADER, g_param_spec_object ("header", "Header", - /*_( */"XXX blurb" /*)*/, + NULL, E_TABLE_HEADER_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_double ("width", "Width", - /*_( */"XXX blurb" /*)*/, + NULL, 0, G_MAXDOUBLE, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_double ("height", "Height", - /*_( */"XXX blurb" /*)*/, + NULL, 0, G_MAXDOUBLE, 0, G_PARAM_READABLE)); } diff --git a/widgets/table/e-table-field-chooser.c b/widgets/table/e-table-field-chooser.c index 3c1d722617..2e73bafcfc 100644 --- a/widgets/table/e-table-field-chooser.c +++ b/widgets/table/e-table-field-chooser.c @@ -62,21 +62,21 @@ e_table_field_chooser_class_init (ETableFieldChooserClass *klass) g_object_class_install_property (object_class, PROP_DND_CODE, g_param_spec_string ("dnd_code", "DnD code", - /*_( */"XXX blurb" /*)*/, + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FULL_HEADER, g_param_spec_object ("full_header", "Full Header", - /*_( */"XXX blurb" /*)*/, + NULL, E_TABLE_HEADER_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEADER, g_param_spec_object ("header", "Header", - /*_( */"XXX blurb" /*)*/, + NULL, E_TABLE_HEADER_TYPE, G_PARAM_READWRITE)); } diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index 810823db61..1f06f06e3c 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -929,85 +929,85 @@ etgc_class_init (ETableGroupContainerClass *klass) g_object_class_install_property (object_class, PROP_TABLE_ALTERNATING_ROW_COLORS, g_param_spec_boolean ("alternating_row_colors", - _( "Alternating Row Colors" ), - _( "Alternating Row Colors" ), + "Alternating Row Colors", + "Alternating Row Colors", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_HORIZONTAL_DRAW_GRID, g_param_spec_boolean ("horizontal_draw_grid", - _( "Horizontal Draw Grid" ), - _( "Horizontal Draw Grid" ), + "Horizontal Draw Grid", + "Horizontal Draw Grid", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_VERTICAL_DRAW_GRID, g_param_spec_boolean ("vertical_draw_grid", - _( "Vertical Draw Grid" ), - _( "Vertical Draw Grid" ), + "Vertical Draw Grid", + "Vertical Draw Grid", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_DRAW_FOCUS, g_param_spec_boolean ("drawfocus", - _( "Draw focus" ), - _( "Draw focus" ), + "Draw focus", + "Draw focus", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_CURSOR_MODE, g_param_spec_int ("cursor_mode", - _( "Cursor mode" ), - _( "Cursor mode" ), + "Cursor mode", + "Cursor mode", E_CURSOR_LINE, E_CURSOR_SPREADSHEET, E_CURSOR_LINE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SELECTION_MODEL, g_param_spec_object ("selection_model", - _( "Selection model" ), - _( "Selection model" ), + "Selection model", + "Selection model", E_SELECTION_MODEL_TYPE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_LENGTH_THRESHOLD, g_param_spec_int ("length_threshold", - _( "Length Threshold" ), - _( "Length Threshold" ), + "Length Threshold", + "Length Threshold", -1, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_UNIFORM_ROW_HEIGHT, g_param_spec_boolean ("uniform_row_height", - _( "Uniform row height" ), - _( "Uniform row height" ), + "Uniform row height", + "Uniform row height", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FROZEN, g_param_spec_boolean ("frozen", - _( "Frozen" ), - _( "Frozen" ), + "Frozen", + "Frozen", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_double ("height", - _( "Height" ), - _( "Height" ), + "Height", + "Height", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_double ("width", - _( "Width" ), - _( "Width" ), + "Width", + "Width", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MINIMUM_WIDTH, g_param_spec_double ("minimum_width", - _( "Minimum width" ), - _( "Minimum Width" ), + "Minimum width", + "Minimum Width", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); } diff --git a/widgets/table/e-table-group-leaf.c b/widgets/table/e-table-group-leaf.c index 1748d3e509..0b0c0f4a59 100644 --- a/widgets/table/e-table-group-leaf.c +++ b/widgets/table/e-table-group-leaf.c @@ -583,85 +583,85 @@ etgl_class_init (ETableGroupLeafClass *klass) g_object_class_install_property (object_class, PROP_TABLE_ALTERNATING_ROW_COLORS, g_param_spec_boolean ("alternating_row_colors", - _( "Alternating Row Colors" ), - _( "Alternating Row Colors" ), + "Alternating Row Colors", + "Alternating Row Colors", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_HORIZONTAL_DRAW_GRID, g_param_spec_boolean ("horizontal_draw_grid", - _( "Horizontal Draw Grid" ), - _( "Horizontal Draw Grid" ), + "Horizontal Draw Grid", + "Horizontal Draw Grid", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_VERTICAL_DRAW_GRID, g_param_spec_boolean ("vertical_draw_grid", - _( "Vertical Draw Grid" ), - _( "Vertical Draw Grid" ), + "Vertical Draw Grid", + "Vertical Draw Grid", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_DRAW_FOCUS, g_param_spec_boolean ("drawfocus", - _( "Draw focus" ), - _( "Draw focus" ), + "Draw focus", + "Draw focus", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_CURSOR_MODE, g_param_spec_int ("cursor_mode", - _( "Cursor mode" ), - _( "Cursor mode" ), + "Cursor mode", + "Cursor mode", E_CURSOR_LINE, E_CURSOR_SPREADSHEET, E_CURSOR_LINE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_LENGTH_THRESHOLD, g_param_spec_int ("length_threshold", - _( "Length Threshold" ), - _( "Length Threshold" ), + "Length Threshold", + "Length Threshold", -1, G_MAXINT, 0, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SELECTION_MODEL, g_param_spec_object ("selection_model", - _( "Selection model" ), - _( "Selection model" ), + "Selection model", + "Selection model", E_SELECTION_MODEL_TYPE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_double ("height", - _( "Height" ), - _( "Height" ), + "Height", + "Height", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_double ("width", - _( "Width" ), - _( "Width" ), + "Width", + "Width", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MINIMUM_WIDTH, g_param_spec_double ("minimum_width", - _( "Minimum width" ), - _( "Minimum Width" ), + "Minimum width", + "Minimum Width", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FROZEN, g_param_spec_boolean ("frozen", - _( "Frozen" ), - _( "Frozen" ), + "Frozen", + "Frozen", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_UNIFORM_ROW_HEIGHT, g_param_spec_boolean ("uniform_row_height", - _( "Uniform row height" ), - _( "Uniform row height" ), + "Uniform row height", + "Uniform row height", FALSE, G_PARAM_READWRITE)); } diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index b2bcb591f8..57e0e42a82 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -1953,49 +1953,49 @@ ethi_class_init (ETableHeaderItemClass *klass) g_object_class_install_property (object_class, PROP_DND_CODE, g_param_spec_string ("dnd_code", "DnD code", - /*_( */"XXX blurb" /*)*/, + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_TABLE_FONT_DESC, g_param_spec_boxed ("font-desc", "Font Description", - /*_( */"XXX blurb" /*)*/, + NULL, PANGO_TYPE_FONT_DESCRIPTION, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_FULL_HEADER, g_param_spec_object ("full_header", "Full Header", - /*_( */"XXX blurb" /*)*/, + NULL, E_TABLE_HEADER_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_TABLE_HEADER, g_param_spec_object ("ETableHeader", "Header", - /*_( */"XXX blurb" /*)*/, + NULL, E_TABLE_HEADER_TYPE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SORT_INFO, g_param_spec_object ("sort_info", "Sort Info", - /*_( */"XXX blurb" /*)*/, + NULL, E_TABLE_SORT_INFO_TYPE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE, g_param_spec_object ("table", "Table", - /*_( */"XXX blurb" /*)*/, + NULL, E_TABLE_TYPE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TREE, g_param_spec_object ("tree", "Tree", - /*_( */"XXX blurb" /*)*/, + NULL, E_TREE_TYPE, G_PARAM_WRITABLE)); diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 22a0848d7f..3c0fa33bb0 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -2818,98 +2818,98 @@ eti_class_init (ETableItemClass *klass) g_object_class_install_property (object_class, PROP_TABLE_HEADER, g_param_spec_object ("ETableHeader", - _( "Table header" ), - _( "Table header" ), + "Table header", + "Table header", E_TABLE_HEADER_TYPE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_MODEL, g_param_spec_object ("ETableModel", - _( "Table model" ), - _( "Table model" ), + "Table model", + "Table model", E_TABLE_MODEL_TYPE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_SELECTION_MODEL, g_param_spec_object ("selection_model", - _( "Selection model" ), - _( "Selection model" ), + "Selection model", + "Selection model", E_SELECTION_MODEL_TYPE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_ALTERNATING_ROW_COLORS, g_param_spec_boolean ("alternating_row_colors", - _( "Alternating Row Colors" ), - _( "Alternating Row Colors" ), + "Alternating Row Colors", + "Alternating Row Colors", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_HORIZONTAL_DRAW_GRID, g_param_spec_boolean ("horizontal_draw_grid", - _( "Horizontal Draw Grid" ), - _( "Horizontal Draw Grid" ), + "Horizontal Draw Grid", + "Horizontal Draw Grid", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_VERTICAL_DRAW_GRID, g_param_spec_boolean ("vertical_draw_grid", - _( "Vertical Draw Grid" ), - _( "Vertical Draw Grid" ), + "Vertical Draw Grid", + "Vertical Draw Grid", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_TABLE_DRAW_FOCUS, g_param_spec_boolean ("drawfocus", - _( "Draw focus" ), - _( "Draw focus" ), + "Draw focus", + "Draw focus", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_CURSOR_MODE, g_param_spec_int ("cursor_mode", - _( "Cursor mode" ), - _( "Cursor mode" ), + "Cursor mode", + "Cursor mode", E_CURSOR_LINE, E_CURSOR_SPREADSHEET, E_CURSOR_LINE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_LENGTH_THRESHOLD, g_param_spec_int ("length_threshold", - _( "Length Threshold" ), - _( "Length Threshold" ), + "Length Threshold", + "Length Threshold", -1, G_MAXINT, 0, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_MINIMUM_WIDTH, g_param_spec_double ("minimum_width", - _( "Minimum width" ), - _( "Minimum Width" ), + "Minimum width", + "Minimum Width", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_double ("width", - _( "Width" ), - _( "Width" ), + "Width", + "Width", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_double ("height", - _( "Height" ), - _( "Height" ), + "Height", + "Height", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_CURSOR_ROW, g_param_spec_int ("cursor_row", - _( "Cursor row" ), - _( "Cursor row" ), + "Cursor row", + "Cursor row", 0, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_UNIFORM_ROW_HEIGHT, g_param_spec_boolean ("uniform_row_height", - _( "Uniform row height" ), - _( "Uniform row height" ), + "Uniform row height", + "Uniform row height", FALSE, G_PARAM_READWRITE)); diff --git a/widgets/table/e-table-selection-model.c b/widgets/table/e-table-selection-model.c index 67a27cde01..3e98ddbfef 100644 --- a/widgets/table/e-table-selection-model.c +++ b/widgets/table/e-table-selection-model.c @@ -299,15 +299,15 @@ e_table_selection_model_class_init (ETableSelectionModelClass *klass) g_object_class_install_property (object_class, PROP_MODEL, g_param_spec_object ("model", - _("Model"), - /*_( */"XXX blurb" /*)*/, + "Model", + NULL, E_TABLE_MODEL_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_HEADER, g_param_spec_object ("header", - _("Header"), - /*_( */"XXX blurb" /*)*/, + "Header", + NULL, E_TABLE_HEADER_TYPE, G_PARAM_READWRITE)); } diff --git a/widgets/table/e-table-sorter.c b/widgets/table/e-table-sorter.c index 82ed1d860a..805aed5ca1 100644 --- a/widgets/table/e-table-sorter.c +++ b/widgets/table/e-table-sorter.c @@ -170,8 +170,8 @@ ets_class_init (ETableSorterClass *klass) g_object_class_install_property (object_class, PROP_SORT_INFO, g_param_spec_object ("sort_info", - _("Sort Info"), - /*_( */"XXX blurb" /*)*/, + "Sort Info", + NULL, E_TABLE_SORT_INFO_TYPE, G_PARAM_READWRITE)); } diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 8110732e2c..5c35eb26e6 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -3336,43 +3336,43 @@ e_table_class_init (ETableClass *class) g_object_class_install_property (object_class, PROP_LENGTH_THRESHOLD, g_param_spec_int ("length_threshold", - _("Length Threshold"), - /*_( */"XXX blurb" /*)*/, + "Length Threshold", + NULL, 0, G_MAXINT, 0, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_UNIFORM_ROW_HEIGHT, g_param_spec_boolean ("uniform_row_height", - _("Uniform row height"), - /*_( */"XXX blurb" /*)*/, + "Uniform row height", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_ALWAYS_SEARCH, g_param_spec_boolean ("always_search", - _("Always search"), - /*_( */"XXX blurb" /*)*/, + "Always search", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_USE_CLICK_TO_ADD, g_param_spec_boolean ("use_click_to_add", - _("Use click to add"), - /*_( */"XXX blurb" /*)*/, + "Use click to add", + NULL, FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MODEL, g_param_spec_object ("model", - _("Model"), - /*_( */"XXX blurb" /*)*/, + "Model", + NULL, E_TABLE_MODEL_TYPE, G_PARAM_READABLE)); gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("vertical-spacing", - _("Vertical Row Spacing"), - _("Vertical space between rows. It is added to top and to bottom of a row"), + "Vertical Row Spacing", + "Vertical space between rows. It is added to top and to bottom of a row", 0, G_MAXINT, 3, diff --git a/widgets/table/e-tree-selection-model.c b/widgets/table/e-tree-selection-model.c index 6f89816fbe..0c877e2279 100644 --- a/widgets/table/e-tree-selection-model.c +++ b/widgets/table/e-tree-selection-model.c @@ -800,29 +800,29 @@ e_tree_selection_model_class_init (ETreeSelectionModelClass *klass) g_object_class_install_property (object_class, PROP_CURSOR_ROW, g_param_spec_int ("cursor_row", - _("Cursor Row"), - /*_( */"XXX blurb" /*)*/, + "Cursor Row", + NULL, 0, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_CURSOR_COL, g_param_spec_int ("cursor_col", - _("Cursor Column"), - /*_( */"XXX blurb" /*)*/, + "Cursor Column", + NULL, 0, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MODEL, g_param_spec_object ("model", - _("Model"), - "XXX blurb", + "Model", + NULL, E_TREE_MODEL_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_ETTA, g_param_spec_object ("etta", "ETTA", - "XXX blurb", + NULL, E_TREE_TABLE_ADAPTER_TYPE, G_PARAM_READWRITE)); diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index ac1fcdd2d7..c093255518 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -3364,61 +3364,61 @@ e_tree_class_init (ETreeClass *class) g_object_class_install_property (object_class, PROP_LENGTH_THRESHOLD, g_param_spec_int ("length_threshold", - _( "Length Threshold" ), - _( "Length Threshold" ), + "Length Threshold", + "Length Threshold", 0, G_MAXINT, 0, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_HORIZONTAL_DRAW_GRID, g_param_spec_boolean ("horizontal_draw_grid", - _( "Horizontal Draw Grid" ), - _( "Horizontal Draw Grid" ), + "Horizontal Draw Grid", + "Horizontal Draw Grid", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_VERTICAL_DRAW_GRID, g_param_spec_boolean ("vertical_draw_grid", - _( "Vertical Draw Grid" ), - _( "Vertical Draw Grid" ), + "Vertical Draw Grid", + "Vertical Draw Grid", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_DRAW_FOCUS, g_param_spec_boolean ("drawfocus", - _( "Draw focus" ), - _( "Draw focus" ), + "Draw focus", + "Draw focus", FALSE, G_PARAM_WRITABLE)); g_object_class_install_property (object_class, PROP_ETTA, g_param_spec_object ("ETreeTableAdapter", - _( "ETree table adapter" ), - _( "ETree table adapter" ), + "ETree table adapter", + "ETree table adapter", E_TREE_TABLE_ADAPTER_TYPE, G_PARAM_READABLE)); g_object_class_install_property (object_class, PROP_UNIFORM_ROW_HEIGHT, g_param_spec_boolean ("uniform_row_height", - _( "Uniform row height" ), - _( "Uniform row height" ), + "Uniform row height", + "Uniform row height", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_ALWAYS_SEARCH, g_param_spec_boolean ("always_search", - _( "Always search" ), - _( "Always search" ), + "Always search", + "Always search", FALSE, G_PARAM_READWRITE)); gtk_widget_class_install_style_property (widget_class, g_param_spec_boolean ("retro_look", - _("Retro Look"), - _("Draw lines and +/- expanders."), + "Retro Look", + "Draw lines and +/- expanders.", FALSE, G_PARAM_READABLE)); gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("expander_size", - _("Expander Size"), - _("Size of the expander arrow"), + "Expander Size", + "Size of the expander arrow", 0, G_MAXINT, 10, |