Changeset 5447
- Timestamp:
- Mar 30, 2008, 2:23:28 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/tr-prefs.c
r5440 r5447 445 445 hig_workarea_add_section_title( t, &row, _( "Blocklist" ) ); 446 446 447 s = _( "Use IP _blocklist from bluetack.co.uk" );447 s = _( "Prevent peers in the _blocklist from connecting" ); 448 448 w = new_check_button( s, PREF_KEY_BLOCKLIST_ENABLED, core ); 449 449 hig_workarea_add_wide_control( t, &row, w ); … … 451 451 b = gtk_button_new_with_mnemonic( _( "_Update Blocklist" ) ); 452 452 g_signal_connect( b, "clicked", G_CALLBACK(onUpdateBlocklistCB), core ); 453 gtk_widget_set_sensitive( GTK_WIDGET(b), pref_flag_get( PREF_KEY_BLOCKLIST_ENABLED ) );454 g_signal_connect( w, "toggled", G_CALLBACK(target_cb), b );455 453 h = gtk_hbox_new( FALSE, GUI_PAD_BIG ); 456 454 gtk_box_pack_start( GTK_BOX(h), b, FALSE, FALSE, 0 );
Note: See TracChangeset
for help on using the changeset viewer.