Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#441 closed defect (fixed)

Friendstray: icon not reacting to right click

Reported by: sascha_silbe Owned by: erikos
Priority: Unspecified by Maintainer Milestone:
Component: Sugar Version: Git as of bugdate
Severity: Minor Keywords: r+
Cc: Distribution/OS: Unspecified
Bug Status: Resolved

Description

The XO icon in the Frame doesn't reveal on right click. You have to wait instead.

Change History (6)

comment:1 Changed 15 years ago by erikos

  • Bug Status changed from New to Assigned
  • Keywords r? added
  • Owner changed from marcopg to erikos
  • Status changed from new to assigned
diff --git a/src/jarabe/frame/friendstray.py b/src/jarabe/frame/friendstray.py
index 7e15f14..722010d 100644
--- a/src/jarabe/frame/friendstray.py
+++ b/src/jarabe/frame/friendstray.py
@@ -27,11 +27,9 @@ class FriendIcon(TrayIcon):
         TrayIcon.__init__(self, icon_name='computer-xo',
                           xo_color=buddy.get_color())
 
-        palette = BuddyMenu(buddy)
-        palette.props.icon_visible = False
-        self.set_palette(palette)
-        palette.set_group_id('frame')
-        palette.props.invoker = FrameWidgetInvoker(self)
+        self.set_palette_invoker(FrameWidgetInvoker(self))
+        self.palette = BuddyMenu(buddy)
+        self.palette.set_group_id('frame')
 
 class FriendsTray(VTray):
     def __init__(self):

comment:2 Changed 15 years ago by erikos

  • Summary changed from Frame: xo icon not reacting to right click to Friendstray: icon not reacting to right click

comment:3 Changed 15 years ago by erikos

  • Milestone changed from Unspecified by Release Team to 0.84

comment:4 Changed 15 years ago by tomeu

Aren't we forgetting this?

-        palette.props.icon_visible = False

comment:5 Changed 15 years ago by erikos

  • Bug Status changed from Assigned to Resolved
  • Keywords r+ added; r? removed
  • Resolution set to fixed
  • Status changed from assigned to closed

Good, was just checking if you were sleepy already, of course! Added again.

comment:6 Changed 11 years ago by godiard

  • Milestone 0.84 deleted

Milestone 0.84 deleted

Note: See TracTickets for help on using tickets.