1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
|
2000-12-22 JP Rosevear <jpr@helixcode.com>
* e-calendar-item.h: add prototypes
* e-calendar-item.c (e_calendar_item_init): Set max_days_selected to
1 and days_to_start_week_selection to -1 as documented in header
(e_calendar_item_set_arg): use new accessor methods
(e_calendar_item_get_arg): ditto
(e_calendar_item_get_max_days_sel): accessor
(e_calendar_item_set_max_days_sel): ditto
(e_calendar_item_get_days_start_week_sel): ditto
(e_calendar_item_set_days_start_week_sel): ditto
(e_calendar_item_class_init): add display_popup argument
(e_calendar_item_init): initialize display_popup member
(e_calendar_item_get_arg): get display_popup member
(e_calendar_item_set_arg): set display_popup member
(e_calendar_item_button_press): only show the popup menu if the
member is set
(e_calendar_item_get_display_popup): acessor
(e_calendar_item_set_display_popup): ditto
2000-12-14 Federico Mena Quintero <federico@helixcode.com>
* e-dateedit.h: #include <time.h>
2000-12-08 JP Rosevear <jpr@helixcode.com>
* e-calendar.c (e_calendar_destroy): Call the parent class destroyer
as well
2000-10-26 Damon Chaplin <damon@helixcode.com>
* e-dateedit.[hc]: updated to emit "changed" when appropriate, which
turned out to be amazingly difficult :(
Also added e_date_edit_get/set_date() to get/set just the date.
Added e_date_edit_date_is_valid() & e_date_edit_time_is_valid() so
you can check if the user has tried to enter an invalid date.
(All the get_date/time functions return the last valid date entered.)
* test-dateedit.c: updated a bit.
2000-11-02 Federico Mena Quintero <federico@helixcode.com>
* e-dateedit.h (EDateEditClass): Removed the "time_changed"
signal, since it was never being emitted in the first place. Time
values *are* both date and time together anyways, so whenever one
changes we should notify about the whole date/time value being
changed.
Renamed the remaining "date_changed" signal to just "changed".
* e-dateedit.c (e_date_edit_class_init): Do not create the
"time_changed" signal; rename the other one to "changed".
(set_time): Moved the core functionality from
e_date_edit_set_time() to here. This function just sets the
widgets' values without emitting any signals.
(e_date_edit_set_time): Emit the "changed" signal unconditionally.
This is to be consistent with the rest of the GTK+ widgets, and it
actually makes writing client code easier.
(e_date_edit_new): Use set_time().
(on_date_popup_now_button_clicked): Do not emit the signal here.
(on_date_popup_none_button_clicked): Likewise.
(e_date_edit_set_time_of_day): Emit the signal, since we do not
call e_date_edit_set_time().
2000-10-30 Kjartan Maraas <kmaraas@gnome.org>
* e-calendar-item.c: #include <string.h> to get rid of warning.
* e-clipped-label.c: Same here.
2000-10-27 Federico Mena Quintero <federico@helixcode.com>
* e-dateedit.c (e_date_edit_destroy): Do not unref the cal_popup
since we already destroyed it.
2000-10-11 Damon Chaplin <damon@helixcode.com>
* e-calendar-item.c (e_calendar_item_recalc_sizes): fixed to
recalculate min_cell_width/height in case the show_week_numbers option
is changed.
* e-dateedit.c: added support for hiding the date field, and added
get/set_time_of_day() functions to get/set just the time.
2000-09-30 Damon Chaplin <damon@helixcode.com>
* e-calendar-item.c:
* e-dateedit.c: better i18n of strftime strings.
2000-09-29 Ettore Perazzoli <ettore@helixcode.com>
* e-title-bar.c: New member `pin_gtk_pixmap' in
`ETitleBarPrivate'. Signal "close_button_clicked" renamed to
"button_clicked". Signal "title_button_press_event" renamed to
"label_button_press_event".
(init): Init new members.
(close_button_realize_cb): Create the pin pixmap. Call
`show_and_hide_pixmaps_according_to_mode()'.
(e_title_bar_show_close_button): Renamed to
`e_title_bar_show_button'.
(e_title_bar_get_button_mode): New.
(e_title_bar_set_button_mode): New.
2000-09-23 Damon Chaplin <damon@helixcode.com>
* e-calendar.c: use pixmaps instead of GtkArrows to look better.
Also set the canvas window's background when realized so that we can
set the button reliefs to none.
2000-09-22 Damon Chaplin <damon@helixcode.com>
* test-dateedit.c: updated a bit, adding a few EDateEdits with
different options.
* e-calendar-item.c (e_calendar_item_set_selection): aborted any
current selection operation and initialize all of the selection fields.
(e_calendar_item_unmap): new function to abort any current selection
operation. Otherwise GnomeCanvas gets in a muddle about grabs.
* e-dateedit.c: marked some strftime()/strptime() format strings for
translation and used "%m/%d/%Y" instead of "%x" so we get the complete
year number. Also changed e_date_edit_get_time() so it returns -2 if
it can't parse the date or time, and -1 if it is explicitly set to
None.
(e_date_edit_parse_date): new function to parse the date string and
add on the current century if a year of 0-99 is entered.
2000-09-21 Damon Chaplin <damon@helixcode.com>
* e-dateedit.c (on_date_button_clicked): only check return of strptime
for NULL. It should now select the correct day set in the popup.
* e-calendar.c:
* e-calendar-item.c:
* test-calendar.c: removed support for buttons within the ECalendar.
It is cleaner to add them outside it, as EDateEdit does.
2000-09-18 Dan Winship <danw@helixcode.com>
* e-dateedit.c (_XOPEN_SOURCE): set this to 4 to specify how much
X/Open we want with that.
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c:
Fixed the #include lines to deal properly with gal.
* e-scroll-frame.c, e-scroll-frame.h: Moved to gal.
2000-09-11 Damon Chaplin <damon@helixcode.com>
* Makefile.am (libemiscwidgets_a_SOURCES): added e-dateedit.[hc]
and the test-dateedit app.
* e-dateedit.[hc]: new widget to use instead of GnomeDateEdit. It
uses the new ECalendar widget for the calendar and also supports
"None", "Today" and "Now" buttons, and goes away with a single click.
* test-dateedit.c: app to test the EDateEdit widget.
* e-calendar-item.c: updated to support the EDateEdit better,
mainly by adding the "move_selection_when_moving" arg so we can turn
it off to keep the same day selected when changing the months shown.
2000-09-05 Damon Chaplin <damon@helixcode.com>
* e-calendar-item.c (e_calendar_item_draw_month): make sure we get
the start_weekday since we need it for draw_days(). Fixes a drawing
bug.
2000-08-31 Damon Chaplin <damon@helixcode.com>
* e-calendar-item.c (e_calendar_item_button_press):
(e_calendar_item_button_release): grab/ungrab the pointer so we
always get the button_release event.
2000-08-30 Damon Chaplin <damon@helixcode.com>
* e-calendar-item.[hc]:
* e-calendar.[hc]: Updated.
2000-08-10 Christopher James Lahey <clahey@helixcode.com>
* e-calendar-item.c, e-calendar.c: Fixed some warnings.
2000-07-25 Damon Chaplin <damon@helixcode.com>
* e-calendar-item.h:
* e-calendar.[hc]: new widget and canvas item to replace GtkCalendar.
Not quite finished yet.
2000-07-21 Ettore Perazzoli <ettore@helixcode.com>
* e-title-bar.c (e_title_bar_set_title): We have a `EClippedLabel',
not a `GtkLabel' here: use the right function to change the text.
2000-07-12 Christopher James Lahey <clahey@helixcode.com>
* e-scroll-frame.c: Tried rearranging the casts to try for a more
correct computation.
2000-07-08 Dan Winship <danw@helixcode.com>
* e-scroll-frame.c (e_scroll_frame_add): comment out true but
confused warning about non-scrollable widgets until Chris and/or
Federico fix this correctly.
(e_scroll_frame_size_allocate): If the available space for the
child is less than the width/height of the frame, give the child
an allocation of 0 rather than some small negative number cast to
unsigned.
2000-07-05 Dan Winship <danw@helixcode.com>
* Makefile.am (INCLUDES): Set G_LOG_DOMAIN=__FILE__ rather than
"e-title-bar" in all three widgets.
2000-06-13 Anders Carlsson <andersca@gnu.org>
* e-scroll-frame.c (e_scroll_frame_button_press): Control does
horizontal scrolling, a la gimp.
2000-06-11 Anders Carlsson <andersca@gnu.org>
* e-scroll-frame.c (e_scroll_frame_button_press): Add support
for mouse wheel scrolling in EScrollFrame.
2000-06-10 Ettore Perazzoli <ettore@helixcode.com>
* e-title-bar.c (close_button_realize_cb): Unref the pixmap and
the mask.
|