³ò ĦġEc@s<dZddklZlZlZdefd„ƒYZdS(s This module documents a class that manages graphic user interface components of the bookmark browser. @author: Lateef Alabi-Oki @organization: The Scribes Project @copyright: Copyright Âİ 2006 Lateef Alabi-Oki @license: GNU GPLv2 or Later @contact: mystilleef@gmail.com i˙˙˙˙(tGObjecttSIGNAL_RUN_LASTt TYPE_NONEtBookmarkManagercBsweZdZheed fd<eed fds  cCsš||_ddkl}|||ƒ|_ddkl}|||ƒ|_ddkl}l }|d|dt ƒ|_ d|_ d|_d|_dS(sÖ Initialize data attributes. @param self: Reference to the BookmarkManager instance. @type self: A BookmarkManager object. @param editor: Reference to the text editor. @type editor: An Editor object. i˙˙˙˙(tBookmarkWindow(tBookmarkTreeView(t STOCK_CLOSEtButtontstockt use_underlineN(t_BookmarkManager__editortWindowRRtTreeviewRRtgtkRRtTrueR tNoneR RR(RRRRRR((s"plugins/BookmarkBrowser/Manager.pyt__init_attributesIs    cCshddkl}|ƒ}|i|iƒ|iii|ttdƒ|iii|i t t dƒdS(s“ Arrange graphic user interface components. @param self: Reference to the BookmarkManager instance. @type self: A BookmarkManager object. i˙˙˙˙(tcreate_scrollwiniN( t SCRIBES.utilsR'taddRRt main_areat pack_startR$t button_areaR tFalse(RR't scrollwin((s"plugins/BookmarkBrowser/Manager.pyt__arrange_widgets_s  cCsŬ|io'|i|iƒo|i|iƒn|io-|ii|iƒo|ii|iƒn|io-|ii|iƒo|ii|iƒn|iiƒ|`|` |`|`|`|`~d}dS(s Handles callback when the "destroy" signal is emitted. @param self: Reference to the BookmarkManager instance. @type self: A BookmarkManager object. @param manager: Reference to the BookmarkManager instance. @type manager: A BookmarkManager object. N( R thandler_is_connectedt disconnectRR RRRR RR%(Rtmanager((s"plugins/BookmarkBrowser/Manager.pyt __destroy_cbms     cCs|iiƒtS(sJ Handles callback when the "clicked" signal is emitted. @param self: Reference to the BookmarkManager instance. @type self: An BookmarkManager object. @param button: Reference to the close button. @type button: A gtk.Button object. @return: True to propagate signals to parent widgets. @type: A Boolean Object. (Rt hide_dialogR-(Rtbutton((s"plugins/BookmarkBrowser/Manager.pyt__manager_clicked_cb„s cGs|iiƒtS(N(RR4R-(Rtargs((s"plugins/BookmarkBrowser/Manager.pyt__row_activated_cb”s ((( t__name__t __module__t__doc__RRt __gsignals__RRRR R RR(((s"plugins/BookmarkBrowser/Manager.pyR"s     N(R;tgobjectRRRR(((s"plugins/BookmarkBrowser/Manager.pyss