Skip to content

Commit

Permalink
Merge pull request vlachoudis#195 from Effer/master-Vasilis-New
Browse files Browse the repository at this point in the history
"New File" always accessible from basic buttons
  • Loading branch information
vlachoudis committed Jan 16, 2016
2 parents 2e42186 + 3899f01 commit c11d15f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Ribbon.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,12 @@ def __init__(self, master, **kw):
frame.pack(side=TOP, fill=X)

# --- Basic buttons ---
b = LabelButton(frame, self, "<<New>>",
image=Utils.icons["new"],
background=_BACKGROUND_DISABLE)
tkExtra.Balloon.set(b, _("New file"))
b.pack(side=LEFT)

b = LabelButton(frame, self, "<<Open>>",
image=Utils.icons["load"],
background=_BACKGROUND_DISABLE)
Expand Down

0 comments on commit c11d15f

Please sign in to comment.