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 Initial Version

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

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 (0)

Note: See TracTickets for help on using tickets.