aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/upload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/upload.c')
-rw-r--r--src/plugins/fs/upload.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/fs/upload.c b/src/plugins/fs/upload.c
index 20792968..e0306469 100644
--- a/src/plugins/fs/upload.c
+++ b/src/plugins/fs/upload.c
@@ -340,6 +340,8 @@ void on_metaDataDialogMetaDataAddButton_clicked(gpointer dummy,
340 entryLine = glade_xml_get_widget(metaXML, 340 entryLine = glade_xml_get_widget(metaXML,
341 "metaDataDialogValueEntry"); 341 "metaDataDialogValueEntry");
342 value = gtk_entry_get_text(GTK_ENTRY(entryLine)); 342 value = gtk_entry_get_text(GTK_ENTRY(entryLine));
343 if ( (value == NULL) || (strlen(value) == 0) )
344 return;
343 typeCB = glade_xml_get_widget(metaXML, 345 typeCB = glade_xml_get_widget(metaXML,
344 "metaDataDialogMetaTypeComboBox"); 346 "metaDataDialogMetaTypeComboBox");
345 typemodel 347 typemodel
@@ -349,8 +351,8 @@ void on_metaDataDialogMetaDataAddButton_clicked(gpointer dummy,
349 return; /* oops */ 351 return; /* oops */
350 gtk_tree_model_get(GTK_TREE_MODEL(typemodel), 352 gtk_tree_model_get(GTK_TREE_MODEL(typemodel),
351 &iter, 353 &iter,
352 META_STYPE, &stype, 354 KTYPE_STRING, &stype,
353 META_TYPE, &type, 355 KTYPE_TYPE, &type,
354 -1); 356 -1);
355 gtk_list_store_append(metamodel, 357 gtk_list_store_append(metamodel,
356 &iter); 358 &iter);