[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-usability
Subject:    Re: kmenu: Description (Name)
From:       Henrique Pinto <stampede () lagoaminas ! com ! br>
Date:       2003-08-19 23:58:51
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 19 August 2003 16:44, William Leese wrote:
> A technical question. In kcontrol/kicker/menutab_impl.cpp at
> MenuTab::load() I see:
>
>     if (c.readBoolEntry("DetailedMenuEntries", true))
>     {
>         if (c.readBoolEntry("DetailedEntriesNamesFirst", true))
>         {
>             m_formatNameDesc->setChecked(true);
>         }
>         else
>         {
>             m_formDescName->setChecked(true);
>         }
>     }
>     else
>     {
>         m_formatSimple->setChecked(true);
>     }
>
> Doesn't this mean we're doing 'Description (Name)' in kmenu by default?

Not really. First, this code tries to read the "DetailedMenuEntries" setting 
defaulting to true if the entry is not found. If true, it tries to read 
another setting, "DetailedEntriesNamesFirst", which controls wheter the app 
names are first (if true) or descriptions are first (in case the entry 
contains 'false'). The default value for this setting is true, what means 
names first is the default.

> Let it be so :)


-- 
	Henrique Pinto
	stampede@coltec.ufmg.br

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kde-usability mailing list
kde-usability@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-usability


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic