[Gambas-user] Access only to the user's folder
Benoît Minisini
gambas at ...1...
Wed Aug 4 17:18:56 CEST 2010
> > Hi.
> >
> > If I choose to FileChooser or DirChooser, these show me the folder icons
> > to the theme of Gnome. By using Dialog.SelectDirectory, this shows me
> > the folder icons to the theme that the user has selected. Is there any
> > way to emulate this behavior in them?.
> >
> > Regards
> >
> >Do you have screenshots to show me what you are talking about? Beware that
> >a mailing-list post is limited to 256K.
> >
> >Regards,
>
> Hi
>
> When I use the controls DirChooser and FileChooser , the icons displayed
> are those that come in the Gnome theme.
>
>
>
> But when I use dialog.Selectdirectory (), the icons shown are the subject
> of ongoing use, which is Human.
>
>
>
> Is there any way to change this behavior in gb.gtk sources?
>
> Regards.
It has nothing to do with gb.gtk and icon theme.
Directory specific icons is a freedesktop standard that the DirChooser control
does not handle, for simplicity reasons. And because it needs to access a
directory stored inside a folder making things slower.
Two remarks:
- I may implement that in the future.
- Storing how directories should be viewed inside the directory is a stupid
design. Why on the heck did they do that? :-( If two users want to see the
same directory differently, what should we do?
--
Benoît Minisini
More information about the User
mailing list