gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet-gtk] branch master updated: unset model while loadi


From: gnunet
Subject: [GNUnet-SVN] [gnunet-gtk] branch master updated: unset model while loading zone for major performance boost (for larger zones)
Date: Mon, 23 Apr 2018 15:32:04 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet-gtk.

The following commit(s) were added to refs/heads/master by this push:
     new 962364a7 unset model while loading zone for major performance boost 
(for larger zones)
962364a7 is described below

commit 962364a7d1218233f2069f3781125c37beef1651
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Apr 23 15:32:03 2018 +0200

    unset model while loading zone for major performance boost (for larger 
zones)
---
 src/namestore/gnunet-namestore-gtk.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/namestore/gnunet-namestore-gtk.c 
b/src/namestore/gnunet-namestore-gtk.c
index a119b5de..d0af8391 100644
--- a/src/namestore/gnunet-namestore-gtk.c
+++ b/src/namestore/gnunet-namestore-gtk.c
@@ -2294,6 +2294,8 @@ gnunet_namestore_gtk_public_key_copy_button_clicked_cb 
(GtkButton *button,
 static void
 zone_sync_proc (void *cls)
 {
+  gtk_tree_view_set_model (tv,
+                          tm);
 #if HAVE_QRENCODE_H
   setup_qrcode ();
   gtk_widget_show (GTK_WIDGET (get_object ("gnunet_namestore_gtk_qr_image")));
@@ -2597,6 +2599,8 @@ load_zone (const char *name,
   }
   GNUNET_free_non_null (current_pseudonym);
   current_pseudonym = NULL;
+  gtk_tree_view_set_model (tv,
+                          NULL);
   if (NULL == name)
     return; /* empty zone */
   current_pseudonym = GNUNET_strdup (name);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]