Path is included in TerminalServerClient item name
Bug #660588 reported by
Matthew Wedgwood
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Do Plugins |
Fix Released
|
Wishlist
|
Robert Dyer | ||
gnome-do-plugins (Ubuntu) |
New
|
Undecided
|
Unassigned |
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.
--- TerminalServerC
+++ TerminalServerC
@@ -63,6 +63,9 @@
foreach (string file in clients) {
string name = file.Replace (".rdp", "");
+ if (name.LastIndex
+ name = name.Substring(
+ }
items.Add (new TSClientItem (name, file));
Log<
}
Changed in do-plugins: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in rev 700. Note that I decided to display '.rdp' in the name (but no path), as this now mimics how tsclient displays bookmarks.