Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 161843 Details for
Bug 253144
RFE: confirmation before deleting guest
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
ask user for confirmation
manager.py.patch (text/plain), 1.04 KB, created by
David Robinson
on 2007-08-20 05:33:15 UTC
(
hide
)
Description:
ask user for confirmation
Filename:
MIME Type:
Creator:
David Robinson
Created:
2007-08-20 05:33:15 UTC
Size:
1.04 KB
patch
obsolete
>diff -up ./virtManager/manager.py.orig ./virtManager/manager.py >--- ./virtManager/manager.py.orig 2007-08-19 18:55:38.000000000 +1000 >+++ ./virtManager/manager.py 2007-08-19 19:25:12.000000000 +1000 >@@ -422,8 +422,16 @@ class vmmManager(gobject.GObject): > if vm is None or vm.is_active(): > return > >- vm.delete() >- self.connection.tick(noStatsUpdate=True) >+ message_box = gtk.MessageDialog(None, \ >+ 0, \ >+ gtk.MESSAGE_WARNING, \ >+ gtk.BUTTONS_YES_NO, \ >+ "Confirm deletion") >+ message_box.format_secondary_text("Are you sure you want to delete \"%s\" ?" % vm.get_name()) >+ if message_box.run() == gtk.RESPONSE_YES: >+ vm.delete() >+ self.connection.tick(noStatsUpdate=True) >+ message_box.destroy() > > def show_vm_details(self,ignore): > self.emit("action-show-details", self.connection.get_uri(), self.current_vmuuid())
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 253144
: 161843