13 Commits

Author SHA1 Message Date
John Maguire
bebd781fdf Reformat all non-3rd-party C/C++/Objective-C++.
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
 -style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
David Sansome
7a9e5b553b Set a lower minimum column size in the playlist again. Fixes #201 2014-01-20 22:08:43 +11:00
David Sansome
bfd725f2ed Don't crash when adding new columns to a stretch header view.
Fixes issue 2562
2012-01-04 18:45:08 +00:00
David Sansome
3eb9aee989 Save the state of the playlist column sort marker
Fixes issue 2098
2011-07-25 16:55:45 +01:00
David Sansome
f599c0fca7 Remember the playlist column stretch setting when changing it, and update the menu action's checked state properly when opening clementine. 2011-07-25 16:54:42 +01:00
David Sansome
30f68d6981 Store the floating point proportional playlist column widths directly instead of storing the integer pixel widths then recalculating the floating point values on startup, which would lead to floating point errors over time. Fixes a bug where columns would slowly change size the more times you opened and closed clementine. 2011-07-24 12:47:48 +01:00
Paweł Bara
80e8fc8d60 corrections to "make sure a playlist column will appear in the UI even if it's width was somehow set to 0" 2010-12-15 17:46:31 +00:00
Paweł Bara
0f3b8156f3 make sure a playlist column will appear in the UI even if it's width was somehow set to 0 2010-12-15 16:32:45 +00:00
David Sansome
23f2530f59 Prevent the last playlist column from being hidden, and check that at least one is visible on startup. Fixes issue #991 2010-12-11 14:26:49 +00:00
David Sansome
ed1a25693c Add missing licenses to debian/copyright, and add copyright information to each source file 2010-11-20 13:27:10 +00:00
David Sansome
c7472eda59 Use std::fill and std::accumulate 2010-08-27 13:22:44 +00:00
David Sansome
dbc1bf5987 Set a better default column layout, and use a better column resizing algorithm 2010-08-27 13:15:32 +00:00
David Sansome
88a48a6bdf Add an option to make columns in the playlist stretch to fit the window width like in Amarok 1. This option is enabled by default. Fixes issue #23 2010-08-27 12:42:06 +00:00