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