On CD's with long track names, the track name is
truncated in the display with the default grip window
size. When the window is widened using the window
manager, the GtkClist puts the extra space into the
last column (this behavior isn't configurable). Then
you have a Rip column that's several inches wide and
the track name is still truncated. You have to
manually resize the three columns of the track list.
To work around this limitation in Gtk, attached is a
patch to exchange the Rip and Track columns, so that
the track name expands to fill the available space in
the window. I made the column positions into macros so
it's easy to change which one is where. This is a good
idea even if you don't accept the resizing workaround,
to reduce magic numbers in the source code.
This diff was made after applying my patch in bug
#470820 to remember the track selection status after a
CDDB lookup. It also fixes a bug in that patch which
prevented it from compiling when GRIPCD was defined.
patch to reorder track display columns
Logged In: YES
user_id=29358
I missed replacing a couple of numeric subscripts with
symbolic ones, resulting in memory corruption. I will
attach a corrected version of the patch, to go along with
the updated patch in bug #470820.
corrected patch to reorder columns