From 19f5aa165611b7edcdc9263c089dd48f6b6fb22d Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 17 Jan 2008 12:49:32 +0200 Subject: [PATCH] Set "allow-checkbox-mode" on hildon only --- src/poi-gui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/poi-gui.c b/src/poi-gui.c index 32b6a58..fd48425 100644 --- a/src/poi-gui.c +++ b/src/poi-gui.c @@ -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); -- 2.39.5