From: Kaj-Michael Lang Date: Thu, 17 Jan 2008 10:49:32 +0000 (+0200) Subject: Set "allow-checkbox-mode" on hildon only X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19f5aa165611b7edcdc9263c089dd48f6b6fb22d;p=mapper Set "allow-checkbox-mode" on hildon only --- 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);