1 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3 More checks for the case where the overshoot is bigger than the
6 * src/hildon-pannable-area.c:
7 (hildon_pannable_draw_vscroll),
8 (hildon_pannable_draw_hscroll): with this new calculation we avoid
9 to draw the slider of the scrollbar under the other scrollbar.
10 (hildon_pannable_area_expose_event): added new checks to control
11 the drawing of the overshooting area rectangle, in case it is too
12 big for the area of the widget.
13 (hildon_pannable_area_size_allocate): add more checks to avoid
14 setting a position to the child widget outside the area.
16 2008-07-03 Alejandro G. Castro <alex@igalia.com>
18 * src/hildon-pannable-area.c
19 (hildon_pannable_area_size_allocate): Added conditions to control
20 when overshooting is bigger than the allocated space for the
21 children, this avoids negative allocations.
23 2008-07-02 Alberto Garcia <agarcia@igalia.com>
25 * doc/hildon-docs.sgml
27 * examples/Makefile.am
28 * examples/hildon-button-example.c
32 * src/hildon.h: Initial version of the new HildonButton widget,
35 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
37 * src/hildon-pannable-area.c:
38 (hildon_pannable_area_button_press_cb),
39 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
40 (hildon_pannable_area_motion_notify_cb),
41 (hildon_pannable_area_button_release_cb),
42 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
43 (hildon_pannable_area_jump_to_child):
45 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
47 2008-07-01 Alberto Garcia <agarcia@igalia.com>
49 * examples/Makefile.am
50 * examples/hildon-pannable-area-touch-grid-example.c
51 * examples/hildon-pannable-area-touch-list-example.c: Examples of
52 the Hildon Touch List and Hildon Touch Grid using the
53 HildonPannableArea widget.
55 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
57 * src/hildon-pannable-area.c,
58 (hildon_pannable_area_button_press_cb),
59 (hildon_pannable_area_refresh),
60 (hildon_pannable_area_scroll),
61 (hildon_pannable_area_motion_notify_cb),
62 (hildon_pannable_area_button_release_cb),
63 (hildon_pannable_area_expose_event),
64 (hildon_pannable_area_add),
65 (hildon_pannable_area_remove),
66 (hildon_pannable_area_realize),
67 (hildon_pannable_area_size_allocate),
68 (hildon_pannable_area_class_init),
69 (hildon_pannable_area_init),
70 (hildon_pannable_area_scroll_to_child),
71 (hildon_pannable_area_jump_to_child): Fixed the problem of
72 removing the child from the GtkBin, we have rearranged the widget
73 hierarchy, now there is no GtkAlignment which was not doing
74 anything interesting but breaking some of the assumptions of
75 GtkContainer. Now developers if they want to add a GtkAlignment
76 they could, but it is not inside the area.
78 We had to review the whole allocation/expose process, now it is
79 improved and we save at least three signals which would be saving
80 some time when rendering the widget. The allocation of the
81 scrollbars is now made in the allocate method as usual.
83 We have also added some conditions in order to control when there
84 is no child of the pannable area. Maybe we will need more work
87 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
89 * src/hildon-pannable-area.c,
90 (hildon_pannable_area_dispose): Released the fade-out timeout when
93 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
95 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
96 zero, we are going to use that property in order to deactivate the
98 (hildon_pannable_axis_scroll),
99 (hildon_pannable_area_size_allocate): Added conditions to control
100 when overshoot_max is zero. Moved the gtk_adjustment_set_value
101 call, now it is called in all situations and we can remove calls
102 in the allocate method.
103 (hildon_pannable_area_map): Control the situation when
104 overshoot_max is zero, we do not need the timeout.
105 (hildon_pannable_area_class_init): Added documentation in order to
106 point out that setting zero to overshoot_max means deactivate
109 NOTE: removed trailing whitespaces from my previous comments of
112 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
114 * src/hildon-pannable-area.c
115 (hildon_pannable_area_get_property),
116 (hildon_pannable_area_set_property),
117 (hildon_pannable_area_map),
118 (hildon_pannable_area_class_init),
119 (hildon_pannable_area_init): Add a boolean "initial-hint" property
120 to cause the widget give a hint about its panning abilities upon
123 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
125 * src/hildon-pannable-area.c: Several documentation improvements.
127 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
129 * src/hildon-program.c
130 * src/hildon-stackable-window.c: Update documentation.
132 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
134 * src/hildon-stackable-window.c (get_previous_window_if_last):
135 Renamed get_last_window()
136 (hildon_stackable_window_map, hildon_stackable_window_unmap)
137 (hildon_stackable_window_unset_program):
139 (get_previous_window_if_last):
140 Detect if the window hasn't been added to a HildonProgram.
142 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
144 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
146 * src/hildon-pannable-area.c
147 (hildon_pannable_area_button_press_cb),
148 (hildon_pannable_axis_scroll),
149 (hildon_pannable_area_scroll),
150 (hildon_pannable_area_timeout),
151 (hildon_pannable_calculate_vel_factor),
152 (hildon_pannable_area_get_property),
153 (hildon_pannable_area_set_property),
154 (hildon_pannable_area_class_init),
155 (hildon_pannable_area_init),
156 (hildon_pannable_area_scroll_to),
157 (hildon_pannable_area_jump_to),
158 (hildon_pannable_area_scroll_to_child),
159 (hildon_pannable_area_jump_to_child):
160 * src/hildon-pannable-area.h: Added the new API functions:
161 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
162 hildon_pannable_area_scroll_to_child,
163 hildon_pannable_area_jump_to_child
166 * examples/Makefile.am
167 * examples/hildon-pannable-area-example-2.c
168 * examples/hildon-pannable-area-example-3.c: Added these two new
169 examples in order to test and show how the new APIs work.
171 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
173 * examples/hildon-stackable-window-example.c (new_window):
174 * src/Makefile.am (noinst_HEADERS):
175 * src/hildon-program.c (hildon_program_go_to_root_window):
176 * src/hildon-program.h:
177 * src/hildon-stackable-window-private.h:
178 * src/hildon-stackable-window.c:
179 * src/hildon-stackable-window.h:
180 Create hildon-stackable-window-private.h
181 Move hildon_stackable_window_go_to_root_window() to HildonProgram
183 * examples/hildon-app-menu-example.c (create_menu):
184 * examples/hildon-hvolumebar-insensitive-example.c (main):
185 * examples/hildon-hvolumebar-timer-example.c (on_idle):
186 * examples/hildon-toolbar-seekbar-example.c (main):
187 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
188 * src/hildon-banner.c (hildon_banner_set_property):
189 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
190 Fix compilation warnings
192 * src/hildon-window.c:
195 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
197 * src/hildon-stackable-window.c
198 (hildon_stackable_window_unset_program):
199 Calculate correctly whether to show the previous window if the
200 last one is removed from the stack.
201 (hildon_stackable_window_go_to_root_window):
202 Send delete events starting from the topmost window.
203 Stop if one of the windows is not destroyed.
205 (hildon_stackable_window_delete_event)
206 (hildon_stackable_window_class_init):
207 Ignore the delete event if the window is not the topmost one.
209 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
211 * src/hildon-pannable-area.c
212 (hildon_pannable_area_expose_event): Fixed a problem when
213 selecting the background color of the scrollbars.
215 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
217 * examples/hildon-stackable-window-example.c
218 * src/hildon-stackable-window.c
219 * src/hildon-stackable-window.h
220 hildon_stackable_window_go_home() renamed to
221 hildon_stackable_window_go_to_root_window()
222 Send delete events to windows rather than closing them with
225 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
227 * src/hildon-pannable-area.c
228 (hildon_pannable_area_button_release_cb): Fix overshooting in
231 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
233 * src/hildon-pannable-area.c
234 (hildon_pannable_area_init): Initially show the scroll indicators.
235 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
237 Add initial effect showing the widget is pannable.
239 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
241 * src/hildon-pannable-area.c
242 (hildon_pannable_area_class_init)
243 (hildon_pannable_area_set_property)
244 (hildon_pannable_area_get_property)
245 (hildon_pannable_area_button_press_cb):
246 New 'velocity_fast_factor' property to decide which velocity is
249 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
251 * src/hildon-pannable-area.c
252 (hildon_pannable_draw_hscroll)
253 (hildon_pannable_draw_vscroll):
254 Use float variables to calculate the size of the scrollbars to
255 avoid error propagation and resizing during scrolling.
257 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
259 * src/hildon-pannable-area.c
260 (hildon_pannable_draw_vscroll)
261 (hildon_pannable_draw_hscroll):
262 Define a minimum size for the scroll bars
264 * src/hildon-stackable-window.c
265 (hildon_stackable_window_go_home): Fix compilation warning
266 (get_last_window): Minor optimizations
267 (hildon_stackable_window_class_init): Fix initialization of
270 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
272 * src/hildon-stackable-window.c: Fixed typos in doc
274 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
276 * src/hildon-pannable-area.c
277 (hildon_pannable_area_scroll):
278 Calculate here whether we need to scroll instead of using the booleans
279 that tell us whether to /draw/ the scrolling bars.
281 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
283 * src/hildon-app-menu.h
285 * src/hildon-app-menu.c
286 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
287 multiple filter groups related code and API. Now we support only
289 * examples/hildon-app-menu-example.c:
291 Update to reflect API changes.
293 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
295 * src/hildon-stackable-window.c
296 (hildon_stackable_window_class_init):
297 Add hildon_stackable_window_realize.
298 (hildon_stackable_window_realize):
299 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
300 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
301 to apply theming and behavior specific to HildonStackableWindow
304 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
306 * src/hildon-note.c (hildon_note_button_release):
307 Close information notes also when tapping on them
309 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
311 Added BOUNCE_STEPS define to control the overshoot effect. Removed
312 ELASTICITY, refactor and review, fix some issues with drawing
315 * src/hildon-pannable-area.c:
316 (hildon_pannable_area_button_press_cb): removed the conditions to
317 avoid clicks when overshooting. It is not required
319 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
320 define. Refatored and reviewed the code, now we do not need to
321 manage velocity in motion_notify.
323 (hildon_pannable_area_motion_notify_cb): We have moved the code
324 that controls the area_scroll to the axis_scroll function and get
325 rid of duplicated code.
327 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
329 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
331 (hildon_pannable_draw_vscroll),
332 (hildon_pannable_draw_hscroll): Fixed the problems with the
333 scrollbar drawing, now we do not use two surfaces, it is easier
336 (hildon_pannable_area_get_property): Style modification.
338 (hildon_pannable_area_class_init): Changed some default values.
340 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
342 * src/hildon-stackable-window.c: Fix some typos in the
345 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
347 * src/hildon-dialog.c:
348 Change indentation style
351 (hildon_note_button_release):
352 Use root coordinates to check if the release event happened
355 * src/hildon-app-menu.c
356 (hildon_app_menu_button_release):
357 Remove unnecessary check
359 * examples/hildon-app-menu-example.c
361 Add cast to fix warning
363 * src/hildon-app-menu.c
364 (hildon_app_menu_class_init):
365 New inner-border style property.
366 Set all default spacings to 16
367 (hildon_app_menu_init):
368 Use vertical-spacing to set the space between filter buttons and
369 regular menu buttons.
370 Set the default container border using the inner-border value.
372 * examples/hildon-app-menu-example.c
374 Don't set the menu border explicitly, now we have the inner-border
375 style property for that.
377 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
379 * src/hildon-app-menu.c (hildon_app_menu_init):
380 Make the window modal
382 * src/hildon-note.c (hildon_note_map)
383 * src/hildon-app-menu.c (hildon_app_menu_map):
384 Destroy the grab window if we're unable to grab the pointer
386 * src/hildon-app-menu-private.h
387 * src/hildon-app-menu.c
388 (hildon_app_menu_init, hildon_app_menu_finalize)
389 (hildon_app_menu_map, hildon_app_menu_unmap)
390 (hildon_app_menu_button_release)
391 (grab_transfer_window_get):
392 Bring back the grab window
393 (hildon_app_menu_realize):
394 Decorate the window, set WM hint for Matchbox
396 * src/hildon-note.c (hildon_note_realize):
397 * src/hildon-banner.c (hildon_banner_realize):
398 Add WM hints for Matchbox
400 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
402 * src/hildon-app-menu-private.h
403 * src/hildon-app-menu.c
404 (hildon_app_menu_init, hildon_app_menu_finalize)
405 (hildon_app_menu_map, hildon_app_menu_unmap)
406 (hildon_app_menu_button_release):
407 Remove the grab window, it's not needed anymore
409 * src/hildon-program.c
410 Fixed typo in documentation
412 * src/hildon-app-menu.h
413 * src/hildon-app-menu.c
414 * examples/hildon-app-menu-example.c
415 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
417 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
420 Added new transfer_window and close_if_pressed_outside private
422 (hildon_note_rebuild):
423 Don't add a cancel button to the information note. It will be
424 closed when tapping outside
425 Remove the comment about the OK button in the documentation
426 (hildon_note_realize):
427 Set the notification type hint
428 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
429 Grab/ungrab pointer and keyboard if the note has to be closed when
431 (hildon_note_button_release):
432 Close the note when tapping outside (if applicable)
434 * src/hildon-app-menu.c
435 Grab/ungrab pointer and keyboard on map/unmap
436 (hildon_app_menu_button_release, hildon_app_menu_class_init):
437 Close the menu on button release, not button press
439 * src/hildon-banner.c
440 (hildon_banner_set_property)
441 (hildon_banner_check_position):
442 Make the banner use the full width of the screen
443 (hildon_banner_show_information)
444 (hildon_banner_show_information_with_markup):
445 Don't display an icon by default
447 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
449 Added fading scrollbars and adapted all the overshooting code to
450 horizontal scrolling. We have also fixed bugs with overshooting
451 and current fading implementation.
453 * src/hildon-pannable-area.c
454 (hildon_pannable_area_scroll_indicator_fade): Time out function
455 used to change the transparency of the scrollbars.
457 (hildon_pannable_area_button_press_cb): Added horizontal overshot
458 control and fixed a problem with fading, we now remove the fade
459 timeout before adding a new one.
461 (hildon_pannable_axis_scroll):
462 (hildon_pannable_area_scroll):
463 (hildon_pannable_area_timeout): Added this functions so we can use
464 the scroll code both for vertical and horizontal.
466 (hildon_pannable_area_motion_notify_cb):
467 (hildon_pannable_area_button_release_cb): Added the horizontal
468 scrolling control, fixed a problem with the overshooting timeout.
470 (rgb_from_gdkcolor): Added this function, it is used in the cairo
471 painting of the scrolls.
473 (hildon_pannable_draw_vscroll):
474 (hildon_pannable_draw_hscroll):
475 (hildon_pannable_area_expose_event):
476 Draw both scrollbars and rectangles in the overshooting area.
478 (hildon_pannable_area_get_property):
479 (hildon_pannable_area_set_property):
480 Modified the overshoot property to overshoot_max
482 (hildon_pannable_area_map):
483 Replaced the comments symbols.
485 (hildon_pannable_area_size_allocate):
486 (hildon_pannable_area_class_init):
487 (hildon_pannable_area_init): Added horizontal scroll, fading
488 effect properties, fixed a problem when overshooting in the bottom
491 * examples/hildon-pannable-area-example.c:
492 (get_sawtooth_label): Now we use smaller sawtooths, the effect
493 looks better in the example.
495 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
497 * src/hildon-window.c
498 * src/hildon-window.h
499 (hildon_window_class_init)
500 (hildon_window_unset_program)
501 (hildon_window_unset_program_real):
502 Make unset_program a virtual function
504 * src/hildon-stackable-window.c
505 * src/hildon-stackable-window.h
506 Added hildon_stackable_window_go_home()
508 * examples/Makefile.am
509 * examples/hildon-stackable-window-example.c
510 HildonStackableWindow example
512 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
514 * hildon-pannable-area.c: Added the overshoot property and removed
515 the OVERSHOOT define. Fixed an indent style error.
516 (hildon_pannable_area_motion_notify_cb):
517 (hildon_pannable_area_get_property):
518 (hildon_pannable_area_set_property): Add overshoot property.
520 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
523 (hildon_pannable_area_class_init): Installed the new property.
525 * hildon-pannable-area-example.c: Added a sawtooth function, this
526 way it is easier to check the movement in the pannable.
527 (get_sawtooth_label): Added this function.
528 (main): Now we get the labels from the new get_sawtooth_label
531 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
533 * src/hildon-app-menu.h
534 * src/hildon-app-menu.c
535 Renamed API variables for consistency
537 (hildon_app_menu_popup): Use also the default window size to
538 decide where to place the menu
540 (hildon_app_menu_init, hildon_app_menu_class_init): New
541 external-border style property
543 2008-05-26 Michael Natterer <mitch@imendio.com>
545 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
546 widget_class->tap_and_hold_setup signal slot doesn't exist any
547 longer, stop overriding it.
549 (hildon_time_editor_init): g_signal_connect() to the
550 tap-and-hold-setup signal instead.
552 (hildon_time_editor_entry_keypress): add cast to fix warning.
554 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
556 * doc/hildon-docs.sgml
558 * examples/Makefile.am
559 * examples/hildon-app-menu-example.c
561 * src/hildon-app-menu-private.h
562 * src/hildon-app-menu.c
563 * src/hildon-app-menu.h
565 New HildonAppMenu widget
567 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
569 Rearranged the inheritance of the pannable area, now it inherits
570 from GtkBin. This will allow us to control the event_window and
571 the allocation process of the widget, required for some effects.
573 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
574 GtkBin structures. * src/hildon-pannable-area.c: Added the
575 event_window variable.
576 (hildon_pannable_area_button_press_cb):
577 (hildon_pannable_area_button_release_cb):
578 (hildon_pannable_area_motion_notify_cb):
579 Changed the signature of the method, now we override the event
580 callback instead of connecting to the signal.
582 (hildon_pannable_area_realize):
583 (hildon_pannable_area_unrealize):
584 (hildon_pannable_area_map):
585 (hildon_pannable_area_unmap):
586 (hildon_pannable_area_size_allocate):
587 Added functions to control the widget construction. We add a
588 INPUT_ONLY window and we put it over the widgets inside the
589 container, this event_window handles the events.
591 (hildon_pannable_area_class_init):
592 Replaced the signal connections with overrides of the event
595 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
597 Bouncing effect added when touching the borders, you can change
598 the elasticity of the border changing the ELASTICITY define.
600 * src/hildon-pannable-area.c: Added ELASTICITY define.
601 (hildon_pannable_area_timeout): Added inverse velocity when
602 touching the border of the child widget, that causes a bounce.
604 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
606 Improved performance, we now do not go to the X server in order to
607 get the list of window children. Apparently the effect is the
608 same, we have to be careful and check if this breaks something in
611 * src/hildon-pannable-area.c:
612 (get_ordered_children): Removed this function.
613 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
614 the children windows function with gdk_window_get_children.
616 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
618 * src/hildon-pannable-area.c:
619 (hildon_pannable_area_dispose): Fixed a crash when closing the
620 window and kinetics is activated.
622 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
624 * src/hildon-pannable-area.h
625 * src/hildon-pannable-area.c
626 Changed indentation style to meet the one used in Hildon
628 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
630 Reviewed the interaction of the AUTO mode, now we use the time
631 attribute of the events and calculate the velocity in the motion,
632 doing a gimp like calculation. The velocity is calculated in each
633 motion event using the last velocity and the current one, the
634 SMOOTH_FACTOR controls the percentage of the new velocity we use.
636 * src/hildon-pannable-area.c: Replaced the time based algorithm
638 (hildon_pannable_area_motion_notify_cb): now we do not launch the
639 timeout for the AUTO mode when we are still moving the cursor. We
640 added also the velocity calculation in this function.
641 (hildon_pannable_area_button_release_cb): launch the timeout in
642 case we are in AUTO mode. There are still some constants here that
643 come from the old implementation that should be reviewed and
646 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
648 * doc/hildon-docs.sgml
651 * src/hildon-stackable-window.c
652 * src/hildon-stackable-window.h
654 New HildonStackableWindow widget
656 * examples/hildon-dialog-example.c
657 * examples/hildon-pannable-area-example.c
660 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
662 * src/hildon-dialog.c
663 (hildon_dialog_new_with_buttons): New constructor.
665 * examples/hildon-dialog-example.c
666 (main): Update the example to use the new
667 hildon_dialog_new_with_buttons().
669 * examples/hildon-pannable-area-example.c
670 (main): Update example.
672 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
674 * doc/hildon-docs.sgml
676 Added HildonPannableArea to the documentation.
678 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
680 * doc/visual_index.xml
681 Fix reference to HildonLoginDialog in documentation
683 * doc/hildon-docs.sgml
685 * examples/Makefile.am
686 * examples/hildon-dialog-example.c
688 * src/hildon-dialog.c
689 * src/hildon-dialog.h
691 New HildonDialog widget.
693 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
695 * src/hildon-pannable-area.c
696 Merge latest changes (r4318, r4342) from libmokoui trunk
698 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
700 * examples/Makefile.am
701 * examples/hildon-pannable-area-example.c
703 * src/hildon-pannable-area.c
704 * src/hildon-pannable-area.h
706 New HildonPannableArea widget.
708 2008-04-15 18:05:19 <timj@imendio.com>
710 * src/hildon-banner.c: revert the recent change, that introduced
711 gtk_window_present() calls. this reopens:
712 Bug 78481 - [freetest] information banners are hidden under browser menu
713 But resolves another variant of:
714 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
716 2008-04-15 13:21:13 <timj@imendio.com>
718 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
719 recreated its layout, spotted by Kris. this fixes all remaining
720 artefacts and stability issues with the banner code. in particular:
721 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
723 2008-04-14 16:52:59 <timj@imendio.com>
725 * src/hildon-banner.c: guard force_to_wrap_truncated() against
726 operating on unrealized widgets, fixes:
727 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
729 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
731 2008-04-09 Kristian Rietveld <kris@imendio.com>
733 Fixes: NB#77775: Media Player, Save Now playing list, too long name
734 makes banner disappear.
735 Fixes: NB#79182: info banner flickering with certain message lengts.
737 * src/hildon-banner.c (hildon_banner_constructor),
738 (hildon_banner_init), (hildon_banner_set_text),
739 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
740 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
741 FALSE, reset size requests of label and banner,
742 (force_to_wrap_truncated): when the text is too wide, always enforce
743 the maximum possible width instead of recalculating it from the
744 layout; enforce the maximum banner height of 3 lines,
745 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
746 nicer wrapping and no truncated chars if space gets tight.
748 * src/hildon-banner-private.h: add has_been_wrapped and
749 has_been_truncated fields.
751 2008-04-07 Sven Herzberg <sven@imendio.com>
753 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
754 local values in hildon_date_editor_size_allocate
756 * src/hildon-date-editor.c: moved the real allocation code into the
759 2008-04-07 Sven Herzberg <sven@imendio.com>
761 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
762 local values in hildon_date_editor_size_allocate
764 * src/hildon-date-editor.c: merged the two if() branches together
766 2008-04-07 Sven Herzberg <sven@imendio.com>
768 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
769 local values in hildon_date_editor_size_allocate
771 * src/hildon-date-editor.c: changed the arguments of the if()
774 2008-04-07 Sven Herzberg <sven@imendio.com>
776 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
777 local values in hildon_date_editor_size_allocate
779 * src/hildon-date-editor.c: split the calculation of the allocation
780 from the real allocation
782 2008-03-27 Michael Natterer <mitch@imendio.com>
784 Fixes: NB#81696: The passcode is not overwritten even after
787 * src/hildon-code-dialog.c
788 (hildon_code_dialog_button_clicked)
789 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
790 because that doesn't overwrite selected text. Instead, emit the
791 "commit" signal on the entry's im_context so the entry's normal
792 insert logic is triggered. Set the cursor to the end of the entry
793 after each insert operation so that we *only* insert in the middle
794 of the text if something was selected.
796 2008-03-27 Michael Natterer <mitch@imendio.com>
798 Enable fixing: NB#79916 and NB#79918: The help topic for Color
799 selector cannot be opened
801 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
802 when the popup color selector is created. Please connect to this
803 signal in order to set the dialog's help ID.
805 2008-03-25 Sven Herzberg <sven@imendio.com>
807 Fixes: MB#1212: Hide info banners (infoprints) on click
809 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
810 extracted the close event simulation into an extra function
811 (hildon_banner_button_press_event): simulate a close event and destroy
812 the widget if the event wasn't handled
813 (hildon_banner_class_init): added the button_press_event handler
814 (hildon_banner_init): added button-press events to the widget
816 2008-03-25 Sven Herzberg <sven@imendio.com>
818 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
819 Patch from: Mohammad Anwari <mdamt@maemo.org>
821 * src/hildon-banner.c: let the HildonBanners pop up on the left side
822 instead of the right in RTL mode
823 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
824 breadcrumb button list in RTL mode
825 * src/hildon-caption.c: mirror the appearance of the caption widget in
827 * src/hildon-date-editor.c: mirror appearance of the date editor in
829 * src/hildon-time-editor.c: mirror appearance of the time editor in
831 * src/hildon-window.c: fix the position of the popup in RTL mode
833 2008-03-25 Sven Herzberg <sven@imendio.com>
835 Amendment to the fix of NB#22072. Fix compilation.
837 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
839 2008-03-19 Sven Herzberg <sven@imendio.com>
841 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
844 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
845 timeout id properly when the timeout will disappear this leaves no
846 artifacts around in the destroy(); there will only be the timeout
847 created by hildon_banner_ensure_timeout() and adding a new timeout
848 will also work if the timeout gets removed because the timeout_handler
851 2008-03-19 Michael Natterer <mitch@imendio.com>
853 Fixes: NB#79791: Cannot set focus to Master volume using stylus
855 * src/hildon-volumebar.c
856 * src/hildon-vvolumebar.c
857 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
858 the widget becomes focussable at all.
860 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
861 set the focus to wither the mute button or the volumebar.
863 Remove own "can-focus" property and instead listen to
864 notify::can-focus in order to update the widget's state.
866 Implement GtkWidget::focus() and make sure we can also *leave* the
867 widget, not only enter it, depending on volumebar orientation and
868 requested focus direction.
870 Clean up set_mute() to cooperate nicely with all the above.
872 2008-03-04 Michael Natterer <mitch@imendio.com>
874 Fixes: NB#78481: information banners are hidden under browser menu
876 * src/hildon-banner.c: call gtk_window_present() on the banners so
877 they are risen if they are already visible.
879 2008-03-03 Sven Herzberg <sven@imendio.com>
881 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
883 * examples/hildon-window-menu-example.c: (main): extended the window
884 menu example to serve as a testcase for automatically added
885 accelerator groups, too
886 * src/hildon-window.c: (hildon_window_add_accel_group),
887 (hildon_window_set_menu): added patch by Tommi Komulainen
889 2008-03-03 Sven Herzberg <sven@imendio.com>
891 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
893 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
894 knowledge about the border allocators used within GTK+
896 2008-02-26 Sven Herzberg <sven@imendio.com>
898 Fixes: MB#2981: Build with asserts broken
900 * src/hildon-date-editor.c,
901 * src/hildon-number-editor.c,
902 * src/hildon-time-editor.c,
903 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
904 the proper GType instance check
906 2008-02-25 Sven Herzberg <sven@imendio.com>
908 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
910 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
911 * examples/hildon-window-menu-example.c: (main): explicitly show
913 * src/hildon-window.c:
914 (hildon_window_set_main_menu): moved most of the code from set_menu()
915 to this place; skipped the call to gtk_widget_show_all(); also didn't
916 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
917 (hildon_window_set_menu): removed most of the code, just keep the
918 questionable gtk_widget_show_all()
919 * src/hildon-window.h: added the new function and deprecate the old
922 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
928 * debian/changelog: Updating.
930 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
933 * pkgconfig/Makefile.am:
934 * pkgconfig/hildon.pc.in:
937 Do not use PACKAGE_VERSION_MAJOR as the API revision,
938 use newly created API_MAJOR_VERSION.
940 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
946 * debian/changelog: Updating.
948 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
950 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
952 Add outer_border style property, we use it but don't define it (!).
956 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
958 * examples/hildon-bread-crumb-trail-example.c (main):
962 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
964 Fix logic for the bread crumb trail node removal.
968 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
974 * debian/changelog: Updating.
976 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
978 Patch by Alejandro to get/set passwords dialogs accesibility.
980 * hildon-1/src/hildon-get-password-dialog.c:
981 * hildon-1/src/hildon-set-password-dialog.c:
982 Set atk_set_name to the passwd entries in order to allow
983 accessibility by name on this entries.
985 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
990 * debian/control: Updating gtk dep.
992 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
994 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
995 USE_MAEMO_GTK is enabled.
997 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
999 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
1000 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
1002 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1008 * debian/changelog: Updating.
1010 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1012 * examples/Makefile.am:
1013 * examples/hildon-logical-color-example.c:
1014 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
1015 applied + adding a test case. Fixes: NB#71660.
1017 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
1019 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
1020 to be visible, fixes warning on map for windows without toolbars.
1022 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
1024 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
1025 2.11.0, add a check for that besides the MAEMO_GTK check.
1027 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1033 * debian/changelog: Updating.
1035 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1037 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
1038 visibility. Fixes: NB#70842 and MB#615.
1040 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1042 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
1043 set the separator as no-show-all so it doesn't unintentionally appear when
1044 someone does a show_all.
1046 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1048 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
1049 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
1050 toplevel item. Fixes: NB#62031
1052 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
1054 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
1055 fix the name of the function in the docs.
1057 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1063 * debian/changelog: Updating.
1065 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1067 * examples/hildon-banner-long-example.c: Adding a test-case for long
1070 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
1072 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1074 * src/hildon-color-chooser-dialog.c:
1075 * src/hildon-color-chooser.c:
1076 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
1077 memory leaks in font selector and color selector. Fixes: NB#70499 and
1080 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
1082 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
1084 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1086 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
1087 little bit bigger. Fixes: #NB63694.
1089 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1095 * debian/changelog: Updating.
1097 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1100 * doc/hildon-docs.sgml:
1101 * doc/images/bread-crumb-trail.png:
1102 * doc/images/calendar-popup.png:
1103 * doc/images/caption.png:
1104 * doc/images/code-dialog.png:
1105 * doc/images/color-button.png:
1106 * doc/images/color-chooser-dialog.png:
1107 * doc/images/color-chooser.png:
1108 * doc/images/controlbar.png:
1109 * doc/images/date-editor.png:
1110 * doc/images/font-selection-dialog.png:
1111 * doc/images/get-password-dialog.png:
1112 * doc/images/hvolumebar.png:
1113 * doc/images/login-dialog.png:
1114 * doc/images/note.png:
1115 * doc/images/number-editor.png:
1116 * doc/images/range-editor.png:
1117 * doc/images/seekbar.png:
1118 * doc/images/set-password-dialog.png:
1119 * doc/images/sort-dialog.png:
1120 * doc/images/time-editor.png:
1121 * doc/images/time-picker.png:
1122 * doc/images/vvolumebar.png:
1123 * doc/images/weekday-picker.png: Adding the new generated widget shots.
1124 Adding the bread-crumb-trial and helpers to the documentation.
1126 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1128 * examples/hildon-find-toolbar-example.c:
1129 * src/hildon-find-toolbar.c:
1130 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
1131 actually continue firing the other handlers if connected. Adding a new
1133 hildon_find_toolbar_get_last_index that gets the index of the most
1134 recently added (last) item. Fixes: NB#52301.
1136 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1138 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
1139 behaviour. Fixes: NB#68610.
1141 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1143 * src/hildon-banner.c: Actually reverting the previous change. It somehow
1146 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1148 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
1149 when realizing the banner. Should make the infonbanner effect a bit more
1152 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1154 * src/hildon-volumebar.c:
1155 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
1156 hildon_volumebar_set_range_insensitive_message and
1157 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
1159 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1161 * src/hildon-window.c: Fixing the border freeing on destroy.
1163 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1165 * src/hildon-code-dialog-private.h:
1166 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
1167 kw keyboard support in HildonCodeDialog.
1169 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1175 * debian/changelog: Updating.
1177 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1179 * src/hildon-date-editor.c:
1180 * src/hildon-number-editor.c:
1181 * src/hildon-private.c:
1182 * src/hildon-private.h:
1183 * src/hildon-time-editor.c:
1184 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
1185 handling in subclassed composite widgets. Fixes: NB#66628.
1187 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1189 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
1190 from destroy_ callback as it introduces problems in async dbus signal
1191 handlers. Fixes NB#66673.
1193 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1195 * examples/hildon-hvolumebar-example.c:
1196 * src/hildon-volumebar.c: Improving the focus handling in the
1197 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
1198 set_property accessor so that "mute" property can be actually set. I'm
1199 scared that nobody noticed it's totally broken.
1201 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1203 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
1206 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1208 * src/hildon-calendar.c:
1209 * src/hildon-number-editor.c:
1210 * src/hildon-time-picker.c: Changing the timeout repeat so that it
1211 matches the spec of 6 chars per second. Fixes: NB#60489.
1213 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1215 * src/hildon-helper.c: Really fixing NB#58352. Looks like
1216 gtk_style_lookup_color sometime returns FALSE even though color was
1217 found and values were filled properly. Weird. Removing the warning for the
1220 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1222 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
1223 expand vertically. Adding some extra space to the find toolbar buttons to
1224 make them thumbable. Fixes NB#66060.
1226 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1228 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
1229 popup with "Ok" and "Cancel". Fixes NB#59299.
1231 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1233 * src/hildon-calendar.c: Process all window updates before executing next
1234 timeout. Fixes: NB#54146.
1236 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1242 * debian/changelog: Updating.
1244 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1246 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
1247 the client event and ignore it, since we use the delete event to close
1250 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1252 * src/hildon-helper.c: Remove the bogus warning about color not being
1253 found. Fixes NB#58352.
1255 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1257 * examples/Makefile.am:
1258 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
1259 HildonSeekbar widget inside a toolbar.
1261 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1263 * src/hildon-banner.c (hildon_banner_init): mark the banners as
1264 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
1265 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
1266 don't want to be closed by non-temporary windows on map.
1268 Also use G_DEFINE_TYPE instead of manually typed code.
1270 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1277 * debian/rules: Updating.
1279 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1281 * examples/Makefile.am:
1282 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
1283 bug NB#61128. Strangely it works.
1285 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1287 * src/hildon-date-editor.c: When the date editor entry has been changed
1288 but the numbers of characters < max, turn off the skip validation flag.
1289 Prevents a situation when we enter first a valid year and later re-write
1290 it with an invalid one. Fixes NB#60154.
1292 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1294 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
1295 code dialog. Fixes NB#64355.
1297 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1299 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
1300 switching the page. Fixes NB#49374.
1302 * examples/Makefile.am:
1303 * examples/hildon-wizard-dialog-example.c: Adding an example for
1304 HildonWizardDialog that shows how to handle manual sensitivity setting on
1307 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1311 * src/hildon-version.h.in:
1312 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
1314 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1316 * src/hildon-volumebar.c: Updating the docs.
1318 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1324 * debian/changelog: Updating.
1326 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1328 * src/hildon-find-toolbar.c:
1329 * src/hildon-find-toolbar.h: Adding a few new functions to control the
1330 selected item: hildon_find_toolbar_set_active,
1331 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
1332 hildon_find_toolbar_get_active_iter . They correspond to respective
1333 GtkComboBox functions.
1335 * examples/Makefile.am:
1336 * examples/hildon-find-toolbar-example.c: Adding the example to test the
1339 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1341 * examples/Makefile.am:
1342 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
1345 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
1346 when font size > 32 and we pack a focusable widget inside. Actually using
1347 the default response would work too, but since we don't show default
1348 response state in any way (no theming) it would not be visible to the
1349 user. Fixes NB#63430.
1351 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1353 * src/hildon-date-editor.c: Adding the missing variable setter in the
1354 set_property handler. Fixes NB#54182.
1356 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1358 * src/hildon-window.h: Changing the long key press time from 1500ms to
1359 800ms as requested in NB#63700. I have a bad feeling about this, let's
1360 see... Fixes NB#63700.
1362 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
1364 * src/hildon-time-picker.c (hildon_time_picker_class_init,
1365 hildon_time_picker_map, hildon_time_picker_realize,
1366 hildon_time_picker_style_set): Split the contents of map to more
1367 appropriate functions; set window decorations on realize and update
1368 arrows' size requisitions on style-set. Avoids unnecessary resizing.
1370 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
1375 * debian/changelog: Updating.
1377 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
1379 * src/Makefile.am: fixed installation of the header files
1381 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1387 * debian/changelog: Updating.
1389 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1391 * configure.ac: Removing some remaining of --enable-xan.
1393 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
1395 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
1396 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
1398 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
1399 2.10.12-osso6 because the move-focus signal needs to be available in
1402 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1404 * examples/Makefile.am:
1405 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
1406 that makes a HildonVolumebar insensitive before mapping it. Seems to work
1407 fine. Prolly NB#61128 is fixed now.
1409 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1411 * src/hildon-volumebar.c:
1412 * src/hildon-volumebar.h: Adding the
1413 hildon_volumebar_set_range_insensitive_message and
1414 hildon_volumebar_set_range_insensitive_messagef functions to set
1415 insensitive message on the slider of the volumebar. Fixes NB#61129.
1417 * examples/Makefile.am:
1418 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
1419 test the new insensitive messsage functionality on HildonVolumebar.
1421 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
1423 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
1426 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
1428 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
1429 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
1430 button on after clearing the trail.
1432 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1434 * src/hildon-code-dialog.c: Removing the separator from the dialog.
1436 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1438 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
1439 by splitting the installed headers in generated and non-generated groups. Use
1440 only the non-generated headers to create the hildon-enum-types.h file.
1442 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
1444 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1446 * src/hildon-window.c: Hide the window before performing the destroy.
1447 Should make the app closing a little tiny bit more snappy.
1449 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1451 * src/hildon-seekbar.c: add gtkrange.h header
1452 * src/hildon-caption.c: remove unused variable
1454 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
1456 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
1459 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1465 * debian/changelog: Updating.
1467 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
1469 * src/hildon-window.c (hildon_window_window_state_event,
1470 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
1471 escape timeout on focus-out-event rather than notify::is-topmost; the
1472 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
1474 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1476 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
1477 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
1479 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1481 * src/hildon-window: actually, you need to use the macro always, there's
1482 no private pointer in the instance structure. We should have cleaned this up
1483 when we had the chance...
1485 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1487 * src/hildon-window.c: do not get the private date from HildonWindow before
1488 it passes the g_return_if_fail check. Once it's passed the test, there's no
1489 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
1490 if you are only going to access the data once. Whitespace cleanups.
1492 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
1494 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
1495 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
1497 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1503 * debian/changelog: Updating.
1505 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1507 * src/hildon-window.c: When destroying the window, remove (if exists) the
1508 escape timeout handler. Fixes #NB59276.
1510 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1512 * src/hildon-banner.c: When realizing the widget, set the window
1513 transiency. Setting the transiency in the gobject constructor is not
1514 good, as the widget is not realized at that point. Fixes: #NB56624.
1516 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1518 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
1519 Add padding for future expansions.
1521 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1523 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
1524 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
1525 will fake an activation on the previous to the last item of the trail, so
1526 the effect can be overrided by the developer as usual.
1527 Also change the callback for the back button to do the same thing, so its
1528 effect can be overrided too. Fixes: NB#58982
1530 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1532 * src/hildon-caption.c: Implementing the proper focus grabbing in the
1533 HildonCaption. Fixes NB#52379.
1535 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1537 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
1538 the internal state of the trail after the user has had the chance of executing
1539 his handler for the signal. Specifically, it may happen that the activated button
1540 is removed and the user still lets the default handler run. This would segfault
1543 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1545 * src/hildon-font-selection-dialog.c: When the font is really big, add the
1546 scrollbar to the preview dialog. Fixes NB#54147.
1548 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1550 * src/hildon-date-editor.c: Changing the default max year to 2037. The
1551 max/min year properties can be altered, so the client can modify it
1552 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
1554 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1556 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
1557 hildonlike by default. Fixing a problem with disappearing arrows when
1558 scrolling through months and years. Fixes NB#54127.
1560 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1562 * examples/hildon-date-editor-example.c: Adding error callback to the date
1565 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1571 * configure.ac: Updating.
1573 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1575 * configure.ac: Adding a special '--enable-xan' configure option that
1576 turns off the -Werror compilation setting. Usefull for development.
1578 * src/hildon-calendar.c:
1579 * src/hildon-number-editor.c:
1580 * src/hildon-time-picker.c: Adding the 5* multiplier to
1583 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
1585 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
1586 instead of g_object_ref + gtk_object_sink.
1588 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1594 * debian/changelog: Updating.
1596 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1598 * src/hildon-color-chooser-dialog.c:
1599 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
1600 straight from Tommi labs.
1602 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1604 * examples/hildon-finger-example.c: Correcting the header file path.
1606 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
1607 the changed signal. Fixes a small memory leak.
1609 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1613 * src/hildon-banner.c: Importing several usefull fixes from the
1614 ubuntu-mobile branch.
1616 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1618 * examples/Makefile.am:
1619 * examples/hildon-finger-example.c: Adding a finger-checking code
1622 * src/hildon-font-selection-dialog.c: Do not allocate the color
1623 structure using the g_new. Fixes NB#54061.
1625 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1627 * src/hildon-helper.c: Correcting tabs in file.
1629 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
1631 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
1632 control the visibility of the children.
1634 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
1636 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1642 * debian/changelog: Updating.
1644 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
1646 * src/hildon-bread-crumb-trail.c:
1647 (hildon_bread_crumb_trail_size_allocate):
1649 Make the back button always a square.
1651 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
1653 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
1654 from the .c file as it's a private file.
1656 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1658 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
1659 uses slightly bigger height.
1661 * src/hildon-font-selection-dialog.c: Adding some checks before
1662 freeing memory in the font selection dialog.
1664 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1666 * src/hildon-font-selection-dialog.c: Adding a small check when
1669 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
1670 buttons sensitivity on page switching.
1672 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
1674 * src/hildon-bread-crumb-trail.c: make the add method handle all the
1675 internal details of adding a bread crumb to the trail.
1677 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1683 * debian/changelog: Updating.
1685 * src/hildon-bread-crumb-trail.h:
1686 * src/hildon-bread-crumb.h: Changing the API guard to
1687 HILDON_ENABLE_UNSTABLE_API.
1689 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1697 * src/hildon-helper.h: Updating.
1699 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1707 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1711 * src/hildon-helper.h: Small fix to make the package actually compile.
1713 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
1715 * src/hildon-bread-crumb-trail.h:
1716 * src/hildon-bread-crumb.h:
1718 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
1719 to define ENABLE_UNSTABLE_API in the code that includes these headers.
1721 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
1723 * examples/hildon-bread-crumb-trail-example.c:
1725 * src/hildon-bread-crumb-trail.c:
1726 * src/hildon-bread-crumb-trail.h:
1727 * src/hildon-bread-crumb.c:
1728 * src/hildon-bread-crumb.h:
1729 * src/hildon-marshalers.list:
1730 * src/hildon-bread-crumb-widget.c:
1731 * src/hildon-bread-crumb-widget.h:
1733 Slight change in the widget design. The bread crumb trail API is
1734 unchanged, but HildonBreadCrumb is now an interface. A *private*
1735 implementation, hildon-bread-crumb-widget, is provided and used
1736 internally by the trail for the push_text/push_icon functions.
1738 The generic push API is still available, so anyone can implement
1739 and use its own bread crumb widget.
1741 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1743 * debian/rules: Fixing the shlibs.
1745 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1747 * src/hildon-banner.c: Fixing a problem with timed banners having
1748 their parrent destroyed before they are.
1750 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
1752 * src/hildon-bread-crumb.c:
1753 * src/hildon-bread-crumb.h:
1755 Make the get_natural_size function a vfunc.
1757 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1759 * src/hildon-bread-crumb.c:
1760 * src/hildon-bread-crumb-trail.c:
1764 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1771 * debian/changelog: Updating for release.
1773 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1775 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
1776 don't leak the pango layout.
1778 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1781 * examples/hildon-bread-crumb-trail-example.c:
1785 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1787 * debian/changelog: Removing the bug-fixed entries that were actually
1788 resolved as WONTFIX.
1790 * src/hildon-date-editor.c: Removing a redundant check. Fixes
1793 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
1795 * src/hildon-bread-crumb-trail.c:
1796 * src/hildon-bread-crumb-trail.h:
1797 * src/hildon-bread-crumb.c:
1798 * src/hildon-bread-crumb.h:
1802 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
1804 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
1805 until it's passed the type check.
1807 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
1809 * examples/hildon-bread-crumb-trail-example.c
1813 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
1815 * examples/Makefile.am
1816 * examples/hildon-bread-crumb-trail-example.c
1818 * src/hildon-bread-crumb-trail.c
1819 * src/hildon-bread-crumb-trail.h
1820 * src/hildon-bread-crumb.c
1821 * src/hildon-bread-crumb.h
1823 New HildonBreadCrumbTrail widget.
1825 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
1827 * src/hildon-range-editor.c (hildon_range_editor_init),
1828 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
1829 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
1830 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
1831 hildon_time_editor_class_init, hildon_time_editor_init),
1832 src/hildon-get-password-dialog.c (invalid_input,
1833 hildon_get_password_set_property, hildon_get_password_get_property,
1834 create_contents, hildon_get_password_dialog_set_max_characters),
1835 src/hildon-set-password-dialog.c (create_contents),
1836 src/hildon-date-editor.c (hildon_date_editor_init),
1837 src/hildon-login-dialog.c (hildon_login_dialog_init),
1838 src/hildon-number-editor.c (hildon_number_editor_init),
1839 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
1840 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
1841 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
1842 configure option and adding the respective checks in the code.
1843 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
1844 hildon_calendar_drag_data_received): fixed some build warnings.
1846 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1848 * debian/changelog: A 1.0.0 release notes.