aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-01 23:34:46 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-01 23:34:46 +0000
commitcfb31c4e760dc13ef4ee8662f59c3ba9c349f6c8 (patch)
treeaa6c4b147daf80ba20bf6a678dafae115f9201f4 /src/fs/gnunet-fs-gtk-edit_publish_dialog.c
parenta1090fb3e66634e367ed10b617f3caf5610bb95a (diff)
downloadgnunet-gtk-cfb31c4e760dc13ef4ee8662f59c3ba9c349f6c8.tar.gz
gnunet-gtk-cfb31c4e760dc13ef4ee8662f59c3ba9c349f6c8.zip
-fix
Diffstat (limited to 'src/fs/gnunet-fs-gtk-edit_publish_dialog.c')
-rw-r--r--src/fs/gnunet-fs-gtk-edit_publish_dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/gnunet-fs-gtk-edit_publish_dialog.c b/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
index ea5d7b5e..62ed17fd 100644
--- a/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
+++ b/src/fs/gnunet-fs-gtk-edit_publish_dialog.c
@@ -484,8 +484,8 @@ GNUNET_GTK_edit_publication_delete_button_clicked_cb (GtkButton * button,
484 GNUNET_break (0); 484 GNUNET_break (0);
485 return; 485 return;
486 } 486 }
487 GNUNET_break (gtk_list_store_remove (ctx->meta_liststore, &iter)); 487 if (gtk_list_store_remove (ctx->meta_liststore, &iter))
488 gtk_tree_selection_select_iter (meta_selection, &iter); 488 gtk_tree_selection_select_iter (meta_selection, &iter);
489} 489}
490 490
491 491
@@ -578,8 +578,8 @@ GNUNET_GTK_edit_publication_keyword_list_del_button_clicked_cb (GtkButton *
578 GNUNET_break (0); 578 GNUNET_break (0);
579 return; 579 return;
580 } 580 }
581 GNUNET_break (gtk_list_store_remove (GTK_LIST_STORE (ctx->keywords_liststore), &iter)); 581 if (gtk_list_store_remove (GTK_LIST_STORE (ctx->keywords_liststore), &iter))
582 gtk_tree_selection_select_iter (keywords_selection, &iter); 582 gtk_tree_selection_select_iter (keywords_selection, &iter);
583 583
584 /* disable confirm button if keywords are required and we have no more keywords */ 584 /* disable confirm button if keywords are required and we have no more keywords */
585 if ( (! ctx->allow_no_keywords) && 585 if ( (! ctx->allow_no_keywords) &&