From: Daniel Carl <danielcarl@gmx.de>
Date: Tue, 11 Apr 2017 07:13:20 +0000 (+0200)
Subject: Don't show mode label in status bar if not needed.
X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=35abc0967ecd7c837a6b67639cf880bed059a7a4;p=vimb.git

Don't show mode label in status bar if not needed.
---

diff --git a/src/main.c b/src/main.c
index ddadf8f..f1a12e8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -351,7 +351,6 @@ void vb_modelabel_update(Client *c, const char *label)
     } else {
         vb_echo(c, MSG_NORMAL, FALSE, "%s", label);
     }
-    gtk_label_set_text(GTK_LABEL(c->statusbar.mode), label);
 }
 
 /**