1 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
3 * doc/hildon-docs.sgml:
8 * examples/Makefile.am: Update renamed examples.
10 * examples/hildon-picker-button-multicolumn-example.c:
11 (create_touch_selector), (main): Update after the rename.
13 * examples/hildon-touch-picker-example.c: Removed.
14 * examples/hildon-touch-selector-example.c: (value_changed),
15 (create_selector), (get_visible_content), (main): Renamed from
16 hildon-touch-picker-example.c
18 * src/Makefile.am: Updated renamed files.
20 * src/hildon-date-button.c: (hildon_date_button_init),
21 (hildon_date_button_get_date), (hildon_date_button_set_date):
22 * src/hildon-date-selector.c: (hildon_date_selector_init),
23 (_custom_print_func), (_update_day_model),
24 (_manage_selector_change_cb),
25 (hildon_date_selector_select_current_date),
26 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
27 * src/hildon-date-selector.h:
28 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
29 (hildon_picker_button_set_property),
30 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
31 (hildon_picker_button_init), (hildon_picker_button_new_text),
32 (hildon_picker_button_append_text),
33 (hildon_picker_button_prepend_text),
34 (hildon_picker_button_insert_text),
35 (hildon_picker_button_set_selector),
36 (hildon_picker_button_get_selector):
37 * src/hildon-picker-button.h:
38 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
39 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
40 (_update_title_on_selector_changed_cb), (requires_done_button),
41 (_hildon_picker_dialog_set_selector),
42 (hildon_picker_dialog_set_selector),
43 (hildon_picker_dialog_get_selector):
44 * src/hildon-picker-dialog.h:
45 * src/hildon-time-button.c: (hildon_time_button_init),
46 (hildon_time_button_get_time), (hildon_time_button_set_time):
47 * src/hildon-time-selector.c: (hildon_time_selector_init),
48 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
49 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
50 * src/hildon-time-selector.h:
53 Massive code updates after the rename.
55 * src/hildon-touch-picker.c: Removed.
56 * src/hildon-touch-picker.h: Removed.
58 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
59 (hildon_touch_selector_init), (hildon_touch_selector_map),
60 (hildon_touch_selector_remove), (_default_print_func),
61 (_selection_changed_cb), (_create_new_column),
62 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
63 (hildon_touch_selector_append_text_column),
64 (hildon_touch_selector_remove_column),
65 (hildon_touch_selector_set_column_attributes),
66 (hildon_touch_selector_insert_column),
67 (hildon_touch_selector_get_num_columns),
68 (hildon_touch_selector_get_column_selection_mode),
69 (hildon_touch_selector_set_column_selection_mode),
70 (hildon_touch_selector_set_print_func),
71 (hildon_touch_selector_get_print_func),
72 (hildon_touch_selector_get_active_iter),
73 (hildon_touch_selector_set_active_iter),
74 (hildon_touch_selector_get_selected_rows),
75 (hildon_touch_selector_get_model),
76 (hildon_touch_selector_set_model),
77 (hildon_touch_selector_get_current_text),
78 (_hildon_touch_selector_center_on_selected_items):
79 * src/hildon-touch-selector.h: Renamed from
80 hildon-touch-picker.[ch]
82 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
83 references, code examples, and related documentation.
85 2008-07-30 Alberto Garcia <agarcia@igalia.com>
87 * doc/hildon-docs.sgml
90 * src/hildon-toggle-button.c
91 * src/hildon-toggle-button.h
92 * src/hildon.h: New HildonToggleButton widget.
94 2008-07-30 Alberto Garcia <agarcia@igalia.com>
96 * src/hildon-button.c: Add API documentation.
97 (hildon_button_set_size_groups): Check input parameters
99 2008-07-30 Alejandro G. Castro <alex@igalia.com>
101 * src/hildon-pannable-area.c
102 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
103 effect after reaching the movement thredshold. This way we start
104 using the distance after passing the thredshold.
106 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
108 * src/hildon-button.c: (hildon_button_set_property): Use the
109 appropriate g_value_get_flags() method.
111 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
113 * doc/hildon-docs.sgml:
116 Add the touch pickers, picker dialogs, and picker button widgets
117 to the documentation.
119 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
121 * src/hildon-button.c: (hildon_button_set_property),
122 (hildon_button_class_init): Make "arrangement-flags" a proper
123 G_TYPE_FLAGS derived property.
125 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
127 * examples/Makefile.am: Add below examples.
128 * examples/hildon-date-button-example.c:
129 * examples/hildon-picker-button-example.c:
130 * examples/hildon-picker-button-multicolumn-example.c:
131 * examples/hildon-time-button-example.c:
132 * examples/hildon-touch-picker-example.c:
134 Add examples for the recently added touch pickers,
135 picker dialogs, and picker button widgets.
137 2008-07-29 Alberto Garcia <agarcia@igalia.com>
139 * src/hildon-button.c: Add some API documentation
141 2008-07-29 Alberto Garcia <agarcia@igalia.com>
143 * src/hildon-button.h
144 * src/hildon-button.c
146 (hildon_button_new_with_text): New constructor to create a button
148 (hildon_button_init, hildon_button_set_arrangement)
149 (hildon_button_set_title, hildon_button_set_value)
150 (hildon_button_set_text)
151 (hildon_button_construct_child): Hide the value when it's not used
152 so the rest of the text is properly aligned.
153 Allow creating buttons with arbitrary widgets inside (not just
156 * examples/hildon-button-example.c (vertical_buttons_window)
157 (horizontal_buttons_window): Update example to use new API.
159 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
161 * src/Makefile.am: Added HildonTimeButton.
162 * src/hildon-time-button.c: Added missing LGPL header.
163 * src/hildon-time-button.h: Added missing LGPL header.
164 * src/hildon.h: Add hildon-time-button.h
166 Copied HildonTimeButton from sandbox to trunk. Future work on this
167 widget must take place in trunk.
169 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
171 * src/Makefile.am: Added HildonDateButton.
172 * src/hildon-date-button.c: Update includes.
173 * src/hildon.h: Add hildon-date-button.h
175 Copied HildonDateButton from sandbox to trunk. Future work on this
176 widget must take place in trunk.
178 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
180 * src/Makefile.am: Added HildonPickerButton.
181 * src/hildon-picker-button.h: Update includes.
182 * src/hildon.h: Add hildon-picker-button.h
184 Copied HildonPickerButton from sandbox to trunk. Future work on
185 this widget must take place in trunk.
187 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
189 * src/Makefile.am: Added HildonPickerDialog.
190 * src/hildon-picker-dialog.c: Update includes.
191 * src/hildon.h: Add hildon-picker-dialog.h
193 Copied HildonPickerDialog from sandbox to trunk. Future work
194 on this widget must take place in trunk.
196 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
198 * src/Makefile.am: Added HildonTimeSelector.
199 * src/hildon.h: Add hildon-time-selector.h
201 Copied HildonTimeSelector widget from sandbox to trunk. Future
202 work on this widget must happen in trunk.
204 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
206 * src/Makefile.am: Added HildonDateSelector.
207 * src/hildon.h: Add hildon-date-selector.h
209 Copied HildonDateSelector widget from sandbox to trunk. Future
210 work on this widget must happen in trunk.
212 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
214 * src/Makefile.am: Added HildonTouchPicker.
215 * src/hildon-touch-picker.c: Update includes.
216 * src/hildon.h: Add hildon-touch-picker.h
218 Copied HildonTouchPicker widget from sandbox to trunk. Future work
219 on this widget must happen in trunk.
221 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
223 * src/hildon-pannable-area.c:
224 (hildon_pannable_area_motion_notify_cb): Fix a typo.
226 2008-07-29 Alberto Garcia <agarcia@igalia.com>
228 * examples/hildon-app-menu-example.c (main): Let the window
231 2008-07-29 Alejandro G. Castro <alex@igalia.com>
233 * src/hildon-pannable-area.c
234 (hildon_pannable_area_class_init): Set the min value of the
235 overshoot properties to zero, which points out that not
236 overshooting allowed.
238 2008-07-29 Alejandro G. Castro <alex@igalia.com>
240 Modified the procedure to get the widget at a point inside the
241 pannable area when using the movement type signals. Now the user
242 has to call a function to get the child, that way we just
243 calculate the child in case the user really want to use it and not
246 * src/hildon-marshalers.list: Modified the marshallers, now we do
247 not have the widget as a parameter.
249 * src/hildon-pannable-area.c
250 (hildon_pannable_area_motion_notify_cb),
251 (hildon_pannable_area_class_init),
252 (hildon_pannable_get_child_widget_at): Removed the widget
253 parameter from the signal callback. We have also refactored the
254 emission of the signals.
256 * src/hildon-pannable-area.h: Added a new method to the API to
257 calculate a widget at a point inside the pannable area,
258 hildon_pannable_get_child_widget_at.
260 * examples/hildon-pannable-area-example-4.c
261 (horizontal_movement): Modified the example to use the new API,
262 added condition to control which widget is under the event. This
263 way we can avoid scrolling laterally over other widgets.
265 2008-07-29 Alejandro G. Castro <alex@igalia.com>
267 * src/hildon-pannable-area.c
268 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
269 modes, we stop getting the pointer events due to returning the
270 callback without properly calling the get pointer again. Fixed
271 also an error using the hscroll and vscroll.
273 2008-07-28 Alberto Garcia <agarcia@igalia.com>
275 * src/hildon-app-menu-private.h
276 * src/hildon-app-menu.c (hildon_app_menu_button_press)
277 (hildon_app_menu_button_release, hildon_app_menu_init)
278 (hildon_app_menu_class_init): Don't hide the menu on button
279 release if the user didn't press outside first.
281 * src/hildon-window.h
282 * src/hildon-window.c (hildon_window_toggle_menu)
283 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
284 hildon_window_toggle_menu a virtual function for the stackable
285 window to override it.
287 * src/hildon-stackable-window.h
288 * src/hildon-stackable-window-private.h
289 * src/hildon-stackable-window.c
290 (hildon_stackable_window_realize)
291 (hildon_stackable_window_finalize)
292 (hildon_stackable_window_class_init)
293 (hildon_stackable_window_init)
294 (hildon_stackable_window_set_main_menu): New function to set the
295 app menu of a HildonStackableWindow.
297 * examples/hildon-app-menu-example.c: Remove the button to show
298 the app menu, now it'll be shown when clicking on the title bar
301 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
303 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
304 set the widget name if the arrangement flags do not specify
307 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
309 * src/hildon-button.c: (hildon_button_set_property),
310 (hildon_button_class_init), (hildon_button_new_full),
311 (hildon_button_set_arrangement): Added "arrangement-flags"
314 Make the HildonButtonFlags a construction-only property, to allow
315 subclasses to set them properly.
317 2008-07-21 Tim Janik <timj@imendio.com>
319 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
320 insertion position after backspace, so additional digits are appended,
323 2008-07-17 Alejandro G. Castro <alex@igalia.com>
325 * src/hildon-pannable-area.c,
326 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
327 TODO list, it was complete and removed the g_debug and g_print
330 2008-07-17 Alejandro G. Castro <alex@igalia.com>
332 Added the movement modes to the hildon-pannable-area, with this
333 modes the developers can control in which directions the widget
334 can scroll. They can also connect to signals in order to do
335 something when that happens, allowing applications scroll. There
336 is an example uploaded showing how to use it.
338 * examples/Makefile.am:
339 * examples/hildon-pannable-area-example-4.c: Added this example of
340 an application using the modes.
342 * src/hildon-marshalers.list: Added a new marshaller for the new
345 * src/hildon-pannable-area.h: Added new enumerations and flags in
346 order to control the movement modes and the new signals to warn
347 about the movements in the area.
349 * src/hildon-pannable-area.c:
350 (hildon_pannable_axis_scroll),
351 (hildon_pannable_area_scroll),
352 (hildon_pannable_area_motion_notify_cb),
353 (hildon_pannable_area_get_property),
354 (hildon_pannable_area_set_property),
355 (hildon_pannable_area_map),
356 (hildon_pannable_area_class_init),
357 (hildon_pannable_area_init),
358 (hildon_pannable_area_jump_to): Added the modes to control the
359 movement in the widget. We have added properties to control it,
360 signals to warn about the movements and refactored some code.
362 2008-07-15 Alejandro G. Castro <alex@igalia.com>
364 Changes required in order to allow vfast_factor set to zero to
367 * src/hildon-pannable-area.c:
368 (hildon_pannable_area_button_press_cb): Changed the condition, it
369 is required for not allowing click when vfast_factor is zero.
370 (hildon_pannable_area_timeout): Initialized velocity variables
371 when we stop moving, it was less than 1 but not zero and we need
372 to check zero in some situations.
373 (hildon_pannable_area_class_init): Changed the default value of
374 the speed factor, now the button_press is just sent in case the
375 speed is 2 per cent of the max speed.
376 (hildon_pannable_area_init): Initialization with 0.
378 2008-07-04 Alejandro G. Castro <alex@igalia.com>
380 * src/hildon-pannable-area.c,
381 (hildon_pannable_area_get_topmost): replaced
382 gdk_window_get_children with gdk_window_peek_children, this way we
383 do not have to free the list because it is not a copy.
385 (hildon_pannable_axis_scroll),
386 (hildon_pannable_area_scroll),
387 (hildon_pannable_area_timeout),
388 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
389 two parameters that were only used inside the
390 hildon_pannable_area_scroll function.
392 * examples/hildon-pannable-area-example.c,
393 (get_sawtooth_label): Fixed small memory leak.
395 2008-07-03 Alejandro G. Castro <alex@igalia.com>
397 More checks for the case where the overshoot is bigger than the
400 * src/hildon-pannable-area.c:
401 (hildon_pannable_draw_vscroll),
402 (hildon_pannable_draw_hscroll): with this new calculation we avoid
403 to draw the slider of the scrollbar under the other scrollbar.
404 (hildon_pannable_area_expose_event): added new checks to control
405 the drawing of the overshooting area rectangle, in case it is too
406 big for the area of the widget.
407 (hildon_pannable_area_size_allocate): add more checks to avoid
408 setting a position to the child widget outside the area.
410 2008-07-03 Alejandro G. Castro <alex@igalia.com>
412 * src/hildon-pannable-area.c
413 (hildon_pannable_area_size_allocate): Added conditions to control
414 when overshooting is bigger than the allocated space for the
415 children, this avoids negative allocations.
417 2008-07-02 Alberto Garcia <agarcia@igalia.com>
419 * doc/hildon-docs.sgml
421 * examples/Makefile.am
422 * examples/hildon-button-example.c
424 * src/hildon-button.c
425 * src/hildon-button.h
426 * src/hildon.h: Initial version of the new HildonButton widget,
429 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
431 * src/hildon-pannable-area.c:
432 (hildon_pannable_area_button_press_cb),
433 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
434 (hildon_pannable_area_motion_notify_cb),
435 (hildon_pannable_area_button_release_cb),
436 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
437 (hildon_pannable_area_jump_to_child):
439 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
441 2008-07-01 Alberto Garcia <agarcia@igalia.com>
443 * examples/Makefile.am
444 * examples/hildon-pannable-area-touch-grid-example.c
445 * examples/hildon-pannable-area-touch-list-example.c: Examples of
446 the Hildon Touch List and Hildon Touch Grid using the
447 HildonPannableArea widget.
449 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
451 * src/hildon-pannable-area.c,
452 (hildon_pannable_area_button_press_cb),
453 (hildon_pannable_area_refresh),
454 (hildon_pannable_area_scroll),
455 (hildon_pannable_area_motion_notify_cb),
456 (hildon_pannable_area_button_release_cb),
457 (hildon_pannable_area_expose_event),
458 (hildon_pannable_area_add),
459 (hildon_pannable_area_remove),
460 (hildon_pannable_area_realize),
461 (hildon_pannable_area_size_allocate),
462 (hildon_pannable_area_class_init),
463 (hildon_pannable_area_init),
464 (hildon_pannable_area_scroll_to_child),
465 (hildon_pannable_area_jump_to_child): Fixed the problem of
466 removing the child from the GtkBin, we have rearranged the widget
467 hierarchy, now there is no GtkAlignment which was not doing
468 anything interesting but breaking some of the assumptions of
469 GtkContainer. Now developers if they want to add a GtkAlignment
470 they could, but it is not inside the area.
472 We had to review the whole allocation/expose process, now it is
473 improved and we save at least three signals which would be saving
474 some time when rendering the widget. The allocation of the
475 scrollbars is now made in the allocate method as usual.
477 We have also added some conditions in order to control when there
478 is no child of the pannable area. Maybe we will need more work
481 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
483 * src/hildon-pannable-area.c,
484 (hildon_pannable_area_dispose): Released the fade-out timeout when
485 disposing the widget.
487 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
489 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
490 zero, we are going to use that property in order to deactivate the
492 (hildon_pannable_axis_scroll),
493 (hildon_pannable_area_size_allocate): Added conditions to control
494 when overshoot_max is zero. Moved the gtk_adjustment_set_value
495 call, now it is called in all situations and we can remove calls
496 in the allocate method.
497 (hildon_pannable_area_map): Control the situation when
498 overshoot_max is zero, we do not need the timeout.
499 (hildon_pannable_area_class_init): Added documentation in order to
500 point out that setting zero to overshoot_max means deactivate
503 NOTE: removed trailing whitespaces from my previous comments of
506 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
508 * src/hildon-pannable-area.c
509 (hildon_pannable_area_get_property),
510 (hildon_pannable_area_set_property),
511 (hildon_pannable_area_map),
512 (hildon_pannable_area_class_init),
513 (hildon_pannable_area_init): Add a boolean "initial-hint" property
514 to cause the widget give a hint about its panning abilities upon
517 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
519 * src/hildon-pannable-area.c: Several documentation improvements.
521 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
523 * src/hildon-program.c
524 * src/hildon-stackable-window.c: Update documentation.
526 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
528 * src/hildon-stackable-window.c (get_previous_window_if_last):
529 Renamed get_last_window()
530 (hildon_stackable_window_map, hildon_stackable_window_unmap)
531 (hildon_stackable_window_unset_program):
533 (get_previous_window_if_last):
534 Detect if the window hasn't been added to a HildonProgram.
536 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
538 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
540 * src/hildon-pannable-area.c
541 (hildon_pannable_area_button_press_cb),
542 (hildon_pannable_axis_scroll),
543 (hildon_pannable_area_scroll),
544 (hildon_pannable_area_timeout),
545 (hildon_pannable_calculate_vel_factor),
546 (hildon_pannable_area_get_property),
547 (hildon_pannable_area_set_property),
548 (hildon_pannable_area_class_init),
549 (hildon_pannable_area_init),
550 (hildon_pannable_area_scroll_to),
551 (hildon_pannable_area_jump_to),
552 (hildon_pannable_area_scroll_to_child),
553 (hildon_pannable_area_jump_to_child):
554 * src/hildon-pannable-area.h: Added the new API functions:
555 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
556 hildon_pannable_area_scroll_to_child,
557 hildon_pannable_area_jump_to_child
560 * examples/Makefile.am
561 * examples/hildon-pannable-area-example-2.c
562 * examples/hildon-pannable-area-example-3.c: Added these two new
563 examples in order to test and show how the new APIs work.
565 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
567 * examples/hildon-stackable-window-example.c (new_window):
568 * src/Makefile.am (noinst_HEADERS):
569 * src/hildon-program.c (hildon_program_go_to_root_window):
570 * src/hildon-program.h:
571 * src/hildon-stackable-window-private.h:
572 * src/hildon-stackable-window.c:
573 * src/hildon-stackable-window.h:
574 Create hildon-stackable-window-private.h
575 Move hildon_stackable_window_go_to_root_window() to HildonProgram
577 * examples/hildon-app-menu-example.c (create_menu):
578 * examples/hildon-hvolumebar-insensitive-example.c (main):
579 * examples/hildon-hvolumebar-timer-example.c (on_idle):
580 * examples/hildon-toolbar-seekbar-example.c (main):
581 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
582 * src/hildon-banner.c (hildon_banner_set_property):
583 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
584 Fix compilation warnings
586 * src/hildon-window.c:
589 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
591 * src/hildon-stackable-window.c
592 (hildon_stackable_window_unset_program):
593 Calculate correctly whether to show the previous window if the
594 last one is removed from the stack.
595 (hildon_stackable_window_go_to_root_window):
596 Send delete events starting from the topmost window.
597 Stop if one of the windows is not destroyed.
599 (hildon_stackable_window_delete_event)
600 (hildon_stackable_window_class_init):
601 Ignore the delete event if the window is not the topmost one.
603 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
605 * src/hildon-pannable-area.c
606 (hildon_pannable_area_expose_event): Fixed a problem when
607 selecting the background color of the scrollbars.
609 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
611 * examples/hildon-stackable-window-example.c
612 * src/hildon-stackable-window.c
613 * src/hildon-stackable-window.h
614 hildon_stackable_window_go_home() renamed to
615 hildon_stackable_window_go_to_root_window()
616 Send delete events to windows rather than closing them with
619 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
621 * src/hildon-pannable-area.c
622 (hildon_pannable_area_button_release_cb): Fix overshooting in
625 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
627 * src/hildon-pannable-area.c
628 (hildon_pannable_area_init): Initially show the scroll indicators.
629 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
631 Add initial effect showing the widget is pannable.
633 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
635 * src/hildon-pannable-area.c
636 (hildon_pannable_area_class_init)
637 (hildon_pannable_area_set_property)
638 (hildon_pannable_area_get_property)
639 (hildon_pannable_area_button_press_cb):
640 New 'velocity_fast_factor' property to decide which velocity is
643 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
645 * src/hildon-pannable-area.c
646 (hildon_pannable_draw_hscroll)
647 (hildon_pannable_draw_vscroll):
648 Use float variables to calculate the size of the scrollbars to
649 avoid error propagation and resizing during scrolling.
651 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
653 * src/hildon-pannable-area.c
654 (hildon_pannable_draw_vscroll)
655 (hildon_pannable_draw_hscroll):
656 Define a minimum size for the scroll bars
658 * src/hildon-stackable-window.c
659 (hildon_stackable_window_go_home): Fix compilation warning
660 (get_last_window): Minor optimizations
661 (hildon_stackable_window_class_init): Fix initialization of
664 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
666 * src/hildon-stackable-window.c: Fixed typos in doc
668 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
670 * src/hildon-pannable-area.c
671 (hildon_pannable_area_scroll):
672 Calculate here whether we need to scroll instead of using the booleans
673 that tell us whether to /draw/ the scrolling bars.
675 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
677 * src/hildon-app-menu.h
679 * src/hildon-app-menu.c
680 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
681 multiple filter groups related code and API. Now we support only
683 * examples/hildon-app-menu-example.c:
685 Update to reflect API changes.
687 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
689 * src/hildon-stackable-window.c
690 (hildon_stackable_window_class_init):
691 Add hildon_stackable_window_realize.
692 (hildon_stackable_window_realize):
693 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
694 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
695 to apply theming and behavior specific to HildonStackableWindow
698 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
700 * src/hildon-note.c (hildon_note_button_release):
701 Close information notes also when tapping on them
703 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
705 Added BOUNCE_STEPS define to control the overshoot effect. Removed
706 ELASTICITY, refactor and review, fix some issues with drawing
709 * src/hildon-pannable-area.c:
710 (hildon_pannable_area_button_press_cb): removed the conditions to
711 avoid clicks when overshooting. It is not required
713 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
714 define. Refatored and reviewed the code, now we do not need to
715 manage velocity in motion_notify.
717 (hildon_pannable_area_motion_notify_cb): We have moved the code
718 that controls the area_scroll to the axis_scroll function and get
719 rid of duplicated code.
721 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
723 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
725 (hildon_pannable_draw_vscroll),
726 (hildon_pannable_draw_hscroll): Fixed the problems with the
727 scrollbar drawing, now we do not use two surfaces, it is easier
730 (hildon_pannable_area_get_property): Style modification.
732 (hildon_pannable_area_class_init): Changed some default values.
734 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
736 * src/hildon-stackable-window.c: Fix some typos in the
739 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
741 * src/hildon-dialog.c:
742 Change indentation style
745 (hildon_note_button_release):
746 Use root coordinates to check if the release event happened
749 * src/hildon-app-menu.c
750 (hildon_app_menu_button_release):
751 Remove unnecessary check
753 * examples/hildon-app-menu-example.c
755 Add cast to fix warning
757 * src/hildon-app-menu.c
758 (hildon_app_menu_class_init):
759 New inner-border style property.
760 Set all default spacings to 16
761 (hildon_app_menu_init):
762 Use vertical-spacing to set the space between filter buttons and
763 regular menu buttons.
764 Set the default container border using the inner-border value.
766 * examples/hildon-app-menu-example.c
768 Don't set the menu border explicitly, now we have the inner-border
769 style property for that.
771 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
773 * src/hildon-app-menu.c (hildon_app_menu_init):
774 Make the window modal
776 * src/hildon-note.c (hildon_note_map)
777 * src/hildon-app-menu.c (hildon_app_menu_map):
778 Destroy the grab window if we're unable to grab the pointer
780 * src/hildon-app-menu-private.h
781 * src/hildon-app-menu.c
782 (hildon_app_menu_init, hildon_app_menu_finalize)
783 (hildon_app_menu_map, hildon_app_menu_unmap)
784 (hildon_app_menu_button_release)
785 (grab_transfer_window_get):
786 Bring back the grab window
787 (hildon_app_menu_realize):
788 Decorate the window, set WM hint for Matchbox
790 * src/hildon-note.c (hildon_note_realize):
791 * src/hildon-banner.c (hildon_banner_realize):
792 Add WM hints for Matchbox
794 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
796 * src/hildon-app-menu-private.h
797 * src/hildon-app-menu.c
798 (hildon_app_menu_init, hildon_app_menu_finalize)
799 (hildon_app_menu_map, hildon_app_menu_unmap)
800 (hildon_app_menu_button_release):
801 Remove the grab window, it's not needed anymore
803 * src/hildon-program.c
804 Fixed typo in documentation
806 * src/hildon-app-menu.h
807 * src/hildon-app-menu.c
808 * examples/hildon-app-menu-example.c
809 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
811 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
814 Added new transfer_window and close_if_pressed_outside private
816 (hildon_note_rebuild):
817 Don't add a cancel button to the information note. It will be
818 closed when tapping outside
819 Remove the comment about the OK button in the documentation
820 (hildon_note_realize):
821 Set the notification type hint
822 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
823 Grab/ungrab pointer and keyboard if the note has to be closed when
825 (hildon_note_button_release):
826 Close the note when tapping outside (if applicable)
828 * src/hildon-app-menu.c
829 Grab/ungrab pointer and keyboard on map/unmap
830 (hildon_app_menu_button_release, hildon_app_menu_class_init):
831 Close the menu on button release, not button press
833 * src/hildon-banner.c
834 (hildon_banner_set_property)
835 (hildon_banner_check_position):
836 Make the banner use the full width of the screen
837 (hildon_banner_show_information)
838 (hildon_banner_show_information_with_markup):
839 Don't display an icon by default
841 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
843 Added fading scrollbars and adapted all the overshooting code to
844 horizontal scrolling. We have also fixed bugs with overshooting
845 and current fading implementation.
847 * src/hildon-pannable-area.c
848 (hildon_pannable_area_scroll_indicator_fade): Time out function
849 used to change the transparency of the scrollbars.
851 (hildon_pannable_area_button_press_cb): Added horizontal overshot
852 control and fixed a problem with fading, we now remove the fade
853 timeout before adding a new one.
855 (hildon_pannable_axis_scroll):
856 (hildon_pannable_area_scroll):
857 (hildon_pannable_area_timeout): Added this functions so we can use
858 the scroll code both for vertical and horizontal.
860 (hildon_pannable_area_motion_notify_cb):
861 (hildon_pannable_area_button_release_cb): Added the horizontal
862 scrolling control, fixed a problem with the overshooting timeout.
864 (rgb_from_gdkcolor): Added this function, it is used in the cairo
865 painting of the scrolls.
867 (hildon_pannable_draw_vscroll):
868 (hildon_pannable_draw_hscroll):
869 (hildon_pannable_area_expose_event):
870 Draw both scrollbars and rectangles in the overshooting area.
872 (hildon_pannable_area_get_property):
873 (hildon_pannable_area_set_property):
874 Modified the overshoot property to overshoot_max
876 (hildon_pannable_area_map):
877 Replaced the comments symbols.
879 (hildon_pannable_area_size_allocate):
880 (hildon_pannable_area_class_init):
881 (hildon_pannable_area_init): Added horizontal scroll, fading
882 effect properties, fixed a problem when overshooting in the bottom
885 * examples/hildon-pannable-area-example.c:
886 (get_sawtooth_label): Now we use smaller sawtooths, the effect
887 looks better in the example.
889 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
891 * src/hildon-window.c
892 * src/hildon-window.h
893 (hildon_window_class_init)
894 (hildon_window_unset_program)
895 (hildon_window_unset_program_real):
896 Make unset_program a virtual function
898 * src/hildon-stackable-window.c
899 * src/hildon-stackable-window.h
900 Added hildon_stackable_window_go_home()
902 * examples/Makefile.am
903 * examples/hildon-stackable-window-example.c
904 HildonStackableWindow example
906 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
908 * hildon-pannable-area.c: Added the overshoot property and removed
909 the OVERSHOOT define. Fixed an indent style error.
910 (hildon_pannable_area_motion_notify_cb):
911 (hildon_pannable_area_get_property):
912 (hildon_pannable_area_set_property): Add overshoot property.
914 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
917 (hildon_pannable_area_class_init): Installed the new property.
919 * hildon-pannable-area-example.c: Added a sawtooth function, this
920 way it is easier to check the movement in the pannable.
921 (get_sawtooth_label): Added this function.
922 (main): Now we get the labels from the new get_sawtooth_label
925 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
927 * src/hildon-app-menu.h
928 * src/hildon-app-menu.c
929 Renamed API variables for consistency
931 (hildon_app_menu_popup): Use also the default window size to
932 decide where to place the menu
934 (hildon_app_menu_init, hildon_app_menu_class_init): New
935 external-border style property
937 2008-05-26 Michael Natterer <mitch@imendio.com>
939 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
940 widget_class->tap_and_hold_setup signal slot doesn't exist any
941 longer, stop overriding it.
943 (hildon_time_editor_init): g_signal_connect() to the
944 tap-and-hold-setup signal instead.
946 (hildon_time_editor_entry_keypress): add cast to fix warning.
948 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
950 * doc/hildon-docs.sgml
952 * examples/Makefile.am
953 * examples/hildon-app-menu-example.c
955 * src/hildon-app-menu-private.h
956 * src/hildon-app-menu.c
957 * src/hildon-app-menu.h
959 New HildonAppMenu widget
961 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
963 Rearranged the inheritance of the pannable area, now it inherits
964 from GtkBin. This will allow us to control the event_window and
965 the allocation process of the widget, required for some effects.
967 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
968 GtkBin structures. * src/hildon-pannable-area.c: Added the
969 event_window variable.
970 (hildon_pannable_area_button_press_cb):
971 (hildon_pannable_area_button_release_cb):
972 (hildon_pannable_area_motion_notify_cb):
973 Changed the signature of the method, now we override the event
974 callback instead of connecting to the signal.
976 (hildon_pannable_area_realize):
977 (hildon_pannable_area_unrealize):
978 (hildon_pannable_area_map):
979 (hildon_pannable_area_unmap):
980 (hildon_pannable_area_size_allocate):
981 Added functions to control the widget construction. We add a
982 INPUT_ONLY window and we put it over the widgets inside the
983 container, this event_window handles the events.
985 (hildon_pannable_area_class_init):
986 Replaced the signal connections with overrides of the event
989 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
991 Bouncing effect added when touching the borders, you can change
992 the elasticity of the border changing the ELASTICITY define.
994 * src/hildon-pannable-area.c: Added ELASTICITY define.
995 (hildon_pannable_area_timeout): Added inverse velocity when
996 touching the border of the child widget, that causes a bounce.
998 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1000 Improved performance, we now do not go to the X server in order to
1001 get the list of window children. Apparently the effect is the
1002 same, we have to be careful and check if this breaks something in
1005 * src/hildon-pannable-area.c:
1006 (get_ordered_children): Removed this function.
1007 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1008 the children windows function with gdk_window_get_children.
1010 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1012 * src/hildon-pannable-area.c:
1013 (hildon_pannable_area_dispose): Fixed a crash when closing the
1014 window and kinetics is activated.
1016 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1018 * src/hildon-pannable-area.h
1019 * src/hildon-pannable-area.c
1020 Changed indentation style to meet the one used in Hildon
1022 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1024 Reviewed the interaction of the AUTO mode, now we use the time
1025 attribute of the events and calculate the velocity in the motion,
1026 doing a gimp like calculation. The velocity is calculated in each
1027 motion event using the last velocity and the current one, the
1028 SMOOTH_FACTOR controls the percentage of the new velocity we use.
1030 * src/hildon-pannable-area.c: Replaced the time based algorithm
1032 (hildon_pannable_area_motion_notify_cb): now we do not launch the
1033 timeout for the AUTO mode when we are still moving the cursor. We
1034 added also the velocity calculation in this function.
1035 (hildon_pannable_area_button_release_cb): launch the timeout in
1036 case we are in AUTO mode. There are still some constants here that
1037 come from the old implementation that should be reviewed and
1040 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
1042 * doc/hildon-docs.sgml
1045 * src/hildon-stackable-window.c
1046 * src/hildon-stackable-window.h
1048 New HildonStackableWindow widget
1050 * examples/hildon-dialog-example.c
1051 * examples/hildon-pannable-area-example.c
1054 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
1056 * src/hildon-dialog.c
1057 (hildon_dialog_new_with_buttons): New constructor.
1059 * examples/hildon-dialog-example.c
1060 (main): Update the example to use the new
1061 hildon_dialog_new_with_buttons().
1063 * examples/hildon-pannable-area-example.c
1064 (main): Update example.
1066 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
1068 * doc/hildon-docs.sgml
1070 Added HildonPannableArea to the documentation.
1072 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
1074 * doc/visual_index.xml
1075 Fix reference to HildonLoginDialog in documentation
1077 * doc/hildon-docs.sgml
1079 * examples/Makefile.am
1080 * examples/hildon-dialog-example.c
1082 * src/hildon-dialog.c
1083 * src/hildon-dialog.h
1085 New HildonDialog widget.
1087 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1089 * src/hildon-pannable-area.c
1090 Merge latest changes (r4318, r4342) from libmokoui trunk
1092 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
1094 * examples/Makefile.am
1095 * examples/hildon-pannable-area-example.c
1097 * src/hildon-pannable-area.c
1098 * src/hildon-pannable-area.h
1100 New HildonPannableArea widget.
1102 2008-04-15 18:05:19 <timj@imendio.com>
1104 * src/hildon-banner.c: revert the recent change, that introduced
1105 gtk_window_present() calls. this reopens:
1106 Bug 78481 - [freetest] information banners are hidden under browser menu
1107 But resolves another variant of:
1108 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1110 2008-04-15 13:21:13 <timj@imendio.com>
1112 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
1113 recreated its layout, spotted by Kris. this fixes all remaining
1114 artefacts and stability issues with the banner code. in particular:
1115 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1117 2008-04-14 16:52:59 <timj@imendio.com>
1119 * src/hildon-banner.c: guard force_to_wrap_truncated() against
1120 operating on unrealized widgets, fixes:
1121 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
1123 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
1125 2008-04-09 Kristian Rietveld <kris@imendio.com>
1127 Fixes: NB#77775: Media Player, Save Now playing list, too long name
1128 makes banner disappear.
1129 Fixes: NB#79182: info banner flickering with certain message lengts.
1131 * src/hildon-banner.c (hildon_banner_constructor),
1132 (hildon_banner_init), (hildon_banner_set_text),
1133 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
1134 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
1135 FALSE, reset size requests of label and banner,
1136 (force_to_wrap_truncated): when the text is too wide, always enforce
1137 the maximum possible width instead of recalculating it from the
1138 layout; enforce the maximum banner height of 3 lines,
1139 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
1140 nicer wrapping and no truncated chars if space gets tight.
1142 * src/hildon-banner-private.h: add has_been_wrapped and
1143 has_been_truncated fields.
1145 2008-04-07 Sven Herzberg <sven@imendio.com>
1147 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
1148 local values in hildon_date_editor_size_allocate
1150 * src/hildon-date-editor.c: moved the real allocation code into the
1153 2008-04-07 Sven Herzberg <sven@imendio.com>
1155 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1156 local values in hildon_date_editor_size_allocate
1158 * src/hildon-date-editor.c: merged the two if() branches together
1160 2008-04-07 Sven Herzberg <sven@imendio.com>
1162 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1163 local values in hildon_date_editor_size_allocate
1165 * src/hildon-date-editor.c: changed the arguments of the if()
1168 2008-04-07 Sven Herzberg <sven@imendio.com>
1170 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
1171 local values in hildon_date_editor_size_allocate
1173 * src/hildon-date-editor.c: split the calculation of the allocation
1174 from the real allocation
1176 2008-03-27 Michael Natterer <mitch@imendio.com>
1178 Fixes: NB#81696: The passcode is not overwritten even after
1181 * src/hildon-code-dialog.c
1182 (hildon_code_dialog_button_clicked)
1183 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
1184 because that doesn't overwrite selected text. Instead, emit the
1185 "commit" signal on the entry's im_context so the entry's normal
1186 insert logic is triggered. Set the cursor to the end of the entry
1187 after each insert operation so that we *only* insert in the middle
1188 of the text if something was selected.
1190 2008-03-27 Michael Natterer <mitch@imendio.com>
1192 Enable fixing: NB#79916 and NB#79918: The help topic for Color
1193 selector cannot be opened
1195 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
1196 when the popup color selector is created. Please connect to this
1197 signal in order to set the dialog's help ID.
1199 2008-03-25 Sven Herzberg <sven@imendio.com>
1201 Fixes: MB#1212: Hide info banners (infoprints) on click
1203 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
1204 extracted the close event simulation into an extra function
1205 (hildon_banner_button_press_event): simulate a close event and destroy
1206 the widget if the event wasn't handled
1207 (hildon_banner_class_init): added the button_press_event handler
1208 (hildon_banner_init): added button-press events to the widget
1210 2008-03-25 Sven Herzberg <sven@imendio.com>
1212 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
1213 Patch from: Mohammad Anwari <mdamt@maemo.org>
1215 * src/hildon-banner.c: let the HildonBanners pop up on the left side
1216 instead of the right in RTL mode
1217 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
1218 breadcrumb button list in RTL mode
1219 * src/hildon-caption.c: mirror the appearance of the caption widget in
1221 * src/hildon-date-editor.c: mirror appearance of the date editor in
1223 * src/hildon-time-editor.c: mirror appearance of the time editor in
1225 * src/hildon-window.c: fix the position of the popup in RTL mode
1227 2008-03-25 Sven Herzberg <sven@imendio.com>
1229 Amendment to the fix of NB#22072. Fix compilation.
1231 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
1233 2008-03-19 Sven Herzberg <sven@imendio.com>
1235 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
1238 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
1239 timeout id properly when the timeout will disappear this leaves no
1240 artifacts around in the destroy(); there will only be the timeout
1241 created by hildon_banner_ensure_timeout() and adding a new timeout
1242 will also work if the timeout gets removed because the timeout_handler
1245 2008-03-19 Michael Natterer <mitch@imendio.com>
1247 Fixes: NB#79791: Cannot set focus to Master volume using stylus
1249 * src/hildon-volumebar.c
1250 * src/hildon-vvolumebar.c
1251 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
1252 the widget becomes focussable at all.
1254 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
1255 set the focus to wither the mute button or the volumebar.
1257 Remove own "can-focus" property and instead listen to
1258 notify::can-focus in order to update the widget's state.
1260 Implement GtkWidget::focus() and make sure we can also *leave* the
1261 widget, not only enter it, depending on volumebar orientation and
1262 requested focus direction.
1264 Clean up set_mute() to cooperate nicely with all the above.
1266 2008-03-04 Michael Natterer <mitch@imendio.com>
1268 Fixes: NB#78481: information banners are hidden under browser menu
1270 * src/hildon-banner.c: call gtk_window_present() on the banners so
1271 they are risen if they are already visible.
1273 2008-03-03 Sven Herzberg <sven@imendio.com>
1275 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
1277 * examples/hildon-window-menu-example.c: (main): extended the window
1278 menu example to serve as a testcase for automatically added
1279 accelerator groups, too
1280 * src/hildon-window.c: (hildon_window_add_accel_group),
1281 (hildon_window_set_menu): added patch by Tommi Komulainen
1283 2008-03-03 Sven Herzberg <sven@imendio.com>
1285 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
1287 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
1288 knowledge about the border allocators used within GTK+
1290 2008-02-26 Sven Herzberg <sven@imendio.com>
1292 Fixes: MB#2981: Build with asserts broken
1294 * src/hildon-date-editor.c,
1295 * src/hildon-number-editor.c,
1296 * src/hildon-time-editor.c,
1297 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
1298 the proper GType instance check
1300 2008-02-25 Sven Herzberg <sven@imendio.com>
1302 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
1304 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
1305 * examples/hildon-window-menu-example.c: (main): explicitly show
1307 * src/hildon-window.c:
1308 (hildon_window_set_main_menu): moved most of the code from set_menu()
1309 to this place; skipped the call to gtk_widget_show_all(); also didn't
1310 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
1311 (hildon_window_set_menu): removed most of the code, just keep the
1312 questionable gtk_widget_show_all()
1313 * src/hildon-window.h: added the new function and deprecate the old
1316 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
1322 * debian/changelog: Updating.
1324 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
1327 * pkgconfig/Makefile.am:
1328 * pkgconfig/hildon.pc.in:
1331 Do not use PACKAGE_VERSION_MAJOR as the API revision,
1332 use newly created API_MAJOR_VERSION.
1334 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
1340 * debian/changelog: Updating.
1342 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
1344 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
1346 Add outer_border style property, we use it but don't define it (!).
1350 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
1352 * examples/hildon-bread-crumb-trail-example.c (main):
1356 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
1358 Fix logic for the bread crumb trail node removal.
1362 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1368 * debian/changelog: Updating.
1370 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1372 Patch by Alejandro to get/set passwords dialogs accesibility.
1374 * hildon-1/src/hildon-get-password-dialog.c:
1375 * hildon-1/src/hildon-set-password-dialog.c:
1376 Set atk_set_name to the passwd entries in order to allow
1377 accessibility by name on this entries.
1379 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1384 * debian/control: Updating gtk dep.
1386 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
1388 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
1389 USE_MAEMO_GTK is enabled.
1391 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
1393 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
1394 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
1396 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1402 * debian/changelog: Updating.
1404 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1406 * examples/Makefile.am:
1407 * examples/hildon-logical-color-example.c:
1408 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
1409 applied + adding a test case. Fixes: NB#71660.
1411 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
1413 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
1414 to be visible, fixes warning on map for windows without toolbars.
1416 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
1418 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
1419 2.11.0, add a check for that besides the MAEMO_GTK check.
1421 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1427 * debian/changelog: Updating.
1429 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1431 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
1432 visibility. Fixes: NB#70842 and MB#615.
1434 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1436 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
1437 set the separator as no-show-all so it doesn't unintentionally appear when
1438 someone does a show_all.
1440 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
1442 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
1443 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
1444 toplevel item. Fixes: NB#62031
1446 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
1448 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
1449 fix the name of the function in the docs.
1451 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1457 * debian/changelog: Updating.
1459 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1461 * examples/hildon-banner-long-example.c: Adding a test-case for long
1464 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
1466 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1468 * src/hildon-color-chooser-dialog.c:
1469 * src/hildon-color-chooser.c:
1470 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
1471 memory leaks in font selector and color selector. Fixes: NB#70499 and
1474 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
1476 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
1478 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1480 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
1481 little bit bigger. Fixes: #NB63694.
1483 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1489 * debian/changelog: Updating.
1491 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1494 * doc/hildon-docs.sgml:
1495 * doc/images/bread-crumb-trail.png:
1496 * doc/images/calendar-popup.png:
1497 * doc/images/caption.png:
1498 * doc/images/code-dialog.png:
1499 * doc/images/color-button.png:
1500 * doc/images/color-chooser-dialog.png:
1501 * doc/images/color-chooser.png:
1502 * doc/images/controlbar.png:
1503 * doc/images/date-editor.png:
1504 * doc/images/font-selection-dialog.png:
1505 * doc/images/get-password-dialog.png:
1506 * doc/images/hvolumebar.png:
1507 * doc/images/login-dialog.png:
1508 * doc/images/note.png:
1509 * doc/images/number-editor.png:
1510 * doc/images/range-editor.png:
1511 * doc/images/seekbar.png:
1512 * doc/images/set-password-dialog.png:
1513 * doc/images/sort-dialog.png:
1514 * doc/images/time-editor.png:
1515 * doc/images/time-picker.png:
1516 * doc/images/vvolumebar.png:
1517 * doc/images/weekday-picker.png: Adding the new generated widget shots.
1518 Adding the bread-crumb-trial and helpers to the documentation.
1520 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1522 * examples/hildon-find-toolbar-example.c:
1523 * src/hildon-find-toolbar.c:
1524 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
1525 actually continue firing the other handlers if connected. Adding a new
1527 hildon_find_toolbar_get_last_index that gets the index of the most
1528 recently added (last) item. Fixes: NB#52301.
1530 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1532 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
1533 behaviour. Fixes: NB#68610.
1535 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1537 * src/hildon-banner.c: Actually reverting the previous change. It somehow
1540 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1542 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
1543 when realizing the banner. Should make the infonbanner effect a bit more
1546 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1548 * src/hildon-volumebar.c:
1549 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
1550 hildon_volumebar_set_range_insensitive_message and
1551 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
1553 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1555 * src/hildon-window.c: Fixing the border freeing on destroy.
1557 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1559 * src/hildon-code-dialog-private.h:
1560 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
1561 kw keyboard support in HildonCodeDialog.
1563 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1569 * debian/changelog: Updating.
1571 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1573 * src/hildon-date-editor.c:
1574 * src/hildon-number-editor.c:
1575 * src/hildon-private.c:
1576 * src/hildon-private.h:
1577 * src/hildon-time-editor.c:
1578 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
1579 handling in subclassed composite widgets. Fixes: NB#66628.
1581 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1583 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
1584 from destroy_ callback as it introduces problems in async dbus signal
1585 handlers. Fixes NB#66673.
1587 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1589 * examples/hildon-hvolumebar-example.c:
1590 * src/hildon-volumebar.c: Improving the focus handling in the
1591 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
1592 set_property accessor so that "mute" property can be actually set. I'm
1593 scared that nobody noticed it's totally broken.
1595 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1597 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
1600 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1602 * src/hildon-calendar.c:
1603 * src/hildon-number-editor.c:
1604 * src/hildon-time-picker.c: Changing the timeout repeat so that it
1605 matches the spec of 6 chars per second. Fixes: NB#60489.
1607 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1609 * src/hildon-helper.c: Really fixing NB#58352. Looks like
1610 gtk_style_lookup_color sometime returns FALSE even though color was
1611 found and values were filled properly. Weird. Removing the warning for the
1614 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1616 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
1617 expand vertically. Adding some extra space to the find toolbar buttons to
1618 make them thumbable. Fixes NB#66060.
1620 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1622 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
1623 popup with "Ok" and "Cancel". Fixes NB#59299.
1625 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1627 * src/hildon-calendar.c: Process all window updates before executing next
1628 timeout. Fixes: NB#54146.
1630 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1636 * debian/changelog: Updating.
1638 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1640 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
1641 the client event and ignore it, since we use the delete event to close
1644 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1646 * src/hildon-helper.c: Remove the bogus warning about color not being
1647 found. Fixes NB#58352.
1649 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1651 * examples/Makefile.am:
1652 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
1653 HildonSeekbar widget inside a toolbar.
1655 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
1657 * src/hildon-banner.c (hildon_banner_init): mark the banners as
1658 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
1659 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
1660 don't want to be closed by non-temporary windows on map.
1662 Also use G_DEFINE_TYPE instead of manually typed code.
1664 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1671 * debian/rules: Updating.
1673 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1675 * examples/Makefile.am:
1676 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
1677 bug NB#61128. Strangely it works.
1679 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1681 * src/hildon-date-editor.c: When the date editor entry has been changed
1682 but the numbers of characters < max, turn off the skip validation flag.
1683 Prevents a situation when we enter first a valid year and later re-write
1684 it with an invalid one. Fixes NB#60154.
1686 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1688 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
1689 code dialog. Fixes NB#64355.
1691 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1693 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
1694 switching the page. Fixes NB#49374.
1696 * examples/Makefile.am:
1697 * examples/hildon-wizard-dialog-example.c: Adding an example for
1698 HildonWizardDialog that shows how to handle manual sensitivity setting on
1701 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1705 * src/hildon-version.h.in:
1706 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
1708 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1710 * src/hildon-volumebar.c: Updating the docs.
1712 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1718 * debian/changelog: Updating.
1720 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1722 * src/hildon-find-toolbar.c:
1723 * src/hildon-find-toolbar.h: Adding a few new functions to control the
1724 selected item: hildon_find_toolbar_set_active,
1725 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
1726 hildon_find_toolbar_get_active_iter . They correspond to respective
1727 GtkComboBox functions.
1729 * examples/Makefile.am:
1730 * examples/hildon-find-toolbar-example.c: Adding the example to test the
1733 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1735 * examples/Makefile.am:
1736 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
1739 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
1740 when font size > 32 and we pack a focusable widget inside. Actually using
1741 the default response would work too, but since we don't show default
1742 response state in any way (no theming) it would not be visible to the
1743 user. Fixes NB#63430.
1745 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1747 * src/hildon-date-editor.c: Adding the missing variable setter in the
1748 set_property handler. Fixes NB#54182.
1750 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1752 * src/hildon-window.h: Changing the long key press time from 1500ms to
1753 800ms as requested in NB#63700. I have a bad feeling about this, let's
1754 see... Fixes NB#63700.
1756 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
1758 * src/hildon-time-picker.c (hildon_time_picker_class_init,
1759 hildon_time_picker_map, hildon_time_picker_realize,
1760 hildon_time_picker_style_set): Split the contents of map to more
1761 appropriate functions; set window decorations on realize and update
1762 arrows' size requisitions on style-set. Avoids unnecessary resizing.
1764 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
1769 * debian/changelog: Updating.
1771 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
1773 * src/Makefile.am: fixed installation of the header files
1775 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1781 * debian/changelog: Updating.
1783 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1785 * configure.ac: Removing some remaining of --enable-xan.
1787 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
1789 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
1790 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
1792 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
1793 2.10.12-osso6 because the move-focus signal needs to be available in
1796 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1798 * examples/Makefile.am:
1799 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
1800 that makes a HildonVolumebar insensitive before mapping it. Seems to work
1801 fine. Prolly NB#61128 is fixed now.
1803 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1805 * src/hildon-volumebar.c:
1806 * src/hildon-volumebar.h: Adding the
1807 hildon_volumebar_set_range_insensitive_message and
1808 hildon_volumebar_set_range_insensitive_messagef functions to set
1809 insensitive message on the slider of the volumebar. Fixes NB#61129.
1811 * examples/Makefile.am:
1812 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
1813 test the new insensitive messsage functionality on HildonVolumebar.
1815 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
1817 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
1820 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
1822 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
1823 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
1824 button on after clearing the trail.
1826 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1828 * src/hildon-code-dialog.c: Removing the separator from the dialog.
1830 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1832 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
1833 by splitting the installed headers in generated and non-generated groups. Use
1834 only the non-generated headers to create the hildon-enum-types.h file.
1836 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
1838 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1840 * src/hildon-window.c: Hide the window before performing the destroy.
1841 Should make the app closing a little tiny bit more snappy.
1843 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
1845 * src/hildon-seekbar.c: add gtkrange.h header
1846 * src/hildon-caption.c: remove unused variable
1848 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
1850 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
1853 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1859 * debian/changelog: Updating.
1861 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
1863 * src/hildon-window.c (hildon_window_window_state_event,
1864 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
1865 escape timeout on focus-out-event rather than notify::is-topmost; the
1866 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
1868 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1870 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
1871 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
1873 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1875 * src/hildon-window: actually, you need to use the macro always, there's
1876 no private pointer in the instance structure. We should have cleaned this up
1877 when we had the chance...
1879 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
1881 * src/hildon-window.c: do not get the private date from HildonWindow before
1882 it passes the g_return_if_fail check. Once it's passed the test, there's no
1883 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
1884 if you are only going to access the data once. Whitespace cleanups.
1886 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
1888 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
1889 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
1891 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1897 * debian/changelog: Updating.
1899 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1901 * src/hildon-window.c: When destroying the window, remove (if exists) the
1902 escape timeout handler. Fixes #NB59276.
1904 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1906 * src/hildon-banner.c: When realizing the widget, set the window
1907 transiency. Setting the transiency in the gobject constructor is not
1908 good, as the widget is not realized at that point. Fixes: #NB56624.
1910 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1912 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
1913 Add padding for future expansions.
1915 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1917 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
1918 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
1919 will fake an activation on the previous to the last item of the trail, so
1920 the effect can be overrided by the developer as usual.
1921 Also change the callback for the back button to do the same thing, so its
1922 effect can be overrided too. Fixes: NB#58982
1924 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1926 * src/hildon-caption.c: Implementing the proper focus grabbing in the
1927 HildonCaption. Fixes NB#52379.
1929 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
1931 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
1932 the internal state of the trail after the user has had the chance of executing
1933 his handler for the signal. Specifically, it may happen that the activated button
1934 is removed and the user still lets the default handler run. This would segfault
1937 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1939 * src/hildon-font-selection-dialog.c: When the font is really big, add the
1940 scrollbar to the preview dialog. Fixes NB#54147.
1942 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1944 * src/hildon-date-editor.c: Changing the default max year to 2037. The
1945 max/min year properties can be altered, so the client can modify it
1946 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
1948 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1950 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
1951 hildonlike by default. Fixing a problem with disappearing arrows when
1952 scrolling through months and years. Fixes NB#54127.
1954 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1956 * examples/hildon-date-editor-example.c: Adding error callback to the date
1959 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1965 * configure.ac: Updating.
1967 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1969 * configure.ac: Adding a special '--enable-xan' configure option that
1970 turns off the -Werror compilation setting. Usefull for development.
1972 * src/hildon-calendar.c:
1973 * src/hildon-number-editor.c:
1974 * src/hildon-time-picker.c: Adding the 5* multiplier to
1977 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
1979 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
1980 instead of g_object_ref + gtk_object_sink.
1982 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1988 * debian/changelog: Updating.
1990 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1992 * src/hildon-color-chooser-dialog.c:
1993 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
1994 straight from Tommi labs.
1996 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
1998 * examples/hildon-finger-example.c: Correcting the header file path.
2000 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2001 the changed signal. Fixes a small memory leak.
2003 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2007 * src/hildon-banner.c: Importing several usefull fixes from the
2008 ubuntu-mobile branch.
2010 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2012 * examples/Makefile.am:
2013 * examples/hildon-finger-example.c: Adding a finger-checking code
2016 * src/hildon-font-selection-dialog.c: Do not allocate the color
2017 structure using the g_new. Fixes NB#54061.
2019 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2021 * src/hildon-helper.c: Correcting tabs in file.
2023 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
2025 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2026 control the visibility of the children.
2028 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2030 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2036 * debian/changelog: Updating.
2038 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2040 * src/hildon-bread-crumb-trail.c:
2041 (hildon_bread_crumb_trail_size_allocate):
2043 Make the back button always a square.
2045 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2047 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2048 from the .c file as it's a private file.
2050 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2052 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2053 uses slightly bigger height.
2055 * src/hildon-font-selection-dialog.c: Adding some checks before
2056 freeing memory in the font selection dialog.
2058 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2060 * src/hildon-font-selection-dialog.c: Adding a small check when
2063 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
2064 buttons sensitivity on page switching.
2066 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
2068 * src/hildon-bread-crumb-trail.c: make the add method handle all the
2069 internal details of adding a bread crumb to the trail.
2071 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2077 * debian/changelog: Updating.
2079 * src/hildon-bread-crumb-trail.h:
2080 * src/hildon-bread-crumb.h: Changing the API guard to
2081 HILDON_ENABLE_UNSTABLE_API.
2083 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2091 * src/hildon-helper.h: Updating.
2093 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2101 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2105 * src/hildon-helper.h: Small fix to make the package actually compile.
2107 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2109 * src/hildon-bread-crumb-trail.h:
2110 * src/hildon-bread-crumb.h:
2112 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
2113 to define ENABLE_UNSTABLE_API in the code that includes these headers.
2115 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
2117 * examples/hildon-bread-crumb-trail-example.c:
2119 * src/hildon-bread-crumb-trail.c:
2120 * src/hildon-bread-crumb-trail.h:
2121 * src/hildon-bread-crumb.c:
2122 * src/hildon-bread-crumb.h:
2123 * src/hildon-marshalers.list:
2124 * src/hildon-bread-crumb-widget.c:
2125 * src/hildon-bread-crumb-widget.h:
2127 Slight change in the widget design. The bread crumb trail API is
2128 unchanged, but HildonBreadCrumb is now an interface. A *private*
2129 implementation, hildon-bread-crumb-widget, is provided and used
2130 internally by the trail for the push_text/push_icon functions.
2132 The generic push API is still available, so anyone can implement
2133 and use its own bread crumb widget.
2135 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2137 * debian/rules: Fixing the shlibs.
2139 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2141 * src/hildon-banner.c: Fixing a problem with timed banners having
2142 their parrent destroyed before they are.
2144 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
2146 * src/hildon-bread-crumb.c:
2147 * src/hildon-bread-crumb.h:
2149 Make the get_natural_size function a vfunc.
2151 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2153 * src/hildon-bread-crumb.c:
2154 * src/hildon-bread-crumb-trail.c:
2158 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2165 * debian/changelog: Updating for release.
2167 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2169 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
2170 don't leak the pango layout.
2172 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
2175 * examples/hildon-bread-crumb-trail-example.c:
2179 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2181 * debian/changelog: Removing the bug-fixed entries that were actually
2182 resolved as WONTFIX.
2184 * src/hildon-date-editor.c: Removing a redundant check. Fixes
2187 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2189 * src/hildon-bread-crumb-trail.c:
2190 * src/hildon-bread-crumb-trail.h:
2191 * src/hildon-bread-crumb.c:
2192 * src/hildon-bread-crumb.h:
2196 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
2198 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
2199 until it's passed the type check.
2201 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2203 * examples/hildon-bread-crumb-trail-example.c
2207 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
2209 * examples/Makefile.am
2210 * examples/hildon-bread-crumb-trail-example.c
2212 * src/hildon-bread-crumb-trail.c
2213 * src/hildon-bread-crumb-trail.h
2214 * src/hildon-bread-crumb.c
2215 * src/hildon-bread-crumb.h
2217 New HildonBreadCrumbTrail widget.
2219 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
2221 * src/hildon-range-editor.c (hildon_range_editor_init),
2222 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
2223 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
2224 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
2225 hildon_time_editor_class_init, hildon_time_editor_init),
2226 src/hildon-get-password-dialog.c (invalid_input,
2227 hildon_get_password_set_property, hildon_get_password_get_property,
2228 create_contents, hildon_get_password_dialog_set_max_characters),
2229 src/hildon-set-password-dialog.c (create_contents),
2230 src/hildon-date-editor.c (hildon_date_editor_init),
2231 src/hildon-login-dialog.c (hildon_login_dialog_init),
2232 src/hildon-number-editor.c (hildon_number_editor_init),
2233 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
2234 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
2235 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
2236 configure option and adding the respective checks in the code.
2237 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
2238 hildon_calendar_drag_data_received): fixed some build warnings.
2240 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2242 * debian/changelog: A 1.0.0 release notes.