+Sat February 16 2013 Shyouzou Sugitani <shy@users.sourceforge.jp>
+ * TransparentWindowクラスの描画方法を変更した際に, サイズ変更後の
+ ウインドウの移動処理を削ってしまっていたのを戻した.
+ (リビジョン114f4bf202008297488b64a52ea571054f3c914dのコミットで
+ 発生したregressionの修正.)
+
Fri February 15 2013 Shyouzou Sugitani <shy@users.sourceforge.jp>
* surfaces.txtのdescriptスコープからSERIKOのバージョン情報を
読み取って使用するようにした.
self.__child = None
self.__child_size = (-1, -1)
self.__position = (0, 0)
+ self.connect_after('size_allocate', self.size_allocate)
@property
def fixed(self): # read only
assert visual is not None
self.set_visual(visual)
+ def size_allocate(self, widget, event):
+ new_x, new_y = self.__position
+ Gtk.Window.move(self, new_x, new_y)
+
def reset_truncate(self):
self.fixed.move(self.__child, 0, 0)
self.__child.set_size_request(*self.__child_size)