def set_path(self, path, is_user=False):
        """
        :param bool is_user: this event was fired by user
        """
        self.clear_buttons()
        pathlist = util.rec_split_path(path)
        for (abspath, name) in pathlist:
            self.append_button(abspath, name)

        if is_user:
            self.add_view_history(path)

        self.back_button.set_sensitive(self.can_back())
        self.forward_button.set_sensitive(self.can_forward())

        self.show_all()
def set_path ( self , path , is_user = False ) : self . clear_buttons ( ) pathlist = util . rec_split_path ( path ) for ( abspath , name ) in pathlist : self . append_button ( abspath , name ) if is_user : self . add_view_history ( path ) self . back_button . set_sensitive ( self . can_back ( ) ) self . forward_button . set_sensitive ( self . can_forward ( ) ) self . show_all ( )
:param bool is_user: this event was fired by user