[Bugs] #293 IMME: Activity does not close when closing activity from frame because of NamingAlert

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Mon Feb 2 11:41:22 EST 2009


#293: Activity does not close when closing activity from frame because of
NamingAlert
--------------------------+-------------------------------------------------
    Reporter:  erikos     |          Owner:  erikos    
        Type:  defect     |         Status:  new       
    Priority:  Immediate  |      Milestone:  0.84      
   Component:  sugar      |        Version:  0.83.x    
    Severity:  Blocker    |       Keywords:            
Distribution:  SoaS       |   Status_field:  Unconfimed
--------------------------+-------------------------------------------------
 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())

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/293>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list