Changeset 4224


Ignore:
Timestamp:
Dec 19, 2007, 8:30:53 PM (15 years ago)
Author:
charles
Message:

(gtk) let the user narrow the window even if there's a really large torrent name being displayed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr_window.c

    r4223 r4224  
    110110    p->column = col = gtk_tree_view_column_new_with_attributes(
    111111        _("Torrent"), r, "torrent", MC_TORRENT_RAW, NULL );
    112     gtk_tree_view_column_set_sizing( col, GTK_TREE_VIEW_COLUMN_AUTOSIZE );
     112    g_object_set( G_OBJECT(col), "resizable", TRUE,
     113                                 "sizing", GTK_TREE_VIEW_COLUMN_FIXED,
     114                                 NULL );
    113115    gtk_tree_view_append_column( GTK_TREE_VIEW( view ), col );
    114116    g_object_set( r, "xpad", GUI_PAD_SMALL, "ypad", GUI_PAD_SMALL, NULL );
Note: See TracChangeset for help on using the changeset viewer.