Ticket #996: statusbar-at-bottom-and-list-shadow.patch

File statusbar-at-bottom-and-list-shadow.patch, 1.3 KB (added by paobac, 13 years ago)

to apply cd to Transmission and enter: patch -p2 < statusbar-at-bottom-and-list-shadow.patch

  • gtk/tr-window.c

    old new  
    491491    gtk_box_pack_start( GTK_BOX(vbox), h, FALSE, FALSE, 0 );
    492492    g_signal_connect( s, "changed", G_CALLBACK( filter_entry_changed ), p );
    493493
    494     w = gtk_hseparator_new( );
    495     gtk_box_pack_start( GTK_BOX(vbox), w, FALSE, FALSE, 0 );
    496 
    497494    /* status menu */
    498495    menu = p->status_menu = gtk_menu_new( );
    499496    status_stats_mode = 0;
     
    539536    w = c;
    540537    gtk_box_pack_end( GTK_BOX(h), w, FALSE, FALSE, 0 );
    541538    g_signal_connect( w, "button-release-event", G_CALLBACK(onYinYangReleased), p );
    542     gtk_box_pack_start( GTK_BOX(vbox), h, FALSE, FALSE, 0 );
     539    gtk_box_pack_end( GTK_BOX(vbox), h, FALSE, FALSE, 0 );
    543540
    544541    menu = gtk_menu_new( );
    545542    l = NULL;
     
    558555    /* workarea */
    559556    p->view = makeview( p, core );
    560557    w = p->scroll = gtk_scrolled_window_new( NULL, NULL );
     558    gtk_scrolled_window_set_shadow_type( GTK_SCROLLED_WINDOW(w), GTK_SHADOW_IN );
    561559    gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW(w), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC );
    562560    gtk_container_add( GTK_CONTAINER(w), p->view );
    563561    gtk_box_pack_start_defaults( GTK_BOX(vbox), w );