aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/e-table-item.c2
-rw-r--r--widgets/table/e-tree.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index bd6a8f3f67..b125c8495d 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -271,7 +271,7 @@ eti_get_cell_background_color (ETableItem *eti, int row, int col, gboolean selec
background = gdk_color_copy (background);
allocated = TRUE;
}
- e_hsv_tweak (background, 0.0f, 0.0f, -0.05f);
+ e_hsv_tweak (background, 0.0f, 0.0f, -0.07f);
gdk_color_alloc (gtk_widget_get_colormap (GTK_WIDGET (canvas)), background);
}
}
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index 5f06f65eb0..98d75ec642 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -480,7 +480,7 @@ et_search_search (ETableSearch *search, char *string, ETableSearchFlags flags, E
cursor = e_tree_get_cursor (et);
- if (flags & E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST) {
+ if (cursor && (flags & E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST)) {
const void *value;
value = e_tree_model_value_at (et->priv->model, cursor, col->col_idx);
@@ -504,7 +504,7 @@ et_search_search (ETableSearch *search, char *string, ETableSearchFlags flags, E
e_selection_model_select_as_key_press(E_SELECTION_MODEL (et->priv->selection), model_row, col->col_idx, GDK_CONTROL_MASK);
return TRUE;
- } else if (!(flags & E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST)) {
+ } else if (cursor && !(flags & E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST)) {
const void *value;
value = e_tree_model_value_at (et->priv->model, cursor, col->col_idx);