[f-spot] Removed some more SizeUtil usage
- From: Lorenzo Milesi <lmilesi src gnome org>
- To: svn-commits-list gnome org
- Subject: [f-spot] Removed some more SizeUtil usage
- Date: Mon, 6 Jul 2009 17:28:54 +0000 (UTC)
commit 8d5a9189010a4b2710d1759e57ad7df1f0c3e28b
Author: Lorenzo Milesi <maxxer yetopen it>
Date: Mon Jul 6 19:28:31 2009 +0200
Removed some more SizeUtil usage
extensions/Exporters/CDExport/CDExport.cs | 2 +-
extensions/Exporters/CDExport/Makefile.am | 1 +
.../Exporters/TabbloExport/FSpotUploadProgress.cs | 4 ++--
extensions/Exporters/TabbloExport/Makefile.am | 1 +
4 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/extensions/Exporters/CDExport/CDExport.cs b/extensions/Exporters/CDExport/CDExport.cs
index 17d79de..cb54416 100644
--- a/extensions/Exporters/CDExport/CDExport.cs
+++ b/extensions/Exporters/CDExport/CDExport.cs
@@ -65,7 +65,7 @@ namespace FSpotCDExport {
Dialog.Modal = false;
Dialog.TransientFor = null;
- size_label.Text = SizeUtil.ToHumanReadable (total_size);
+ size_label.Text = Format.SizeForDisplay (total_size);
thumb_scrolledwindow.Add (view);
Dialog.ShowAll ();
diff --git a/extensions/Exporters/CDExport/Makefile.am b/extensions/Exporters/CDExport/Makefile.am
index 0ed39ce..53ce060 100644
--- a/extensions/Exporters/CDExport/Makefile.am
+++ b/extensions/Exporters/CDExport/Makefile.am
@@ -20,6 +20,7 @@ REFS = \
PKGS = \
-pkg:gnome-vfs-sharp-2.0 \
+ $(LINK_GTKSHARPBEANS) \
-pkg:gtk-sharp-2.0 \
$(LINK_GIOSHARP) \
-pkg:glade-sharp-2.0
diff --git a/extensions/Exporters/TabbloExport/FSpotUploadProgress.cs b/extensions/Exporters/TabbloExport/FSpotUploadProgress.cs
index d30893e..669ecde 100644
--- a/extensions/Exporters/TabbloExport/FSpotUploadProgress.cs
+++ b/extensions/Exporters/TabbloExport/FSpotUploadProgress.cs
@@ -56,8 +56,8 @@ namespace FSpotTabbloExport {
progress_dialog.ProgressText = String.Format (
Catalog.GetString (
"{0} of approx. {1}"),
- SizeUtil.ToHumanReadable (bytes_sent),
- SizeUtil.ToHumanReadable (
+ GLib.Format.SizeForDisplay (bytes_sent),
+ GLib.Format.SizeForDisplay (
(long) TotalFileSize));
progress_dialog.Fraction =
(double) bytes_sent / TotalFileSize;
diff --git a/extensions/Exporters/TabbloExport/Makefile.am b/extensions/Exporters/TabbloExport/Makefile.am
index 6f4c103..8b8e2b6 100644
--- a/extensions/Exporters/TabbloExport/Makefile.am
+++ b/extensions/Exporters/TabbloExport/Makefile.am
@@ -27,6 +27,7 @@ REFS = \
$(LINK_MONO_ADDINS) \
$(LINK_SEMWEB) \
$(LINK_GIOSHARP) \
+ $(LINK_GTKSHARPBEANS) \
$(LINK_GPHOTO2) \
-r:Mono.Posix.dll
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]