Skip to content

Commit

Permalink
Set fixed (but resizeable) width for Description column in Preference…
Browse files Browse the repository at this point in the history
…s > Files table
  • Loading branch information
Laurent Monin authored and zas committed Aug 16, 2012
1 parent af5e940 commit 231db8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/preferences.c
Original file line number Diff line number Diff line change
Expand Up @@ -1592,6 +1592,9 @@ static void config_tab_files(GtkWidget *notebook)
column = gtk_tree_view_column_new();
gtk_tree_view_column_set_title(column, _("Description"));
gtk_tree_view_column_set_resizable(column, TRUE);
gtk_tree_view_column_set_fixed_width(column, 200);
gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED);

renderer = gtk_cell_renderer_text_new();
g_signal_connect(G_OBJECT(renderer), "edited",
G_CALLBACK(filter_store_desc_edit_cb), filter_store);
Expand Down

0 comments on commit 231db8a

Please sign in to comment.