1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

(trunk, gtk ) #2361: Turtle toggle button is not visible using old GTK 2.6.x library

This commit is contained in:
Charles Kerr 2009-08-29 14:07:51 +00:00
parent e4901f6eb8
commit bc6343f577

View file

@ -960,6 +960,7 @@ tr_window_new( GtkUIManager * ui_mgr, TrCore * core )
gtk_button_set_relief( GTK_BUTTON( w ), GTK_RELIEF_NONE ); gtk_button_set_relief( GTK_BUTTON( w ), GTK_RELIEF_NONE );
g_object_ref( G_OBJECT( p->alt_speed_image[0] ) ); g_object_ref( G_OBJECT( p->alt_speed_image[0] ) );
g_object_ref( G_OBJECT( p->alt_speed_image[1] ) ); g_object_ref( G_OBJECT( p->alt_speed_image[1] ) );
gtk_container_add( GTK_CONTAINER( w ), p->alt_speed_image[0] );
g_signal_connect( w, "toggled", G_CALLBACK(alt_speed_toggled_cb ), p ); g_signal_connect( w, "toggled", G_CALLBACK(alt_speed_toggled_cb ), p );
gtk_box_pack_start( GTK_BOX( h ), w, 0, 0, 0 ); gtk_box_pack_start( GTK_BOX( h ), w, 0, 0, 0 );