Skip to content

Commit

Permalink
removing newline correction hack, issue #10 #11
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoit committed Jun 20, 2016
1 parent de64592 commit 96b79e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,3 @@ tk-py3:

tk-py2:
python2 demo.pyw

old-gtk-fixes:
sed -i 'd/self.textview.set_.*_margin/' src/ui/view.py
# sed -i 's/(icon_name=/.new_from_stock(/' src/*.py
# touch mswin
# cd src; make
2 changes: 0 additions & 2 deletions src/ui/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ def makeWidgets(self):
self.textview.set_editable(False)
self.textview.set_cursor_visible(False)
self.textview.set_wrap_mode(Gtk.WrapMode.WORD)
# NOTE: vvv problem with old gtk
self.textview.set_top_margin(-15) # hack for next search separation '\n'
self.textview.set_left_margin(10)
self.textview.set_right_margin(20)

Expand Down

0 comments on commit 96b79e5

Please sign in to comment.