Skip to content
Permalink
Browse files
Use busy cursor during launch
  • Loading branch information
ezequielpereira authored and godiard committed Dec 9, 2014
1 parent 72bb2e2 commit 6c8141b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
@@ -613,6 +613,9 @@ def _update(self):
self.props.file_name = self._home_activity.get_icon_path()
self.props.xo_color = self._home_activity.get_icon_color()

if self._home_activity.is_journal():
self.get_window().set_cursor(None)

self.props.pixel_size = style.STANDARD_ICON_SIZE

if self.palette is not None:
@@ -62,6 +62,7 @@ def __init__(self):
screen.get_height())

self.realize()
self.get_window().set_cursor(Gdk.Cursor.new(Gdk.CursorType.WATCH))
self.set_type_hint(Gdk.WindowTypeHint.DESKTOP)
self.modify_bg(Gtk.StateType.NORMAL,
style.COLOR_WHITE.get_gdk_color())

3 comments on commit 6c8141b

@quozl
Copy link
Contributor

@quozl quozl commented on 6c8141b Jul 6, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@163gal, thanks for this patch, from December last year.

We have a new problem which you may be able to help us with:
http://bugs.sugarlabs.org/ticket/4873

The busy cursor may be turned on during startup, and then not turned off. We're not sure exactly what causes it yet. Have you any suggestions?

CC: @godiard.

@samdroid-apps
Copy link
Contributor

@samdroid-apps samdroid-apps commented on 6c8141b Jul 6, 2015 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@godiard
Copy link
Contributor

@godiard godiard commented on 6c8141b Jul 8, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possible solution #553

Please sign in to comment.