[rygel] Add magic keyword for hostname substitution
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] Add magic keyword for hostname substitution
- Date: Mon, 11 May 2009 18:34:49 -0400 (EDT)
commit 09b4934771d67986efa7e377a9e32dfc175001c4
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon May 11 17:33:04 2009 +0300
Add magic keyword for hostname substitution
Add magic keyword for hostname substitution in the plugin title:
@HOSTNAME@
---
src/rygel/rygel-media-server-factory.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/rygel/rygel-media-server-factory.vala b/src/rygel/rygel-media-server-factory.vala
index 0c30c58..7f40a9d 100644
--- a/src/rygel/rygel-media-server-factory.vala
+++ b/src/rygel/rygel-media-server-factory.vala
@@ -150,6 +150,7 @@ public class Rygel.MediaServerFactory {
var title = this.config.get_title (plugin_name, plugin_title);
title = title.replace ("@REALNAME@", Environment.get_real_name ());
title = title.replace ("@USERNAME@", Environment.get_user_name ());
+ title = title.replace ("@HOSTNAME@", Environment.get_host_name ());
element->set_content (title);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]