tomboy r1804 - in trunk: . Tomboy
- From: sharm svn gnome org
- To: svn-commits-list gnome org
- Subject: tomboy r1804 - in trunk: . Tomboy
- Date: Fri, 25 Jan 2008 12:11:45 +0000 (GMT)
Author: sharm
Date: Fri Jan 25 12:11:45 2008
New Revision: 1804
URL: http://svn.gnome.org/viewvc/tomboy?rev=1804&view=rev
Log:
* Tomboy/RemoteControl.cs: Added HideNote method to the RemoteControl
DBUS interface, which allows DBUS users to close Tomboy notes.
Fixes bug 511460, patch courtesy of Mike Mazur.
Modified:
trunk/ChangeLog
trunk/Tomboy/RemoteControl.cs
Modified: trunk/Tomboy/RemoteControl.cs
==============================================================================
--- trunk/Tomboy/RemoteControl.cs (original)
+++ trunk/Tomboy/RemoteControl.cs Fri Jan 25 12:11:45 2008
@@ -50,6 +50,18 @@
return true;
}
+ public bool HideNote (string uri)
+ {
+ Note note;
+
+ note = note_manager.FindByUri (uri);
+ if (note == null)
+ return false;
+
+ note.Window.Hide ();
+ return true;
+ }
+
public bool DisplayNoteWithSearch (string uri, string search)
{
Note note;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]