From 461ed3c54483165599b59e20afc84c73ddd34f61 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Thu, 28 Aug 2008 16:41:20 -1000 Subject: New network configuration screen for GTK+ UI. Removed the old netpostconfig.glade file. Moved the network configuration screen over to glade entirely. Prompt for just the hostname. --- ui/netpostconfig.glade | 943 ------------------------------------------------- ui/network.glade | 197 +++++++++++ 2 files changed, 197 insertions(+), 943 deletions(-) delete mode 100644 ui/netpostconfig.glade create mode 100644 ui/network.glade (limited to 'ui') diff --git a/ui/netpostconfig.glade b/ui/netpostconfig.glade deleted file mode 100644 index 34b47a8ff..000000000 --- a/ui/netpostconfig.glade +++ /dev/null @@ -1,943 +0,0 @@ - - - - - - - 5 - 550 - True - Edit Interface - GTK_WINDOW_TOPLEVEL - GTK_WIN_POS_CENTER - False - True - False - True - False - False - GDK_WINDOW_TYPE_HINT_DIALOG - GDK_GRAVITY_NORTH_WEST - True - False - True - - - - True - False - 0 - - - - True - GTK_BUTTONBOX_END - - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - True - -6 - - - - - - True - True - True - gtk-ok - True - GTK_RELIEF_NORMAL - True - -5 - - - - - 0 - False - True - GTK_PACK_END - - - - - - True - False - 0 - - - - True - <b>Description Goes Here</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.540000021458 - 0 - 0 - PANGO_ELLIPSIZE_NONE - 4 - False - 0 - - - 0 - False - False - - - - - - True - <b>Hardware address: DE:AD:00:BE:EF:00</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - False - False - - - - - - True - 0.5 - 0.5 - 1 - 1 - 5 - 0 - 0 - 0 - - - - True - True - Enable IPv4 support - True - GTK_RELIEF_NORMAL - True - True - False - True - - - - - 0 - False - False - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 20 - 0 - - - - True - True - Dynamic IP configuration (DHCP) - True - GTK_RELIEF_NORMAL - True - True - False - True - - - - - 0 - False - False - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 20 - 0 - - - - True - True - Manual configuration - True - GTK_RELIEF_NORMAL - True - False - False - True - dhcp_ipv4 - - - - - 0 - False - False - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 5 - 40 - 0 - - - - True - 2 - 3 - False - 0 - 0 - - - - True - False - True - True - True - 16 - - True - - False - - - 0 - 1 - 1 - 2 - - - - - - - True - False - True - True - True - 16 - - True - - False - - - 2 - 3 - 1 - 2 - - - - - - - True - False - / - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 5 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 1 - 2 - 1 - 2 - fill - - - - - - - True - False - IP Address - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - fill - - - - - - - True - False - Prefix (Netmask) - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 2 - 3 - 0 - 1 - fill - - - - - - - - 0 - False - False - - - - - - True - 0.5 - 0.5 - 1 - 1 - 5 - 0 - 0 - 0 - - - - True - True - Enable IPv6 support - True - GTK_RELIEF_NORMAL - True - True - False - True - - - - - 0 - False - False - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 20 - 0 - - - - True - True - Automatic neighbor discovery - True - GTK_RELIEF_NORMAL - True - True - False - True - - - - - 0 - False - False - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 20 - 0 - - - - True - True - Dynamic IP configuration (DHCPv6) - True - GTK_RELIEF_NORMAL - True - False - False - True - auto_ipv6 - - - - - 0 - False - False - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 20 - 0 - - - - True - True - Manual configuration - True - GTK_RELIEF_NORMAL - True - False - False - True - auto_ipv6 - - - - - 0 - False - False - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 10 - 40 - 0 - - - - True - 2 - 3 - False - 0 - 0 - - - - 323 - True - False - True - True - True - 40 - - True - - False - - - 0 - 1 - 1 - 2 - - - - - - - 30 - True - False - True - True - True - 3 - - True - - False - - - 2 - 3 - 1 - 2 - - - - - - - True - False - IP Address - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - fill - - - - - - - True - False - / - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 5 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 1 - 2 - 1 - 2 - fill - - - - - - - True - False - Prefix - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 2 - 3 - 0 - 1 - fill - - - - - - - - 0 - True - True - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 10 - 0 - 0 - - - - True - 2 - 2 - False - 10 - 0 - - - - True - ESSID: - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - fill - - - - - - - True - Encryption Key: - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 1 - 2 - fill - - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 5 - 0 - - - - True - True - True - True - 0 - - True - - False - - - - - 1 - 2 - 1 - 2 - - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 5 - 0 - - - - True - True - True - True - 0 - - True - - False - - - - - 1 - 2 - 0 - 1 - - - - - - - - 0 - True - True - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 10 - 0 - 0 - - - - True - 1 - 2 - False - 0 - 0 - - - - True - Point to Point (IP): - False - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - fill - - - - - - - True - 0.5 - 0.5 - 1 - 1 - 0 - 0 - 5 - 0 - - - - True - True - True - True - 0 - - True - - False - - - - - 1 - 2 - 0 - 1 - - - - - - - - 0 - True - True - - - - - 0 - False - False - - - - - - - diff --git a/ui/network.glade b/ui/network.glade new file mode 100644 index 000000000..5ee1bca71 --- /dev/null +++ b/ui/network.glade @@ -0,0 +1,197 @@ + + + + + + + 18 + + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + + 400 + True + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + + + + 5 + True + False + 10 + + + + True + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + + + + True + False + 0 + + + + True + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + Please name this computer. The hostname identifies the computer on a network. + False + False + GTK_JUSTIFY_LEFT + True + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + 0 + False + False + + + + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 0 + 0 + + + + 365 + True + 1 + 2 + False + 5 + 5 + + + + True + Hostname: + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 0 + 1 + fill + + + + + + + 256 + True + True + True + True + True + 255 + + True + + False + + + 1 + 2 + 0 + 1 + fill + + + + + + + + 0 + False + False + + + + + + + + + -- cgit