Skip to content

Commit

Permalink
Merge pull request #101 from yast/move_include
Browse files Browse the repository at this point in the history
move an include statement to the top level
  • Loading branch information
lslezak committed Jul 16, 2013
2 parents be04a8f + 2df7931 commit 0df743b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions package/yast2-network.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 16 07:59:47 UTC 2013 - lslezak@suse.cz

- move an include statement to the top level (needed for Ruby
translation)

-------------------------------------------------------------------
Thu Jun 20 06:49:08 UTC 2013 - mfilka@suse.com

Expand Down
5 changes: 2 additions & 3 deletions src/lan/hardware.ycp
Expand Up @@ -41,6 +41,8 @@ import "Wizard";
import "LanItems";
include "network/summary.ycp";
include "network/routines.ycp";
/* map NetworkCards */
include "network/lan/cards.ycp";

/**
* Determines if the dialog is used for adding new device or for editing existing one.
Expand Down Expand Up @@ -309,9 +311,6 @@ define any SelectionDialog() {
string type = LanItems::type;
integer selected = 0;

/* map NetworkCards */
include "network/lan/cards.ycp";

list<map> hwlist = NetworkCards[type]:[];
list cards = hwlist2items(hwlist, 0);

Expand Down

0 comments on commit 0df743b

Please sign in to comment.