Codebase list mirage / caa69a0
allocation -> get_allocation Thomas Ross 4 years ago
1 changed file(s) with 10 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
14471447
14481448 def thumbpane_set_size(self):
14491449 self.thumbcolumn.set_fixed_width(self.thumbpane_get_size())
1450 self.window_resized(None, self.window.allocation, True)
1450 self.window_resized(None, self.window.get_allocation(), True)
14511451
14521452 def thumbpane_get_size(self):
14531453 return int(self.thumbnail_size * 1.3)
70927092 while Gtk.events_pending():
70937093 Gtk.main_iteration()
70947094
7095 ss_winheight = self.slideshow_window.allocation.height
7096 ss_win2width = self.slideshow_window2.allocation.width
7097 winheight = self.window.allocation.height
7098 winwidth = self.window.allocation.width
7095 ss_winheight = self.slideshow_window.get_allocation().height
7096 ss_win2width = self.slideshow_window2.get_allocation().width
7097 winheight = self.window.get_allocation().height
7098 winwidth = self.window.get_allocation().width
70997099 y = -3.0
71007100 self.controls_moving = True
71017101 while y < ss_winheight:
71157115
71167116 (xpos, ypos) = self.window.get_position()
71177117
7118 ss_winheight = self.slideshow_window.allocation.height
7119 ss_win2width = self.slideshow_window2.allocation.width
7120 winheight = self.window.allocation.height
7121 winwidth = self.window.allocation.width
7122 y = float(self.slideshow_window.allocation.height * 1.0)
7118 ss_winheight = self.slideshow_window.get_allocation().height
7119 ss_win2width = self.slideshow_window2.get_allocation().width
7120 winheight = self.window.get_allocation().height
7121 winwidth = self.window.get_allocation().width
7122 y = float(self.slideshow_window.get_allocation().height * 1.0)
71237123 self.controls_moving = True
71247124 while y > -3:
71257125 self.slideshow_window.move(2 + xpos, int(winheight - y - 2))