aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_publish-edit-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_publish-edit-dialog.c')
-rw-r--r--src/fs/gnunet-fs-gtk_publish-edit-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/gnunet-fs-gtk_publish-edit-dialog.c b/src/fs/gnunet-fs-gtk_publish-edit-dialog.c
index 53ad9e51..e2056170 100644
--- a/src/fs/gnunet-fs-gtk_publish-edit-dialog.c
+++ b/src/fs/gnunet-fs-gtk_publish-edit-dialog.c
@@ -374,7 +374,7 @@ GNUNET_GTK_edit_publication_metadata_tree_view_value_renderer_edited_cb (GtkCell
374 374
375 gtk_tree_model_get (GTK_TREE_MODEL (ctx->meta_liststore), &iter, 375 gtk_tree_model_get (GTK_TREE_MODEL (ctx->meta_liststore), &iter,
376 0, &metatype, -1); 376 0, &metatype, -1);
377 if (metatype == EXTRACTOR_METATYPE_FILENAME) 377 if (metatype == EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME)
378 { 378 {
379 /* apply filename rules */ 379 /* apply filename rules */
380 /* First, use UNIX-style separators */ 380 /* First, use UNIX-style separators */
@@ -975,7 +975,7 @@ set_window_title_to_filename (void *cls,
975{ 975{
976 char *utf8; 976 char *utf8;
977 977
978 if (EXTRACTOR_METATYPE_FILENAME != type) 978 if (EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME != type)
979 return 0; 979 return 0;
980 utf8 = GNUNET_FS_GTK_dubious_meta_to_utf8 (format, 980 utf8 = GNUNET_FS_GTK_dubious_meta_to_utf8 (format,
981 data, data_len); 981 data, data_len);