info: Add debug to the default app setting
This commit is contained in:
parent
a9683772d9
commit
1af3a03ca3
1 changed files with 10 additions and 0 deletions
|
@ -977,6 +977,11 @@ default_app_changed (GtkAppChooserButton *button,
|
|||
g_error_free (error);
|
||||
error = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
g_debug ("Set '%s' as the default handler for '%s'",
|
||||
g_app_info_get_name (info), app_data->content_type);
|
||||
}
|
||||
|
||||
if (app_data->extra_type_filter)
|
||||
{
|
||||
|
@ -998,6 +1003,11 @@ default_app_changed (GtkAppChooserButton *button,
|
|||
g_app_info_get_name (info), mime_types[i], error->message);
|
||||
g_error_free (error);
|
||||
}
|
||||
else
|
||||
{
|
||||
g_debug ("Set '%s' as the default handler for '%s'",
|
||||
g_app_info_get_name (info), mime_types[i]);
|
||||
}
|
||||
}
|
||||
|
||||
g_pattern_spec_free (pattern);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue