summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/callbacks.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index da297eae5..5fc3d7589 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -791,7 +791,7 @@ update_source_label(signal_user_data_t *ud, const gchar *source)
{
// Is regular file or block dev.
// Check to see if it is a dvd image
- label = ghb_dvd_volname (filename);
+ label = ghb_dvd_volname(filename);
if (label == NULL)
{
label = get_file_label(filename);
@@ -809,6 +809,10 @@ update_source_label(signal_user_data_t *ud, const gchar *source)
label = get_file_label(filename);
}
}
+ else
+ {
+ label = get_file_label(filename);
+ }
g_free(filename);
GtkWidget *widget = GHB_WIDGET (ud->builder, "volume_label");
if (label != NULL)