diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-12-04 13:43:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-12-04 13:43:41 +0000 |
commit | 9bc409440e4534550cf01919ae9e9cfb64db7ac8 (patch) | |
tree | 7f4d7c62cb9cc81521438d0e2964df94c0760935 | |
parent | f6e77d54ae41bc5b96a3565268e563914a53cacd (diff) | |
download | gnunet-gtk-9bc409440e4534550cf01919ae9e9cfb64db7ac8.tar.gz gnunet-gtk-9bc409440e4534550cf01919ae9e9cfb64db7ac8.zip |
-bugfixes in custom record editing dialogs
-rw-r--r-- | contrib/gnunet_setup_gns_edit_aaaa.glade | 2 | ||||
-rw-r--r-- | contrib/gnunet_setup_gns_edit_mx.glade | 9 | ||||
-rw-r--r-- | contrib/gnunet_setup_gns_edit_ns.glade | 2 | ||||
-rw-r--r-- | contrib/gnunet_setup_gns_edit_txt.glade | 2 | ||||
-rw-r--r-- | src/setup/gnunet-setup-gns-edit.c | 2 |
5 files changed, 12 insertions, 5 deletions
diff --git a/contrib/gnunet_setup_gns_edit_aaaa.glade b/contrib/gnunet_setup_gns_edit_aaaa.glade index f2851a9d..c3acb065 100644 --- a/contrib/gnunet_setup_gns_edit_aaaa.glade +++ b/contrib/gnunet_setup_gns_edit_aaaa.glade | |||
@@ -200,7 +200,7 @@ | |||
200 | <property name="can_focus">True</property> | 200 | <property name="can_focus">True</property> |
201 | <property name="has_focus">True</property> | 201 | <property name="has_focus">True</property> |
202 | <property name="tooltip_text" translatable="yes">Enter the IPv6 address for the A record here. The format is the usual format (i.e. ::1).</property> | 202 | <property name="tooltip_text" translatable="yes">Enter the IPv6 address for the A record here. The format is the usual format (i.e. ::1).</property> |
203 | <property name="max_length">15</property> | 203 | <property name="max_length">45</property> |
204 | <property name="invisible_char">●</property> | 204 | <property name="invisible_char">●</property> |
205 | <property name="primary_icon_activatable">False</property> | 205 | <property name="primary_icon_activatable">False</property> |
206 | <property name="secondary_icon_activatable">False</property> | 206 | <property name="secondary_icon_activatable">False</property> |
diff --git a/contrib/gnunet_setup_gns_edit_mx.glade b/contrib/gnunet_setup_gns_edit_mx.glade index d8aa2074..0543873a 100644 --- a/contrib/gnunet_setup_gns_edit_mx.glade +++ b/contrib/gnunet_setup_gns_edit_mx.glade | |||
@@ -34,6 +34,11 @@ | |||
34 | </row> | 34 | </row> |
35 | </data> | 35 | </data> |
36 | </object> | 36 | </object> |
37 | <object class="GtkAdjustment" id="mx_distance_adjustment"> | ||
38 | <property name="upper">65535</property> | ||
39 | <property name="step_increment">1</property> | ||
40 | <property name="page_increment">10</property> | ||
41 | </object> | ||
37 | <object class="GtkListStore" id="zone_liststore"> | 42 | <object class="GtkListStore" id="zone_liststore"> |
38 | <columns> | 43 | <columns> |
39 | <!-- column-name zonename --> | 44 | <!-- column-name zonename --> |
@@ -230,7 +235,7 @@ | |||
230 | <property name="top_padding">4</property> | 235 | <property name="top_padding">4</property> |
231 | <property name="left_padding">12</property> | 236 | <property name="left_padding">12</property> |
232 | <child> | 237 | <child> |
233 | <object class="GtkVBox" id="edit_dialog_mx_hbox"> | 238 | <object class="GtkHBox" id="edit_dialog_mx_hbox"> |
234 | <property name="visible">True</property> | 239 | <property name="visible">True</property> |
235 | <property name="can_focus">False</property> | 240 | <property name="can_focus">False</property> |
236 | <child> | 241 | <child> |
@@ -275,6 +280,8 @@ | |||
275 | <property name="secondary_icon_activatable">False</property> | 280 | <property name="secondary_icon_activatable">False</property> |
276 | <property name="primary_icon_sensitive">True</property> | 281 | <property name="primary_icon_sensitive">True</property> |
277 | <property name="secondary_icon_sensitive">True</property> | 282 | <property name="secondary_icon_sensitive">True</property> |
283 | <property name="adjustment">mx_distance_adjustment</property> | ||
284 | <property name="numeric">True</property> | ||
278 | </object> | 285 | </object> |
279 | <packing> | 286 | <packing> |
280 | <property name="expand">False</property> | 287 | <property name="expand">False</property> |
diff --git a/contrib/gnunet_setup_gns_edit_ns.glade b/contrib/gnunet_setup_gns_edit_ns.glade index 0eb32036..bcbd7441 100644 --- a/contrib/gnunet_setup_gns_edit_ns.glade +++ b/contrib/gnunet_setup_gns_edit_ns.glade | |||
@@ -239,7 +239,7 @@ | |||
239 | <property name="can_focus">True</property> | 239 | <property name="can_focus">True</property> |
240 | <property name="has_focus">True</property> | 240 | <property name="has_focus">True</property> |
241 | <property name="tooltip_text" translatable="yes">Enter the name of the DNS nameserver for the subzone.</property> | 241 | <property name="tooltip_text" translatable="yes">Enter the name of the DNS nameserver for the subzone.</property> |
242 | <property name="max_length">15</property> | 242 | <property name="max_length">253</property> |
243 | <property name="invisible_char">●</property> | 243 | <property name="invisible_char">●</property> |
244 | <property name="primary_icon_activatable">False</property> | 244 | <property name="primary_icon_activatable">False</property> |
245 | <property name="secondary_icon_activatable">False</property> | 245 | <property name="secondary_icon_activatable">False</property> |
diff --git a/contrib/gnunet_setup_gns_edit_txt.glade b/contrib/gnunet_setup_gns_edit_txt.glade index 037d4c62..92497ca2 100644 --- a/contrib/gnunet_setup_gns_edit_txt.glade +++ b/contrib/gnunet_setup_gns_edit_txt.glade | |||
@@ -239,7 +239,7 @@ | |||
239 | <property name="can_focus">True</property> | 239 | <property name="can_focus">True</property> |
240 | <property name="has_focus">True</property> | 240 | <property name="has_focus">True</property> |
241 | <property name="tooltip_text" translatable="yes">Enter the IPv4 address for the A record here. The format is the usual dotted-decimal format (i.e. 127.0.0.1).</property> | 241 | <property name="tooltip_text" translatable="yes">Enter the IPv4 address for the A record here. The format is the usual dotted-decimal format (i.e. 127.0.0.1).</property> |
242 | <property name="max_length">15</property> | 242 | <property name="max_length">0</property> |
243 | <property name="invisible_char">●</property> | 243 | <property name="invisible_char">●</property> |
244 | <property name="primary_icon_activatable">False</property> | 244 | <property name="primary_icon_activatable">False</property> |
245 | <property name="secondary_icon_activatable">False</property> | 245 | <property name="secondary_icon_activatable">False</property> |
diff --git a/src/setup/gnunet-setup-gns-edit.c b/src/setup/gnunet-setup-gns-edit.c index b5e4026d..fcbdec97 100644 --- a/src/setup/gnunet-setup-gns-edit.c +++ b/src/setup/gnunet-setup-gns-edit.c | |||
@@ -641,7 +641,7 @@ GNS_edit_dialog_aaaa_entry_changed_cb (GtkEditable *entry, | |||
641 | { | 641 | { |
642 | struct EditDialogContext *edc = user_data; | 642 | struct EditDialogContext *edc = user_data; |
643 | 643 | ||
644 | edit_dialog_a_validity_check (edc); | 644 | edit_dialog_aaaa_validity_check (edc); |
645 | } | 645 | } |
646 | 646 | ||
647 | 647 | ||