+static void ui_gnome_network_notify_hostip(guint32 hostip_guint32)
+{
+ if (!hostip_guint32) {
+ if (is_daemon_running()==(pid_t)-1)
+ gtk_entry_set_text(HostIPEntry,_("(unknown; Start the daemon)"));
+ else
+ gtk_entry_set_text(HostIPEntry,_("(unknown; detecting...)"));
+ }
+ else {
+ gtk_entry_set_text(HostIPEntry,HOSTIP_GUINT32_TO_STRING(hostip_guint32));
+ }
+}
+