This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/zim/gui/pageview.py b/zim/gui/pageview.py | |
index be935f46..da27803c 100644 | |
--- a/zim/gui/pageview.py | |
+++ b/zim/gui/pageview.py | |
@@ -2102,7 +2102,6 @@ class TextBuffer(Gtk.TextBuffer): | |
# | |
# Note that 'start' and 'end' refer to the same postion here ... | |
- offset = start.get_offset() | |
if ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/zim/gui/insertedobjects.py b/zim/gui/insertedobjects.py | |
index 0d2dbb6d..f15e04c4 100644 | |
--- a/zim/gui/insertedobjects.py | |
+++ b/zim/gui/insertedobjects.py | |
@@ -80,15 +80,8 @@ class InsertedObjectWidget(Gtk.EventBox): | |
window.set_cursor(Gdk.Cursor.new(Gdk.CursorType.ARROW)) | |
def set_textview_wrap_width(self, width): | |
- if not self.expand: | |
- return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# This sample program should be executed like so: | |
# | |
# python treetest.py ~/some/path/* | |
# | |
# And it will display the files in the treeview. | |
# | |
from __future__ import print_function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# This sample program should be executed like so: | |
# | |
# python treetest.py ~/some/path/* | |
# | |
# And it will display the files in the treeview. | |
# | |
from __future__ import print_function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ctypes | |
import gi | |
gi.require_version('Gtk', '3.0') | |
gi.require_version('GIRepository', '2.0') | |
from gi.repository import GIRepository | |
from gi.repository import Gtk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# Copyright 2015 Jaap Karssenberg <jaap.karssenberg@gmail.com> | |
# TODO - "copy to archive" next to "move to archive" | |
# TODO - hook into search dialog - hide archive + show button with "show X archived pages" | |
# TODO - hook into auto-completion - put archive lower in the list | |
# To install this plugin: | |
# 1. in zim go to the preferences dialog, plugins tab |