Author: aschnell Date: Wed Feb 27 16:34:03 2008 New Revision: 45086 URL: http://svn.opensuse.org/viewcvs/yast?rev=45086&view=rev Log: - use RichText widget Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp?rev=45086&r1=45085&r2=45086&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-dialogs.ycp Wed Feb 27 16:34:03 2008 @@ -74,6 +74,9 @@ // TODO: symbols here and resulting content should be identical to the once // used in MakePartitionList + // + // TODO: we could use RichText formatting capabilities (but table is only + // supported by qt) term MakeInfo(map data, list<symbol> rows) { string ret = ""; @@ -115,7 +118,7 @@ ret = ret + "UUID: " + data["uuid"]:"" + "\n"; }); - return `Left(`Label(ret)); + return `Left(`RichText(`opt(`plainText), ret)); } Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd.ycp?rev=45086&r1=45085&r2=45086&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-hd.ycp Wed Feb 27 16:34:03 2008 @@ -48,7 +48,7 @@ UI::ReplaceWidget(`tab_panel, `VBox( `HStretch(), - MakeInfo(disk, [ `device, `vendor, `model, `size, `newline, `bus, `udev_path ]), + MakeInfo(disk, [ `device, `vendor, `model, `size, `newline, `bus, `udev_path, `udev_id ]), `VStretch(), `HBox( `PushButton(`id(`smart), "Smart..." ), -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org