+
+#else
+
+ cell = gtk_cell_renderer_toggle_new ();
+ gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (icon_list), cell, FALSE);
+ g_object_set (cell, "activatable", TRUE, NULL);
+ gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (icon_list),
+ cell, "active", 4, NULL);
+ g_signal_connect (cell, "toggled", G_CALLBACK (toggled), model);
+
+ cell = gtk_cell_renderer_pixbuf_new ();
+ gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (icon_list), cell, FALSE);
+ g_object_set (cell,
+ "follow-state", TRUE,
+ NULL);
+ gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (icon_list),
+ cell, "pixbuf", 0, NULL);
+
+ cell = gtk_cell_renderer_text_new ();
+ gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (icon_list), cell, FALSE);
+ g_object_set (cell,
+ "editable", TRUE,
+ "xalign", 0.5,
+ "wrap-mode", PANGO_WRAP_WORD_CHAR,
+ "wrap-width", 100,
+ NULL);
+ gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (icon_list),
+ cell, "text", 1, NULL);
+ g_signal_connect (cell, "edited", G_CALLBACK (edited), model);
+
+ /* now the tree view... */
+ cell = gtk_cell_renderer_toggle_new ();
+ gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (tvc), cell, FALSE);
+ g_object_set (cell, "activatable", TRUE, NULL);
+ gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (tvc),
+ cell, "active", 4, NULL);
+ g_signal_connect (cell, "toggled", G_CALLBACK (toggled), model);
+
+ cell = gtk_cell_renderer_pixbuf_new ();
+ gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (tvc), cell, FALSE);
+ g_object_set (cell,
+ "follow-state", TRUE,
+ NULL);
+ gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (tvc),
+ cell, "pixbuf", 0, NULL);
+
+ cell = gtk_cell_renderer_text_new ();
+ gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (tvc), cell, FALSE);
+ g_object_set (cell, "editable", TRUE, NULL);
+ gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (tvc),
+ cell, "text", 1, NULL);
+ g_signal_connect (cell, "edited", G_CALLBACK (edited), model);
+#endif
+ /* Allow DND between the icon view and the tree view */