summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/configure.ac2
-rw-r--r--gtk/src/callbacks.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/gtk/configure.ac b/gtk/configure.ac
index 94e740dad..38d90670d 100644
--- a/gtk/configure.ac
+++ b/gtk/configure.ac
@@ -97,6 +97,8 @@ IT_PROG_INTLTOOL([0.35.0])
AM_PROG_LIBTOOL
+AC_SYS_LARGEFILE
+
case $host in
*-*-mingw*)
GHB_PACKAGES="gthread-2.0 gio-2.0 gmodule-2.0"
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)