From 26baf1642688ea30db832a70d6befa3a7553e8bc Mon Sep 17 00:00:00 2001 From: Giovanny Lucas Date: Tue, 31 Mar 2020 23:26:06 -0300 Subject: Center icon if not displaying filename --- dragon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dragon.c b/dragon.c index f50e43f..4ca2f81 100644 --- a/dragon.c +++ b/dragon.c @@ -220,7 +220,8 @@ void add_file_button(GFile *file) { gtk_button_set_always_show_image(button, true); } - left_align_button(button); + if (!icons_only) + left_align_button(button); } void add_filename_button(char *filename) { -- cgit