Ignore:
Timestamp:
Jan 30, 2018, 2:00:03 PM (3 years ago)
Author:
Juanma
Message:

WIP in basic mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • taskscheduler/trunk/fuentes/scheduler-gui.install/usr/share/taskscheduler/bin/taskScheduler.py

    r6718 r6742  
    164164                self.task_details_grid.btn_apply.set_sensitive(True)
    165165                self.task_details_grid.btn_apply.connect("clicked",self.update_task)
     166                self.task_details_grid.chk_node.connect("toggled",self._reload_grid)
    166167                self.tasks_store=Gtk.ListStore(str,str,str,GdkPixbuf.Pixbuf,str)
    167168                self.tasks_store_filter=self.tasks_store.filter_new()
     
    540541        def _reload_grid(self,widget=None,data=None):
    541542                cursor=self.tasks_tv.get_cursor()[0]
     543                self._debug("CURSOR %s"%widget)
    542544                if self.btn_remote_tasks.get_active():
    543545                        task_type='remote'
     
    547549                self.populate_tasks_tv(task_type)
    548550                if cursor:
     551                        self._debug("Restoring cursor")
    549552                        self.tasks_tv.set_cursor(cursor)
     553
     554                if type(widget)==type(Gtk.CheckButton()):
     555                        self.task_details_grid.chk_node.connect("toggled",self._reload_grid)
    550556        #def _reload_grid
    551557
Note: See TracChangeset for help on using the changeset viewer.