Re: debconf-gnome and locales

2001-09-24 Thread Joey Hess
Federico Di Gregorio wrote:
> just add a GtkScrolled at the top level. i'll do that for you (it is
> quite easy) if you tell me were the widget is built.

Well this is perl gtk, but if that's no obstacle, see
/usr/share/perl5/Debconf/FrontEnd/Gnome.pm, the new() method. You might
do better modifying Debconf/FrontEnd/Gnome.pm in debconf's source; that
version of the file has comments.

> i think that a series of checks is more clear than a single multiselect
> (if the choiches are limited). i know quite well gtk, if nobody else
> volunteers i'll look into that tomorrow.

It might be better for 3 or 4 items, but I think just using a
multiselect consistently would be less confusing.

-- 
see shy jo




Re: debconf-gnome and locales

2001-09-24 Thread Federico Di Gregorio
On Tue, 2001-09-25 at 01:36, Joey Hess wrote:
> Daniel Burrows wrote:
> >   When using the Gnome frontend for debconf to configure the latest locales
> > upload, I get a list of checkboxes that's about 3 times the height of
> > my screen.  I don't know whose fault this is (which is why I'm not filing
> > a bug), but it should be fixed, either by having debconf handle this
> > sanely in the Gnome frontend, or by not passing such a long list of 
> > selections
> > to it.
> 
> Yeah I know about this problem (I have a 480 pixel high screen..).
> 
> This should be fixed in debconf, but I don't know how to do it. Fixing
> it right requires getting the gnome wizard widget to add a scrollbar
> somehow, so the page of widgets can be scrolled around. If someone who
> knows how can help, I'd love to do that.

just add a GtkScrolled at the top level. i'll do that for you (it is
quite easy) if you tell me were the widget is built.
  
> In the shorter term, there's really no reason for the gnome frontend to
> use a series of checkboxes for a multiselect question, when it could
> just use a single multi-select list. I can probably figure out how to do
> this on my own, and it's already on my TODO list, but again any help
> would be appreciated, as I'm not too familiar with gnome or gtk.

i think that a series of checks is more clear than a single multiselect
(if the choiches are limited). i know quite well gtk, if nobody else
volunteers i'll look into that tomorrow.

ciao,
federico
 
-- 
Federico Di Gregorio
MIXAD LIVE Chief of Research & Technology  [EMAIL PROTECTED]
Debian GNU/Linux Developer & Italian Press Contact[EMAIL PROTECTED]
  Qu'est ce que la folie? Juste un sentiment de liberté si
   fort qu'on en oublie ce qui nous rattache au monde... -- J. de Loctra




Re: debconf-gnome and locales

2001-09-24 Thread Joey Hess
Daniel Burrows wrote:
>   When using the Gnome frontend for debconf to configure the latest locales
> upload, I get a list of checkboxes that's about 3 times the height of
> my screen.  I don't know whose fault this is (which is why I'm not filing
> a bug), but it should be fixed, either by having debconf handle this
> sanely in the Gnome frontend, or by not passing such a long list of selections
> to it.

Yeah I know about this problem (I have a 480 pixel high screen..).

This should be fixed in debconf, but I don't know how to do it. Fixing
it right requires getting the gnome wizard widget to add a scrollbar
somehow, so the page of widgets can be scrolled around. If someone who
knows how can help, I'd love to do that.

In the shorter term, there's really no reason for the gnome frontend to
use a series of checkboxes for a multiselect question, when it could
just use a single multi-select list. I can probably figure out how to do
this on my own, and it's already on my TODO list, but again any help
would be appreciated, as I'm not too familiar with gnome or gtk.

-- 
see shy jo




debconf-gnome and locales

2001-09-24 Thread Daniel Burrows
  When using the Gnome frontend for debconf to configure the latest locales
upload, I get a list of checkboxes that's about 3 times the height of
my screen.  I don't know whose fault this is (which is why I'm not filing
a bug), but it should be fixed, either by having debconf handle this
sanely in the Gnome frontend, or by not passing such a long list of selections
to it.

  Daniel

-- 
/ Daniel Burrows <[EMAIL PROTECTED]> ---\
|"By all the Shire, you shall have neither the Ring, nor me!" |
|  -- Frodo Baggins   |
\-- A duck! -- http://www.python.org -/