Display client name as window title.

This commit is contained in:
Daiki Ueno
2011-03-10 18:11:48 +09:00
parent cc9fb31e61
commit 4eb59ba7ed
3 changed files with 19 additions and 1 deletions

View File

@ -321,6 +321,7 @@ handle_method_call (GDBusConnection *connection,
object_path = g_strdup_printf (SERVER_CONTEXT_PATH, context_id++);
context = server_context_new (object_path, server->connection);
server_context_set_client_connection (context, sender);
server_context_set_client_name (context, client_name);
g_hash_table_insert (server->context_hash,
object_path,
context);