[Sugar-devel] [PATCH sugar] Reveal the file transfer palette immediatly on left click #10796
Sascha Silbe
sascha-ml-reply-to-2011-2 at silbe.org
Thu Mar 31 15:05:43 EDT 2011
Excerpts from Simon Schampijer's message of Thu Mar 31 19:01:23 +0200 2011:
> + def __button_clicked_cb(self, button):
> + self.palette.popup(immediate=True, state=1)
I guess this should use the Palette.SECONDARY constant instead of hard
coding an integer value.
FWIW, the way I did this for the Speaker frame device [1] was to call
self.palette_invoker.notify_right_click().
Sascha
[1] http://git.sugarlabs.org/sugar/mainline/commit/7b44b42605a72f99a2285c90542e7cf7629c8752
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 500 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110331/35379ac4/attachment.pgp>
More information about the Sugar-devel
mailing list