Changeset 6153


Ignore:
Timestamp:
Jun 11, 2008, 11:34:01 PM (13 years ago)
Author:
charles
Message:

(gtk) finish adding SOCKS options in the preferences dialog

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r6149 r6153  
    983983    else if( !strcmp( key, PREF_KEY_PROXY_TYPE ) )
    984984    {
    985         int i = pref_int_get( key );
    986 g_message( "new type is %d", i );
     985        const int i = pref_int_get( key );
    987986        tr_sessionSetProxyType( tr, i );
    988987    }
  • trunk/gtk/tr-prefs.c

    r6149 r6153  
    10131013        gtk_cell_layout_set_attributes( GTK_CELL_LAYOUT( w ), r, "text", 0, NULL );
    10141014        gtk_combo_box_set_active( GTK_COMBO_BOX( w ), pref_int_get( PREF_KEY_PROXY_TYPE ) );
    1015         g_signal_connect( w, "changed", G_CALLBACK(onProxyTypeChanged), NULL );
     1015        g_signal_connect( w, "changed", G_CALLBACK(onProxyTypeChanged), page );
    10161016        g_object_unref( G_OBJECT( m ) );
    10171017        page->proxy_widgets = g_slist_append( page->proxy_widgets, w );
Note: See TracChangeset for help on using the changeset viewer.