# HG changeset patch # User ib # Date 1323621366 0 # Node ID 8861ea3ec08cc1142d70cf2b53e74921d877b129 # Parent 3d0c795524b0cfc77670ecc6bd1984f8f5b4e407 Make column titles in playlist passive. This prevents them from being "selectable" and grabbing the focus which is irritating and pointless. diff -r 3d0c795524b0 -r 8861ea3ec08c gui/ui/gtk/playlist.c --- a/gui/ui/gtk/playlist.c Sun Dec 11 16:02:02 2011 +0000 +++ b/gui/ui/gtk/playlist.c Sun Dec 11 16:36:06 2011 +0000 @@ -494,6 +494,8 @@ gtk_clist_set_column_widget( GTK_CLIST( CTDirTree ),0, AddLabel( MSGTR_PLAYLIST_DirectoryTree,NULL ) ); + gtk_clist_column_title_passive( GTK_CLIST( CTDirTree ),0 ); + vbox2=AddVBox( AddFrame( NULL,1,hbox1,1 ),0 ); @@ -513,6 +515,8 @@ gtk_clist_set_column_widget( GTK_CLIST( CLFiles ),0, AddLabel( MSGTR_PLAYLIST_Files,NULL ) ); + gtk_clist_column_title_passive( GTK_CLIST( CLFiles ),0 ); + AddHSeparator( vbox2 ); scrolledwindow3=gtk_scrolled_window_new( NULL,NULL ); @@ -535,6 +539,8 @@ gtk_clist_set_column_widget( GTK_CLIST( CLSelected ),1, AddLabel( MSGTR_PLAYLIST_Path,NULL ) ); + gtk_clist_column_title_passive( GTK_CLIST( CLSelected ),0 ); + AddHSeparator( vbox1 ); hbuttonbox1=AddHButtonBox( vbox1 );