Deal with title-less windows
https://bugzilla.gnome.org/show_bug.cgi?id=601290
This commit is contained in:
@ -740,6 +740,8 @@ shell_app_info_get_name (ShellAppInfo *info)
|
||||
{
|
||||
char *title;
|
||||
g_object_get (info->window, "title", &title, NULL);
|
||||
if (!title)
|
||||
title = g_strdup ("");
|
||||
return title;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user