[Aptitude-svn-commit] r4130 - in branches/aptitude-0.3/aptitude: . src

Daniel Burrows dburrows at costa.debian.org
Tue Sep 20 17:23:14 UTC 2005


Author: dburrows
Date: Tue Sep 20 17:23:11 2005
New Revision: 4130

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/apt_options.cc
Log:
Fix button placement in the Options dialog.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Sep 20 17:23:11 2005
@@ -1,5 +1,11 @@
 2005-09-20  Daniel Burrows  <dburrows at debian.org>
 
+	* src/apt_options.cc:
+
+	  Fix button placement in the options dialog: the Ok/Cancel
+	  buttons were being crammed into the first column instead of
+	  spreading across both columns.
+
 	* src/vscreen/vs_editline.cc:
 
 	  Don't crash when creating a very small line-editor, such as when

Modified: branches/aptitude-0.3/aptitude/src/apt_options.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/apt_options.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/apt_options.cc	Tue Sep 20 17:23:11 2005
@@ -346,7 +346,7 @@
   bt->add_widget_opts(cancelbutton, 0, 1, 1, 1,
 		      vs_table::ALIGN_CENTER | vs_table::EXPAND,
 		      vs_table::ALIGN_CENTER);
-  table->add_widget_opts(bt, row, 0, 2, 1,
+  table->add_widget_opts(bt, row, 0, 1, 2,
 			 vs_table::ALIGN_CENTER | vs_table::EXPAND | vs_table::FILL,
 			 vs_table::ALIGN_CENTER);
   



More information about the Aptitude-svn-commit mailing list