summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gtk/dvd_title_dialog.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gtk/dvd_title_dialog.cc b/src/gtk/dvd_title_dialog.cc
index 60e4e5845..e9606d396 100644
--- a/src/gtk/dvd_title_dialog.cc
+++ b/src/gtk/dvd_title_dialog.cc
@@ -45,7 +45,11 @@ DVDTitleDialog::DVDTitleDialog ()
for (list<DVDTitle>::const_iterator i = t.begin(); i != t.end(); ++i) {
Gtk::RadioButton* b = manage (new Gtk::RadioButton);
stringstream s;
+#if HAVE_G_FORMAT_SIZE
s << "Title " << i->number << ": " << g_format_size (i->size);
+#else
+ s << "Title " << i->number << ": " << g_format_size_for_display (i->size);
+#endif
b->set_label (s.str ());
if (i == t.begin ()) {
b->set_active ();