[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#341054: cdebconf-gtk: Add support for info message

Frans Pop wrote:
Package: cdebconf-gtk-udeb
Severity: wishlist

When the newt frontend is running in lowmem or in rescue mode, this is shown in the upper left-hand corner (see attachment for example) using an info message.

It would be nice if the graphical installer would support something equivalent. It should be fairly prominent, but not distract from main dialogs.

The info messages for lowmem and rescue are when the menu is initialized from /lib/main-menu.d. Example:
#! /bin/sh
. /usr/share/debconf/confmodule
db_get rescue/enable
if [ "$RET" = true ]; then
        db_info rescue/info

Which links to the following template:
Template: rescue/info
Type: title
# Info message displayed when running in rescue mode
_Description: Rescue mode

I've just updated the GTK frontend so that if the ESC key is pressed it behaves as if the "Back" button was clicked, like the NEWT frontend does. Now, the NEWT frontend shows debconf/help-line (default: "<Tab> moves between items; <Space> selects; <Enter> activates buttons") in the bottom part of the screen, but it doesn't tell the user that pressing ESC he can get back. Is there any reason for this? And should the GTK frontend display such text line in the bottom part of the screen ? I'm asking this because we could use a GtkStatusBar, placed in the footer part of the screen, (would look like this http://developer.gnome.org/doc/API/2.0/gtk/GtkStatusbar.html) to display both debconf/help-line and rescue/info (maybe red and bold this last one if markup is allowed in gtkstatus bars).

Waiting for feedback..



Reply to: