OSDN Git Service

Prevent textview from scrolling when dropping.
authorAiwota Programmer <aiwotaprog@tetteke.tk>
Sun, 3 Sep 2006 01:09:48 +0000 (10:09 +0900)
committerAiwota Programmer <aiwotaprog@tetteke.tk>
Sun, 3 Sep 2006 01:09:48 +0000 (10:09 +0900)
src/FukuiNoNamari/thread_window.py

index 4dbbc03..e31c2e3 100644 (file)
@@ -140,6 +140,7 @@ class WinWrap(winwrapbase.WinWrapBase):
         self.toolbar.unset_style()
         self.statusbar = self.widget_tree.get_widget("appbar")
         self.textview = self.widget_tree.get_widget("textview")
+        self.textview.drag_dest_unset()
         self.textbuffer = self.textview.get_buffer()
         self.enditer = self.textbuffer.get_end_iter()
         self.boldtag = self.textbuffer.create_tag(weight=pango.WEIGHT_BOLD)