Class: Y2Network::Dialogs::RenameInterface
- Inherits:
-
CWM::Popup
- Object
- CWM::Popup
- Y2Network::Dialogs::RenameInterface
- Defined in:
- src/lib/y2network/dialogs/rename_interface.rb
Overview
This dialog allows the user to rename a network interface
It allows the user to enter a new name and to select the attribute to base the rename on. Supported attributes are MAC address and Bus ID.
Instance Method Summary collapse
- #contents ⇒ Object
-
#initialize(builder) ⇒ RenameInterface
constructor
Constructor.
Constructor Details
#initialize(builder) ⇒ RenameInterface
Constructor
35 36 37 38 39 40 |
# File 'src/lib/y2network/dialogs/rename_interface.rb', line 35 def initialize(builder) textdomain "network" @builder = builder @old_name = builder.interface.name end |
Instance Method Details
#contents ⇒ Object
43 44 45 46 47 48 49 |
# File 'src/lib/y2network/dialogs/rename_interface.rb', line 43 def contents VBox( Left(), VSpacing(0.5), ) end |