[Bugs] #463 UNSP: Network device icons don't react on right click

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Mon Mar 2 09:52:43 EST 2009


#463: Network device icons don't react on right click
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  erikos     
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.84       
   Component:  sugar                      |        Version:  Unspecified
    Severity:  Minor                      |       Keywords:             
Distribution:  Unspecified                |   Status_field:  Assigned   
------------------------------------------+---------------------------------
 {{{
 diff --git a/extensions/deviceicon/network.py
 b/extensions/deviceicon/network.py
 index d52f083..01e3c1a 100644
 --- a/extensions/deviceicon/network.py
 +++ b/extensions/deviceicon/network.py
 @@ -211,11 +211,11 @@ class WirelessDeviceView(ToolButton):
          self.set_icon_widget(self._icon)
          self._icon.show()

 +        self.set_palette_invoker(FrameWidgetInvoker(self))
          self._palette = WirelessPalette(self._name)
          self._palette.connect('deactivate-connection',
                                self.__deactivate_connection)
          self.set_palette(self._palette)
 -        self._palette.props.invoker = FrameWidgetInvoker(self)
          self._palette.set_group_id('frame')

          props = dbus.Interface(self._device,
 'org.freedesktop.DBus.Properties')
 @@ -381,9 +381,9 @@ class WiredDeviceView(TrayIcon):

          TrayIcon.__init__(self, icon_name=self._ICON_NAME,
 xo_color=color)

 +        self.set_palette_invoker(FrameWidgetInvoker(self))
          self._palette = WiredPalette()
          self.set_palette(self._palette)
 -        self._palette.props.invoker = FrameWidgetInvoker(self)
          self._palette.set_group_id('frame')
          self._palette.set_connected(speed, address)

 }}}

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/463>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list