Skip to content

Commit

Permalink
Consistent widget focusing (#435992)
Browse files Browse the repository at this point in the history
svn path=/branches/SuSE-Code-11-Branch/nfs-client/; revision=54164
  • Loading branch information
Katarína Machálková committed Dec 16, 2008
1 parent e2635e0 commit 3bd8fbe
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.17.10
2.17.11
7 changes: 7 additions & 0 deletions package/yast2-nfs-client.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Dec 16 13:37:37 CET 2008 - kmachalkova@suse.cz

- Consistent setting of widget focus esp. when embedded in partitioner
(bnc#435992)
- 2.17.11

-------------------------------------------------------------------
Thu Dec 11 15:51:48 CET 2008 - kmachalkova@suse.cz

Expand Down
10 changes: 5 additions & 5 deletions src/ui.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -537,11 +537,6 @@ rights.</p>") + fw_cwm_widget["help"]:"";
UI::ChangeWidget (`id(`fstable), `Items, FstabTableItems (nfs_entries));
EnableDisableButtons();

// Kludge, because a `Table still does not have a shortcut.
// Simple to solve here: there's only the table and buttons,
// so it is OK to always set focus to the table
UI::SetFocus (`id (`fstable));

}

void InitSettings( )
Expand Down Expand Up @@ -665,6 +660,11 @@ rights.</p>") + fw_cwm_widget["help"]:"";

InitFstabEntries();

// Kludge, because a `Table still does not have a shortcut.
// Simple to solve here: there's only the table and buttons,
// so it is OK to always set focus to the table
UI::SetFocus (`id (`fstable));

map event = nil;
any ret = nil;
integer entryno = -1;
Expand Down

0 comments on commit 3bd8fbe

Please sign in to comment.