SetCurrentFolder() for FileChooserButton in Gtk# does not work

Bug #1185015 reported by Thomas Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk-sharp2 (Ubuntu)
New
Undecided
Unassigned

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.

Revision history for this message
Thomas Klose (thomas-klose) wrote :

The same problem seems to occur with SetFile()

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.