totem r6228 - in trunk: . src



Author: hadess
Date: Thu Apr  2 15:24:18 2009
New Revision: 6228
URL: http://svn.gnome.org/viewvc/totem?rev=6228&view=rev

Log:
2009-04-02  Bastien Nocera  <hadess hadess net>

	* src/totem-playlist.c (totem_playlist_init):
	Patch from Zachary Strudler <strudz rpi edu> to add
	tooltips to the playlist items (Closes: #352553)



Modified:
   trunk/ChangeLog
   trunk/src/totem-playlist.c

Modified: trunk/src/totem-playlist.c
==============================================================================
--- trunk/src/totem-playlist.c	(original)
+++ trunk/src/totem-playlist.c	Thu Apr  2 15:24:18 2009
@@ -1611,10 +1611,14 @@
 	/* popup menu */
 	playlist->priv->action_group = GTK_ACTION_GROUP (gtk_builder_get_object (playlist->priv->xml, "playlist-action-group"));
 	playlist->priv->ui_manager = GTK_UI_MANAGER (gtk_builder_get_object (playlist->priv->xml, "totem-playlist-ui-manager"));
+	
+	/* tooltips */
+	gtk_tree_view_set_tooltip_column(GTK_TREE_VIEW(playlist->priv->treeview),
+					 FILENAME_COL);
 
 	gtk_widget_add_events (GTK_WIDGET (playlist), GDK_KEY_PRESS_MASK);
 	g_signal_connect (G_OBJECT (playlist), "key_press_event",
-			G_CALLBACK (totem_playlist_key_press), playlist);
+			  G_CALLBACK (totem_playlist_key_press), playlist);
 
 	/* Reparent the vbox */
 	container = GTK_WIDGET (gtk_builder_get_object (playlist->priv->xml, "vbox4"));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]