aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2024-02-11 15:47:38 +0100
committerNunoSempere <nuno.sempere@protonmail.com>2024-02-11 15:47:38 +0100
commitafe93518a982a3ae487d30e447cc002ebd062971 (patch)
tree2544fe20c75e379df80242fe4fc93f02efd23150
parent90fef3b4682a6e31b1cf9e980b033bb5725ef7fe (diff)
update bar_entry_mode declaration to one liner
-rw-r--r--rose.c8
1 files 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