]> err.no Git - mapper/commitdiff
Set "allow-checkbox-mode" on hildon only
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 17 Jan 2008 10:49:32 +0000 (12:49 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 17 Jan 2008 10:49:32 +0000 (12:49 +0200)
src/poi-gui.c

index 32b6a58d5c5ab76df51f324787b075a985e15612..fd48425ed5d926876a825afaf45c2e866d0c629d 100644 (file)
@@ -375,8 +375,9 @@ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GT
 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), sw, TRUE, TRUE, 0);
 
 tree_view=gtk_tree_view_new_with_model(GTK_TREE_MODEL(store));
-/* Maemo-related? */
+#ifdef WITH_HILDON
 g_object_set(tree_view, "allow-checkbox-mode", FALSE, NULL);
+#endif
 gtk_container_add(GTK_CONTAINER(sw), tree_view);
 
 gtk_tree_selection_set_mode(gtk_tree_view_get_selection (GTK_TREE_VIEW(tree_view)), GTK_SELECTION_SINGLE);