[gnumeric] GUI: No need for another explicit color here.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] GUI: No need for another explicit color here.
- Date: Thu, 28 Mar 2013 00:29:04 +0000 (UTC)
commit 0a30943cd81fbe22f41e8bca090b8bfec4f6ed3b
Author: Morten Welinder <terra gnome org>
Date: Wed Mar 27 20:28:13 2013 -0400
GUI: No need for another explicit color here.
src/wbc-gtk.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index 94c0902..9ef71c5 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -3288,8 +3288,7 @@ cb_fore_color_changed (GOActionComboColor *a, WBCGtk *wbcg)
c = go_action_combo_color_get_color (a, &is_default);
if (wbcg_is_editing (wbcg)) {
- GOColor c2 = is_default ? GO_COLOR_BLACK : c;
- wbcg_edit_add_markup (wbcg, go_color_to_pango (c2, TRUE));
+ wbcg_edit_add_markup (wbcg, go_color_to_pango (c, TRUE));
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]