info: Avoid empty entries in "Other types" dialogue
https://bugzilla.gnome.org/show_bug.cgi?id=671358
This commit is contained in:
parent
c5157bb545
commit
7e5c60a818
1 changed files with 5 additions and 0 deletions
|
@ -1393,6 +1393,11 @@ info_panel_setup_media (CcInfoPanel *self)
|
|||
}
|
||||
}
|
||||
|
||||
if (description == NULL) {
|
||||
g_debug ("Content type '%s' is missing from the info panel", content_type);
|
||||
description = g_content_type_get_description (content_type);
|
||||
}
|
||||
|
||||
gtk_list_store_append (other_type_list_store, &iter);
|
||||
icon = g_content_type_get_icon (content_type);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue