[brasero] Make sure the directory is empty row is of the same color as its parent when the latter is imported
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Subject: [brasero] Make sure the directory is empty row is of the same color as its parent when the latter is imported
- Date: Sun, 26 Jul 2009 12:20:19 +0000 (UTC)
commit b7e3604bf49d1683c728ac1d4248aeb6f80f7c72
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Thu Jul 23 14:44:39 2009 +0200
Make sure the directory is empty row is of the same color as its parent when the latter is imported
libbrasero-burn/brasero-track-data-cfg.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-burn/brasero-track-data-cfg.c b/libbrasero-burn/brasero-track-data-cfg.c
index 4c1eb83..69d3505 100644
--- a/libbrasero-burn/brasero-track-data-cfg.c
+++ b/libbrasero-burn/brasero-track-data-cfg.c
@@ -654,7 +654,10 @@ brasero_track_data_cfg_get_value (GtkTreeModel *model,
case BRASERO_DATA_TREE_MODEL_COLOR:
g_value_init (value, G_TYPE_STRING);
- g_value_set_string (value, NULL);
+ if (node->is_imported)
+ g_value_set_string (value, "grey50");
+ else
+ g_value_set_string (value, NULL);
return;
case BRASERO_DATA_TREE_MODEL_IS_FILE:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]