Remove debugging stuff
This commit is contained in:
parent
c1efa0a266
commit
88728f996e
@ -113,7 +113,6 @@ class ColorPicker(hippo.CanvasBox, hippo.CanvasItem):
|
|||||||
self._slider_values = 9
|
self._slider_values = 9
|
||||||
|
|
||||||
self._xo = CanvasIcon(scale=units.XLARGE_ICON_SCALE,
|
self._xo = CanvasIcon(scale=units.XLARGE_ICON_SCALE,
|
||||||
# icon_name='stock-buddy.svg',
|
|
||||||
icon_name='theme:stock-buddy',
|
icon_name='theme:stock-buddy',
|
||||||
stroke_color=color.HTMLColor(self._fg_hex),
|
stroke_color=color.HTMLColor(self._fg_hex),
|
||||||
fill_color=color.HTMLColor(self._bg_hex))
|
fill_color=color.HTMLColor(self._bg_hex))
|
||||||
|
@ -97,7 +97,6 @@ class VideoBox(hippo.CanvasBox, hippo.CanvasItem):
|
|||||||
self.append(self._video_widget)
|
self.append(self._video_widget)
|
||||||
|
|
||||||
def _new_pixbuf_cb(self, widget, pixbuf):
|
def _new_pixbuf_cb(self, widget, pixbuf):
|
||||||
print "got new pixbuf"
|
|
||||||
if self._pixbuf:
|
if self._pixbuf:
|
||||||
del self._pixbuf
|
del self._pixbuf
|
||||||
self._pixbuf = pixbuf
|
self._pixbuf = pixbuf
|
||||||
@ -172,7 +171,6 @@ class IntroBox(hippo.CanvasBox, hippo.CanvasItem):
|
|||||||
self.append(self._color_box)
|
self.append(self._color_box)
|
||||||
|
|
||||||
self._ok = iconbutton.IconButton(icon_name="theme:stock-forward",
|
self._ok = iconbutton.IconButton(icon_name="theme:stock-forward",
|
||||||
# self._ok = iconbutton.IconButton(icon_name="stock-forward.svg",
|
|
||||||
padding_bottom=units.grid_to_pixels(0.5))
|
padding_bottom=units.grid_to_pixels(0.5))
|
||||||
self._ok.connect('activated', self._ok_activated)
|
self._ok.connect('activated', self._ok_activated)
|
||||||
self.append(self._ok)
|
self.append(self._ok)
|
||||||
@ -183,7 +181,6 @@ class IntroBox(hippo.CanvasBox, hippo.CanvasItem):
|
|||||||
color = self._color_box.get_color()
|
color = self._color_box.get_color()
|
||||||
|
|
||||||
if not pixbuf or not name or not color:
|
if not pixbuf or not name or not color:
|
||||||
print "pixbuf: %r, name %r, color %r" % (pixbuf, name, color)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
self._create_profile(pixbuf, name, color)
|
self._create_profile(pixbuf, name, color)
|
||||||
|
Loading…
Reference in New Issue
Block a user