forked from osmocom/wireshark
Reduce the spacing between new packet list items from 2 pixels to 1. If
we want the new packet list to look like the old packet list we'll have to adjust the behavior of the cell renderer. svn path=/trunk/; revision=29867
This commit is contained in:
parent
8c2b702670
commit
05519b323a
|
@ -172,6 +172,20 @@ create_view_and_model(void)
|
|||
|
||||
gtk_widget_modify_font(packetlist->view, user_font_get_regular());
|
||||
|
||||
/* This seems kind of silly, but it's what GDM does. */
|
||||
|
||||
gtk_rc_parse_string ("\n"
|
||||
" style \"ws-packetlist-treeview-style\"\n"
|
||||
" {\n"
|
||||
/* " GtkTreeView::horizontal-separator=1\n" */
|
||||
" GtkTreeView::vertical-separator=1\n"
|
||||
" }\n"
|
||||
"\n"
|
||||
" widget \"*.ws-packetlist-treeview\" style \"ws-packetlist-treeview-style\"\n"
|
||||
"\n");
|
||||
gtk_widget_set_name(GTK_WIDGET(packetlist->view), "ws-packetlist-treeview");
|
||||
|
||||
|
||||
/* We need one extra column to store the entire PacketListRecord */
|
||||
for(i = 0; i < cfile.cinfo.num_cols; i++) {
|
||||
renderer = gtk_cell_renderer_text_new();
|
||||
|
|
Loading…
Reference in New Issue