1 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6 * examples/hildon-button-example.c
10 * src/hildon.h: Initial version of the new HildonButton widget,
13 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
15 * src/hildon-pannable-area.c:
16 (hildon_pannable_area_button_press_cb),
17 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
18 (hildon_pannable_area_motion_notify_cb),
19 (hildon_pannable_area_button_release_cb),
20 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
21 (hildon_pannable_area_jump_to_child):
23 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
25 2008-07-01 Alberto Garcia <agarcia@igalia.com>
27 * examples/Makefile.am
28 * examples/hildon-pannable-area-touch-grid-example.c
29 * examples/hildon-pannable-area-touch-list-example.c: Examples of
30 the Hildon Touch List and Hildon Touch Grid using the
31 HildonPannableArea widget.
33 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
35 * src/hildon-pannable-area.c,
36 (hildon_pannable_area_button_press_cb),
37 (hildon_pannable_area_refresh),
38 (hildon_pannable_area_scroll),
39 (hildon_pannable_area_motion_notify_cb),
40 (hildon_pannable_area_button_release_cb),
41 (hildon_pannable_area_expose_event),
42 (hildon_pannable_area_add),
43 (hildon_pannable_area_remove),
44 (hildon_pannable_area_realize),
45 (hildon_pannable_area_size_allocate),
46 (hildon_pannable_area_class_init),
47 (hildon_pannable_area_init),
48 (hildon_pannable_area_scroll_to_child),
49 (hildon_pannable_area_jump_to_child): Fixed the problem of
50 removing the child from the GtkBin, we have rearranged the widget
51 hierarchy, now there is no GtkAlignment which was not doing
52 anything interesting but breaking some of the assumptions of
53 GtkContainer. Now developers if they want to add a GtkAlignment
54 they could, but it is not inside the area.
56 We had to review the whole allocation/expose process, now it is
57 improved and we save at least three signals which would be saving
58 some time when rendering the widget. The allocation of the
59 scrollbars is now made in the allocate method as usual.
61 We have also added some conditions in order to control when there
62 is no child of the pannable area. Maybe we will need more work
65 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
67 * src/hildon-pannable-area.c,
68 (hildon_pannable_area_dispose): Released the fade-out timeout when
71 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
73 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
74 zero, we are going to use that property in order to deactivate the
76 (hildon_pannable_axis_scroll),
77 (hildon_pannable_area_size_allocate): Added conditions to control
78 when overshoot_max is zero. Moved the gtk_adjustment_set_value
79 call, now it is called in all situations and we can remove calls
80 in the allocate method.
81 (hildon_pannable_area_map): Control the situation when
82 overshoot_max is zero, we do not need the timeout.
83 (hildon_pannable_area_class_init): Added documentation in order to
84 point out that setting zero to overshoot_max means deactivate
87 NOTE: removed trailing whitespaces from my previous comments of
90 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
92 * src/hildon-pannable-area.c
93 (hildon_pannable_area_get_property),
94 (hildon_pannable_area_set_property),
95 (hildon_pannable_area_map),
96 (hildon_pannable_area_class_init),
97 (hildon_pannable_area_init): Add a boolean "initial-hint" property
98 to cause the widget give a hint about its panning abilities upon
101 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
103 * src/hildon-pannable-area.c: Several documentation improvements.
105 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
107 * src/hildon-program.c
108 * src/hildon-stackable-window.c: Update documentation.
110 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
112 * src/hildon-stackable-window.c (get_previous_window_if_last):
113 Renamed get_last_window()
114 (hildon_stackable_window_map, hildon_stackable_window_unmap)
115 (hildon_stackable_window_unset_program):
117 (get_previous_window_if_last):
118 Detect if the window hasn't been added to a HildonProgram.
120 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
122 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
124 * src/hildon-pannable-area.c
125 (hildon_pannable_area_button_press_cb),
126 (hildon_pannable_axis_scroll),
127 (hildon_pannable_area_scroll),
128 (hildon_pannable_area_timeout),
129 (hildon_pannable_calculate_vel_factor),
130 (hildon_pannable_area_get_property),
131 (hildon_pannable_area_set_property),
132 (hildon_pannable_area_class_init),
133 (hildon_pannable_area_init),
134 (hildon_pannable_area_scroll_to),
135 (hildon_pannable_area_jump_to),
136 (hildon_pannable_area_scroll_to_child),
137 (hildon_pannable_area_jump_to_child):
138 * src/hildon-pannable-area.h: Added the new API functions:
139 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
140 hildon_pannable_area_scroll_to_child,
141 hildon_pannable_area_jump_to_child
144 * examples/Makefile.am
145 * examples/hildon-pannable-area-example-2.c
146 * examples/hildon-pannable-area-example-3.c: Added these two new
147 examples in order to test and show how the new APIs work.
149 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
151 * examples/hildon-stackable-window-example.c (new_window):
152 * src/Makefile.am (noinst_HEADERS):
153 * src/hildon-program.c (hildon_program_go_to_root_window):
154 * src/hildon-program.h:
155 * src/hildon-stackable-window-private.h:
156 * src/hildon-stackable-window.c:
157 * src/hildon-stackable-window.h:
158 Create hildon-stackable-window-private.h
159 Move hildon_stackable_window_go_to_root_window() to HildonProgram
161 * examples/hildon-app-menu-example.c (create_menu):
162 * examples/hildon-hvolumebar-insensitive-example.c (main):
163 * examples/hildon-hvolumebar-timer-example.c (on_idle):
164 * examples/hildon-toolbar-seekbar-example.c (main):
165 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
166 * src/hildon-banner.c (hildon_banner_set_property):
167 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
168 Fix compilation warnings
170 * src/hildon-window.c:
173 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
175 * src/hildon-stackable-window.c
176 (hildon_stackable_window_unset_program):
177 Calculate correctly whether to show the previous window if the
178 last one is removed from the stack.
179 (hildon_stackable_window_go_to_root_window):
180 Send delete events starting from the topmost window.
181 Stop if one of the windows is not destroyed.
183 (hildon_stackable_window_delete_event)
184 (hildon_stackable_window_class_init):
185 Ignore the delete event if the window is not the topmost one.
187 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
189 * src/hildon-pannable-area.c
190 (hildon_pannable_area_expose_event): Fixed a problem when
191 selecting the background color of the scrollbars.
193 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
195 * examples/hildon-stackable-window-example.c
196 * src/hildon-stackable-window.c
197 * src/hildon-stackable-window.h
198 hildon_stackable_window_go_home() renamed to
199 hildon_stackable_window_go_to_root_window()
200 Send delete events to windows rather than closing them with
203 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
205 * src/hildon-pannable-area.c
206 (hildon_pannable_area_button_release_cb): Fix overshooting in
209 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
211 * src/hildon-pannable-area.c
212 (hildon_pannable_area_init): Initially show the scroll indicators.
213 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
215 Add initial effect showing the widget is pannable.
217 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
219 * src/hildon-pannable-area.c
220 (hildon_pannable_area_class_init)
221 (hildon_pannable_area_set_property)
222 (hildon_pannable_area_get_property)
223 (hildon_pannable_area_button_press_cb):
224 New 'velocity_fast_factor' property to decide which velocity is
227 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
229 * src/hildon-pannable-area.c
230 (hildon_pannable_draw_hscroll)
231 (hildon_pannable_draw_vscroll):
232 Use float variables to calculate the size of the scrollbars to
233 avoid error propagation and resizing during scrolling.
235 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
237 * src/hildon-pannable-area.c
238 (hildon_pannable_draw_vscroll)
239 (hildon_pannable_draw_hscroll):
240 Define a minimum size for the scroll bars
242 * src/hildon-stackable-window.c
243 (hildon_stackable_window_go_home): Fix compilation warning
244 (get_last_window): Minor optimizations
245 (hildon_stackable_window_class_init): Fix initialization of
248 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
250 * src/hildon-stackable-window.c: Fixed typos in doc
252 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
254 * src/hildon-pannable-area.c
255 (hildon_pannable_area_scroll):
256 Calculate here whether we need to scroll instead of using the booleans
257 that tell us whether to /draw/ the scrolling bars.
259 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
261 * src/hildon-app-menu.h
263 * src/hildon-app-menu.c
264 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
265 multiple filter groups related code and API. Now we support only
267 * examples/hildon-app-menu-example.c:
269 Update to reflect API changes.
271 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
273 * src/hildon-stackable-window.c
274 (hildon_stackable_window_class_init):
275 Add hildon_stackable_window_realize.
276 (hildon_stackable_window_realize):
277 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
278 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
279 to apply theming and behavior specific to HildonStackableWindow
282 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
284 * src/hildon-note.c (hildon_note_button_release):
285 Close information notes also when tapping on them
287 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
289 Added BOUNCE_STEPS define to control the overshoot effect. Removed
290 ELASTICITY, refactor and review, fix some issues with drawing
293 * src/hildon-pannable-area.c:
294 (hildon_pannable_area_button_press_cb): removed the conditions to
295 avoid clicks when overshooting. It is not required
297 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
298 define. Refatored and reviewed the code, now we do not need to
299 manage velocity in motion_notify.
301 (hildon_pannable_area_motion_notify_cb): We have moved the code
302 that controls the area_scroll to the axis_scroll function and get
303 rid of duplicated code.
305 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
307 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
309 (hildon_pannable_draw_vscroll),
310 (hildon_pannable_draw_hscroll): Fixed the problems with the
311 scrollbar drawing, now we do not use two surfaces, it is easier
314 (hildon_pannable_area_get_property): Style modification.
316 (hildon_pannable_area_class_init): Changed some default values.
318 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
320 * src/hildon-stackable-window.c: Fix some typos in the
323 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
325 * src/hildon-dialog.c:
326 Change indentation style
329 (hildon_note_button_release):
330 Use root coordinates to check if the release event happened
333 * src/hildon-app-menu.c
334 (hildon_app_menu_button_release):
335 Remove unnecessary check
337 * examples/hildon-app-menu-example.c
339 Add cast to fix warning
341 * src/hildon-app-menu.c
342 (hildon_app_menu_class_init):
343 New inner-border style property.
344 Set all default spacings to 16
345 (hildon_app_menu_init):
346 Use vertical-spacing to set the space between filter buttons and
347 regular menu buttons.
348 Set the default container border using the inner-border value.
350 * examples/hildon-app-menu-example.c
352 Don't set the menu border explicitly, now we have the inner-border
353 style property for that.
355 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
357 * src/hildon-app-menu.c (hildon_app_menu_init):
358 Make the window modal
360 * src/hildon-note.c (hildon_note_map)
361 * src/hildon-app-menu.c (hildon_app_menu_map):
362 Destroy the grab window if we're unable to grab the pointer
364 * src/hildon-app-menu-private.h
365 * src/hildon-app-menu.c
366 (hildon_app_menu_init, hildon_app_menu_finalize)
367 (hildon_app_menu_map, hildon_app_menu_unmap)
368 (hildon_app_menu_button_release)
369 (grab_transfer_window_get):
370 Bring back the grab window
371 (hildon_app_menu_realize):
372 Decorate the window, set WM hint for Matchbox
374 * src/hildon-note.c (hildon_note_realize):
375 * src/hildon-banner.c (hildon_banner_realize):
376 Add WM hints for Matchbox
378 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
380 * src/hildon-app-menu-private.h
381 * src/hildon-app-menu.c
382 (hildon_app_menu_init, hildon_app_menu_finalize)
383 (hildon_app_menu_map, hildon_app_menu_unmap)
384 (hildon_app_menu_button_release):
385 Remove the grab window, it's not needed anymore
387 * src/hildon-program.c
388 Fixed typo in documentation
390 * src/hildon-app-menu.h
391 * src/hildon-app-menu.c
392 * examples/hildon-app-menu-example.c
393 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
395 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
398 Added new transfer_window and close_if_pressed_outside private
400 (hildon_note_rebuild):
401 Don't add a cancel button to the information note. It will be
402 closed when tapping outside
403 Remove the comment about the OK button in the documentation
404 (hildon_note_realize):
405 Set the notification type hint
406 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
407 Grab/ungrab pointer and keyboard if the note has to be closed when
409 (hildon_note_button_release):
410 Close the note when tapping outside (if applicable)
412 * src/hildon-app-menu.c
413 Grab/ungrab pointer and keyboard on map/unmap
414 (hildon_app_menu_button_release, hildon_app_menu_class_init):
415 Close the menu on button release, not button press
417 * src/hildon-banner.c
418 (hildon_banner_set_property)
419 (hildon_banner_check_position):
420 Make the banner use the full width of the screen
421 (hildon_banner_show_information)
422 (hildon_banner_show_information_with_markup):
423 Don't display an icon by default
425 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
427 Added fading scrollbars and adapted all the overshooting code to
428 horizontal scrolling. We have also fixed bugs with overshooting
429 and current fading implementation.
431 * src/hildon-pannable-area.c
432 (hildon_pannable_area_scroll_indicator_fade): Time out function
433 used to change the transparency of the scrollbars.
435 (hildon_pannable_area_button_press_cb): Added horizontal overshot
436 control and fixed a problem with fading, we now remove the fade
437 timeout before adding a new one.
439 (hildon_pannable_axis_scroll):
440 (hildon_pannable_area_scroll):
441 (hildon_pannable_area_timeout): Added this functions so we can use
442 the scroll code both for vertical and horizontal.
444 (hildon_pannable_area_motion_notify_cb):
445 (hildon_pannable_area_button_release_cb): Added the horizontal
446 scrolling control, fixed a problem with the overshooting timeout.
448 (rgb_from_gdkcolor): Added this function, it is used in the cairo
449 painting of the scrolls.
451 (hildon_pannable_draw_vscroll):
452 (hildon_pannable_draw_hscroll):
453 (hildon_pannable_area_expose_event):
454 Draw both scrollbars and rectangles in the overshooting area.
456 (hildon_pannable_area_get_property):
457 (hildon_pannable_area_set_property):
458 Modified the overshoot property to overshoot_max
460 (hildon_pannable_area_map):
461 Replaced the comments symbols.
463 (hildon_pannable_area_size_allocate):
464 (hildon_pannable_area_class_init):
465 (hildon_pannable_area_init): Added horizontal scroll, fading
466 effect properties, fixed a problem when overshooting in the bottom
469 * examples/hildon-pannable-area-example.c:
470 (get_sawtooth_label): Now we use smaller sawtooths, the effect
471 looks better in the example.
473 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
475 * src/hildon-window.c
476 * src/hildon-window.h
477 (hildon_window_class_init)
478 (hildon_window_unset_program)
479 (hildon_window_unset_program_real):
480 Make unset_program a virtual function
482 * src/hildon-stackable-window.c
483 * src/hildon-stackable-window.h
484 Added hildon_stackable_window_go_home()
486 * examples/Makefile.am
487 * examples/hildon-stackable-window-example.c
488 HildonStackableWindow example
490 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
492 * hildon-pannable-area.c: Added the overshoot property and removed
493 the OVERSHOOT define. Fixed an indent style error.
494 (hildon_pannable_area_motion_notify_cb):
495 (hildon_pannable_area_get_property):
496 (hildon_pannable_area_set_property): Add overshoot property.
498 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
501 (hildon_pannable_area_class_init): Installed the new property.
503 * hildon-pannable-area-example.c: Added a sawtooth function, this
504 way it is easier to check the movement in the pannable.
505 (get_sawtooth_label): Added this function.
506 (main): Now we get the labels from the new get_sawtooth_label
509 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
511 * src/hildon-app-menu.h
512 * src/hildon-app-menu.c
513 Renamed API variables for consistency
515 (hildon_app_menu_popup): Use also the default window size to
516 decide where to place the menu
518 (hildon_app_menu_init, hildon_app_menu_class_init): New
519 external-border style property
521 2008-05-26 Michael Natterer <mitch@imendio.com>
523 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
524 widget_class->tap_and_hold_setup signal slot doesn't exist any
525 longer, stop overriding it.
527 (hildon_time_editor_init): g_signal_connect() to the
528 tap-and-hold-setup signal instead.
530 (hildon_time_editor_entry_keypress): add cast to fix warning.
532 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
534 * doc/hildon-docs.sgml
536 * examples/Makefile.am
537 * examples/hildon-app-menu-example.c
539 * src/hildon-app-menu-private.h
540 * src/hildon-app-menu.c
541 * src/hildon-app-menu.h
543 New HildonAppMenu widget
545 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
547 Rearranged the inheritance of the pannable area, now it inherits
548 from GtkBin. This will allow us to control the event_window and
549 the allocation process of the widget, required for some effects.
551 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
552 GtkBin structures. * src/hildon-pannable-area.c: Added the
553 event_window variable.
554 (hildon_pannable_area_button_press_cb):
555 (hildon_pannable_area_button_release_cb):
556 (hildon_pannable_area_motion_notify_cb):
557 Changed the signature of the method, now we override the event
558 callback instead of connecting to the signal.
560 (hildon_pannable_area_realize):
561 (hildon_pannable_area_unrealize):
562 (hildon_pannable_area_map):
563 (hildon_pannable_area_unmap):
564 (hildon_pannable_area_size_allocate):
565 Added functions to control the widget construction. We add a
566 INPUT_ONLY window and we put it over the widgets inside the
567 container, this event_window handles the events.
569 (hildon_pannable_area_class_init):
570 Replaced the signal connections with overrides of the event
573 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
575 Bouncing effect added when touching the borders, you can change
576 the elasticity of the border changing the ELASTICITY define.
578 * src/hildon-pannable-area.c: Added ELASTICITY define.
579 (hildon_pannable_area_timeout): Added inverse velocity when
580 touching the border of the child widget, that causes a bounce.
582 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
584 Improved performance, we now do not go to the X server in order to
585 get the list of window children. Apparently the effect is the
586 same, we have to be careful and check if this breaks something in
589 * src/hildon-pannable-area.c:
590 (get_ordered_children): Removed this function.
591 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
592 the children windows function with gdk_window_get_children.
594 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
596 * src/hildon-pannable-area.c:
597 (hildon_pannable_area_dispose): Fixed a crash when closing the
598 window and kinetics is activated.
600 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
602 * src/hildon-pannable-area.h
603 * src/hildon-pannable-area.c
604 Changed indentation style to meet the one used in Hildon
606 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
608 Reviewed the interaction of the AUTO mode, now we use the time
609 attribute of the events and calculate the velocity in the motion,
610 doing a gimp like calculation. The velocity is calculated in each
611 motion event using the last velocity and the current one, the
612 SMOOTH_FACTOR controls the percentage of the new velocity we use.
614 * src/hildon-pannable-area.c: Replaced the time based algorithm
616 (hildon_pannable_area_motion_notify_cb): now we do not launch the
617 timeout for the AUTO mode when we are still moving the cursor. We
618 added also the velocity calculation in this function.
619 (hildon_pannable_area_button_release_cb): launch the timeout in
620 case we are in AUTO mode. There are still some constants here that
621 come from the old implementation that should be reviewed and
624 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
626 * doc/hildon-docs.sgml
629 * src/hildon-stackable-window.c
630 * src/hildon-stackable-window.h
632 New HildonStackableWindow widget
634 * examples/hildon-dialog-example.c
635 * examples/hildon-pannable-area-example.c
638 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
640 * src/hildon-dialog.c
641 (hildon_dialog_new_with_buttons): New constructor.
643 * examples/hildon-dialog-example.c
644 (main): Update the example to use the new
645 hildon_dialog_new_with_buttons().
647 * examples/hildon-pannable-area-example.c
648 (main): Update example.
650 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
652 * doc/hildon-docs.sgml
654 Added HildonPannableArea to the documentation.
656 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
658 * doc/visual_index.xml
659 Fix reference to HildonLoginDialog in documentation
661 * doc/hildon-docs.sgml
663 * examples/Makefile.am
664 * examples/hildon-dialog-example.c
666 * src/hildon-dialog.c
667 * src/hildon-dialog.h
669 New HildonDialog widget.
671 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
673 * src/hildon-pannable-area.c
674 Merge latest changes (r4318, r4342) from libmokoui trunk
676 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
678 * examples/Makefile.am
679 * examples/hildon-pannable-area-example.c
681 * src/hildon-pannable-area.c
682 * src/hildon-pannable-area.h
684 New HildonPannableArea widget.
686 2008-04-15 18:05:19 <timj@imendio.com>
688 * src/hildon-banner.c: revert the recent change, that introduced
689 gtk_window_present() calls. this reopens:
690 Bug 78481 - [freetest] information banners are hidden under browser menu
691 But resolves another variant of:
692 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
694 2008-04-15 13:21:13 <timj@imendio.com>
696 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
697 recreated its layout, spotted by Kris. this fixes all remaining
698 artefacts and stability issues with the banner code. in particular:
699 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
701 2008-04-14 16:52:59 <timj@imendio.com>
703 * src/hildon-banner.c: guard force_to_wrap_truncated() against
704 operating on unrealized widgets, fixes:
705 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
707 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
709 2008-04-09 Kristian Rietveld <kris@imendio.com>
711 Fixes: NB#77775: Media Player, Save Now playing list, too long name
712 makes banner disappear.
713 Fixes: NB#79182: info banner flickering with certain message lengts.
715 * src/hildon-banner.c (hildon_banner_constructor),
716 (hildon_banner_init), (hildon_banner_set_text),
717 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
718 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
719 FALSE, reset size requests of label and banner,
720 (force_to_wrap_truncated): when the text is too wide, always enforce
721 the maximum possible width instead of recalculating it from the
722 layout; enforce the maximum banner height of 3 lines,
723 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
724 nicer wrapping and no truncated chars if space gets tight.
726 * src/hildon-banner-private.h: add has_been_wrapped and
727 has_been_truncated fields.
729 2008-04-07 Sven Herzberg <sven@imendio.com>
731 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
732 local values in hildon_date_editor_size_allocate
734 * src/hildon-date-editor.c: moved the real allocation code into the
737 2008-04-07 Sven Herzberg <sven@imendio.com>
739 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
740 local values in hildon_date_editor_size_allocate
742 * src/hildon-date-editor.c: merged the two if() branches together
744 2008-04-07 Sven Herzberg <sven@imendio.com>
746 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
747 local values in hildon_date_editor_size_allocate
749 * src/hildon-date-editor.c: changed the arguments of the if()
752 2008-04-07 Sven Herzberg <sven@imendio.com>
754 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
755 local values in hildon_date_editor_size_allocate
757 * src/hildon-date-editor.c: split the calculation of the allocation
758 from the real allocation
760 2008-03-27 Michael Natterer <mitch@imendio.com>
762 Fixes: NB#81696: The passcode is not overwritten even after
765 * src/hildon-code-dialog.c
766 (hildon_code_dialog_button_clicked)
767 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
768 because that doesn't overwrite selected text. Instead, emit the
769 "commit" signal on the entry's im_context so the entry's normal
770 insert logic is triggered. Set the cursor to the end of the entry
771 after each insert operation so that we *only* insert in the middle
772 of the text if something was selected.
774 2008-03-27 Michael Natterer <mitch@imendio.com>
776 Enable fixing: NB#79916 and NB#79918: The help topic for Color
777 selector cannot be opened
779 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
780 when the popup color selector is created. Please connect to this
781 signal in order to set the dialog's help ID.
783 2008-03-25 Sven Herzberg <sven@imendio.com>
785 Fixes: MB#1212: Hide info banners (infoprints) on click
787 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
788 extracted the close event simulation into an extra function
789 (hildon_banner_button_press_event): simulate a close event and destroy
790 the widget if the event wasn't handled
791 (hildon_banner_class_init): added the button_press_event handler
792 (hildon_banner_init): added button-press events to the widget
794 2008-03-25 Sven Herzberg <sven@imendio.com>
796 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
797 Patch from: Mohammad Anwari <mdamt@maemo.org>
799 * src/hildon-banner.c: let the HildonBanners pop up on the left side
800 instead of the right in RTL mode
801 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
802 breadcrumb button list in RTL mode
803 * src/hildon-caption.c: mirror the appearance of the caption widget in
805 * src/hildon-date-editor.c: mirror appearance of the date editor in
807 * src/hildon-time-editor.c: mirror appearance of the time editor in
809 * src/hildon-window.c: fix the position of the popup in RTL mode
811 2008-03-25 Sven Herzberg <sven@imendio.com>
813 Amendment to the fix of NB#22072. Fix compilation.
815 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
817 2008-03-19 Sven Herzberg <sven@imendio.com>
819 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
822 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
823 timeout id properly when the timeout will disappear this leaves no
824 artifacts around in the destroy(); there will only be the timeout
825 created by hildon_banner_ensure_timeout() and adding a new timeout
826 will also work if the timeout gets removed because the timeout_handler
829 2008-03-19 Michael Natterer <mitch@imendio.com>
831 Fixes: NB#79791: Cannot set focus to Master volume using stylus
833 * src/hildon-volumebar.c
834 * src/hildon-vvolumebar.c
835 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
836 the widget becomes focussable at all.
838 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
839 set the focus to wither the mute button or the volumebar.
841 Remove own "can-focus" property and instead listen to
842 notify::can-focus in order to update the widget's state.
844 Implement GtkWidget::focus() and make sure we can also *leave* the
845 widget, not only enter it, depending on volumebar orientation and
846 requested focus direction.
848 Clean up set_mute() to cooperate nicely with all the above.
850 2008-03-04 Michael Natterer <mitch@imendio.com>
852 Fixes: NB#78481: information banners are hidden under browser menu
854 * src/hildon-banner.c: call gtk_window_present() on the banners so
855 they are risen if they are already visible.
857 2008-03-03 Sven Herzberg <sven@imendio.com>
859 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
861 * examples/hildon-window-menu-example.c: (main): extended the window
862 menu example to serve as a testcase for automatically added
863 accelerator groups, too
864 * src/hildon-window.c: (hildon_window_add_accel_group),
865 (hildon_window_set_menu): added patch by Tommi Komulainen
867 2008-03-03 Sven Herzberg <sven@imendio.com>
869 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
871 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
872 knowledge about the border allocators used within GTK+
874 2008-02-26 Sven Herzberg <sven@imendio.com>
876 Fixes: MB#2981: Build with asserts broken
878 * src/hildon-date-editor.c,
879 * src/hildon-number-editor.c,
880 * src/hildon-time-editor.c,
881 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
882 the proper GType instance check
884 2008-02-25 Sven Herzberg <sven@imendio.com>
886 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
888 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
889 * examples/hildon-window-menu-example.c: (main): explicitly show
891 * src/hildon-window.c:
892 (hildon_window_set_main_menu): moved most of the code from set_menu()
893 to this place; skipped the call to gtk_widget_show_all(); also didn't
894 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
895 (hildon_window_set_menu): removed most of the code, just keep the
896 questionable gtk_widget_show_all()
897 * src/hildon-window.h: added the new function and deprecate the old
900 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
906 * debian/changelog: Updating.
908 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
911 * pkgconfig/Makefile.am:
912 * pkgconfig/hildon.pc.in:
915 Do not use PACKAGE_VERSION_MAJOR as the API revision,
916 use newly created API_MAJOR_VERSION.
918 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
924 * debian/changelog: Updating.
926 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
928 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
930 Add outer_border style property, we use it but don't define it (!).
934 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
936 * examples/hildon-bread-crumb-trail-example.c (main):
940 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
942 Fix logic for the bread crumb trail node removal.
946 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
952 * debian/changelog: Updating.
954 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
956 Patch by Alejandro to get/set passwords dialogs accesibility.
958 * hildon-1/src/hildon-get-password-dialog.c:
959 * hildon-1/src/hildon-set-password-dialog.c:
960 Set atk_set_name to the passwd entries in order to allow
961 accessibility by name on this entries.
963 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
968 * debian/control: Updating gtk dep.
970 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
972 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
973 USE_MAEMO_GTK is enabled.
975 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
977 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
978 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
980 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
986 * debian/changelog: Updating.
988 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
990 * examples/Makefile.am:
991 * examples/hildon-logical-color-example.c:
992 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
993 applied + adding a test case. Fixes: NB#71660.
995 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
997 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
998 to be visible, fixes warning on map for windows without toolbars.
1000 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
1002 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
1003 2.11.0, add a check for that besides the MAEMO_GTK check.
1005 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1011 * debian/changelog: Updating.
1013 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1015 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
1016 visibility. Fixes: NB#70842 and MB#615.
1018 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1020 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
1021 set the separator as no-show-all so it doesn't unintentionally appear when
1022 someone does a show_all.
1024 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1026 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
1027 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
1028 toplevel item. Fixes: NB#62031
1030 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
1032 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
1033 fix the name of the function in the docs.
1035 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1041 * debian/changelog: Updating.
1043 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1045 * examples/hildon-banner-long-example.c: Adding a test-case for long
1048 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
1050 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1052 * src/hildon-color-chooser-dialog.c:
1053 * src/hildon-color-chooser.c:
1054 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
1055 memory leaks in font selector and color selector. Fixes: NB#70499 and
1058 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
1060 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
1062 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1064 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
1065 little bit bigger. Fixes: #NB63694.
1067 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1073 * debian/changelog: Updating.
1075 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1078 * doc/hildon-docs.sgml:
1079 * doc/images/bread-crumb-trail.png:
1080 * doc/images/calendar-popup.png:
1081 * doc/images/caption.png:
1082 * doc/images/code-dialog.png:
1083 * doc/images/color-button.png:
1084 * doc/images/color-chooser-dialog.png:
1085 * doc/images/color-chooser.png:
1086 * doc/images/controlbar.png:
1087 * doc/images/date-editor.png:
1088 * doc/images/font-selection-dialog.png:
1089 * doc/images/get-password-dialog.png:
1090 * doc/images/hvolumebar.png:
1091 * doc/images/login-dialog.png:
1092 * doc/images/note.png:
1093 * doc/images/number-editor.png:
1094 * doc/images/range-editor.png:
1095 * doc/images/seekbar.png:
1096 * doc/images/set-password-dialog.png:
1097 * doc/images/sort-dialog.png:
1098 * doc/images/time-editor.png:
1099 * doc/images/time-picker.png:
1100 * doc/images/vvolumebar.png:
1101 * doc/images/weekday-picker.png: Adding the new generated widget shots.
1102 Adding the bread-crumb-trial and helpers to the documentation.
1104 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1106 * examples/hildon-find-toolbar-example.c:
1107 * src/hildon-find-toolbar.c:
1108 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
1109 actually continue firing the other handlers if connected. Adding a new
1111 hildon_find_toolbar_get_last_index that gets the index of the most
1112 recently added (last) item. Fixes: NB#52301.
1114 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1116 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
1117 behaviour. Fixes: NB#68610.
1119 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1121 * src/hildon-banner.c: Actually reverting the previous change. It somehow
1124 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1126 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
1127 when realizing the banner. Should make the infonbanner effect a bit more
1130 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1132 * src/hildon-volumebar.c:
1133 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
1134 hildon_volumebar_set_range_insensitive_message and
1135 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
1137 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1139 * src/hildon-window.c: Fixing the border freeing on destroy.
1141 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1143 * src/hildon-code-dialog-private.h:
1144 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
1145 kw keyboard support in HildonCodeDialog.
1147 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1153 * debian/changelog: Updating.
1155 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1157 * src/hildon-date-editor.c:
1158 * src/hildon-number-editor.c:
1159 * src/hildon-private.c:
1160 * src/hildon-private.h:
1161 * src/hildon-time-editor.c:
1162 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
1163 handling in subclassed composite widgets. Fixes: NB#66628.
1165 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1167 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
1168 from destroy_ callback as it introduces problems in async dbus signal
1169 handlers. Fixes NB#66673.
1171 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1173 * examples/hildon-hvolumebar-example.c:
1174 * src/hildon-volumebar.c: Improving the focus handling in the
1175 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
1176 set_property accessor so that "mute" property can be actually set. I'm
1177 scared that nobody noticed it's totally broken.
1179 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1181 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
1184 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1186 * src/hildon-calendar.c:
1187 * src/hildon-number-editor.c:
1188 * src/hildon-time-picker.c: Changing the timeout repeat so that it
1189 matches the spec of 6 chars per second. Fixes: NB#60489.
1191 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1193 * src/hildon-helper.c: Really fixing NB#58352. Looks like
1194 gtk_style_lookup_color sometime returns FALSE even though color was
1195 found and values were filled properly. Weird. Removing the warning for the
1198 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1200 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
1201 expand vertically. Adding some extra space to the find toolbar buttons to
1202 make them thumbable. Fixes NB#66060.
1204 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1206 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
1207 popup with "Ok" and "Cancel". Fixes NB#59299.
1209 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1211 * src/hildon-calendar.c: Process all window updates before executing next
1212 timeout. Fixes: NB#54146.
1214 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1220 * debian/changelog: Updating.
1222 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1224 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
1225 the client event and ignore it, since we use the delete event to close
1228 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1230 * src/hildon-helper.c: Remove the bogus warning about color not being
1231 found. Fixes NB#58352.
1233 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1235 * examples/Makefile.am:
1236 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
1237 HildonSeekbar widget inside a toolbar.
1239 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1241 * src/hildon-banner.c (hildon_banner_init): mark the banners as
1242 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
1243 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
1244 don't want to be closed by non-temporary windows on map.
1246 Also use G_DEFINE_TYPE instead of manually typed code.
1248 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1255 * debian/rules: Updating.
1257 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1259 * examples/Makefile.am:
1260 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
1261 bug NB#61128. Strangely it works.
1263 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1265 * src/hildon-date-editor.c: When the date editor entry has been changed
1266 but the numbers of characters < max, turn off the skip validation flag.
1267 Prevents a situation when we enter first a valid year and later re-write
1268 it with an invalid one. Fixes NB#60154.
1270 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1272 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
1273 code dialog. Fixes NB#64355.
1275 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1277 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
1278 switching the page. Fixes NB#49374.
1280 * examples/Makefile.am:
1281 * examples/hildon-wizard-dialog-example.c: Adding an example for
1282 HildonWizardDialog that shows how to handle manual sensitivity setting on
1285 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1289 * src/hildon-version.h.in:
1290 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
1292 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1294 * src/hildon-volumebar.c: Updating the docs.
1296 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1302 * debian/changelog: Updating.
1304 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1306 * src/hildon-find-toolbar.c:
1307 * src/hildon-find-toolbar.h: Adding a few new functions to control the
1308 selected item: hildon_find_toolbar_set_active,
1309 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
1310 hildon_find_toolbar_get_active_iter . They correspond to respective
1311 GtkComboBox functions.
1313 * examples/Makefile.am:
1314 * examples/hildon-find-toolbar-example.c: Adding the example to test the
1317 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1319 * examples/Makefile.am:
1320 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
1323 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
1324 when font size > 32 and we pack a focusable widget inside. Actually using
1325 the default response would work too, but since we don't show default
1326 response state in any way (no theming) it would not be visible to the
1327 user. Fixes NB#63430.
1329 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1331 * src/hildon-date-editor.c: Adding the missing variable setter in the
1332 set_property handler. Fixes NB#54182.
1334 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1336 * src/hildon-window.h: Changing the long key press time from 1500ms to
1337 800ms as requested in NB#63700. I have a bad feeling about this, let's
1338 see... Fixes NB#63700.
1340 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
1342 * src/hildon-time-picker.c (hildon_time_picker_class_init,
1343 hildon_time_picker_map, hildon_time_picker_realize,
1344 hildon_time_picker_style_set): Split the contents of map to more
1345 appropriate functions; set window decorations on realize and update
1346 arrows' size requisitions on style-set. Avoids unnecessary resizing.
1348 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
1353 * debian/changelog: Updating.
1355 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
1357 * src/Makefile.am: fixed installation of the header files
1359 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1365 * debian/changelog: Updating.
1367 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1369 * configure.ac: Removing some remaining of --enable-xan.
1371 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
1373 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
1374 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
1376 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
1377 2.10.12-osso6 because the move-focus signal needs to be available in
1380 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1382 * examples/Makefile.am:
1383 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
1384 that makes a HildonVolumebar insensitive before mapping it. Seems to work
1385 fine. Prolly NB#61128 is fixed now.
1387 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1389 * src/hildon-volumebar.c:
1390 * src/hildon-volumebar.h: Adding the
1391 hildon_volumebar_set_range_insensitive_message and
1392 hildon_volumebar_set_range_insensitive_messagef functions to set
1393 insensitive message on the slider of the volumebar. Fixes NB#61129.
1395 * examples/Makefile.am:
1396 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
1397 test the new insensitive messsage functionality on HildonVolumebar.
1399 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
1401 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
1404 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
1406 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
1407 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
1408 button on after clearing the trail.
1410 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1412 * src/hildon-code-dialog.c: Removing the separator from the dialog.
1414 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1416 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
1417 by splitting the installed headers in generated and non-generated groups. Use
1418 only the non-generated headers to create the hildon-enum-types.h file.
1420 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
1422 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1424 * src/hildon-window.c: Hide the window before performing the destroy.
1425 Should make the app closing a little tiny bit more snappy.
1427 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1429 * src/hildon-seekbar.c: add gtkrange.h header
1430 * src/hildon-caption.c: remove unused variable
1432 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
1434 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
1437 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1443 * debian/changelog: Updating.
1445 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
1447 * src/hildon-window.c (hildon_window_window_state_event,
1448 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
1449 escape timeout on focus-out-event rather than notify::is-topmost; the
1450 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
1452 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1454 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
1455 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
1457 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1459 * src/hildon-window: actually, you need to use the macro always, there's
1460 no private pointer in the instance structure. We should have cleaned this up
1461 when we had the chance...
1463 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1465 * src/hildon-window.c: do not get the private date from HildonWindow before
1466 it passes the g_return_if_fail check. Once it's passed the test, there's no
1467 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
1468 if you are only going to access the data once. Whitespace cleanups.
1470 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
1472 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
1473 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
1475 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1481 * debian/changelog: Updating.
1483 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1485 * src/hildon-window.c: When destroying the window, remove (if exists) the
1486 escape timeout handler. Fixes #NB59276.
1488 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1490 * src/hildon-banner.c: When realizing the widget, set the window
1491 transiency. Setting the transiency in the gobject constructor is not
1492 good, as the widget is not realized at that point. Fixes: #NB56624.
1494 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1496 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
1497 Add padding for future expansions.
1499 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1501 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
1502 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
1503 will fake an activation on the previous to the last item of the trail, so
1504 the effect can be overrided by the developer as usual.
1505 Also change the callback for the back button to do the same thing, so its
1506 effect can be overrided too. Fixes: NB#58982
1508 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1510 * src/hildon-caption.c: Implementing the proper focus grabbing in the
1511 HildonCaption. Fixes NB#52379.
1513 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1515 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
1516 the internal state of the trail after the user has had the chance of executing
1517 his handler for the signal. Specifically, it may happen that the activated button
1518 is removed and the user still lets the default handler run. This would segfault
1521 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1523 * src/hildon-font-selection-dialog.c: When the font is really big, add the
1524 scrollbar to the preview dialog. Fixes NB#54147.
1526 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1528 * src/hildon-date-editor.c: Changing the default max year to 2037. The
1529 max/min year properties can be altered, so the client can modify it
1530 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
1532 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1534 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
1535 hildonlike by default. Fixing a problem with disappearing arrows when
1536 scrolling through months and years. Fixes NB#54127.
1538 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1540 * examples/hildon-date-editor-example.c: Adding error callback to the date
1543 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1549 * configure.ac: Updating.
1551 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1553 * configure.ac: Adding a special '--enable-xan' configure option that
1554 turns off the -Werror compilation setting. Usefull for development.
1556 * src/hildon-calendar.c:
1557 * src/hildon-number-editor.c:
1558 * src/hildon-time-picker.c: Adding the 5* multiplier to
1561 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
1563 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
1564 instead of g_object_ref + gtk_object_sink.
1566 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1572 * debian/changelog: Updating.
1574 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1576 * src/hildon-color-chooser-dialog.c:
1577 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
1578 straight from Tommi labs.
1580 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1582 * examples/hildon-finger-example.c: Correcting the header file path.
1584 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
1585 the changed signal. Fixes a small memory leak.
1587 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1591 * src/hildon-banner.c: Importing several usefull fixes from the
1592 ubuntu-mobile branch.
1594 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1596 * examples/Makefile.am:
1597 * examples/hildon-finger-example.c: Adding a finger-checking code
1600 * src/hildon-font-selection-dialog.c: Do not allocate the color
1601 structure using the g_new. Fixes NB#54061.
1603 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1605 * src/hildon-helper.c: Correcting tabs in file.
1607 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
1609 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
1610 control the visibility of the children.
1612 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
1614 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1620 * debian/changelog: Updating.
1622 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
1624 * src/hildon-bread-crumb-trail.c:
1625 (hildon_bread_crumb_trail_size_allocate):
1627 Make the back button always a square.
1629 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
1631 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
1632 from the .c file as it's a private file.
1634 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1636 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
1637 uses slightly bigger height.
1639 * src/hildon-font-selection-dialog.c: Adding some checks before
1640 freeing memory in the font selection dialog.
1642 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1644 * src/hildon-font-selection-dialog.c: Adding a small check when
1647 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
1648 buttons sensitivity on page switching.
1650 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
1652 * src/hildon-bread-crumb-trail.c: make the add method handle all the
1653 internal details of adding a bread crumb to the trail.
1655 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1661 * debian/changelog: Updating.
1663 * src/hildon-bread-crumb-trail.h:
1664 * src/hildon-bread-crumb.h: Changing the API guard to
1665 HILDON_ENABLE_UNSTABLE_API.
1667 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1675 * src/hildon-helper.h: Updating.
1677 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1685 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1689 * src/hildon-helper.h: Small fix to make the package actually compile.
1691 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
1693 * src/hildon-bread-crumb-trail.h:
1694 * src/hildon-bread-crumb.h:
1696 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
1697 to define ENABLE_UNSTABLE_API in the code that includes these headers.
1699 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
1701 * examples/hildon-bread-crumb-trail-example.c:
1703 * src/hildon-bread-crumb-trail.c:
1704 * src/hildon-bread-crumb-trail.h:
1705 * src/hildon-bread-crumb.c:
1706 * src/hildon-bread-crumb.h:
1707 * src/hildon-marshalers.list:
1708 * src/hildon-bread-crumb-widget.c:
1709 * src/hildon-bread-crumb-widget.h:
1711 Slight change in the widget design. The bread crumb trail API is
1712 unchanged, but HildonBreadCrumb is now an interface. A *private*
1713 implementation, hildon-bread-crumb-widget, is provided and used
1714 internally by the trail for the push_text/push_icon functions.
1716 The generic push API is still available, so anyone can implement
1717 and use its own bread crumb widget.
1719 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1721 * debian/rules: Fixing the shlibs.
1723 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1725 * src/hildon-banner.c: Fixing a problem with timed banners having
1726 their parrent destroyed before they are.
1728 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
1730 * src/hildon-bread-crumb.c:
1731 * src/hildon-bread-crumb.h:
1733 Make the get_natural_size function a vfunc.
1735 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1737 * src/hildon-bread-crumb.c:
1738 * src/hildon-bread-crumb-trail.c:
1742 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1749 * debian/changelog: Updating for release.
1751 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1753 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
1754 don't leak the pango layout.
1756 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
1759 * examples/hildon-bread-crumb-trail-example.c:
1763 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1765 * debian/changelog: Removing the bug-fixed entries that were actually
1766 resolved as WONTFIX.
1768 * src/hildon-date-editor.c: Removing a redundant check. Fixes
1771 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
1773 * src/hildon-bread-crumb-trail.c:
1774 * src/hildon-bread-crumb-trail.h:
1775 * src/hildon-bread-crumb.c:
1776 * src/hildon-bread-crumb.h:
1780 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
1782 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
1783 until it's passed the type check.
1785 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
1787 * examples/hildon-bread-crumb-trail-example.c
1791 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
1793 * examples/Makefile.am
1794 * examples/hildon-bread-crumb-trail-example.c
1796 * src/hildon-bread-crumb-trail.c
1797 * src/hildon-bread-crumb-trail.h
1798 * src/hildon-bread-crumb.c
1799 * src/hildon-bread-crumb.h
1801 New HildonBreadCrumbTrail widget.
1803 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
1805 * src/hildon-range-editor.c (hildon_range_editor_init),
1806 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
1807 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
1808 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
1809 hildon_time_editor_class_init, hildon_time_editor_init),
1810 src/hildon-get-password-dialog.c (invalid_input,
1811 hildon_get_password_set_property, hildon_get_password_get_property,
1812 create_contents, hildon_get_password_dialog_set_max_characters),
1813 src/hildon-set-password-dialog.c (create_contents),
1814 src/hildon-date-editor.c (hildon_date_editor_init),
1815 src/hildon-login-dialog.c (hildon_login_dialog_init),
1816 src/hildon-number-editor.c (hildon_number_editor_init),
1817 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
1818 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
1819 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
1820 configure option and adding the respective checks in the code.
1821 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
1822 hildon_calendar_drag_data_received): fixed some build warnings.
1824 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1826 * debian/changelog: A 1.0.0 release notes.