[gthumb/ext] [metadata-chooser] use two columns to allow reordering with DnD
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] [metadata-chooser] use two columns to allow reordering with DnD
- Date: Sun, 27 Dec 2009 17:46:36 +0000 (UTC)
commit 0d451c4bbce79adc5a9037956dd35733d50dda7f
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Dec 27 12:27:33 2009 +0100
[metadata-chooser] use two columns to allow reordering with DnD
gthumb/gth-metadata-chooser.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-metadata-chooser.c b/gthumb/gth-metadata-chooser.c
index 5a6ba45..4c42b79 100644
--- a/gthumb/gth-metadata-chooser.c
+++ b/gthumb/gth-metadata-chooser.c
@@ -363,15 +363,15 @@ gth_metadata_chooser_instance_init (GthMetadataChooser *self)
/* the name column. */
- /*column = gtk_tree_view_column_new (); FIXME: delete if not used */
+ column = gtk_tree_view_column_new ();
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (column, renderer, TRUE);
gtk_tree_view_column_set_attributes (column, renderer,
"text", NAME_COLUMN,
"weight", WEIGHT_COLUMN,
NULL);
- /*gtk_tree_view_column_set_expand (column, TRUE);
- gtk_tree_view_append_column (GTK_TREE_VIEW (self), column);*/
+ gtk_tree_view_column_set_expand (column, TRUE);
+ gtk_tree_view_append_column (GTK_TREE_VIEW (self), column);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]