Bug 493898

Summary: S-c-tools cleanup: make OK button insensitive when no action has been taken.
Product: [Fedora] Fedora Reporter: Roman Rakus <rrakus>
Component: system-switch-javaAssignee: Deepak Bhole <dbhole>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dbhole, jreznik, rnovacek, tsmetana
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-19 18:37:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 493616    
Attachments:
Description Flags
Proposed patch that replaces the close button with OK and Cancel buttons none

Description Roman Rakus 2009-04-03 10:10:57 UTC
Description of problem:
"OK" button is sensitive even no changes were done but it should be insensitive when "Cancel" button available.

How reproducible: 
/*places*/

Steps to Reproduce:
1. invoke some dialog
2. check if "OK" button is sensitive

Actual results:
"OK" button is sensitive.

Expected results:
"OK" should not be sensitive.

Additional info:
This bug report is part of "System Configuration Tools Cleanup Project". Don't hesitate to ask project maintainers for any kind of help.

Comment 1 Radek Novacek 2009-08-18 12:06:00 UTC
Created attachment 357779 [details]
Proposed patch that replaces the close button with OK and Cancel buttons

There isn't any OK button in the application - there is only Close. So I replaced the Close button with OK and Cancel buttons and made the OK button change sensitive.

Comment 2 Deepak Bhole 2009-08-19 18:37:21 UTC
Thanks for the patch! Applied upstream, and new package built:

http://koji.fedoraproject.org/koji/taskinfo?taskID=1615312