open-with: add xpadding to the treeview renderers

We use a GtkCellRenderer hack for this.
This commit is contained in:
Cosimo Cecchi 2010-11-16 15:14:11 +01:00
parent ee9a7a3baf
commit a8cf63cc84

View File

@ -751,6 +751,13 @@ gtk_open_with_dialog_add_items_idle (gpointer user_data)
column = gtk_tree_view_column_new ();
/* initial padding */
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (column, renderer, FALSE);
g_object_set (renderer,
"xpad", 6,
NULL);
/* heading text renderer */
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (column, renderer, FALSE);