[brasero] Display data project contents when a new empty directory is created while help is being shown



commit acc48ba8448d6812242aa2be7a97417745608bfb
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Jul 1 20:43:39 2009 +0200

    Display data project contents when a new empty directory is created while help is being shown

 libbrasero-burn/brasero-track-data-cfg.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-burn/brasero-track-data-cfg.c b/libbrasero-burn/brasero-track-data-cfg.c
index 4bb9518..50c9f11 100644
--- a/libbrasero-burn/brasero-track-data-cfg.c
+++ b/libbrasero-burn/brasero-track-data-cfg.c
@@ -1841,6 +1841,7 @@ brasero_track_data_cfg_add_empty_directory (BraseroTrackDataCfg *track,
 	BraseroTrackDataCfgPrivate *priv;
 	gchar *default_name = NULL;
 	BraseroFileNode *node;
+	GtkTreePath *path;
 
 	g_return_val_if_fail (BRASERO_TRACK_DATA_CFG (track), FALSE);
 
@@ -1878,7 +1879,11 @@ brasero_track_data_cfg_add_empty_directory (BraseroTrackDataCfg *track,
 	if (!node)
 		return NULL;
 
-	return brasero_track_data_cfg_node_to_path (track, node);
+	path = brasero_track_data_cfg_node_to_path (track, node);
+	if (path)
+		brasero_track_changed (BRASERO_TRACK (track));
+
+	return path;
 }
 
 gboolean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]