diff options
-rw-r--r-- | iw/netconfig_dialog.py | 41 | ||||
-rw-r--r-- | ui/netconfig.glade | 811 |
2 files changed, 560 insertions, 292 deletions
diff --git a/iw/netconfig_dialog.py b/iw/netconfig_dialog.py index e361e5aed..dd5554e1a 100644 --- a/iw/netconfig_dialog.py +++ b/iw/netconfig_dialog.py @@ -130,8 +130,21 @@ class NetworkConfigurator: def run(self): gui.addFrame(self.window) + busycursor = gui.getBusyCursorStatus() + gui.setCursorToNormal() + self.window.show() - gtk.main() + while True: + rc = self.window.run() + if rc == gtk.RESPONSE_CANCEL: + self._cancel() + break + if self._ok(): + break + + # restore busy cursor + if busycursor: + gui.setCursorToBusy() return self.rc def destroy(self): @@ -158,7 +171,6 @@ class NetworkConfigurator: d.destroy() def _cancel(self, *args): - gtk.main_quit() self.rc = gtk.RESPONSE_CANCEL def _ok(self, *args): @@ -196,10 +208,10 @@ class NetworkConfigurator: netdev.set(('ipaddr', ipv4addr)) except network.IPMissing, msg: self._handleIPMissing(_("IP Address")) - return + return False except network.IPError, msg: self._handleIPError(_("IP Address"), msg) - return + return False if ipv4nm.find('.') == -1: # user provided a CIDR prefix @@ -207,13 +219,13 @@ class NetworkConfigurator: if int(ipv4nm) > 32 or int(ipv4nm) < 0: msg = _("IPv4 CIDR prefix must be between 0 and 32.") self._handleIPError(_("IPv4 Network Mask"), msg) - return + return False else: ipv4nm = isys.prefix2netmask(int(ipv4nm)) netdev.set(('netmask', ipv4nm)) except: self._handleIPMissing(_("IPv4 Network Mask")) - return + return False else: # user provided a dotted-quad netmask try: @@ -221,27 +233,27 @@ class NetworkConfigurator: netdev.set(('netmask', ipv4nm)) except network.IPMissing, msg: self._handleIPMissing(_("IPv4 Network Mask")) - return + return False except network.IPError, msg: self._handleIPError(_("IPv4 Network Mask"), msg) - return + return False try: if gateway: network.sanityCheckIPString(gateway) except network.IPMissing, msg: self._handleIPMissing(_("Gateway")) - return + return False except network.IPError, msg: self._handleIPError(_("Gateway"), msg) - return + return False try: if ns: network.sanityCheckIPString(ns) except network.IPError, msg: self._handleIPError(_("Nameserver"), msg) - return + return False try: @@ -251,7 +263,7 @@ class NetworkConfigurator: log = logging.getLogger("anaconda") log.error("Error configuring network device: %s" %(e,)) self._handleIPError(_("Error configuring network device:"), e) - return + return False self.rc = gtk.RESPONSE_OK if ns: @@ -265,9 +277,8 @@ class NetworkConfigurator: gui.MessageWindow(_("Error"), _("Error configuring network device"), type = "ok", custom_icon="error") - return - - gtk.main_quit() + return False + return True diff --git a/ui/netconfig.glade b/ui/netconfig.glade index 8c7828c38..3166e2292 100644 --- a/ui/netconfig.glade +++ b/ui/netconfig.glade @@ -1,281 +1,538 @@ <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> -<!DOCTYPE glade-interface SYSTEM "http://gazpacho.sicem.biz/gazpacho-0.1.dtd"> +<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> + <glade-interface> - <widget class="GtkWindow" id="NetworkConfigWindow"> - <property name="default_height">250</property> - <property name="default_width">440</property> - <property name="title" context="yes" translatable="yes">Enable network interface</property> - <property name="window_position">center</property> - <child> - <widget class="GtkVBox" id="vbox1"> - <property name="border_width">18</property> - <property name="spacing">12</property> - <property name="visible">True</property> - <child> - <widget class="GtkLabel" id="label1"> - <property name="label" context="yes" translatable="yes">This requires that you have an active network connection during the installation process. Please configure a network interface.</property> - <property name="visible">True</property> - <property name="wrap">True</property> - </widget> - </child> - <child> - <widget class="GtkHBox" id="interfaceBox"> - <property name="spacing">6</property> - <property name="visible">True</property> - <child> - <widget class="GtkLabel" id="interfaceLabel"> - <property name="label" context="yes" translatable="yes"><b>_Interface:</b></property> - <property name="use_markup">True</property> - <property name="use_underline">True</property> - <property name="visible">True</property> - <property name="xalign">0.0</property> - </widget> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> - <child> - <widget class="GtkComboBox" id="interfaceCombo"> - <property name="visible">True</property> - <signal handler="on_interfaceCombo_changed" name="changed"/> - </widget> - <packing> - <property name="position">1</property> - </packing> - </child> - </widget> - <packing> - <property name="position">1</property> - </packing> - </child> - <child> - <widget class="GtkCheckButton" id="dhcpCheckbutton"> - <property name="is_focus">True</property> - <property name="label" context="yes" translatable="yes">Use _dynamic IP configuration (DHCP)</property> - <property name="use_underline">True</property> - <property name="visible">True</property> - <signal handler="on_dhcpCheckbutton_toggled" name="toggled"/> - </widget> - <packing> - <property name="position">2</property> - </packing> - </child> - <child> - <widget class="GtkCheckButton" id="ipv4Checkbutton"> - <property name="label" context="yes" translatable="yes">Enable IPv_4 support</property> - <property name="use_underline">True</property> - <property name="visible">True</property> - <signal handler="on_ipv4Checkbutton_toggled" name="toggled"/> - </widget> - <packing> - <property name="position">3</property> - </packing> - </child> - <child> - <widget class="GtkCheckButton" id="ipv6Checkbutton"> - <property name="is_focus">True</property> - <property name="label" context="yes" translatable="yes">Enable IPv_6 support</property> - <property name="use_underline">True</property> - <signal handler="on_ipv6Checkbutton_toggled" name="toggled"/> - </widget> - <packing> - <property name="position">4</property> - </packing> - </child> - <child> - <widget class="GtkHBox" id="ipv4Box"> - <property name="spacing">6</property> - <property name="visible">True</property> - <child> - <widget class="GtkLabel" id="ipv4Label"> - <property name="label" context="yes" translatable="yes"><b>IPv4 Address:</b></property> - <property name="use_markup">True</property> - <property name="visible">True</property> - <property name="xalign">0.0</property> - </widget> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - </packing> - </child> - <child> - <widget class="GtkEntry" id="ipv4Address"> - <property name="visible">True</property> - <property name="width_chars">16</property> - </widget> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> - </child> - <child> - <widget class="GtkLabel" id="label10"> - <property name="label" context="yes" translatable="yes">/</property> - <property name="visible">True</property> - </widget> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">2</property> - </packing> - </child> - <child> - <widget class="GtkEntry" id="ipv4Netmask"> - <property name="visible">True</property> - <property name="width_chars">16</property> - </widget> - <packing> - <property name="expand">False</property> - <property name="position">3</property> - </packing> - </child> - </widget> - <packing> - <property name="position">5</property> - </packing> - </child> - <child> - <widget class="GtkHBox" id="ipv6Box"> - <property name="sensitive">False</property> - <property name="spacing">6</property> - <child> - <widget class="GtkLabel" id="ipv6Label"> - <property name="label" context="yes" translatable="yes"><b>IPv6 Address:</b></property> - <property name="use_markup">True</property> - <property name="visible">True</property> - <property name="xalign">0.0</property> - </widget> - <packing> - <property name="expand">False</property> - </packing> - </child> - <child> - <widget class="GtkEntry" id="ipv6Address"> - <property name="visible">True</property> - <property name="width_chars">41</property> - </widget> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> - </child> - <child> - <widget class="GtkLabel" id="label11"> - <property name="label" context="yes" translatable="yes">/</property> - <property name="visible">True</property> - </widget> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">2</property> - </packing> - </child> - <child> - <widget class="GtkEntry" id="ipv6Netmask"> - <property name="visible">True</property> - <property name="width_chars">4</property> - </widget> - <packing> - <property name="expand">False</property> - <property name="position">3</property> - </packing> - </child> - </widget> - <packing> - <property name="position">6</property> - </packing> - </child> - <child> - <widget class="GtkHBox" id="gatewayBox"> - <property name="spacing">6</property> - <property name="visible">True</property> - <child> - <widget class="GtkLabel" id="gatewayLabel"> - <property name="label" context="yes" translatable="yes"><b>Gateway:</b></property> - <property name="use_markup">True</property> - <property name="visible">True</property> - <property name="xalign">0.0</property> - </widget> - <packing> - <property name="expand">False</property> - </packing> - </child> - <child> - <widget class="GtkEntry" id="gatewayEntry"> - <property name="visible">True</property> - <property name="width_chars">41</property> - </widget> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> - </child> - </widget> - <packing> - <property name="position">7</property> - </packing> - </child> - <child> - <widget class="GtkHBox" id="nameserverBox"> - <property name="spacing">6</property> - <property name="visible">True</property> - <child> - <widget class="GtkLabel" id="nameserverLabel"> - <property name="label" context="yes" translatable="yes"><b>Nameserver:</b></property> - <property name="use_markup">True</property> - <property name="visible">True</property> - <property name="xalign">0.0</property> - </widget> - <packing> - <property name="expand">False</property> - </packing> - </child> - <child> - <widget class="GtkEntry" id="nameserverEntry"> - <property name="visible">True</property> - <property name="width_chars">41</property> - </widget> - <packing> - <property name="expand">False</property> - <property name="position">1</property> - </packing> - </child> - </widget> - <packing> - <property name="position">8</property> - </packing> - </child> - <child> - <widget class="GtkHButtonBox" id="hbuttonbox1"> - <property name="layout_style">end</property> - <property name="spacing">18</property> - <property name="visible">True</property> - <child> - <widget class="GtkButton" id="cancelButton"> - <property name="label">gtk-cancel</property> - <property name="use_stock">True</property> - <property name="visible">True</property> - <signal handler="on_cancelButton_clicked" name="clicked"/> - </widget> - </child> - <child> - <widget class="GtkButton" id="okButton"> - <property name="label">gtk-ok</property> - <property name="use_stock">True</property> - <property name="visible">True</property> - <signal handler="on_okButton_clicked" name="clicked"/> - </widget> - <packing> - <property name="position">1</property> - </packing> - </child> - </widget> - <packing> - <property name="position">9</property> - </packing> - </child> - </widget> - </child> + +<widget class="GtkDialog" id="NetworkConfigWindow"> + <property name="visible">True</property> + <property name="title" translatable="yes">Enable network interface</property> + <property name="type">GTK_WINDOW_TOPLEVEL</property> + <property name="window_position">GTK_WIN_POS_CENTER_ALWAYS</property> + <property name="modal">False</property> + <property name="resizable">True</property> + <property name="destroy_with_parent">False</property> + <property name="decorated">True</property> + <property name="skip_taskbar_hint">False</property> + <property name="skip_pager_hint">False</property> + <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> + <property name="gravity">GDK_GRAVITY_NORTH_WEST</property> + <property name="focus_on_map">True</property> + <property name="urgency_hint">False</property> + <property name="has_separator">True</property> + + <child internal-child="vbox"> + <widget class="GtkVBox" id="dialog-vbox1"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">0</property> + + <child internal-child="action_area"> + <widget class="GtkHButtonBox" id="dialog-action_area1"> + <property name="visible">True</property> + <property name="layout_style">GTK_BUTTONBOX_END</property> + + <child> + <widget class="GtkButton" id="cancelButton"> + <property name="visible">True</property> + <property name="can_default">True</property> + <property name="can_focus">True</property> + <property name="label">gtk-cancel</property> + <property name="use_stock">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> + <property name="response_id">-6</property> + </widget> + </child> + + <child> + <widget class="GtkButton" id="okButton"> + <property name="visible">True</property> + <property name="can_default">True</property> + <property name="can_focus">True</property> + <property name="label">gtk-ok</property> + <property name="use_stock">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> + <property name="response_id">-5</property> + </widget> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">GTK_PACK_END</property> + </packing> + </child> + + <child> + <widget class="GtkVBox" id="vbox1"> + <property name="border_width">18</property> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">12</property> + + <child> + <widget class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="yes">This requires that you have an active network connection during the installation process. Please configure a network interface.</property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_CENTER</property> + <property name="wrap">True</property> + <property name="selectable">False</property> + <property name="xalign">0</property> + <property name="yalign">0</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkHBox" id="interfaceBox"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">6</property> + + <child> + <widget class="GtkLabel" id="interfaceLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="yes"><b>_Interface:</b></property> + <property name="use_underline">True</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkComboBox" id="interfaceCombo"> + <property name="visible">True</property> + <property name="add_tearoffs">False</property> + <property name="focus_on_click">True</property> + <signal name="changed" handler="on_interfaceCombo_changed"/> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkCheckButton" id="dhcpCheckbutton"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="yes">Use _dynamic IP configuration (DHCP)</property> + <property name="use_underline">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> + <property name="active">False</property> + <property name="inconsistent">False</property> + <property name="draw_indicator">True</property> + <signal name="toggled" handler="on_dhcpCheckbutton_toggled"/> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkCheckButton" id="ipv4Checkbutton"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="yes">Enable IPv_4 support</property> + <property name="use_underline">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> + <property name="active">False</property> + <property name="inconsistent">False</property> + <property name="draw_indicator">True</property> + <signal name="toggled" handler="on_ipv4Checkbutton_toggled"/> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkCheckButton" id="ipv6Checkbutton"> + <property name="label" translatable="yes" context="yes">Enable IPv_6 support</property> + <property name="use_underline">True</property> + <property name="relief">GTK_RELIEF_NORMAL</property> + <property name="focus_on_click">True</property> + <property name="active">False</property> + <property name="inconsistent">False</property> + <property name="draw_indicator">True</property> + <signal name="toggled" handler="on_ipv6Checkbutton_toggled"/> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkHBox" id="ipv4Box"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">6</property> + + <child> + <widget class="GtkLabel" id="ipv4Label"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="yes"><b>IPv4 Address:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="ipv4Address"> + <property name="visible">True</property> + <property name="editable">True</property> + <property name="visibility">True</property> + <property name="max_length">0</property> + <property name="text" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">•</property> + <property name="activates_default">False</property> + <property name="width_chars">16</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="label10"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="yes">/</property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="ipv4Netmask"> + <property name="visible">True</property> + <property name="editable">True</property> + <property name="visibility">True</property> + <property name="max_length">0</property> + <property name="text" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">•</property> + <property name="activates_default">False</property> + <property name="width_chars">16</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkHBox" id="ipv6Box"> + <property name="sensitive">False</property> + <property name="homogeneous">False</property> + <property name="spacing">6</property> + + <child> + <widget class="GtkLabel" id="ipv6Label"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="yes"><b>IPv6 Address:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="ipv6Address"> + <property name="visible">True</property> + <property name="editable">True</property> + <property name="visibility">True</property> + <property name="max_length">0</property> + <property name="text" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">•</property> + <property name="activates_default">False</property> + <property name="width_chars">41</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkLabel" id="label11"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="yes">/</property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="ipv6Netmask"> + <property name="visible">True</property> + <property name="editable">True</property> + <property name="visibility">True</property> + <property name="max_length">0</property> + <property name="text" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">•</property> + <property name="activates_default">False</property> + <property name="width_chars">4</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkHBox" id="gatewayBox"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">6</property> + + <child> + <widget class="GtkLabel" id="gatewayLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="yes"><b>Gateway:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="gatewayEntry"> + <property name="visible">True</property> + <property name="editable">True</property> + <property name="visibility">True</property> + <property name="max_length">0</property> + <property name="text" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">•</property> + <property name="activates_default">False</property> + <property name="width_chars">41</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkHBox" id="nameserverBox"> + <property name="visible">True</property> + <property name="homogeneous">False</property> + <property name="spacing">6</property> + + <child> + <widget class="GtkLabel" id="nameserverLabel"> + <property name="visible">True</property> + <property name="label" translatable="yes" context="yes"><b>Nameserver:</b></property> + <property name="use_underline">False</property> + <property name="use_markup">True</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <widget class="GtkEntry" id="nameserverEntry"> + <property name="visible">True</property> + <property name="editable">True</property> + <property name="visibility">True</property> + <property name="max_length">0</property> + <property name="text" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">•</property> + <property name="activates_default">False</property> + <property name="width_chars">41</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">True</property> + </packing> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> + + <child> + <placeholder/> + </child> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + </packing> + </child> </widget> + </child> +</widget> + </glade-interface> |