changeset 4729:5e70c200eb8d

Use GtkCellRenderer::ypad to provide a more compact playlist, similar to the list widgets in Conspire.
author William Pitcock <nenolod@atheme.org>
date Wed, 16 Jul 2008 17:32:37 -0500
parents ab79ddbdcf42
children f9b49a8913b7
files src/audacious/ui_playlist_widget.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_playlist_widget.c	Thu Jul 17 00:18:16 2008 +0200
+++ b/src/audacious/ui_playlist_widget.c	Wed Jul 16 17:32:37 2008 -0500
@@ -259,14 +259,17 @@
     renderer = gtk_cell_renderer_text_new();
     gtk_tree_view_column_pack_start(column, renderer, FALSE);
     gtk_tree_view_column_set_attributes(column, renderer, "text", COLUMN_NUM, NULL);
+    g_object_set(G_OBJECT(renderer), "ypad", 0, NULL);
 
     renderer = gtk_cell_renderer_text_new();
     gtk_tree_view_column_pack_start(column, renderer, TRUE);
     gtk_tree_view_column_set_attributes(column, renderer, "text", COLUMN_TEXT, "weight", COLUMN_WEIGHT, NULL);
+    g_object_set(G_OBJECT(renderer), "ypad", 0, NULL);
 
     renderer = gtk_cell_renderer_text_new();
     gtk_tree_view_column_pack_start(column, renderer, FALSE);
     gtk_tree_view_column_set_attributes(column, renderer, "text", COLUMN_TIME, NULL);
+    g_object_set(G_OBJECT(renderer), "ypad", 0, NULL);
 
     gtk_tree_view_append_column(GTK_TREE_VIEW(treeview), column);