aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 084ac488c..51ba757dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2006-12-17 Christian Persch <chpe@cvs.gnome.org>
+ * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_export):
+
+ Fix file name extension when exporting bookmarks. Bug #358986, patch
+ by Diego Escalante Urrelo.
+
+2006-12-17 Christian Persch <chpe@cvs.gnome.org>
+
* src/bookmarks/ephy-topic-action.c: (button_deactivate_cb):
Fix a signal leak. Bug #363837, patch by John Millikin.
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 70c659612..5d637c080 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -901,6 +901,7 @@ cmd_bookmarks_export (GtkAction *action,
{
GtkWidget *dialog, *hbox, *label, *combo;
int format;
+ char *filename;
dialog = GTK_WIDGET (ephy_file_chooser_new (_("Export Bookmarks"),
GTK_WIDGET (editor),
@@ -912,9 +913,11 @@ cmd_bookmarks_export (GtkAction *action,
gtk_file_chooser_set_current_folder
(GTK_FILE_CHOOSER (dialog), g_get_home_dir ());
-
+
+ filename = g_strdup_printf ("%s.%s", _("Bookmarks"), export_formats[0].extension);
gtk_file_chooser_set_current_name
- (GTK_FILE_CHOOSER (dialog), _("Bookmarks"));
+ (GTK_FILE_CHOOSER (dialog), filename);
+ g_free(filename);
/* Make a format selection combo & label */
label = gtk_label_new_with_mnemonic (_("File f_ormat:"));