epiphany-extensions r1777 - branches/gnome-2-24/extensions/cc-license-viewer
- From: diegoe svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany-extensions r1777 - branches/gnome-2-24/extensions/cc-license-viewer
- Date: Sat, 18 Oct 2008 08:56:39 +0000 (UTC)
Author: diegoe
Date: Sat Oct 18 08:56:39 2008
New Revision: 1777
URL: http://svn.gnome.org/viewvc/epiphany-extensions?rev=1777&view=rev
Log:
Avoid a corner case for _load_status_cb
Modified:
branches/gnome-2-24/extensions/cc-license-viewer/cc-license-viewer.py
Modified: branches/gnome-2-24/extensions/cc-license-viewer/cc-license-viewer.py
==============================================================================
--- branches/gnome-2-24/extensions/cc-license-viewer/cc-license-viewer.py (original)
+++ branches/gnome-2-24/extensions/cc-license-viewer/cc-license-viewer.py Sat Oct 18 08:56:39 2008
@@ -343,6 +343,9 @@
ui_show (window, window.get_active_child())
def _load_status_cb(embed, data, window):
+ # Corner case when we are just starting epiphany
+ if embed is None:
+ return
if not embed.get_property('load-status'):
# page is loaded
detect_license(window, embed)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]