[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #5851 [BridgeDB]: Improve bridges.torproject.org and bridges.html.en for blind users



#5851: Improve bridges.torproject.org and bridges.html.en for blind users
-------------------------+--------------------------------------------------
 Reporter:  runa         |          Owner:     
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:     
Component:  BridgeDB     |        Version:     
 Keywords:               |         Parent:     
   Points:               |   Actualpoints:     
-------------------------+--------------------------------------------------
Changes (by aagbsn):

 * cc: chiiph (added)


Comment:

 Maybe something like this would work?

 {{{
 diff --git a/src/vidalia/config/NetworkPage.cpp
 b/src/vidalia/config/NetworkPage.cpp
 index 7d16fbd..f7132a2 100644
 --- a/src/vidalia/config/NetworkPage.cpp
 +++ b/src/vidalia/config/NetworkPage.cpp
 @@ -117,6 +117,10 @@ NetworkPage::addBridge()

    if (input.isEmpty())
      return;
 +  /* #5851, allow pasting of complete 'bridge' lines from BridgeDB */
 +  if input.startsWith("bridge ") {
 +    input = input.rightRef(8);
 +  }
    if (!ui.listBridges->findItems(input, Qt::MatchFixedString).isEmpty())
      return; /* duplicate bridge */
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5851#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs