summaryrefslogtreecommitdiffstats
path: root/source/dialogs
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2017-06-07 12:41:30 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2017-06-07 12:42:54 +0200
commit9b3a60928fbe588884a047560f7cceb3a87b6084 (patch)
treef7093ea104c9daf6a26e15aa1d62aae77439a766 /source/dialogs
parent3067f67fd19280df4c4c3db24698ba406d0d5181 (diff)
drun: Re-remove the context limitations for icon lookup
Some applications use Devices, Status or even Actions icons. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'source/dialogs')
-rw-r--r--source/dialogs/drun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c
index f255126b..20a1c8fe 100644
--- a/source/dialogs/drun.c
+++ b/source/dialogs/drun.c
@@ -472,7 +472,7 @@ static gpointer drun_icon_fetch ( gpointer data )
if ( dr->icon_name == NULL ) {
continue;
}
- gchar *icon_path = nk_xdg_theme_get_icon ( pd->xdg_context, themes, "Applications", dr->icon_name, 32, 1, TRUE );
+ gchar *icon_path = nk_xdg_theme_get_icon ( pd->xdg_context, themes, NULL, dr->icon_name, 32, 1, TRUE );
if ( icon_path == NULL ) {
g_debug ( "Failed to get Icon %s(%d): n/a", dr->icon_name, dr->icon_size );
continue;