[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33482 - gnunet-gtk/src/main
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33482 - gnunet-gtk/src/main |
Date: |
Mon, 2 Jun 2014 23:12:33 +0200 |
Author: grothoff
Date: 2014-06-02 23:12:33 +0200 (Mon, 02 Jun 2014)
New Revision: 33482
Modified:
gnunet-gtk/src/main/gnunet-gtk.c
Log:
-document
Modified: gnunet-gtk/src/main/gnunet-gtk.c
===================================================================
--- gnunet-gtk/src/main/gnunet-gtk.c 2014-06-02 21:10:49 UTC (rev 33481)
+++ gnunet-gtk/src/main/gnunet-gtk.c 2014-06-02 21:12:33 UTC (rev 33482)
@@ -1,6 +1,6 @@
/*
This file is part of GNUnet
- (C) 2012, 2013 Christian Grothoff (and other contributing authors)
+ (C) 2012-2014 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -275,6 +275,9 @@
n = GTK_NOTEBOOK (get_object ("gnunet_gtk_notebook"));
v = GTK_WIDGET (get_object (container));
l = gtk_notebook_get_tab_label (n, v);
+ /* remove old tab, replace with new tab; effectively,
+ we preserve the label; but GtkNotebook does not
+ allow us to directly substitute the body of the tab */
g_object_ref (l);
gtk_notebook_remove_page (n,
gtk_notebook_page_num (n, v));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33482 - gnunet-gtk/src/main,
gnunet <=