Example #1
0
    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.show_all()
Example #2
0
    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()
Example #3
0
 def set_path(self, path):
     self.clear_buttons()
     pathlist = util.rec_split_path(path)
     for (abspath, name) in pathlist:
         self.append_button(abspath, name)
     self.show_all()
Example #4
0
 def set_path(self, path):
     self.clear_buttons()
     pathlist = util.rec_split_path(path)
     for (abspath, name) in pathlist:
         self.append_button(abspath, name)
     self.show_all()