From 3899f01e5e73928e8a72b35b9e9c30f420c6d996 Mon Sep 17 00:00:00 2001 From: Effer Date: Thu, 14 Jan 2016 21:37:11 +0100 Subject: [PATCH] "New File" always accessible from basic buttons --- Ribbon.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Ribbon.py b/Ribbon.py index 188c27767..fd846936d 100644 --- a/Ribbon.py +++ b/Ribbon.py @@ -475,6 +475,12 @@ def __init__(self, master, **kw): frame.pack(side=TOP, fill=X) # --- Basic buttons --- + b = LabelButton(frame, self, "<>", + image=Utils.icons["new"], + background=_BACKGROUND_DISABLE) + tkExtra.Balloon.set(b, _("New file")) + b.pack(side=LEFT) + b = LabelButton(frame, self, "<>", image=Utils.icons["load"], background=_BACKGROUND_DISABLE)