[nautilus-actions] Make the headers displayable in the treeview
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Make the headers displayable in the treeview
- Date: Fri, 2 Oct 2009 22:41:39 +0000 (UTC)
commit bf648bd2d0e0ec502329f4a50af1858bb8eb227a
Author: pierre <pierre vfedora10 virtuals pwi>
Date: Mon Sep 28 17:09:53 2009 +0200
Make the headers displayable in the treeview
src/nact/nact-iactions-list.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/nact/nact-iactions-list.c b/src/nact/nact-iactions-list.c
index 167559c..994cc1d 100644
--- a/src/nact/nact-iactions-list.c
+++ b/src/nact/nact-iactions-list.c
@@ -299,12 +299,14 @@ nact_iactions_list_initial_load_toplevel( NactIActionsList *instance )
/* create visible columns on the tree view
*/
+ /* icon: no header */
column = gtk_tree_view_column_new_with_attributes(
- "icon", gtk_cell_renderer_pixbuf_new(), "pixbuf", IACTIONS_LIST_ICON_COLUMN, NULL );
+ "", gtk_cell_renderer_pixbuf_new(), "pixbuf", IACTIONS_LIST_ICON_COLUMN, NULL );
gtk_tree_view_append_column( treeview, column );
column = gtk_tree_view_column_new();
- gtk_tree_view_column_set_title( column, "label" );
+ /* i18n: header of the 'label' column in the treeview */
+ gtk_tree_view_column_set_title( column, _( "Label" ));
gtk_tree_view_column_set_sort_column_id( column, IACTIONS_LIST_LABEL_COLUMN );
renderer = gtk_cell_renderer_text_new();
gtk_tree_view_column_pack_start( column, renderer, TRUE );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]