Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(16)  |  Call(16)  |  Derive(0)  |  Import(0)

src/d/i/digsby-HEAD/digsby/src/gui/buddylist/accountlist.py   digsby(Download)
            elif isinstance(acct, EmailAccount):
                #HAX: an ugly hack until Email-specific actions are removed from EmailAccount.
                actions.menu(wx.FindWindowByName('Buddy List'), acct, menu = self.menu, search_bases = False, cls = EmailAccount)
            else:
                actions.menu(wx.FindWindowByName('Buddy List'), acct, menu = self.menu)

src/d/i/digsby-HEAD/digsby/src/gui/buddylist/accounttray.py   digsby(Download)
    def update_menu(self, event=None):
        self._menu.RemoveAllItems()
        actions.menu(wx.FindWindowByName('Buddy List'), self.acct, cls = type(self.acct), menu = self._menu)
 
    def on_click(self, e = None):
    def update_menu(self, event=None):
        from common.emailaccount import EmailAccount
 
        self._menu.RemoveAllItems()
        actions.menu(wx.FindWindowByName('Buddy List'), self.acct, cls = EmailAccount, search_bases = False,

src/d/i/digsby-HEAD/digsby/src/gui/buddylist/buddylistmenu.py   digsby(Download)
        # grab actions for the connection (ignoring Connect and Disconnect methods, since
        # we already have "Sign On/Off" above)
        actions.menu(parent, account.connection, menu,
                     filter = lambda func: func.__name__ not in ('Disconnect', 'Connect'))
 
        actions.menu(parent, account, menu)
 
        # search_bases = False means we'll get the actions specific to the buddy's service
        actions.menu(menu.Window, contact, contact_menu, search_bases = False)
 
        if contact_menu[0].IsSeparator():

src/d/i/digsby-HEAD/digsby/src/gui/accountslist.py   digsby(Download)
        menu.AddSep()
        if self.data.connection:
            common.actions.menu(self, self.data.connection, menu)
            common.actions.menu(self, self.data, menu)
        else:
        if self.data.enabled:
            menu.AddSep()
            common.actions.menu(self, self.data, menu)
 
        return menu
        if self.data.enabled:
            menu.AddSep()
            common.actions.menu(self, self.data, menu, cls = EmailAccount)
 
        return menu

src/d/i/digsby-HEAD/digsby/src/gui/uberwidgets/connectionlist.py   digsby(Download)
 
        if account.connection:
            actions.menu(self, account.connection, menu)
            actions.menu(self, account, menu)
        else:

src/d/i/digsby-HEAD/digsby/src/gui/buddylist/buddylist.py   digsby(Download)
            # The mouse is over a group or buddy
            import common.actions as actions
            actions.menu(self, self.model[i], self.context_menu)
        else:
            # The mouse is over an empty space in the buddylist

src/d/i/digsby-HEAD/digsby/src/gui/widgetlist.py   digsby(Download)
        menu.AddItem(_('&Delete'), callback = lambda: self.on_delete())
        menu.AddSep()
        common.actions.menu(self, self.data, menu)
 
        self._menu = menu

src/d/i/digsby-HEAD/digsby/src/gui/status.py   digsby(Download)
 
        menu.AddSep()
        actions.menu(self, self.data, menu)
 
        self._menu = menu