Changeset 8941


Ignore:
Timestamp:
Aug 15, 2009, 9:14:44 PM (13 years ago)
Author:
charles
Message:

(trunk gtk) #2337: GTK+ Tree view columns in the files dialog should be resizable. Thanks to lethalman for the patch

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/file-list.c

    r8889 r8941  
    693693    view = gtk_tree_view_new( );
    694694    tree_view = GTK_TREE_VIEW( view );
    695     gtk_tree_view_set_fixed_height_mode( tree_view, TRUE );
    696695    gtk_tree_view_set_rules_hint( tree_view, TRUE );
    697696    gtk_container_set_border_width( GTK_CONTAINER( view ), GUI_PAD_BIG );
     
    714713                                                "title", _( "File" ),
    715714                                                NULL ) );
    716     gtk_tree_view_column_set_sizing( col, GTK_TREE_VIEW_COLUMN_FIXED );
     715    gtk_tree_view_column_set_resizable( col, TRUE );
    717716    rend = gtk_cell_renderer_pixbuf_new( );
    718717    gtk_tree_view_column_pack_start( col, rend, FALSE );
  • trunk/gtk/util.c

    r8929 r8941  
    433433        GtkTreeSelection * selection = gtk_tree_view_get_selection( tv );
    434434        gtk_tree_selection_unselect_all ( selection );
    435         return TRUE;
    436435    }
    437436
Note: See TracChangeset for help on using the changeset viewer.