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 | |
parent | 125573b8fd62f4d0d38907c95c70168ca984d3c4 (diff) | |
download | gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.gz gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.zst gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.zip |
Bug #325121 - Do not translate developer strings in g_param_spec_*
Diffstat (limited to 'widgets')
30 files changed, 306 insertions, 308 deletions
diff --git a/widgets/menus/gal-define-views-dialog.c b/widgets/menus/gal-define-views-dialog.c index 3a32dc64f6..ba50623b44 100644 --- a/widgets/menus/gal-define-views-dialog.c +++ b/widgets/menus/gal-define-views-dialog.c @@ -71,8 +71,8 @@ gal_define_views_dialog_class_init (GalDefineViewsDialogClass *klass) g_object_class_install_property (object_class, PROP_COLLECTION, g_param_spec_object ("collection", - _("Collection"), - /*_( */"XXX blurb" /*)*/, + "Collection", + NULL, GAL_VIEW_COLLECTION_TYPE, G_PARAM_READWRITE)); } diff --git a/widgets/menus/gal-define-views-model.c b/widgets/menus/gal-define-views-model.c index e5425f7552..35a18a2484 100644 --- a/widgets/menus/gal-define-views-model.c +++ b/widgets/menus/gal-define-views-model.c @@ -175,15 +175,15 @@ gal_define_views_model_class_init (GalDefineViewsModelClass *klass) 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_COLLECTION, g_param_spec_object ("collection", - _("Collection"), - /*_( */"XXX blurb" /*)*/, + "Collection", + NULL, GAL_VIEW_COLLECTION_TYPE, G_PARAM_READWRITE)); diff --git a/widgets/menus/gal-view-instance-save-as-dialog.c b/widgets/menus/gal-view-instance-save-as-dialog.c index 56b6dc176b..14e8d79d3c 100644 --- a/widgets/menus/gal-view-instance-save-as-dialog.c +++ b/widgets/menus/gal-view-instance-save-as-dialog.c @@ -220,8 +220,8 @@ gal_view_instance_save_as_dialog_class_init (GalViewInstanceSaveAsDialogClass *k g_object_class_install_property (object_class, PROP_INSTANCE, g_param_spec_object ("instance", - _("Instance"), - /*_( */"XXX blurb" /*)*/, + "Instance", + NULL, GAL_VIEW_INSTANCE_TYPE, G_PARAM_READWRITE)); } diff --git a/widgets/menus/gal-view-new-dialog.c b/widgets/menus/gal-view-new-dialog.c index ed5a539616..356813c6fa 100644 --- a/widgets/menus/gal-view-new-dialog.c +++ b/widgets/menus/gal-view-new-dialog.c @@ -57,15 +57,15 @@ gal_view_new_dialog_class_init (GalViewNewDialogClass *klass) g_object_class_install_property (object_class, PROP_NAME, g_param_spec_string ("name", - _("Name"), - /*_( */"XXX blurb" /*)*/, + "Name", + NULL, NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FACTORY, g_param_spec_object ("factory", - _("Factory"), - /*_( */"XXX blurb" /*)*/, + "Factory", + NULL, GAL_TYPE_VIEW_FACTORY, G_PARAM_READWRITE)); } diff --git a/widgets/misc/e-action-combo-box.c b/widgets/misc/e-action-combo-box.c index 2fa376d420..0260c6e19a 100644 --- a/widgets/misc/e-action-combo-box.c +++ b/widgets/misc/e-action-combo-box.c @@ -385,8 +385,8 @@ action_combo_box_class_init (EActionComboBoxClass *class) PROP_ACTION, g_param_spec_object ( "action", - _("Action"), - _("A GtkRadioAction"), + "Action", + "A GtkRadioAction", GTK_TYPE_RADIO_ACTION, G_PARAM_READWRITE)); } diff --git a/widgets/misc/e-canvas-background.c b/widgets/misc/e-canvas-background.c index 3b4cbadd20..68c2488508 100644 --- a/widgets/misc/e-canvas-background.c +++ b/widgets/misc/e-canvas-background.c @@ -468,57 +468,57 @@ ecb_class_init (ECanvasBackgroundClass *ecb_class) g_object_class_install_property (object_class, PROP_FILL_COLOR, g_param_spec_string ("fill_color", - _( "Fill color" ), - _( "Fill color" ), + "Fill color", + "Fill color", NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FILL_COLOR_GDK, g_param_spec_boxed ("fill_color_gdk", - _( "GDK fill color" ), - _( "GDK fill color" ), + "GDK fill color", + "GDK fill color", GDK_TYPE_COLOR, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FILL_COLOR_RGBA, g_param_spec_uint ("fill_color_rgba", - _( "GDK fill color" ), - _( "GDK fill color" ), + "GDK fill color", + "GDK fill color", 0, G_MAXUINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_FILL_STIPPLE, g_param_spec_object ("fill_stipple", - _( "Fill stipple" ), - _( "Fill stipple" ), + "Fill stipple", + "Fill stipple", GDK_TYPE_WINDOW, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_X1, g_param_spec_double ("x1", - _( "X1" ), - _( "X1" ), + "X1", + "X1", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_X2, g_param_spec_double ("x2", - _( "X2" ), - _( "X2" ), + "X2", + "X2", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_Y1, g_param_spec_double ("y1", - _( "Y1" ), - _( "Y1" ), + "Y1", + "Y1", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_Y2, g_param_spec_double ("y2", - _( "Y2" ), - _( "Y2" ), + "Y2", + "Y2", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); ecb_signals [STYLE_SET] = diff --git a/widgets/misc/e-canvas-vbox.c b/widgets/misc/e-canvas-vbox.c index e9d78f220c..63b23efdf6 100644 --- a/widgets/misc/e-canvas-vbox.c +++ b/widgets/misc/e-canvas-vbox.c @@ -80,26 +80,26 @@ e_canvas_vbox_class_init (ECanvasVboxClass *klass) 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_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_SPACING, g_param_spec_double ("spacing", - _( "Spacing" ), - _( "Spacing" ), + "Spacing", + "Spacing", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); } diff --git a/widgets/misc/e-online-button.c b/widgets/misc/e-online-button.c index 601aaa4117..7c5c23b760 100644 --- a/widgets/misc/e-online-button.c +++ b/widgets/misc/e-online-button.c @@ -131,8 +131,8 @@ online_button_class_init (EOnlineButtonClass *class) PROP_ONLINE, g_param_spec_boolean ( "online", - _("Online"), - _("The button state is online"), + "Online", + "The button state is online", TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); diff --git a/widgets/misc/e-paned.c b/widgets/misc/e-paned.c index 2b4701b9ff..3f8b57011a 100644 --- a/widgets/misc/e-paned.c +++ b/widgets/misc/e-paned.c @@ -303,8 +303,8 @@ paned_class_init (EPanedClass *class) PROP_HPOSITION, g_param_spec_int ( "hposition", - _("Horizontal Position"), - _("Pane position when oriented horizontally"), + "Horizontal Position", + "Pane position when oriented horizontally", G_MININT, G_MAXINT, 0, @@ -315,8 +315,8 @@ paned_class_init (EPanedClass *class) PROP_VPOSITION, g_param_spec_int ( "vposition", - _("Vertical Position"), - _("Pane position when oriented vertically"), + "Vertical Position", + "Pane position when oriented vertically", G_MININT, G_MAXINT, 0, @@ -327,8 +327,8 @@ paned_class_init (EPanedClass *class) PROP_PROPORTION, g_param_spec_double ( "proportion", - _("Proportion"), - _("Proportion of the 2nd pane size"), + "Proportion", + "Proportion of the 2nd pane size", 0.0, 1.0, 0.0, @@ -339,8 +339,8 @@ paned_class_init (EPanedClass *class) PROP_FIXED_RESIZE, g_param_spec_boolean ( "fixed-resize", - _("Fixed Resize"), - _("Keep the 2nd pane fixed during resize"), + "Fixed Resize", + "Keep the 2nd pane fixed during resize", TRUE, G_PARAM_READWRITE)); } diff --git a/widgets/misc/e-selection-model-array.c b/widgets/misc/e-selection-model-array.c index 9a2a6a8e68..3dc47e99c3 100644 --- a/widgets/misc/e-selection-model-array.c +++ b/widgets/misc/e-selection-model-array.c @@ -590,15 +590,15 @@ e_selection_model_array_class_init (ESelectionModelArrayClass *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)); } diff --git a/widgets/misc/e-selection-model.c b/widgets/misc/e-selection-model.c index bc858a4c34..882306df9e 100644 --- a/widgets/misc/e-selection-model.c +++ b/widgets/misc/e-selection-model.c @@ -213,23 +213,23 @@ e_selection_model_class_init (ESelectionModelClass *klass) g_object_class_install_property (object_class, PROP_SORTER, g_param_spec_object ("sorter", - _("Sorter"), - /*_( */"XXX blurb" /*)*/, + "Sorter", + NULL, E_SORTER_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_SELECTION_MODE, g_param_spec_int ("selection_mode", - _("Selection Mode"), - /*_( */"XXX blurb" /*)*/, + "Selection Mode", + NULL, GTK_SELECTION_NONE, GTK_SELECTION_MULTIPLE, GTK_SELECTION_SINGLE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_CURSOR_MODE, g_param_spec_int ("cursor_mode", - _("Cursor Mode"), - /*_( */"XXX blurb" /*)*/, + "Cursor Mode", + NULL, E_CURSOR_LINE, E_CURSOR_SPREADSHEET, E_CURSOR_LINE, G_PARAM_READWRITE)); 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, diff --git a/widgets/text/e-reflow.c b/widgets/text/e-reflow.c index 0ce3302da1..0e11047408 100644 --- a/widgets/text/e-reflow.c +++ b/widgets/text/e-reflow.c @@ -1409,43 +1409,43 @@ e_reflow_class_init (EReflowClass *klass) 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_READABLE)); 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_EMPTY_MESSAGE, g_param_spec_string ("empty_message", - _( "Empty message" ), - _( "Empty message" ), + "Empty message", + "Empty message", NULL, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_MODEL, g_param_spec_object ("model", - _( "Reflow model" ), - _( "Reflow model" ), + "Reflow model", + "Reflow model", E_REFLOW_MODEL_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_COLUMN_WIDTH, g_param_spec_double ("column_width", - _( "Column width" ), - _( "Column width" ), + "Column width", + "Column width", 0.0, G_MAXDOUBLE, 150.0, G_PARAM_READWRITE)); diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index f964ae9bb1..2a455409ba 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -3305,241 +3305,239 @@ e_text_class_init (ETextClass *klass) g_object_class_install_property (gobject_class, PROP_MODEL, g_param_spec_object ("model", - _( "Model" ), - _( "Model" ), + "Model", + "Model", E_TYPE_TEXT_MODEL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_EVENT_PROCESSOR, g_param_spec_object ("event_processor", - _( "Event Processor" ), - _( "Event Processor" ), + "Event Processor", + "Event Processor", E_TEXT_EVENT_PROCESSOR_TYPE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_TEXT, g_param_spec_string ("text", - _( "Text" ), - _( "Text" ), + "Text", + "Text", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_BOLD, g_param_spec_boolean ("bold", - _( "Bold" ), - _( "Bold" ), + "Bold", + "Bold", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_STRIKEOUT, g_param_spec_boolean ("strikeout", - _( "Strikeout" ), - _( "Strikeout" ), + "Strikeout", + "Strikeout", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_ANCHOR, g_param_spec_enum ("anchor", - _( "Anchor" ), - _( "Anchor" ), + "Anchor", + "Anchor", GTK_TYPE_ANCHOR_TYPE, GTK_ANCHOR_CENTER, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_JUSTIFICATION, g_param_spec_enum ("justification", - _( "Justification" ), - _( "Justification" ), + "Justification", + "Justification", GTK_TYPE_JUSTIFICATION, GTK_JUSTIFY_LEFT, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_CLIP_WIDTH, g_param_spec_double ("clip_width", - _( "Clip Width" ), - _( "Clip Width" ), + "Clip Width", + "Clip Width", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_CLIP_HEIGHT, g_param_spec_double ("clip_height", - _( "Clip Height" ), - _( "Clip Height" ), + "Clip Height", + "Clip Height", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_CLIP, g_param_spec_boolean ("clip", - _( "Clip" ), - _( "Clip" ), + "Clip", + "Clip", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_FILL_CLIP_RECTANGLE, g_param_spec_boolean ("fill_clip_rectangle", - _( "Fill clip rectangle" ), - _( "Fill clip rectangle" ), + "Fill clip rectangle", + "Fill clip rectangle", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_X_OFFSET, g_param_spec_double ("x_offset", - _( "X Offset" ), - _( "X Offset" ), + "X Offset", + "X Offset", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_Y_OFFSET, g_param_spec_double ("y_offset", - _( "Y Offset" ), - _( "Y Offset" ), + "Y Offset", + "Y Offset", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_FILL_COLOR, g_param_spec_string ("fill_color", - _( "Fill color" ), - _( "Fill color" ), + "Fill color", + "Fill color", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_FILL_COLOR_GDK, g_param_spec_boxed ("fill_color_gdk", - _( "GDK fill color" ), - _( "GDK fill color" ), + "GDK fill color", + "GDK fill color", GDK_TYPE_COLOR, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_FILL_COLOR_RGBA, g_param_spec_uint ("fill_color_rgba", - _( "GDK fill color" ), - _( "GDK fill color" ), + "GDK fill color", + "GDK fill color", 0, G_MAXUINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_FILL_STIPPLE, g_param_spec_object ("fill_stipple", - _( "Fill stipple" ), - _( "Fill stipple" ), + "Fill stipple", + "Fill stipple", GDK_TYPE_DRAWABLE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_TEXT_WIDTH, g_param_spec_double ("text_width", - _( "Text width" ), - _( "Text width" ), + "Text width", + "Text width", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READABLE)); g_object_class_install_property (gobject_class, PROP_TEXT_HEIGHT, g_param_spec_double ("text_height", - _( "Text height" ), - _( "Text height" ), + "Text height", + "Text height", 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READABLE)); g_object_class_install_property (gobject_class, PROP_EDITABLE, g_param_spec_boolean ("editable", - _( "Editable" ), - _( "Editable" ), + "Editable", + "Editable", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_USE_ELLIPSIS, g_param_spec_boolean ("use_ellipsis", - _( "Use ellipsis" ), - _( "Use ellipsis" ), + "Use ellipsis", + "Use ellipsis", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_ELLIPSIS, g_param_spec_string ("ellipsis", - _( "Ellipsis" ), - _( "Ellipsis" ), + "Ellipsis", + "Ellipsis", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_LINE_WRAP, g_param_spec_boolean ("line_wrap", - _( "Line wrap" ), - _( "Line wrap" ), + "Line wrap", + "Line wrap", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_BREAK_CHARACTERS, g_param_spec_string ("break_characters", - _( "Break characters" ), - _( "Break characters" ), + "Break characters", + "Break characters", NULL, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_MAX_LINES, g_param_spec_int ("max_lines", - _( "Max lines" ), - _( "Max lines" ), + "Max lines", + "Max lines", 0, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (gobject_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 (gobject_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 (gobject_class, PROP_DRAW_BORDERS, g_param_spec_boolean ("draw_borders", - _( "Draw borders" ), - _( "Draw borders" ), + "Draw borders", + "Draw borders", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_ALLOW_NEWLINES, g_param_spec_boolean ("allow_newlines", - _( "Allow newlines" ), - _( "Allow newlines" ), + "Allow newlines", + "Allow newlines", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_DRAW_BACKGROUND, g_param_spec_boolean ("draw_background", - _( "Draw background" ), - _( "Draw background" ), + "Draw background", + "Draw background", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_DRAW_BUTTON, g_param_spec_boolean ("draw_button", - _( "Draw button" ), - _( "Draw button" ), + "Draw button", + "Draw button", FALSE, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_CURSOR_POS, g_param_spec_int ("cursor_pos", - _( "Cursor position" ), - _( "Cursor position" ), + "Cursor position", + "Cursor position", 0, G_MAXINT, 0, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_IM_CONTEXT, g_param_spec_object ("im_context", - /* Translators: Input Method Context */ - _( "IM Context" ), - /* Translators: Input Method Context */ - _( "IM Context" ), + "IM Context", + "IM Context", GTK_TYPE_IM_CONTEXT, G_PARAM_READWRITE)); g_object_class_install_property (gobject_class, PROP_HANDLE_POPUP, g_param_spec_boolean ("handle_popup", - _( "Handle Popup" ), - _( "Handle Popup" ), + "Handle Popup", + "Handle Popup", FALSE, G_PARAM_READWRITE)); |