From afe93518a982a3ae487d30e447cc002ebd062971 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 11 Feb 2024 15:47:38 +0100 Subject: update bar_entry_mode declaration to one liner --- rose.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rose.c b/rose.c index b8fd86f..1c8aa32 100644 --- a/rose.c +++ b/rose.c @@ -15,8 +15,7 @@ static GtkWindow* window; static GtkHeaderBar* bar; static GtkEntry* bar_line; // widget static GtkEntryBuffer* bar_line_text; -static int bar_entry_mode; -enum { _SEARCH, _FIND, _HIDDEN }; +static enum { _SEARCH, _FIND, _HIDDEN } bar_entry_mode; /* Plugins */ // #include "plugins/stand_in/stand_in.h" @@ -25,7 +24,10 @@ int READABILITY_ENABLED = true; int CUSTOM_STYLE_ENABLED = true; int CUSTOM_USER_AGENT = false; int NUM_TABS = 0; -// to enable plugins, + +// To disable plugins: set their variable to false. +// To exise plugins: + // 1. Enable them: // - uncomment their #include statement // - set their variable to true -- cgit v1.2.3