diff options
author | Giovanny Lucas <giovanny.lucas.f@gmail.com> | 2020-03-31 23:26:06 -0300 |
---|---|---|
committer | Michael Homer <mwh@mwh.geek.nz> | 2020-04-19 13:46:30 +1200 |
commit | 26baf1642688ea30db832a70d6befa3a7553e8bc (patch) | |
tree | 8ace52ee6c6b801ad2122760ebe2fe3edf6f7bca | |
parent | Add flag to toggle filename showing (diff) | |
download | dragon-26baf1642688ea30db832a70d6befa3a7553e8bc.tar.gz dragon-26baf1642688ea30db832a70d6befa3a7553e8bc.tar.bz2 dragon-26baf1642688ea30db832a70d6befa3a7553e8bc.zip |
Center icon if not displaying filename
-rw-r--r-- | dragon.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |