mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
(gtk) #1193: add a shadow to the torrent list
This commit is contained in:
@@ -556,6 +556,7 @@ tr_window_new( GtkUIManager * ui_manager, TrCore * core )
|
||||
p->view = makeview( p, core );
|
||||
w = p->scroll = gtk_scrolled_window_new( NULL, NULL );
|
||||
gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW(w), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC );
|
||||
gtk_scrolled_window_set_shadow_type( GTK_SCROLLED_WINDOW(w), GTK_SHADOW_IN );
|
||||
gtk_container_add( GTK_CONTAINER(w), p->view );
|
||||
gtk_box_pack_start_defaults( GTK_BOX(vbox), w );
|
||||
gtk_container_set_focus_child( GTK_CONTAINER( vbox ), w );
|
||||
|
||||
Reference in New Issue
Block a user