[Bugs] #4790 Imageviewer UNSP: ImageViewer: change colors on Fedora 20

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Sep 25 10:55:18 EDT 2014


#4790: ImageViewer: change colors on Fedora 20
----------------------------------------+-------------------------------
  Reporter:  godiard                    |            Owner:
      Type:  defect                     |           Status:  new
  Priority:  Unspecified by Maintainer  |        Milestone:  Unspecified
 Component:  Imageviewer                |          Version:  Unspecified
  Severity:  Unspecified                |       Resolution:
  Keywords:  F20                        |  Distribution/OS:  Unspecified
Bug Status:  Unconfirmed                |
----------------------------------------+-------------------------------
\
\
\
\
\
\

Comment (by godiard):

 The same code is used in other activities:

 {{{
 [gonzalo at localhost honey]$ grep -r create_similar * --include=*.py
 browse/mainline/webactivity.py:        thumb_surface =
 Gdk.Window.create_similar_surface(window,
 clock/mainline/clock.py:        self._simple_background_cache =
 cr.get_target().create_similar(
 clock/mainline/clock.py:        self._nice_background_cache =
 cr.get_target().create_similar(
 fototoon/fototoon-activity/reorderwindow.py:        self.image =
 ctx.get_target().create_similar(
 fototoon/fototoon-activity/historietaactivity.py:            self.image =
 ctx.get_target().create_similar(
 fototoon/fototoon-activity/historietaactivity.py:                sav_img =
 ctx.get_target().create_similar(
 fototoon/fototoon-activity/historietaactivity.py:            self.image =
 ctx.get_target().create_similar(
 imageviewer/imageviewer-activity/ImageView.py:    surface =
 ctx.get_target().create_similar(
 imageviewer/imageviewer-activity/ImageView.py:    new_surface =
 ctx.get_target().create_similar(
 maze/maze-activity/game.py:            self._cached_surface =
 ctx.get_target().create_similar(
 memorize/memorize-activity/svgcard.py:
 context.get_target().create_similar(cairo.CONTENT_COLOR_ALPHA,
 paint/paint-activity/Area.py:            self.drawing_canvas =
 context.get_target().create_similar(
 paint/paint-activity/Area.py:            self.temp_canvas =
 context.get_target().create_similar(
 paint/paint-activity/Area.py:        mirror_surface =
 surface.create_similar(cairo.CONTENT_COLOR_ALPHA,
 paint/paint-activity/Area.py:        rotate_surface =
 surface.create_similar(cairo.CONTENT_COLOR_ALPHA,
 paint/paint-activity/Area.py:            self.drawing_canvas_data =
 surface.create_similar(
 read/read-activity/readactivity.py:        screenshot_surface =
 target.create_similar(cairo.CONTENT_COLOR,
 turtleart/mainline/TurtleArtActivity.py:        self.turtle_canvas =
 cr.get_target().create_similar(
 turtleart/mainline/turtleblocks.py:        self.turtle_canvas =
 surface.create_similar(
 turtleart/mainline/pyexported/window_setup.py:        self.turtle_canvas =
 surface.create_similar(
 }}}
\
\
\

--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4790#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list