forked from AuroraMiddleware/gtk
open-with: add xpadding to the treeview renderers
We use a GtkCellRenderer hack for this.
This commit is contained in:
parent
ee9a7a3baf
commit
a8cf63cc84
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user