~rosco2/ubuntu/wily/gramps/bug-1492304

« back to all changes in this revision

Viewing changes to gramps/plugins/textreport/summary.py

  • Committer: Package Import Robot
  • Author(s): Ross Gammon
  • Date: 2015-08-11 23:03:11 UTC
  • mfrom: (1.4.3)
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: package-import@ubuntu.com-20150811230311-acjr8gcfe8isx7ij
* New upstream release
* Drop patches applied upstream or cherry-picked from there
* Add version constraints for gtk and pygobject
* Add goocanvas dependency - available soon
* Drop webkit dpendency as HTML view has been removed
* Force removal of upstream packages when installing Debian one
  (LP: #1464845)
* Drop fixperm override as permissions fixed upstream
* Fix spelling error in changelog
* Switch to nose for unit tests
* Add build dependencies for the nose tests
* Update copyright file
* Add uversionmangle to watch file to deal with alpha/beta versions
* Add manual test cases
* Drop FAQ URL from upstream metadata - changes every release
* Add patch to fix transparent windows in Ubuntu.
  Thanks to Lance Orner (LP: #1451259)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# Copyright (C) 2000-2006  Donald N. Allingham
5
5
# Copyright (C) 2008       Brian G. Matherly
6
6
# Copyright (C) 2010       Jakim Friant
7
 
# Copyright (C) 2013       Paul Franklin
 
7
# Copyright (C) 2013-2014  Paul Franklin
8
8
#
9
9
# This program is free software; you can redistribute it and/or modify
10
10
# it under the terms of the GNU General Public License as published by
69
69
        options         - instance of the Options class for this report
70
70
        user            - a gen.user.User() instance
71
71
 
 
72
        incl_private    - Whether to count private data
72
73
        """
73
74
        Report.__init__(self, database, options, user)
74
 
        self.__db = database
 
75
 
 
76
        stdoptions.run_private_data_option(self, options.menu)
 
77
        self.__db = self.database
75
78
        
76
79
        lang = options.menu.get_option_by_name('trans').get_value()
77
80
        self.set_locale(lang)
273
276
        Add options to the menu for the summary report.
274
277
        """
275
278
        category_name = _("Report Options")
 
279
 
 
280
        stdoptions.add_private_data_option(menu, category_name)
 
281
        include_private_data = menu.get_option_by_name('incl_private')
 
282
        include_private_data.set_help(_("Whether to count private data"))
 
283
 
276
284
        stdoptions.add_localization_option(menu, category_name)
277
285
 
278
286
    def make_default_style(self, default_style):