~ubuntu-branches/ubuntu/quantal/texmacs/quantal

« back to all changes in this revision

Viewing changes to src/Plugins/Widkit/Attribute/attribute_widget.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Atsuhito KOHDA, Kamaraju Kusumanchi, kohda
  • Date: 2009-04-26 19:35:14 UTC
  • mfrom: (1.1.10 upstream) (4.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090426193514-9yo3oggdslgdls4b
Tags: 1:1.0.7.2-1
[Kamaraju Kusumanchi <kamaraju@gmail.com>]
* New upstream release
* texmacs crashes if /usr/share/texmacs/TeXmacs/misc/pixmaps/unknown.ps
  is not present. Do not remove it. (Closes: #484073, #497021)
* update patches 03_mupad.dpatch, 04_axiom.dpatch, 11-desktop-file.dpatch
* fix the mime problem in gnome. Thanks to Andrea Gamba for the fix.
[kohda]
* Refined a fix for the mime problem in gnome a bit.
* Try to fix /bin/sh problem (debian/fixsh) but it is not complete fix yet.
* Try to fix hard coded settings for ipa fonts(patches/09_ipa.dpatch), 
  especially for Debian where no ipa fonts exist yet.
* Fixed obsolete Build-Depends: changed libltdl3-dev to 
  libltdl-dev | libltdl7-dev (the latter for Ubuntu?)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
*              setting and retrieving attributes of a widget
6
6
* COPYRIGHT  : (C) 1999  Joris van der Hoeven
7
7
*******************************************************************************
8
 
* This software falls under the GNU general public license and comes WITHOUT
9
 
* ANY WARRANTY WHATSOEVER. See the file $TEXMACS_PATH/LICENSE for more details.
10
 
* If you don't have this file, write to the Free Software Foundation, Inc.,
11
 
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
8
* This software falls under the GNU general public license version 3 or later.
 
9
* It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
 
10
* in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
12
11
******************************************************************************/
13
12
 
14
13
#include "Widkit/attribute_widget.hpp"
32
31
 
33
32
void
34
33
attribute_widget_rep::handle_get_integer (get_integer_event ev) {
35
 
  fatal_error ("Could not get integer attribute " * ev->which);
 
34
  WK_FAILED ("could not get integer attribute " * ev->which);
36
35
}
37
36
 
38
37
void
39
38
attribute_widget_rep::handle_get_double (get_double_event ev) {
40
 
  fatal_error ("Could not get double attribute " * ev->which);
 
39
  WK_FAILED ("could not get double attribute " * ev->which);
41
40
}
42
41
 
43
42
void
44
43
attribute_widget_rep::handle_get_string (get_string_event ev) {
45
 
  fatal_error ("Could not get string attribute " * ev->which);
 
44
  WK_FAILED ("could not get string attribute " * ev->which);
46
45
}
47
46
 
48
47
void
49
48
attribute_widget_rep::handle_get_coord1 (get_coord1_event ev) {
50
 
  fatal_error ("Could not get coord1 attribute " * ev->which);
 
49
  WK_FAILED ("could not get coord1 attribute " * ev->which);
51
50
}
52
51
 
53
52
void
54
53
attribute_widget_rep::handle_get_coord2 (get_coord2_event ev) {
55
 
  fatal_error ("Could not get coord2 attribute " * ev->which);
 
54
  WK_FAILED ("could not get coord2 attribute " * ev->which);
56
55
}
57
56
 
58
57
void
59
58
attribute_widget_rep::handle_get_coord3 (get_coord3_event ev) {
60
 
  fatal_error ("Could not get coord3 attribute " * ev->which);
 
59
  WK_FAILED ("could not get coord3 attribute " * ev->which);
61
60
}
62
61
 
63
62
void
64
63
attribute_widget_rep::handle_get_coord4 (get_coord4_event ev) {
65
 
  fatal_error ("Could not get coord4 attribute " * ev->which);
 
64
  WK_FAILED ("could not get coord4 attribute " * ev->which);
66
65
}
67
66
 
68
67
/******************************************************************************
71
70
 
72
71
void
73
72
attribute_widget_rep::handle_set_integer (set_integer_event ev) {
74
 
  fatal_error ("Could not set integer attribute " * ev->which);
 
73
  WK_FAILED ("could not set integer attribute " * ev->which);
75
74
}
76
75
 
77
76
void
78
77
attribute_widget_rep::handle_set_double (set_double_event ev) {
79
 
  fatal_error ("Could not set double attribute " * ev->which);
 
78
  WK_FAILED ("could not set double attribute " * ev->which);
80
79
}
81
80
 
82
81
void
83
82
attribute_widget_rep::handle_set_string (set_string_event ev) {
84
 
  fatal_error ("Could not set string attribute " * ev->which);
 
83
  WK_FAILED ("could not set string attribute " * ev->which);
85
84
}
86
85
 
87
86
void
88
87
attribute_widget_rep::handle_set_coord1 (set_coord1_event ev) {
89
 
  fatal_error ("Could not set coord1 attribute " * ev->which);
 
88
  WK_FAILED ("could not set coord1 attribute " * ev->which);
90
89
}
91
90
 
92
91
void
93
92
attribute_widget_rep::handle_set_coord2 (set_coord2_event ev) {
94
 
  fatal_error ("Could not set coord2 attribute " * ev->which);
 
93
  WK_FAILED ("could not set coord2 attribute " * ev->which);
95
94
}
96
95
 
97
96
void
98
97
attribute_widget_rep::handle_set_coord3 (set_coord3_event ev) {
99
 
  fatal_error ("Could not set coord3 attribute " * ev->which);
 
98
  WK_FAILED ("could not set coord3 attribute " * ev->which);
100
99
}
101
100
 
102
101
void
103
102
attribute_widget_rep::handle_set_coord4 (set_coord4_event ev) {
104
 
  fatal_error ("Could not set coord4 attribute " * ev->which);
 
103
  WK_FAILED ("could not set coord4 attribute " * ev->which);
105
104
}
106
105
 
107
106
/******************************************************************************