Author: rpmcruz
Date: Fri Jul 18 18:17:48 2008
New Revision: 49257
URL: http://svn.opensuse.org/viewcvs/yast?rev=49257&view=rev
Log:
* src/YGTable.cc: bug fix 410341: request to regress fix for 396360.
Honor flag for last column.
Modified:
trunk/gtk/ChangeLog
trunk/gtk/src/YGTable.cc
Modified: trunk/gtk/ChangeLog
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/ChangeLog?rev=49257&r1=49256&r2=49257&view=diff
==============================================================================
--- trunk/gtk/ChangeLog (original)
+++ trunk/gtk/ChangeLog Fri Jul 18 18:17:48 2008
@@ -3,6 +3,9 @@
* src/YGPackageSelector.cc: bug fix 383897: extra whitespace typo
in a string.
+ * src/YGTable.cc: bug fix 410341: request to regress fix for 396360.
+ Honor flag for last column.
+
2008-07-17 Ricardo Cruz
* src/YGWidget.cc: got rid of the size calculation cache. Should fix
Modified: trunk/gtk/src/YGTable.cc
URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGTable.cc?rev=49257&r1=49256&r2=49257&view=diff
==============================================================================
--- trunk/gtk/src/YGTable.cc (original)
+++ trunk/gtk/src/YGTable.cc Fri Jul 18 18:17:48 2008
@@ -222,13 +222,7 @@
createModel (types);
for (int i = 0; i < columns(); i++) {
int col = i*2;
-
- YAlignmentType align = alignment (i);
- // last column is expandable, so don't let it be aligned to the right
- if (i == columns()-1)
- align = YAlignBegin;
-
- appendIconTextColumn (header (i), align, col, col+1);
+ appendIconTextColumn (header (i), alignment (i), col, col+1);
}
setModel();
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org