_ = lambda x: x
-_moduleLogger = logging.getLogger("quicknote_gtk")
+_moduleLogger = logging.getLogger(__name__)
PROFILE_STARTUP = False
super(QuicknoteProgram, self).__init__()
self._clipboard = gtk.clipboard_get()
- dblog = os.path.join(self._user_data, "quicknote.log")
-
_moduleLogger.info('Starting quicknote')
self._wordWrapEnabled = False
self._wordWrapEnabled = config.getboolean(constants.__pretty_app_name__, "wordwrap")
self._window_in_fullscreen = config.getboolean(constants.__pretty_app_name__, "fullscreen")
except ConfigParser.NoSectionError, e:
- warnings.warn(
+ _moduleLogger.info(
"Settings file %s is missing section %s" % (
self._user_settings,
e.section,
- ),
- stacklevel=2
+ )
)
self._notizen.set_wordwrap(self._wordWrapEnabled)
self._clipboard.set_text(str(log))
return True
+ @gtk_toolbox.log_exception(_moduleLogger)
def _on_toggle_search(self, *args):
self._toggle_search()
dialog.set_name(constants.__pretty_app_name__)
dialog.set_version(constants.__version__)
dialog.set_copyright("")
- dialog.set_website("http://axique.de/index.php?f=Quicknote")
+ dialog.set_website("http://quicknote.garage.maemo.org")
comments = _("%s is a note taking program; it is optimised for quick save and search of notes") % constants.__pretty_app_name__
dialog.set_comments(comments)
dialog.set_authors(["Christoph Wurstle <n800@axique.net>", "Ed Page <eopage@byu.net> (Blame him for the most recent bugs)"])