[gthumb: 21/57] [webalbums] restore the last footer



commit b81628bff4a592512b4887343973267e97b697f4
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Jun 10 19:11:07 2010 +0200

    [webalbums] restore the last footer

 extensions/webalbums/dlg-web-exporter.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/extensions/webalbums/dlg-web-exporter.c b/extensions/webalbums/dlg-web-exporter.c
index 9a98a12..3620bc9 100644
--- a/extensions/webalbums/dlg-web-exporter.c
+++ b/extensions/webalbums/dlg-web-exporter.c
@@ -328,6 +328,7 @@ dlg_web_exporter (GthBrowser *browser,
 	char       *default_sort_type;
 	GList      *scan;
 	char       *caption;
+	char       *s_value;
 
 	if (gth_browser_get_dialog (browser, "web_exporter") != NULL) {
 		gtk_window_present (GTK_WINDOW (gth_browser_get_dialog (browser, "web_exporter")));
@@ -409,6 +410,10 @@ dlg_web_exporter (GthBrowser *browser,
 	gtk_entry_set_text (GTK_ENTRY (GET_WIDGET ("header_entry")),
 			    g_file_info_get_edit_name (gth_browser_get_location_data (browser)->info));
 
+	s_value = eel_gconf_get_string (PREF_WEBALBUMS_FOOTER, "");
+	gtk_entry_set_text (GTK_ENTRY (GET_WIDGET ("footer_entry")), s_value);
+	g_free (s_value);
+
 	caption = eel_gconf_get_string (PREF_WEBALBUMS_THUMBNAIL_CAPTION, "");
 	gth_metadata_chooser_set_selection (GTH_METADATA_CHOOSER (data->thumbnail_caption_chooser), caption);
 	g_free (caption);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]