[Reportbug-commits] [reportbug] 22/31: gtk2_ui: hook up GetMultilinePage the way it was presumably meant to work

Sandro Tosi morph at moszumanska.debian.org
Mon Jan 16 01:36:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository reportbug.

commit c95910e410d3ab0ef8619ef9be3ed80198b728a3
Author: Simon McVittie <smcv at debian.org>
Date:   Sat Jan 14 23:59:01 2017 +0000

    gtk2_ui: hook up GetMultilinePage the way it was presumably meant to work
---
 reportbug/ui/gtk2_ui.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index d83b2e3..4a74b23 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -1731,7 +1731,7 @@ def get_multiline(prompt, *args, **kwargs):
         # This is a list, let's handle it the best way
         return get_list(prompt, *args, **kwargs)
     else:
-        return get_multiline(prompt, *args, **kwargs)
+        return _get_multiline(prompt, *args, **kwargs)
 
 pages = {'get_string': GetStringPage,
          'get_password': GetPasswordPage,
@@ -1745,6 +1745,7 @@ pages = {'get_string': GetStringPage,
          'select_options': SelectOptionsPage,
          'get_list': GetListPage,
          'system': SystemPage,
+         '_get_multiline': GetMultilinePage,
          }
 dialogs = {'yes_no': YesNoDialog,
            'get_filename': GetFilenameDialog,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git



More information about the Reportbug-commits mailing list