[eog] EogMetadataSidebar: Hook up date and time labels
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogMetadataSidebar: Hook up date and time labels
- Date: Thu, 8 Jan 2015 21:12:55 +0000 (UTC)
commit 83bf6c4498e9c107a809517e1a2926df251acc16
Author: Felix Riemann <friemann gnome org>
Date: Wed Jan 7 21:59:39 2015 +0100
EogMetadataSidebar: Hook up date and time labels
src/eog-metadata-sidebar.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/src/eog-metadata-sidebar.c b/src/eog-metadata-sidebar.c
index 5687bdf..033c754 100644
--- a/src/eog-metadata-sidebar.c
+++ b/src/eog-metadata-sidebar.c
@@ -177,9 +177,14 @@ eog_metadata_sidebar_update_metadata_section (EogMetadataSidebar *sidebar)
EXIF_TAG_METERING_MODE);
eog_exif_util_set_label_text (GTK_LABEL (priv->model_label),
exif_data, EXIF_TAG_MODEL);
- eog_exif_util_set_label_text (GTK_LABEL (priv->date_label),
- exif_data,
- EXIF_TAG_DATE_TIME_ORIGINAL);
+ eog_exif_util_format_datetime_label (GTK_LABEL (priv->date_label),
+ exif_data,
+ EXIF_TAG_DATE_TIME_ORIGINAL,
+ _("%a, %d %B %Y"));
+ eog_exif_util_format_datetime_label (GTK_LABEL (priv->time_label),
+ exif_data,
+ EXIF_TAG_DATE_TIME_ORIGINAL,
+ _("%X"));
/* exif_data_unref can handle NULL-values */
exif_data_unref(exif_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]