Opened 15 years ago

Last modified 11 years ago

#293 closed defect

Activity does not close when closing activity from frame because of NamingAlert — at Version 2

Reported by: erikos Owned by: erikos
Priority: Immediate Milestone:
Component: Sugar on a Stick (SoaS) Version: 0.83.x
Severity: Blocker Keywords:
Cc: tomeu Distribution/OS: Unspecified
Bug Status: Assigned

Description (last modified by erikos)

It is confusing because one does not see the alert. Simply resuming the activity window in this case does work well.

diff --git a/src/sugar/activity/activity.py b/src/sugar/activity/activity.py
index d2ba278..5f15876 100644
--- a/src/sugar/activity/activity.py
+++ b/src/sugar/activity/activity.py
@@ -978,6 +978,7 @@ class Activity(Window, gtk.Container):
             title_alert = NamingAlert(self, get_bundle_path())
             title_alert.set_transient_for(self.get_toplevel())
             title_alert.show()
+            self.present()
 
     def __realize_cb(self, window):
         wm.set_bundle_id(window.window, self.get_bundle_id())

Change History (2)

comment:1 Changed 15 years ago by erikos

  • Bug Status changed from Unconfimed to Assigned

comment:2 Changed 15 years ago by erikos

  • Description modified (diff)
Note: See TracTickets for help on using tickets.