X-Git-Url: http://git.maemo.org/git/?p=quicknote;a=blobdiff_plain;f=src%2Fquicknote_gtk.py;h=7656808cb216dca8e864f3c89a190e3b2c35b9e4;hp=92482fa9c501f1be2a4a76dcff956e2ba78edb5a;hb=e4f7764f4ef7e2615608b95e4537656eafb9bab0;hpb=a1ead3e1b673a7288a6c724552ea9837e05f9285 diff --git a/src/quicknote_gtk.py b/src/quicknote_gtk.py old mode 100644 new mode 100755 index 92482fa..7656808 --- a/src/quicknote_gtk.py +++ b/src/quicknote_gtk.py @@ -240,12 +240,11 @@ class QuicknoteProgram(hildonize.get_app_class()): 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.infp( "Settings file %s is missing section %s" % ( self._user_settings, e.section, - ), - stacklevel=2 + ) ) self._notizen.set_wordwrap(self._wordWrapEnabled) @@ -326,6 +325,7 @@ class QuicknoteProgram(hildonize.get_app_class()): self._clipboard.set_text(str(log)) return True + @gtk_toolbox.log_exception(_moduleLogger) def _on_toggle_search(self, *args): self._toggle_search()