[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r22416 - in gnunet-gtk: contrib src/setup
From: |
gnunet |
Subject: |
[GNUnet-SVN] r22416 - in gnunet-gtk: contrib src/setup |
Date: |
Sun, 1 Jul 2012 18:37:20 +0200 |
Author: grothoff
Date: 2012-07-01 18:37:20 +0200 (Sun, 01 Jul 2012)
New Revision: 22416
Modified:
gnunet-gtk/contrib/gnunet_setup_gtk_main_window.glade
gnunet-gtk/src/setup/gnunet-setup-gns.c
Log:
-implementing 2467
Modified: gnunet-gtk/contrib/gnunet_setup_gtk_main_window.glade
===================================================================
--- gnunet-gtk/contrib/gnunet_setup_gtk_main_window.glade 2012-07-01
15:55:58 UTC (rev 22415)
+++ gnunet-gtk/contrib/gnunet_setup_gtk_main_window.glade 2012-07-01
16:37:20 UTC (rev 22416)
@@ -4508,8 +4508,8 @@
</child>
</object>
<packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
@@ -4587,8 +4587,8 @@
</child>
</object>
<packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
Modified: gnunet-gtk/src/setup/gnunet-setup-gns.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup-gns.c 2012-07-01 15:55:58 UTC (rev
22415)
+++ gnunet-gtk/src/setup/gnunet-setup-gns.c 2012-07-01 16:37:20 UTC (rev
22416)
@@ -1823,27 +1823,51 @@
}
+/**
+ * A different zone was selected in the zone toggle bar. Load the
+ * appropriate zone.
+ *
+ * @param togglebutton button that was toggled (could be to "on" or "off", we
only react to "on")
+ * @param user_data builder, unused
+ */
void
GNUNET_setup_gns_shorten_zone_selection_radiobutton_toggled_cb
(GtkToggleButton *togglebutton,
gpointer
user_data)
{
- GNUNET_break (0);
+ if (gtk_toggle_button_get_active (togglebutton))
+ load_zone ("SHORTEN_ZONEKEY");
}
+/**
+ * A different zone was selected in the zone toggle bar. Load the
+ * appropriate zone.
+ *
+ * @param togglebutton button that was toggled (could be to "on" or "off", we
only react to "on")
+ * @param user_data builder, unused
+ */
void
GNUNET_setup_gns_private_zone_selection_radiobutton_toggled_cb
(GtkToggleButton *togglebutton,
gpointer
user_data)
{
- GNUNET_break (0);
+ if (gtk_toggle_button_get_active (togglebutton))
+ load_zone ("PRIVATE_ZONEKEY");
}
+/**
+ * A different zone was selected in the zone toggle bar. Load the
+ * appropriate zone.
+ *
+ * @param togglebutton button that was toggled (could be to "on" or "off", we
only react to "on")
+ * @param user_data builder, unused
+ */
void
GNUNET_setup_gns_master_zone_selection_radiobutton_toggled_cb (GtkToggleButton
*togglebutton,
gpointer
user_data)
{
- GNUNET_break (0);
+ if (gtk_toggle_button_get_active (togglebutton))
+ load_zone ("ZONEKEY");
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r22416 - in gnunet-gtk: contrib src/setup,
gnunet <=