# HG changeset patch # User Erik Grinaker # Date 1124962598 0 # Node ID ac1d7b7ffc91d747138737f1d9a1ab53c59ac2e9 # Parent 9226fb35c22887976b292ea82b8cc367a3db777e tweaked 64-bit crash fix diff -r 9226fb35c22887976b292ea82b8cc367a3db777e -r ac1d7b7ffc91d747138737f1d9a1ab53c59ac2e9 src/revelation-applet.in --- a/src/revelation-applet.in Wed Aug 24 13:50:15 2005 +0000 +++ b/src/revelation-applet.in Thu Aug 25 09:36:38 2005 +0000 @@ -230,12 +230,12 @@ # from gnome 2.10, the panel doesn't receive focus when clicked # (the OverflowError exception is a workaround for what I suspect # is a pygtk bug - see pygtk bug #300012) - if data.button == 1 and hasattr(gnomemisc, "panel_applet_request_focus") == True: - try: + try: + if data.button == 1 and hasattr(gnomemisc, "panel_applet_request_focus") == True: gnomemisc.panel_applet_request_focus(self.applet, long(data.time)) - except OverflowError: - gnomemisc.panel_applet_request_focus(self.applet, 0L) + except OverflowError: + gnomemisc.panel_applet_request_focus(self.applet, 0L) def __cb_file_autolock(self, widget, data = None):