[brasero/gnome-2-28] Fix a warning



commit 3931a85825a5ef4e24ae767edcfd11f760e83900
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Dec 2 14:08:47 2009 +0100

    Fix a warning
    It should be backported to 2.28

 src/brasero-project-manager.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/brasero-project-manager.c b/src/brasero-project-manager.c
index 5f5d5da..386bc0c 100644
--- a/src/brasero-project-manager.c
+++ b/src/brasero-project-manager.c
@@ -289,7 +289,8 @@ brasero_project_manager_set_statusbar (BraseroProjectManager *manager,
 								   "No file can be added (%i selected files)",
 								   files_num),
 							 files_num);
-		else if (manager->priv->type == BRASERO_PROJECT_TYPE_AUDIO)
+		else if (manager->priv->type == BRASERO_PROJECT_TYPE_AUDIO
+		     ||  manager->priv->type == BRASERO_PROJECT_TYPE_VIDEO)
 			status_string = g_strdup_printf (ngettext ("No file is supported (%i selected file)",
 								   "No file is supported (%i selected files)",
 								   files_num),
@@ -354,7 +355,7 @@ brasero_project_manager_selected_uris_preview (gpointer data)
 								   brasero_project_manager_size_preview,
 								   NULL,
 								   NULL);
-    
+
 	for (iter = manager->priv->selected; iter && *iter; iter ++)
 		list = g_slist_prepend (list, *iter);
 



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