[brasero: 5/18] Some more fixes
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Subject: [brasero: 5/18] Some more fixes
- Date: Mon, 4 May 2009 14:16:09 -0400 (EDT)
commit 2bd987352a721f8d045250e6f1e114dc57d86447
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed Apr 29 21:14:52 2009 +0200
Some more fixes
---
libbrasero-burn/brasero-track-data-cfg.c | 37 ++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/libbrasero-burn/brasero-track-data-cfg.c b/libbrasero-burn/brasero-track-data-cfg.c
index 6360a44..53f08ae 100644
--- a/libbrasero-burn/brasero-track-data-cfg.c
+++ b/libbrasero-burn/brasero-track-data-cfg.c
@@ -697,6 +697,31 @@ brasero_track_data_cfg_get_value (GtkTreeModel *model,
return;
+ case BRASERO_DATA_TREE_MODEL_URI: {
+ gchar *uri;
+
+ g_value_init (value, G_TYPE_STRING);
+ uri = brasero_data_project_node_to_uri (BRASERO_DATA_PROJECT (priv->tree), node);
+ g_value_set_string (value, uri);
+ g_free (uri);
+ return;
+ }
+
+ case BRASERO_DATA_TREE_MODEL_IS_FILE:
+ g_value_init (value, G_TYPE_BOOLEAN);
+ g_value_set_boolean (value, node->is_file);
+ return;
+
+ case BRASERO_DATA_TREE_MODEL_IS_LOADING:
+ g_value_init (value, G_TYPE_BOOLEAN);
+ g_value_set_boolean (value, node->is_loading);
+ return;
+
+ case BRASERO_DATA_TREE_MODEL_IS_IMPORTED:
+ g_value_init (value, G_TYPE_BOOLEAN);
+ g_value_set_boolean (value, node->is_imported);
+ return;
+
default:
return;
}
@@ -841,6 +866,9 @@ brasero_track_data_cfg_get_column_type (GtkTreeModel *model,
case BRASERO_DATA_TREE_MODEL_NAME:
return G_TYPE_STRING;
+ case BRASERO_DATA_TREE_MODEL_URI:
+ return G_TYPE_STRING;
+
case BRASERO_DATA_TREE_MODEL_MIME_DESC:
return G_TYPE_STRING;
@@ -865,6 +893,15 @@ brasero_track_data_cfg_get_column_type (GtkTreeModel *model,
case BRASERO_DATA_TREE_MODEL_EDITABLE:
return G_TYPE_BOOLEAN;
+ case BRASERO_DATA_TREE_MODEL_IS_FILE:
+ return G_TYPE_BOOLEAN;
+
+ case BRASERO_DATA_TREE_MODEL_IS_LOADING:
+ return G_TYPE_BOOLEAN;
+
+ case BRASERO_DATA_TREE_MODEL_IS_IMPORTED:
+ return G_TYPE_BOOLEAN;
+
default:
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]