~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/debugger/src/dbg_wx_view.erl

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%
2
2
%% %CopyrightBegin%
3
3
%% 
4
 
%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2008-2011. All Rights Reserved.
5
5
%% 
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
46
46
            spawn_link(fun () -> init(GS, Env, Mod, Title) end)
47
47
    end.
48
48
 
 
49
-spec stop() -> no_return().
 
50
stop() ->
 
51
    exit(normal).
49
52
 
50
53
%%====================================================================
51
54
%% Main loop and message handling
113
116
    end.
114
117
 
115
118
%%--Commands from the GUI---------------------------------------------
116
 
 
 
119
                      
117
120
gui_cmd(ignore, State) ->
118
121
    State;
119
122
gui_cmd({win, Win}, State) ->
120
123
    State#state{win=Win};
121
124
gui_cmd(stopped, _State) ->
122
 
    exit(normal);
 
125
    stop();
123
126
gui_cmd({coords, Coords}, State) ->
124
127
    State#state{coords=Coords};
125
128
 
132
135
%% File menu
133
136
gui_cmd('Close', State) ->
134
137
    dbg_wx_trace_win:stop(State#state.win),
135
 
    gui_cmd(stopped, State);
 
138
    stop();
136
139
 
137
140
%% Edit menu
138
141
gui_cmd('Go To Line', State) ->