[gnome-shell] Use title property instead of description for window titles
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-shell] Use title property instead of description for window titles
- Date: Thu, 4 Jun 2009 17:37:14 -0400 (EDT)
commit 015d10b87e2a58ca513b7c5dd1b11515f8456480
Author: Colin Walters <walters verbum org>
Date: Thu Jun 4 11:03:06 2009 -0400
Use title property instead of description for window titles
The title property is what we actually want.
---
src/shell-app-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/shell-app-monitor.c b/src/shell-app-monitor.c
index 2a5f439..048e2ea 100644
--- a/src/shell-app-monitor.c
+++ b/src/shell-app-monitor.c
@@ -326,7 +326,7 @@ get_active_app_properties (ShellAppMonitor *monitor,
return;
*wm_class = g_strdup (meta_window_get_wm_class (active));
- *title = g_strdup (meta_window_get_description (active));
+ g_object_get (active, "title", title, NULL);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]