Hiding Schedules/Step tabs while creating a new pgAgent job - Mailing list pgadmin-hackers

From Nikhil S
Subject Hiding Schedules/Step tabs while creating a new pgAgent job
Date
Msg-id AANLkTinvuUr6DaYfAVTa6WE3+zQAr0vBPQQcAfeqq5A9@mail.gmail.com
Whole thread Raw
Responses Re: Hiding Schedules/Step tabs while creating a new pgAgent job
List pgadmin-hackers
Hi,

When creating a new job, if one directly clicks on the Schedules tab and tries to add one, then the date picker does not work. I was trying to see why this is so for quite a while. Then I realized that adding a schedule or a step before the job has been actually created does not make sense.

However the confusion arises from the fact that when we want to create a new job, the other tabs are clickable and one can get confused because of this. A way to fix this would to hide or freeze the other tabs while creating the job for the first time.

In dlgJob::Go, I do see some code which tries to do this when the job is being created:

        btnChangeStep->Hide();
        btnChangeSchedule->Hide();

However the above does not seem to be working :(
Any idea what could be the reason?

Regards,
Nikhils

pgadmin-hackers by date:

Previous
From: Nikhil S
Date:
Subject: Re: pgAdmin III: 'public' schema not selected by default for "Default Privileges" tab
Next
From: Dave Page
Date:
Subject: pgAdmin III commit: Update the autotools build system to build only the