obey to coding standards
This commit is contained in:
parent
e08598c6bf
commit
a573e7aa67
|
@ -515,7 +515,8 @@ class MessageWindow:
|
||||||
gtk.gdk.ACTION_MOVE)
|
gtk.gdk.ACTION_MOVE)
|
||||||
tab_label.page_num = self.notebook.page_num(child)
|
tab_label.page_num = self.notebook.page_num(child)
|
||||||
|
|
||||||
def on_tab_label_drag_data_get_cb(self, widget, drag_context, selection, info, time):
|
def on_tab_label_drag_data_get_cb(self, widget, drag_context, selection,
|
||||||
|
info, time):
|
||||||
source_page_num = self.find_page_num_according_to_tab_label(widget)
|
source_page_num = self.find_page_num_according_to_tab_label(widget)
|
||||||
# 8 is the data size for the string
|
# 8 is the data size for the string
|
||||||
selection.set(selection.target, 8, str(source_page_num))
|
selection.set(selection.target, 8, str(source_page_num))
|
||||||
|
|
Loading…
Reference in New Issue