Changeset 7998


Ignore:
Timestamp:
Mar 3, 2009, 12:48:50 AM (13 years ago)
Author:
charles
Message:

(trunk gtk) Use gtk_tree_view_set_fixed_height_mode() in a few more places

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/details.c

    r7993 r7998  
    710710        m = webseed_model_new( tr_torrent_handle( gtor ) );
    711711        v = gtk_tree_view_new_with_model( m );
     712        gtk_tree_view_set_fixed_height_mode( GTK_TREE_VIEW( v ), TRUE );
    712713        g_signal_connect( v, "button-release-event", G_CALLBACK( on_tree_view_button_released ), NULL );
    713714        gtk_tree_view_set_rules_hint( GTK_TREE_VIEW( v ), TRUE );
     
    749750#endif
    750751                                  NULL ) );
     752    gtk_tree_view_set_fixed_height_mode( GTK_TREE_VIEW( v ), TRUE );
    751753    p->peer_tree_view = v;
    752754
  • trunk/gtk/file-list.c

    r7996 r7998  
    781781    /* create the view */
    782782    view = gtk_tree_view_new( );
     783    gtk_tree_view_set_fixed_height_mode( GTK_TREE_VIEW( view ), TRUE );
    783784    gtk_tree_view_set_rules_hint( GTK_TREE_VIEW( view ), TRUE );
    784785    gtk_container_set_border_width( GTK_CONTAINER( view ), GUI_PAD_BIG );
Note: See TracChangeset for help on using the changeset viewer.