close <div id="moderation_required">Attachments you submit will be routed for moderation. If you have an account, please <a href="/login">log in</a> first.</div>

Ticket #2361: transmission-gtk-turtle-button-1.74.patch

File transmission-gtk-turtle-button-1.74.patch, 699 bytes (added by Diraison, 7 years ago)

Add container to toggle button widget

  • transmission-1.74

    diff -pruN transmission-1.74.orig/gtk/tr-window.c transmission-1.74/gtk/tr-window.c
    old new tr_window_new( GtkUIManager * ui_mgr, Tr 
    960960        gtk_button_set_relief( GTK_BUTTON( w ), GTK_RELIEF_NONE );
    961961        g_object_ref( G_OBJECT( p->alt_speed_image[0] ) );
    962962        g_object_ref( G_OBJECT( p->alt_speed_image[1] ) );
     963        gtk_container_add( GTK_CONTAINER( w ), p->alt_speed_image[0] );
    963964        g_signal_connect( w, "toggled", G_CALLBACK(alt_speed_toggled_cb ), p );
    964965        gtk_box_pack_start( GTK_BOX( h ), w, 0, 0, 0 );
    965966