Changeset 9653


Ignore:
Timestamp:
12/13/09 00:48:20 (2 years ago)
Author:
szabgab
Message:

stop checking if the document can find_help_topic as it is now in the partent class

Location:
trunk/Padre/lib/Padre
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Document.pm

    r9649 r9653  
    13841384} 
    13851385 
    1386 # Individual document classes should override this method 
     1386# Individual document classes should override this method. 
    13871387# It gets a string (the current selection) and it should 
    13881388# return a list of files that are possible matches to that file. 
     
    13931393} 
    13941394 
     1395# Individual document classes should override this method. 
     1396# It needs to return the document specific help topic string. 
     1397# In Perl this is using PPI to find the correct token 
     1398sub find_help_topic { 
     1399    return; 
     1400} 
     1401 
     1402 
    139514031; 
    13961404 
  • trunk/Padre/lib/Padre/Wx/Dialog/HelpSearch.pm

    r9629 r9653  
    305305    return '' if not $doc; 
    306306 
    307     my $topic; 
    308     if ( $doc->can('find_help_topic') ) { 
    309         $topic = $doc->find_help_topic; 
    310     } 
     307    my $topic = $doc->find_help_topic; 
    311308 
    312309    #fallback 
Note: See TracChangeset for help on using the changeset viewer.