Ignore:
Timestamp:
Mar 26, 2007, 9:14:41 PM (18 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
c2bed55
Parents:
cb54527
git-author:
Nelson Elhage <nelhage@mit.edu> (03/26/07 21:11:34)
git-committer:
Nelson Elhage <nelhage@mit.edu> (03/26/07 21:14:41)
Message:
Adding a reload-modules command
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/ModuleLoader.pm

    r9729dba r4c2ec6c  
    3737        }
    3838    }
     39
     40    $BarnOwl::Hooks::startup->add(\&register_keybindings);
     41}
     42
     43sub register_keybindings {
     44    BarnOwl::new_command('reload-modules', sub {BarnOwl::ModuleLoader->reload}, {
     45                           summary => 'Reload all modules',
     46                           usage   => 'reload',
     47                           description => q{Reloads all modules located in ~/.owl/modules and the system modules directory}
     48                          });
    3949}
    4050
Note: See TracChangeset for help on using the changeset viewer.