Re: [Mono-dev] Show Linux "." hidden directories

2012-06-13 Thread BigalGeorge
OK I went back to my notes on Duplicati threads and here is whats going on
with 'File Browser':
/Duplicati use the system file browser, which uses the OS settings for
showing hidden files. On Linux, I think this is somewhat untrue because the
WinForms folder browser is not a native one. One more reason to speed up
(Mono) 2.0 as that will have more native folder/file browsers./

So, even though I can enable Nautilus to show hidden files, due to Winforms
not being Native, its not knowing the show hidden switch is made. This looks
like it may be a Gnome/Winforms issue would anyone agree? IMHO its crippling
an excellent application in Duplicati.
Thanks,
Alistair.

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Show-Linux-hidden-directories-tp4649617p4649926.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Show Linux "." hidden directories

2012-06-13 Thread Rob Wilkens

On 06/13/2012 02:47 PM, Michael Hutchinson wrote:

On 12 June 2012 17:40, Rob Wilkens  wrote:

Well, as much as i would like to take a guess at an answer, my suggestion is
to contact the Duplicati developers rather than the mono developers.  They
would know what they used as a 'file browser' and what the options it has
are.

Probably Windows Forms.

I tried googling the microsoft documentation, and from what i can tell, 
other than maybe FileOpenDialog there is no particular browser included 
in .net WinForms..


There is guidance on some web pages on how to make a file browser using 
controls like treeview and listview, but those aren't Windows forms 
browser controls, and the contents of those forms are populated by the 
application (whether they have hidden files or not, for example) and is 
not a built in browser.


Unless i'm missing something obvious.

-Rob

-Rob
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Show Linux "." hidden directories

2012-06-13 Thread Michael Hutchinson
On 12 June 2012 17:40, Rob Wilkens  wrote:
> Well, as much as i would like to take a guess at an answer, my suggestion is
> to contact the Duplicati developers rather than the mono developers.  They
> would know what they used as a 'file browser' and what the options it has
> are.

Probably Windows Forms.

-- 
Michael Hutchinson
http://mjhutchinson.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Show Linux "." hidden directories

2012-06-12 Thread Rob Wilkens
Well, as much as i would like to take a guess at an answer, my 
suggestion is to contact the Duplicati developers rather than the mono 
developers.  They would know what they used as a 'file browser' and what 
the options it has are.


I am not an expert, though, and someone with more expertise here may 
have a better answer.


-Rob

On 06/12/2012 05:10 PM, BigalGeorge wrote:

Yes, under Linux the Nautilus browser can be enabled eg Ctrl-H to show or
hide hidden, but this takes no effect on the file browser component of Mono.
I am only speaking from a user experience of software developed in Mono
(Duplicati) so the file browser component may come under a different
terminology.

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Show-Linux-hidden-directories-tp4649617p4649899.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Show Linux "." hidden directories

2012-06-12 Thread BigalGeorge
Yes, under Linux the Nautilus browser can be enabled eg Ctrl-H to show or
hide hidden, but this takes no effect on the file browser component of Mono. 
I am only speaking from a user experience of software developed in Mono
(Duplicati) so the file browser component may come under a different
terminology.

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Show-Linux-hidden-directories-tp4649617p4649899.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Show Linux "." hidden directories

2012-06-12 Thread Alex Earl
Doesn't MD just use the native file open dialog? If I remember
correctly there is an option in the Gtk file open dialog to show the
hidden files.

Sent from my Windows Phone
From: Rob Wilkens
Sent: 6/12/2012 11:18 AM
To: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] Show Linux "." hidden directories
On 06/12/2012 12:56 PM, Jonathan Pryor wrote:
> On May 31, 2012, at 4:36 PM, BigalGeorge wrote:
>> Hi is mono capable of browsing the hidden directories under Linux? Why I ask 
>> is that I have enabled them for viewing under Ubuntu eg are visible in 
>> Nautilus, but when using mono browser they are hidden.
> What is the "mono browser"?
>

I'll take a stab at this (not being the original author):
Monodevelop..  I noticed (on testing just now) that monodevelop if you
click file open and browse through directories, you don't see hidden
(starting with a period) directories on Linux.


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Show Linux "." hidden directories

2012-06-12 Thread Rob Wilkens

On 06/12/2012 12:56 PM, Jonathan Pryor wrote:

On May 31, 2012, at 4:36 PM, BigalGeorge wrote:

Hi is mono capable of browsing the hidden directories under Linux? Why I ask is 
that I have enabled them for viewing under Ubuntu eg are visible in Nautilus, 
but when using mono browser they are hidden.

What is the "mono browser"?



I'll take a stab at this (not being the original author):  
Monodevelop..  I noticed (on testing just now) that monodevelop if you 
click file open and browse through directories, you don't see hidden 
(starting with a period) directories on Linux.



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Show Linux "." hidden directories

2012-06-12 Thread Jonathan Pryor
On May 31, 2012, at 4:36 PM, BigalGeorge wrote:
> Hi is mono capable of browsing the hidden directories under Linux? Why I ask 
> is that I have enabled them for viewing under Ubuntu eg are visible in 
> Nautilus, but when using mono browser they are hidden.

What is the "mono browser"?

I can't easily test on Linux atm, but on OS X hidden files are returned by 
System.IO.Directory.GetFiles():

$ csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp> using System.IO; 
csharp> Directory.GetFiles(Directory.GetCurrentDirectory()); 
{ "/Users/jon/.CFUserTextEncoding", "/Users/jon/.DS_Store", 
"/Users/jon/.Xauthority", "/Users/jon/.bash_history", ...

Notice that the entries in that except begin with a '.', and thus are hidden...

 - Jon

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Show Linux "." hidden directories

2012-06-05 Thread BigalGeorge
Hi is mono capable of browsing the hidden directories under Linux? Why I ask
is that I have enabled them for viewing under Ubuntu eg are visible in
Nautilus, but when using mono browser they are hidden.
If its possible is there any url/further info to show how to achieve this
under Mono.
Thanks,
Alistair.

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Show-Linux-hidden-directories-tp4649617.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list