[ubuntu-mono] [Bug 1185015] Re: SetCurrentFolder() for FileChooserButton in Gtk# does not work

Thomas Klose thomas.klose at hiperscan.com
Tue May 28 13:05:02 UTC 2013


The same problem seems to occur with SetFile()

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to gtk-sharp2 in Ubuntu.
https://bugs.launchpad.net/bugs/1185015

Title:
  SetCurrentFolder() for FileChooserButton in Gtk# does not work

Status in “gtk-sharp2” package in Ubuntu:
  New

Bug description:
  The folowing simple example code does not work in Ubuntu 13.04
  (Raring):

  using System;
  using Gtk;

  namespace Playground
  {
  	class MainClass
  	{
  		public static void Main (string[] args)
  		{
  			Application.Init();
  			Window win = new Window(WindowType.Toplevel);
  			FileChooserButton b = new FileChooserButton("bla", FileChooserAction.SelectFolder);
  			b.SetCurrentFolder("/tmp");
  			win.Add(b);
  			win.ShowAll();
  			win.Destroyed += delegate { Application.Quit(); };
  			Application.Run();
  		}
  	}
  }

  The Method SetCurrentFolder() is ineffective. The same code works
  perfectly fine in Ubuntu <= 12.10 and Debian 6.0/7.0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk-sharp2/+bug/1185015/+subscriptions



More information about the Ubuntu-mono mailing list