Mailinglist Archive: yast-commit (595 mails)

< Previous Next >
[yast-commit] r54157 - in /trunk/storage/storage/src: include/ep-main.ycp modules/StorageFields.ycp
  • From: kmachalkova@xxxxxxxxxxxxxxxx
  • Date: Tue, 16 Dec 2008 10:34:53 -0000
  • Message-id: <20081216103453.8A9DE315FF@xxxxxxxxxxxxxxxx>
Author: kmachalkova
Date: Tue Dec 16 11:34:53 2008
New Revision: 54157

URL: http://svn.opensuse.org/viewcvs/yast?rev=54157&view=rev
Log:
After double-clicking on a table item, move focus
to table/overview widget, whichever is there (it
is pretty pointless to focus the tree)

Modified:
trunk/storage/storage/src/include/ep-main.ycp
trunk/storage/storage/src/modules/StorageFields.ycp

Modified: trunk/storage/storage/src/include/ep-main.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-main.ycp?rev=54157&r1=54156&r2=54157&view=diff
==============================================================================
--- trunk/storage/storage/src/include/ep-main.ycp (original)
+++ trunk/storage/storage/src/include/ep-main.ycp Tue Dec 16 11:34:53 2008
@@ -384,7 +384,7 @@
case `table: {
any citem = UI::QueryWidget(`id(`table), `CurrentItem);
TreePanel::SwitchToNew(citem);
- UI::SetFocus(`tree);
+ UI::SetFocus( UI::WidgetExists(`id(`table)) ? `id(`table) :
`id(`text));
} break;
}
}

Modified: trunk/storage/storage/src/modules/StorageFields.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/StorageFields.ycp?rev=54157&r1=54156&r2=54157&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/StorageFields.ycp (original)
+++ trunk/storage/storage/src/modules/StorageFields.ycp Tue Dec 16 11:34:53 2008
@@ -1165,7 +1165,7 @@
{
string contents = OverviewContents(fields, target_map, device);

- return `RichText(`opt(`hstretch, `vstretch), contents);
+ return `RichText(`id(`text), `opt(`hstretch, `vstretch), contents);
}



--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages