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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/gnunet-fs-gtk_publish-edit-dialog.c b/src/fs/gnunet-fs-gtk_publish-edit-dialog.c
index e2056170..43e8db14 100644
--- a/src/fs/gnunet-fs-gtk_publish-edit-dialog.c
+++ b/src/fs/gnunet-fs-gtk_publish-edit-dialog.c
@@ -392,7 +392,7 @@ GNUNET_GTK_edit_publication_metadata_tree_view_value_renderer_edited_cb (GtkCell
392 392
393 /* However, directories must end with '/', so add it */ 393 /* However, directories must end with '/', so add it */
394 if ( (new_text[strlen (new_text) - 1] != '/') && 394 if ( (new_text[strlen (new_text) - 1] != '/') &&
395 ctx->is_directory ) 395 ctx->is_directory == GNUNET_YES)
396 { 396 {
397 char * tmp; 397 char * tmp;
398 398
@@ -1162,12 +1162,12 @@ GNUNET_FS_GTK_edit_publish_dialog (GtkWindow * parent,
1162 1162
1163 /* indexing does not apply to directories */ 1163 /* indexing does not apply to directories */
1164 gtk_widget_set_visible (GTK_WIDGET (ctx->index_checkbutton), 1164 gtk_widget_set_visible (GTK_WIDGET (ctx->index_checkbutton),
1165 ! ctx->is_directory); 1165 ctx->is_directory != GNUNET_YES);
1166 index_label = GTK_LABEL (gtk_builder_get_object 1166 index_label = GTK_LABEL (gtk_builder_get_object
1167 (ctx->builder, 1167 (ctx->builder,
1168 "GNUNET_GTK_edit_publication_index_label")); 1168 "GNUNET_GTK_edit_publication_index_label"));
1169 gtk_widget_set_visible (GTK_WIDGET (index_label), 1169 gtk_widget_set_visible (GTK_WIDGET (index_label),
1170 ! ctx->is_directory); 1170 ctx->is_directory != GNUNET_YES);
1171 1171
1172 /* show root label only for namespaces */ 1172 /* show root label only for namespaces */
1173 gtk_widget_set_visible (GTK_WIDGET (ctx->root_entry), 1173 gtk_widget_set_visible (GTK_WIDGET (ctx->root_entry),