diff options
author | Nick Schermer <nick@xfce.org> | 2012-10-20 19:15:00 +0200 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2012-10-20 19:15:00 +0200 |
commit | 8aa057167e3a078b3d35d2fbb171df9a54c71ccb (patch) | |
tree | 3744423d56637fe5c9340f9e02a8e23bacfed63a /thunar/thunar-chooser-model.c | |
parent | 5649e02baaf9e03d55fff76db6eee4ec5ad00fba (diff) | |
download | thunar-8aa057167e3a078b3d35d2fbb171df9a54c71ccb.tar.gz |
Show custom commands in the different models (bug #9169).
Diffstat (limited to 'thunar/thunar-chooser-model.c')
-rw-r--r-- | thunar/thunar-chooser-model.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/thunar/thunar-chooser-model.c b/thunar/thunar-chooser-model.c index 2866e370..ef4721bb 100644 --- a/thunar/thunar-chooser-model.c +++ b/thunar/thunar-chooser-model.c @@ -230,8 +230,7 @@ thunar_chooser_model_append (ThunarChooserModel *model, /* insert the program items */ for (lp = app_infos; lp != NULL; lp = lp->next) { - /* skip infos that have NoDisplay or OnlyShowIn set */ - if (!g_app_info_should_show (lp->data)) + if (!thunar_g_app_info_should_show (lp->data)) continue; /* append the tree row with the program data */ |