[ubuntu-mono] [Bug 660588] Re: Path is included in TerminalServerClient item name
Chris Halse Rogers
raof at ubuntu.com
Sun Jun 12 12:47:01 UTC 2011
** Changed in: do-plugins
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to gnome-do-plugins in Ubuntu.
https://bugs.launchpad.net/bugs/660588
Title:
Path is included in TerminalServerClient item name
Status in Do Plugins Project:
Fix Released
Status in “gnome-do-plugins” package in Ubuntu:
New
Bug description:
When searching for terminal server client connections in Do, the items
displayed include the full path to the .rdp file. In practice, this
mostly obscures the name of the host. Here's a quick fix.
--- TerminalServerClient/src/TSClientItemSource.cs 2009-05-29 09:39:41 +0000
+++ TerminalServerClient/src/TSClientItemSource.cs 2010-10-14 15:06:01 +0000
@@ -63,6 +63,9 @@
foreach (string file in clients) {
string name = file.Replace (".rdp", "");
+ if (name.LastIndexOf("/") >= 0) {
+ name = name.Substring(file.LastIndexOf("/") + 1);
+ }
items.Add (new TSClientItem (name, file));
Log<TSClientItemSource>.Debug ("rdp file '{0}' indexed.", file);
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/do-plugins/+bug/660588/+subscriptions
More information about the Ubuntu-mono
mailing list