~ubuntu-branches/ubuntu/saucy/weechat/saucy-proposed

« back to all changes in this revision

Viewing changes to src/plugins/scripts/python/weechat-python.c

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bouthenot
  • Date: 2011-10-26 20:10:09 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20111026201009-kfryfq42cc8qddih
Tags: 0.3.6-1
* New upstream release
  - Fix a FTBFS due to wrong detection of ncursesw headers
    (Closes: #646299)
* Add new doc-base files (Polish translations).
* Install html documentation in /usr/share/doc/weechat/html instead
  of /usr/share/doc/weechat
* Add a symlink from /usr/share/doc/weechat/html to
/usr/share/doc/weechat-doc/html so that it will be easier to find
documentation when weechat-doc is installed (Closes: #632621)
* Add a Suggest on weechat-doc for weechat and weechat-curses. Thanks to
Jonathan Nieder for the proposal.
* Fix the cmake invokation from debian/rules (cflags and ldflags)

Show diffs side-by-side

added added

removed removed

Lines of Context:
609
609
    python_current_script->interpreter = (PyThreadState *) python_current_interpreter;
610
610
    /* PyEval_ReleaseThread (python_current_script->interpreter); */
611
611
    
 
612
    /*
 
613
     * set input/close callbacks for buffers created by this script
 
614
     * (to restore callbacks after upgrade)
 
615
     */
 
616
    script_set_buffer_callbacks (weechat_python_plugin,
 
617
                                 python_scripts,
 
618
                                 python_current_script,
 
619
                                 &weechat_python_api_buffer_input_data_cb,
 
620
                                 &weechat_python_api_buffer_close_cb);
 
621
    
612
622
    return 1;
613
623
}
614
624
 
1052
1062
    script_init (weechat_python_plugin,
1053
1063
                 argc,
1054
1064
                 argv,
1055
 
                 &python_scripts,
1056
1065
                 &weechat_python_command_cb,
1057
1066
                 &weechat_python_completion_cb,
1058
1067
                 &weechat_python_infolist_cb,
1059
1068
                 &weechat_python_signal_debug_dump_cb,
1060
1069
                 &weechat_python_signal_buffer_closed_cb,
1061
1070
                 &weechat_python_signal_script_action_cb,
1062
 
                 &weechat_python_load_cb,
1063
 
                 &weechat_python_api_buffer_input_data_cb,
1064
 
                 &weechat_python_api_buffer_close_cb);
 
1071
                 &weechat_python_load_cb);
1065
1072
    python_quiet = 0;
1066
1073
    
1067
1074
    script_display_short_list (weechat_python_plugin,