epiphany-extensions r1772 - branches/gnome-2-24/extensions/cc-license-viewer



Author: diegoe
Date: Sat Oct 18 08:42:54 2008
New Revision: 1772
URL: http://svn.gnome.org/viewvc/epiphany-extensions?rev=1772&view=rev

Log:
Check for a license on extension load

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:42:54 2008
@@ -441,6 +441,8 @@
     ui_init(window)
     signal_tab_switch = notebook.connect_after("switch_page",
         _switch_page_cb, window);
+    # When extension loads, we fire a load-status to set the icon
+    _load_status_cb(window.get_active_child(), None, window)
     notebook._cc_signal_tab_switch = signal_tab_switch
 
 def detach_window(window):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]