reassign 443077 dialog
retitle 443077 dialog: Doesn't tell for which item the help request is
thanks

Hello,

Eric Cooper schrieb am Tue 18. Sep, 10:24 (-0400):
> Package: deborphan
> Version: 1.7.23
> Severity: normal
> 
> If use the <Help> button when a package is highlighted but
> none are "checked", orphaner exits its graphical mode, displays
>     dpkg-query: --status needs at least one package name argument
> 
>     Use --help for help about querying packages;
>     Use --license for copyright license and lack of warranty (GNU GPL).
> and exits back to the command line.

This is due to a change in dialog in version 20070227:

  + remove a redundant chunk from checklist.c which reported status a
    second time if the help-button was pressed but no item-help option
    was in effect (Andre C Barros).

I'm talking with the author to readd this code.

The problem is, that this code told us with was the current item under
the cursor when the help button was pressed. Without this information we
can't call dpkg -s (or now orphaner call it wrong) which leads to the
message seen above.

Bye, Jörg.

That's the code we are talking about:
@@ -650,17 +651,6 @@
                dlg_add_result(listitems[current].help);
            }
            result = DLG_EXIT_ITEM_HELP;
-       } else {
-           if (show_status) {
-               if (separate_output) {
-                   dlg_add_result(listitems[current].name);
-                   dlg_add_result("\n");
-               } else {
-                   dlg_add_quoted(listitems[current].name);
-               }
-           } else {
-               dlg_add_result(listitems[current].name);
-           }
        }
        break;
     }
-- 
Professor: ‚Gott‘, unverständliches und mythisches Wesen, das sich einmal
  pro Woche im Kreis der Sterblichen manifestiert um Weisheit auf Folien
  unter das Volk zu bringen.            (Dschungelbuch 11, FSU Jena)

Attachment: pgp2oV46BsGy8.pgp
Description: PGP signature

Reply via email to