[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3941 - gnunet-gtk/src/plugins/fs
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3941 - gnunet-gtk/src/plugins/fs |
Date: |
Thu, 14 Dec 2006 15:49:39 -0800 (PST) |
Author: grothoff
Date: 2006-12-14 15:49:37 -0800 (Thu, 14 Dec 2006)
New Revision: 3941
Modified:
gnunet-gtk/src/plugins/fs/collection.c
Log:
fix
Modified: gnunet-gtk/src/plugins/fs/collection.c
===================================================================
--- gnunet-gtk/src/plugins/fs/collection.c 2006-12-14 23:48:37 UTC (rev
3940)
+++ gnunet-gtk/src/plugins/fs/collection.c 2006-12-14 23:49:37 UTC (rev
3941)
@@ -106,9 +106,7 @@
collectionName
= gtk_entry_get_text(GTK_ENTRY(nameLine));
root = NULL;
- if (OK == CO_startCollection(ectx,
- cfg,
- gtk_spin_button_get_value_as_int
+ if (OK == CO_startCollection(gtk_spin_button_get_value_as_int
(GTK_SPIN_BUTTON(spin)),
1000, /* priority */
updateInterval,
@@ -144,8 +142,7 @@
GtkWidget * dummy2) {
GtkWidget * w;
- if (OK == CO_stopCollection(ectx,
- cfg)) {
+ if (OK == CO_stopCollection()) {
w = glade_xml_get_widget(getMainXML(),
"createCollection");
gtk_widget_set_sensitive(w, TRUE);
@@ -162,12 +159,14 @@
void fs_collection_start() {
GtkWidget * w;
+ char * h;
- if (NULL != CO_getCollection(ectx,
- cfg))
+ h = CO_getCollection();
+ if (NULL != h) {
w = glade_xml_get_widget(getMainXML(),
"createCollection");
- else
+ FREE(h);
+ } else
w = glade_xml_get_widget(getMainXML(),
"deleteCollection");
gtk_widget_set_sensitive(w, FALSE);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3941 - gnunet-gtk/src/plugins/fs,
grothoff <=