Skip site navigation (1) Skip section navigation (2)

Hiding Schedules/Step tabs while creating a new pgAgent job

From: Nikhil S <nixmisc(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: Hiding Schedules/Step tabs while creating a new pgAgent job
Date: 2011-02-06 10:31:22
Message-ID: AANLkTinvuUr6DaYfAVTa6WE3+zQAr0vBPQQcAfeqq5A9@mail.gmail.com (view raw or flat)
Thread:
Lists: 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

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2011-02-06 14:44:50
Subject: pgAdmin III commit: Update the autotools build system to build onlythe
Previous:From: R.I.KDate: 2011-02-04 10:42:52
Subject: Feature: visual feedback of disabled triggers

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group