Changeset 7072
- Timestamp:
- Nov 8, 2008, 3:36:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/file-list.c
r6963 r7072 800 800 "filedetails|" in the 801 801 translation. */ 802 "title", 803 Q_( "filedetails|File" ), 802 "title", Q_( "filedetails|File" ), 804 803 NULL ) ); 805 804 rend = gtk_cell_renderer_pixbuf_new( ); … … 820 819 /* Translators: this is a column header in Files tab, Details dialog; 821 820 Don't include the prefix "filedetails|" in the translation. */ 822 col = 823 gtk_tree_view_column_new_with_attributes( Q_( 824 "filedetails|Progress" ), 825 rend, NULL ); 826 gtk_tree_view_column_set_cell_data_func( col, rend, renderProgress, 827 NULL, 828 NULL ); 829 gtk_tree_view_column_set_resizable( col, TRUE ); 821 col = gtk_tree_view_column_new_with_attributes( Q_( "filedetails|Progress" ), rend, NULL ); 822 gtk_tree_view_column_set_cell_data_func( col, rend, renderProgress, NULL, NULL ); 823 gtk_tree_view_column_set_resizable( col, FALSE ); 830 824 gtk_tree_view_append_column ( GTK_TREE_VIEW( view ), col ); 831 825 … … 835 829 Don't include the prefix "filedetails|" in the translation. 836 830 The items for this column are checkboxes (yes/no) */ 837 col = 838 gtk_tree_view_column_new_with_attributes( Q_( 839 "filedetails|Download" ), 840 rend, NULL ); 841 gtk_tree_view_column_set_cell_data_func( col, rend, renderDownload, 842 NULL, 843 NULL ); 844 gtk_tree_view_column_set_resizable( col, TRUE ); 831 col = gtk_tree_view_column_new_with_attributes( Q_( "filedetails|Download" ), rend, NULL ); 832 gtk_tree_view_column_set_cell_data_func( col, rend, renderDownload, NULL, NULL ); 833 gtk_tree_view_column_set_resizable( col, FALSE ); 845 834 gtk_tree_view_append_column ( GTK_TREE_VIEW( view ), col ); 846 835 847 836 /* add priority column */ 848 837 rend = gtk_cell_renderer_text_new( ); 849 col = gtk_tree_view_column_new_with_attributes( _( 850 "Priority" ), rend, 851 NULL ); 852 gtk_tree_view_column_set_cell_data_func( col, rend, renderPriority, 853 NULL, 854 NULL ); 855 gtk_tree_view_column_set_resizable( col, TRUE ); 838 col = gtk_tree_view_column_new_with_attributes( _( "Priority" ), rend, NULL ); 839 gtk_tree_view_column_set_cell_data_func( col, rend, renderPriority, NULL, NULL ); 840 gtk_tree_view_column_set_resizable( col, FALSE ); 856 841 gtk_tree_view_append_column ( GTK_TREE_VIEW( view ), col ); 857 842 … … 859 844 scroll = gtk_scrolled_window_new( NULL, NULL ); 860 845 gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW( scroll ), 861 GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC ); 846 GTK_POLICY_AUTOMATIC, 847 GTK_POLICY_AUTOMATIC ); 862 848 gtk_scrolled_window_set_shadow_type ( GTK_SCROLLED_WINDOW( scroll ), 863 849 GTK_SHADOW_IN );
Note: See TracChangeset
for help on using the changeset viewer.