From 8376ae9c4a6587cb664c353c1649fad666e1fbf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sat, 20 Nov 2021 20:55:24 +0100 Subject: Add some custom action buttons to the sidebar So far they're inactive, and do not do anything. Change the icon for the current directory to stand out. --- fastiv.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fastiv.c') diff --git a/fastiv.c b/fastiv.c index d0bed31..ba713f2 100644 --- a/fastiv.c +++ b/fastiv.c @@ -482,11 +482,15 @@ main(int argc, char *argv[]) const gchar *path_arg = path_args ? path_args[0] : NULL; gtk_window_set_default_icon_name(PROJECT_NAME); + gtk_icon_theme_add_resource_path( + gtk_icon_theme_get_default(), "/org/gnome/design/IconLibrary/"); // This is incredibly broken https://stackoverflow.com/a/51054396/76313 // thus resolving the problem using overlaps. const char *style = "@define-color fastiv-tile #3c3c3c; \ fastiv-view, fastiv-browser { background: #222; } \ + placessidebar.fastiv .toolbar { padding: 2px 6px; } \ + placessidebar.fastiv box > separator { margin: 4px 0; } \ fastiv-browser { padding: 5px; } \ fastiv-browser.item { \ border: 1px solid rgba(255, 255, 255, 0.375); \ -- cgit v1.2.3