[nautilus-actions] No more localized the title of the label column
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] No more localized the title of the label column
- Date: Fri, 26 Feb 2010 00:44:04 +0000 (UTC)
commit 57742e221a80b3bc39ddde5a0ed18b51ad882446
Author: Pierre Wieser <pwieser trychlos org>
Date: Thu Feb 25 22:46:54 2010 +0100
No more localized the title of the label column
ChangeLog | 4 ++++
src/nact/nact-iactions-list.c | 18 +++++++++++-------
2 files changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6936431..e4c90f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-02-25 Pierre Wieser <pwieser trychlos org>
+ * src/nact/nact-iactions-list.c
+ (nact_iactions_list_initial_load_toplevel):
+ The title of the label column is no more localizable.
+
Fix validity checks.
* src/core/na-data-boxed.c
diff --git a/src/nact/nact-iactions-list.c b/src/nact/nact-iactions-list.c
index 00e483c..c12bbd1 100644
--- a/src/nact/nact-iactions-list.c
+++ b/src/nact/nact-iactions-list.c
@@ -268,7 +268,7 @@ interface_base_init( NactIActionsListInterface *klass )
* nact-iactions-list-status-changed:
*
* This signal is emitted byIActionsList to its implementor
- * when the status of an item is changed.
+ * when the status of an item has changed.
*/
st_signals[ STATUS_CHANGED ] = g_signal_new(
IACTIONS_LIST_SIGNAL_STATUS_CHANGED,
@@ -368,15 +368,19 @@ nact_iactions_list_initial_load_toplevel( NactIActionsList *instance )
*/
/* icon: no header */
column = gtk_tree_view_column_new_with_attributes(
- "", gtk_cell_renderer_pixbuf_new(), "pixbuf", IACTIONS_LIST_ICON_COLUMN, NULL );
+ "icon",
+ gtk_cell_renderer_pixbuf_new(),
+ "pixbuf", IACTIONS_LIST_ICON_COLUMN,
+ NULL );
gtk_tree_view_append_column( treeview, column );
- column = gtk_tree_view_column_new();
- /* 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 );
+ column = gtk_tree_view_column_new_with_attributes(
+ "label",
+ renderer,
+ "text", IACTIONS_LIST_LABEL_COLUMN,
+ NULL );
+ gtk_tree_view_column_set_sort_column_id( column, IACTIONS_LIST_LABEL_COLUMN );
gtk_tree_view_column_set_cell_data_func(
column, renderer, ( GtkTreeCellDataFunc ) display_label, instance, NULL );
gtk_tree_view_append_column( treeview, column );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]