![]() |
2009-04-12
, 20:06
|
Posts: 367 |
Thanked: 47 times |
Joined on Nov 2008
@ Brooklyn, NY
|
#62
|
OK, I lied. To fix the crash-everything-when-using-Control-Panel-Panels bug, I had to fix the desktop layout. When you see a hildon-desktop-layout-alpha update, you really want to rm -rf ~username/.osso/hildon-desktop before rebooting.
![]() |
2009-04-13
, 15:58
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#63
|
![]() |
2009-04-13
, 19:51
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#64
|
class whatever(...): ... tah_timeout = 1000 # milliseconds tah_max_dist = 5 # pixels ... def __init__(self...): ... self.press_event = None self.button_is_down = False self.connect('button-press-event', self.on_button_press) self.connect('button-release-event', self.on_button_release) ... def tap_and_hold(self): if self.button_is_down: x, y = self.get_pointer() dx = abs(x - self.press_event.x) dy = abs(y - self.press_event.y) if dy <= self.tah_max_dist and dx <= self.tah_max_dist: self.press_event.button = 3 self.press_event.time = gtk.get_current_event_time() gtk.main_do_event(self.press_event) return False def on_button_press(self, widget, event): self.button_is_down = True self.press_event = event.copy() gobject.timeout_add(self.tah_timeout, self.tap_and_hold) def on_button_release(self, widget, event): self.button_is_down = False
![]() |
2009-04-13
, 20:54
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#65
|
![]() |
2009-04-13
, 21:23
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#66
|
The Following User Says Thank You to daperl For This Useful Post: | ||
![]() |
2009-04-13
, 23:23
|
Posts: 367 |
Thanked: 47 times |
Joined on Nov 2008
@ Brooklyn, NY
|
#67
|
The Following User Says Thank You to FRZ For This Useful Post: | ||
![]() |
2009-04-13
, 23:37
|
Posts: 126 |
Thanked: 94 times |
Joined on Jun 2007
@ Berlin, Germany
|
#68
|
![]() |
2009-04-14
, 13:12
|
Posts: 607 |
Thanked: 296 times |
Joined on Jun 2008
@ Finland
|
#69
|
I'm also not too keen on losing the vertical screen space due to the larger bar at the top.
![]() |
2009-04-14
, 13:38
|
Posts: 126 |
Thanked: 94 times |
Joined on Jun 2007
@ Berlin, Germany
|
#70
|
![]() |
Tags |
firmware, linux distribution, mer, mer release |
|
pythonprogrammer so if anyone wants to contribute - please do so.Hacked applet to have right click menu with "left" mouse button:
Last edited by qwerty12; 2009-04-12 at 15:47.