[brasero] Fix glitches that appeared when files specified on the command line were not joliet compliant.
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fix glitches that appeared when files specified on the command line were not joliet compliant.
- Date: Mon, 31 Aug 2009 13:33:22 +0000 (UTC)
commit da2af4104027c6795cf7e298fbae37de24e671f3
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Mon Aug 31 15:26:27 2009 +0200
Fix glitches that appeared when files specified on the command line were not joliet compliant.
libbrasero-burn/brasero-data-project.c | 15 +++++++--------
src/brasero-app.c | 4 +++-
2 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/libbrasero-burn/brasero-data-project.c b/libbrasero-burn/brasero-data-project.c
index 0ea6336..31a72d4 100644
--- a/libbrasero-burn/brasero-data-project.c
+++ b/libbrasero-burn/brasero-data-project.c
@@ -1727,17 +1727,16 @@ brasero_data_project_add_node_real (BraseroDataProject *self,
g_free (name_uri);
}
+ if (!priv->is_loading_contents) {
+ /* Signal that something has changed in the tree */
+ klass = BRASERO_DATA_PROJECT_GET_CLASS (self);
+ if (klass->node_added)
+ klass->node_added (self, node, uri != NEW_FOLDER? uri:NULL);
+ }
+
/* check joliet compatibility; do it after node was created. */
if (strlen (BRASERO_FILE_NODE_NAME (node)) > 64)
brasero_data_project_joliet_add_node (self, node);
-
- if (priv->is_loading_contents)
- return;
-
- /* Signal that something has changed in the tree */
- klass = BRASERO_DATA_PROJECT_GET_CLASS (self);
- if (klass->node_added)
- klass->node_added (self, node, uri != NEW_FOLDER? uri:NULL);
}
void
diff --git a/src/brasero-app.c b/src/brasero-app.c
index 8ca3061..aa27223 100644
--- a/src/brasero-app.c
+++ b/src/brasero-app.c
@@ -494,8 +494,10 @@ brasero_app_dialog (BraseroApp *app,
priv = BRASERO_APP_PRIVATE (app);
- if (priv->mainwin)
+ if (priv->mainwin) {
toplevel = GTK_WINDOW (priv->mainwin);
+ gtk_widget_show (priv->mainwin);
+ }
else if (!priv->toplevel) {
is_on_top = TRUE;
toplevel = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]