diff options
Diffstat (limited to 'widgets/table/e-table-click-to-add.c')
-rw-r--r-- | widgets/table/e-table-click-to-add.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c index 572d79acc1..663d6f3a67 100644 --- a/widgets/table/e-table-click-to-add.c +++ b/widgets/table/e-table-click-to-add.c @@ -81,7 +81,7 @@ etcta_style_set (ETableClickToAdd *etcta, GtkStyle *previous_style) if (etcta->rect) { gnome_canvas_item_set (etcta->rect, - "outline_color_gdk", &widget->style->fg[GTK_STATE_NORMAL], + "outline_color_gdk", &widget->style->fg[GTK_STATE_NORMAL], "fill_color_gdk", &widget->style->bg[GTK_STATE_NORMAL], NULL ); @@ -248,7 +248,7 @@ create_rect_and_text (ETableClickToAdd *etcta) "y1", (double) 0, "x2", (double) etcta->width - 1, "y2", (double) etcta->height - 1, - "outline_color_gdk", &widget->style->fg[GTK_STATE_NORMAL], + "outline_color_gdk", &widget->style->fg[GTK_STATE_NORMAL], "fill_color_gdk", &widget->style->bg[GTK_STATE_NORMAL], NULL); @@ -332,8 +332,8 @@ item_key_press (ETableItem *item, int row, int col, GdkEvent *event, ETableClick static void set_initial_selection (ETableClickToAdd *etcta) { - e_selection_model_do_something (E_SELECTION_MODEL(etcta->selection), - 0, e_table_header_prioritized_column (etcta->eth), + e_selection_model_do_something (E_SELECTION_MODEL(etcta->selection), + 0, e_table_header_prioritized_column (etcta->eth), 0); } @@ -401,7 +401,7 @@ etcta_event (GnomeCanvasItem *item, GdkEvent *e) one = e_table_one_new(etcta->model); etcta_add_one (etcta, one); g_object_unref (one); - + e_selection_model_clear(E_SELECTION_MODEL(etcta->selection)); etcta->row = gnome_canvas_item_new(GNOME_CANVAS_GROUP(item), @@ -445,7 +445,7 @@ etcta_event (GnomeCanvasItem *item, GdkEvent *e) break; } break; - + default: return FALSE; } @@ -456,7 +456,7 @@ static void etcta_reflow (GnomeCanvasItem *item, int flags) { ETableClickToAdd *etcta = E_TABLE_CLICK_TO_ADD (item); - + double old_height = etcta->height; if (etcta->text) { @@ -498,35 +498,35 @@ etcta_class_init (ETableClickToAddClass *klass) item_class->unrealize = etcta_unrealize; item_class->event = etcta_event; - g_object_class_install_property (object_class, PROP_HEADER, + g_object_class_install_property (object_class, PROP_HEADER, g_param_spec_object ("header", _("Header"), /*_( */"XXX blurb" /*)*/, E_TABLE_HEADER_TYPE, G_PARAM_READWRITE)); - g_object_class_install_property (object_class, PROP_MODEL, + g_object_class_install_property (object_class, PROP_MODEL, g_param_spec_object ("model", _("Model"), /*_( */"XXX blurb" /*)*/, E_TABLE_MODEL_TYPE, G_PARAM_READWRITE)); - g_object_class_install_property (object_class, PROP_MESSAGE, + g_object_class_install_property (object_class, PROP_MESSAGE, g_param_spec_string ("message", _("Message"), /*_( */"XXX blurb" /*)*/, NULL, G_PARAM_READWRITE)); - g_object_class_install_property (object_class, PROP_WIDTH, + g_object_class_install_property (object_class, PROP_WIDTH, g_param_spec_double ("width", _("Width"), /*_( */"XXX blurb" /*)*/, 0.0, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE | G_PARAM_LAX_VALIDATION)); - g_object_class_install_property (object_class, PROP_HEIGHT, + g_object_class_install_property (object_class, PROP_HEIGHT, g_param_spec_double ("height", _("Height"), /*_( */"XXX blurb" /*)*/, @@ -586,7 +586,7 @@ etcta_init (ETableClickToAdd *etcta) /** * e_table_click_to_add_commit: * @etcta: The %ETableClickToAdd to commit. - * + * * This routine commits the current thing being edited and returns to * just displaying the click to add message. **/ |