[Sugar-devel] [PATCH] Feature Request added : Kill the Mute function by clicking on the speaker icon.
Shanjit Singh Jajmann
shanjit at seeta.in
Mon Dec 6 06:17:43 EST 2010
I tried sending a patch to this thread by following the standard procedure
of copying and pasting the message id to the "in-reply-to : ". However, for
some reason the patch goes on to the different thread.
Please find the link to the patch, http://patchwork.sugarlabs.org/patch/519/
On Mon, Dec 6, 2010 at 4:36 PM, Shanjit Singh Jajmann <shanjit at seeta.in>wrote:
> I thank you all for having a look at the patch and for recommending
> necessary changes.
> I am sending a revised patch for the same.
> Feedback and Response appreciated.
> On Sat, Nov 13, 2010 at 6:45 PM, Gonzalo Odiard <gonzalo at laptop.org>wrote:
>> Reviewed-By: gonzalo at laptop.org
>> On Sat, Nov 13, 2010 at 7:08 AM, <shanjit at seeta.in> wrote:
>>> From: Shanjit Singh Jajmann <shanjit at seeta.in>
>>> Muting by clicking on the icon is killed.
>>> extensions/deviceicon/speaker.py | 10 ----------
>>> 1 files changed, 0 insertions(+), 10 deletions(-)
>>> diff --git a/extensions/deviceicon/speaker.py
>>> index 3a54464..4242105 100644
>>> --- a/extensions/deviceicon/speaker.py
>>> +++ b/extensions/deviceicon/speaker.py
>>> @@ -50,9 +50,6 @@ class DeviceView(TrayIcon):
>>> self.connect('expose-event', self.__expose_event_cb)
>>> - self._icon_widget.connect('button-release-event',
>>> - self.__button_release_event_cb)
>>> def create_palette(self):
>>> @@ -73,13 +70,6 @@ class DeviceView(TrayIcon):
>>> self.icon.props.icon_name = get_icon_state(name, current_level,
>>> self.icon.props.xo_color = xo_color
>>> - def __button_release_event_cb(self, widget, event):
>>> - if event.button == 1:
>>> - self._model.props.muted = not self._model.props.muted
>>> - return True
>>> - else:
>>> - return False
>>> def __expose_event_cb(self, *args):
>>> Sugar-devel mailing list
>>> Sugar-devel at lists.sugarlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel