gimp r27567 - trunk/plug-ins/file-jpeg
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27567 - trunk/plug-ins/file-jpeg
- Date: Thu, 6 Nov 2008 16:34:03 +0000 (UTC)
Author: neo
Date: Thu Nov 6 16:34:02 2008
New Revision: 27567
URL: http://svn.gnome.org/viewvc/gimp?rev=27567&view=rev
Log:
formatting
Modified:
trunk/plug-ins/file-jpeg/jpeg-save.c
Modified: trunk/plug-ins/file-jpeg/jpeg-save.c
==============================================================================
--- trunk/plug-ins/file-jpeg/jpeg-save.c (original)
+++ trunk/plug-ins/file-jpeg/jpeg-save.c Thu Nov 6 16:34:02 2008
@@ -197,11 +197,14 @@
gchar *size_text;
g_stat (pp->file_name, &buf);
+
size_text = g_format_size_for_display (buf.st_size);
text = g_strdup_printf (_("File size: %s"), size_text);
+
gtk_label_set_text (GTK_LABEL (preview_size), text);
- g_free (text);
- g_free (size_text);
+
+ g_free (text);
+ g_free (size_text);
/* and load the preview */
load_image (pp->file_name, GIMP_RUN_NONINTERACTIVE, TRUE, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]