[f-spot] Fixed import shortcut + menu item.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Fixed import shortcut + menu item.
- Date: Sat, 5 Jun 2010 21:24:33 +0000 (UTC)
commit 27f0a9c182ebfc9eb0f3989c31fe10b3ab4dcd8e
Author: Ruben Vermeersch <ruben savanne be>
Date: Sat Jun 5 23:24:14 2010 +0200
Fixed import shortcut + menu item.
src/MainWindow.cs | 5 +++++
src/ui/main_window.ui | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/MainWindow.cs b/src/MainWindow.cs
index 7d0c492..cc8d2d8 100644
--- a/src/MainWindow.cs
+++ b/src/MainWindow.cs
@@ -1155,6 +1155,11 @@ namespace FSpot
controller.StartImport ();
}
+
+ void HandleImportCommand (object obj, EventArgs args)
+ {
+ StartImport (null);
+ }
public void ImportFile (SafeUri uri)
{
diff --git a/src/ui/main_window.ui b/src/ui/main_window.ui
index fe723dc..2e12700 100644
--- a/src/ui/main_window.ui
+++ b/src/ui/main_window.ui
@@ -23,6 +23,7 @@
<property name="stock_id">gtk-add</property>
<property name="name">new1</property>
<property name="label" translatable="yes">_Import...</property>
+ <signal handler="HandleImportCommand" name="activate"/>
</object>
<accelerator key="n" modifiers="GDK_CONTROL_MASK"/>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]