]> err.no Git - mapper/commitdiff
Use thumb friendly scrollbar on tablet
authorKaj-Michael Lang <milang@tal.org>
Tue, 8 Apr 2008 12:30:07 +0000 (15:30 +0300)
committerKaj-Michael Lang <milang@tal.org>
Tue, 8 Apr 2008 12:30:07 +0000 (15:30 +0300)
src/search.c

index dae5639129d4dad76bf9f1b75b9dd131bfbd470c..28297b0e3f901e3482bd81375f7bf149da65c1e5 100644 (file)
@@ -291,6 +291,9 @@ gtk_box_pack_start(GTK_BOX(hbox), btn_search, FALSE, FALSE, 0);
 sw = gtk_scrolled_window_new(NULL, NULL);
 gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(sw), GTK_SHADOW_ETCHED_IN);
 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+#ifdef WITH_DEVICE_770
+hildon_helper_set_thumb_scrollbar(sw, TRUE);
+#endif
 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(sd.dialog)->vbox), sw, TRUE, TRUE, 0);
 
 sd.list=gtk_tree_view_new();