← Back to team overview

usb-creator-hackers team mailing list archive

[Merge] lp:~yuningdodo/usb-creator/usb-creator.lp1370045-update-button-status-on-failure into lp:usb-creator

 

Yu Ning has proposed merging lp:~yuningdodo/usb-creator/usb-creator.lp1370045-update-button-status-on-failure into lp:usb-creator.

Requested reviews:
  usb-creator hackers (usb-creator-hackers)
Related bugs:
  Bug #1370045 in usb-creator (Ubuntu): "Erase button is not enabled after an error occured during erase operation"
  https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1370045

For more details, see:
https://code.launchpad.net/~yuningdodo/usb-creator/usb-creator.lp1370045-update-button-status-on-failure/+merge/238392

GTK: update button status in format_failed callback. (LP: #1370045)

-- 
https://code.launchpad.net/~yuningdodo/usb-creator/usb-creator.lp1370045-update-button-status-on-failure/+merge/238392
Your team usb-creator hackers is requested to review the proposed merge of lp:~yuningdodo/usb-creator/usb-creator.lp1370045-update-button-status-on-failure into lp:usb-creator.
=== modified file 'usbcreator/frontends/gtk/frontend.py'
--- usbcreator/frontends/gtk/frontend.py	2014-07-25 11:40:08 +0000
+++ usbcreator/frontends/gtk/frontend.py	2014-10-15 06:40:08 +0000
@@ -782,6 +782,9 @@
         d.run()
         d.destroy()
 
+        # update button status
+        self.format_ended()
+
     def format_dest_clicked(self, *args):
         model, iterator = self.dest_treeview.get_selection().get_selected()
         if not iterator: