~ubuntu-branches/ubuntu/saucy/padre/saucy-proposed

« back to all changes in this revision

Viewing changes to lib/Padre/Wx/Dialog/Sync.pm

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont, gregor herrmann, Dominique Dumont
  • Date: 2012-01-04 12:04:20 UTC
  • mfrom: (1.3.3)
  • Revision ID: package-import@ubuntu.com-20120104120420-i5oybqwf91m1d3il
Tags: 0.92.ds1-1
[ gregor herrmann ]
* Remove debian/source/local-options; abort-on-upstream-changes
  and unapply-patches are default in dpkg-source since 1.16.1.
* Swap order of alternative (build) dependencies after the perl
  5.14 transition.

[ Dominique Dumont ]
* Imported Upstream version 0.92.ds1
* removed fix-spelling patch (applied upstream)
* lintian-override: use wildcard to avoid listing a gazillion files
* updated size of some 'not-real-man-page' entries
* rules: remove dekstop cruft (replaced by a file provided in debian
  directory)
* control: removed Breaks statement. Add /me to uploaders. Updated
  dependencies
* rules: make sure that non-DFSG file (i.e. the cute butterfly, sigh)
  is not distributed

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
use Padre::Sync          ();
7
7
use Padre::Wx::FBP::Sync ();
8
8
 
9
 
our $VERSION = '0.90';
 
9
our $VERSION = '0.92';
10
10
our @ISA     = 'Padre::Wx::FBP::Sync';
11
11
 
12
12
sub new {
76
76
                        Wx::MessageBox(
77
77
                                sprintf('Successfully logged out.'),
78
78
                                Wx::gettext('Error'),
79
 
                                Wx::wxOK,
 
79
                                Wx::OK,
80
80
                                $self,
81
81
                        );
82
82
                        $self->{btn_login}->SetLabel('Log in');
84
84
                        Wx::MessageBox(
85
85
                                sprintf('Failed to log out.'),
86
86
                                Wx::gettext('Error'),
87
 
                                Wx::wxOK,
 
87
                                Wx::OK,
88
88
                                $self,
89
89
                        );
90
90
                }
97
97
                Wx::MessageBox(
98
98
                        sprintf( Wx::gettext('Please input a valid value for both username and password') ),
99
99
                        Wx::gettext('Error'),
100
 
                        Wx::wxOK,
 
100
                        Wx::OK,
101
101
                        $self,
102
102
                );
103
103
                return;
116
116
        Wx::MessageBox(
117
117
                sprintf( '%s', $rc ),
118
118
                Wx::gettext('Error'),
119
 
                Wx::wxOK,
 
119
                Wx::OK,
120
120
                $self,
121
121
        );
122
122
 
140
140
                Wx::MessageBox(
141
141
                        sprintf( Wx::gettext('Please ensure all inputs have appropriate values.') ),
142
142
                        Wx::gettext('Error'),
143
 
                        Wx::wxOK,
 
143
                        Wx::OK,
144
144
                        $self,
145
145
                );
146
146
                return;
151
151
                Wx::MessageBox(
152
152
                        sprintf( Wx::gettext('Password and confirmation do not match.') ),
153
153
                        Wx::gettext('Error'),
154
 
                        Wx::wxOK,
 
154
                        Wx::OK,
155
155
                        $self,
156
156
                );
157
157
                return;
161
161
                Wx::MessageBox(
162
162
                        sprintf( Wx::gettext('Email and confirmation do not match.') ),
163
163
                        Wx::gettext('Error'),
164
 
                        Wx::wxOK,
 
164
                        Wx::OK,
165
165
                        $self,
166
166
                );
167
167
                return;
181
181
        Wx::MessageBox(
182
182
                sprintf( '%s', $rc ),
183
183
                Wx::gettext('Error'),
184
 
                Wx::wxOK,
 
184
                Wx::OK,
185
185
                $self,
186
186
        );
187
187
}
192
192
        Wx::MessageBox(
193
193
                sprintf( '%s', $rc ),
194
194
                Wx::gettext('Error'),
195
 
                Wx::wxOK,
 
195
                Wx::OK,
196
196
                $self,
197
197
        );
198
198
}
203
203
        Wx::MessageBox(
204
204
                sprintf( '%s', $rc ),
205
205
                Wx::gettext('Error'),
206
 
                Wx::wxOK,
 
206
                Wx::OK,
207
207
                $self,
208
208
        );
209
209
}
214
214
        Wx::MessageBox(
215
215
                sprintf( '%s', $rc ),
216
216
                Wx::gettext('Error'),
217
 
                Wx::wxOK,
 
217
                Wx::OK,
218
218
                $self,
219
219
        );
220
220