diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-03 01:23:31 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-03 01:23:31 +0200 |
commit | 78c6993750bdfe8a631df5b2dd2cd0db0c809bef (patch) | |
tree | 695b7a54a5236b12d2265a4d8d21751ae325ebd2 /source | |
parent | 9b0d1faacfb6c3c6b0d31c31804cc381b8f16c74 (diff) | |
parent | b0fe6d3c6a05973ab1763edfe9bf4bde4518ccc3 (diff) |
Merge remote-tracking branch 'origin/master' into barview
Diffstat (limited to 'source')
-rw-r--r-- | source/dialogs/drun.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c index 33e07b29..77a6dd40 100644 --- a/source/dialogs/drun.c +++ b/source/dialogs/drun.c @@ -465,7 +465,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, pd->icon_theme, "Applications", dr->icon_name, dr->icon_size, 1, TRUE ); + gchar *icon_path = nk_xdg_theme_get_icon ( pd->xdg_context, config.drun_icon_theme, "Applications", 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; @@ -507,7 +507,6 @@ static int drun_mode_init ( Mode *sw ) mode_set_private_data ( sw, (void *) pd ); pd->xdg_context = nk_xdg_theme_context_new (); get_apps ( pd ); - pd->icon_theme =g_getenv("ROFI_ICON_THEME"); pd->icon_fetch_queue = g_async_queue_new ( ); } return TRUE; |