[MPlayer-cvslog] r34435 - trunk/gui/ui/gtk/playlist.c

ib subversion at mplayerhq.hu
Sun Dec 11 17:36:07 CET 2011


Author: ib
Date: Sun Dec 11 17:36:06 2011
New Revision: 34435

Log:
Make column titles in playlist passive.

This prevents them from being "selectable" and grabbing
the focus which is irritating and pointless.

Modified:
   trunk/gui/ui/gtk/playlist.c

Modified: trunk/gui/ui/gtk/playlist.c
==============================================================================
--- trunk/gui/ui/gtk/playlist.c	Sun Dec 11 17:02:02 2011	(r34434)
+++ trunk/gui/ui/gtk/playlist.c	Sun Dec 11 17:36:06 2011	(r34435)
@@ -494,6 +494,8 @@ GtkWidget * create_PlayList( void )
   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 @@ GtkWidget * create_PlayList( void )
   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 @@ GtkWidget * create_PlayList( void )
   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 );


More information about the MPlayer-cvslog mailing list