changeset 34347:8861ea3ec08c

Make column titles in playlist passive. This prevents them from being "selectable" and grabbing the focus which is irritating and pointless.
author ib
date Sun, 11 Dec 2011 16:36:06 +0000
parents 3d0c795524b0
children be4236a5186c
files gui/ui/gtk/playlist.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 );