f-spot r4580 - trunk/src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4580 - trunk/src
- Date: Thu, 6 Nov 2008 10:45:17 +0000 (UTC)
Author: sdelcroix
Date: Thu Nov 6 10:45:16 2008
New Revision: 4580
URL: http://svn.gnome.org/viewvc/f-spot?rev=4580&view=rev
Log:
use a ctor overload
Modified:
trunk/src/ImportCommand.cs
Modified: trunk/src/ImportCommand.cs
==============================================================================
--- trunk/src/ImportCommand.cs (original)
+++ trunk/src/ImportCommand.cs Thu Nov 6 10:45:16 2008
@@ -538,11 +538,11 @@
FileChooserDialog file_chooser =
new FileChooserDialog (Catalog.GetString ("Import"), this.Dialog,
- FileChooserAction.SelectFolder);
+ FileChooserAction.SelectFolder,
+ Stock.Cancel, ResponseType.Cancel,
+ Stock.Open, ResponseType.Ok);
file_chooser.SelectMultiple = false;
- file_chooser.AddButton (Stock.Cancel, ResponseType.Cancel);
- file_chooser.AddButton (Stock.Open, ResponseType.Ok);
if (ImportPath != null)
file_chooser.SetFilename (ImportPath);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]