1 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4 button value label with (FALSE, FALSE) to prevent NB#88126 from
7 2008-09-08 Alejandro G. Castro <alex@igalia.com>
9 * examples/hildon-pannable-area-example.c,
10 (main): Removed examples panning a vbox inside a pannable
11 area. Check bug NB#87965
13 2008-09-08 Alejandro G. Castro <alex@igalia.com>
15 Patch contributed by Kris Rietveld (kris@imendio.com)
17 * src/hildon-pannable-area.c,
18 (hildon_pannable_area_get_topmost): replaced the get_geometry with
19 get_size and get_position, this saves an X server roundtrip.
21 2008-09-05 Alberto Garcia <agarcia@igalia.com>
23 * doc/hildon-docs.sgml
25 * examples/Makefile.am
26 * examples/hildon-entry-example.c
31 New HildonEntry widget, with example.
33 2008-09-05 Alberto Garcia <agarcia@igalia.com>
35 * src/hildon-button.c (hildon_button_construct_child): Pack the
36 image with expand == fill == FALSE. This is a workaround for a bug
39 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
41 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
42 labels for the text column, to make it more look more dynamic.
44 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
46 * src/hildon-time-selector.c
47 Define gettext auxiliar macro N_
48 (_create_minutes_model)
50 (_create_ampm_model): use of strftime in order to fill the model
51 * src/hildon-date-selector.c
52 (hildon_date_selector_finalize):
53 (_locales_init): remove the logic related to get the name of the months
54 using nl_langinfo, as it is not required anymore
58 (_update_day_model): use of strftime in order to fill the model properly
61 2008-09-04 Alberto Garcia <agarcia@igalia.com>
64 * src/hildon-button.c (hildon_button_get_image): New method to
67 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
69 * src/hildon-touch-selector.c:
70 (hildon_touch_selector_remove_column): Remove from the correct parent
71 and also remove the list element and free it.
74 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
76 * src/hildon-time-selector.c
77 (_create_hours_model): change the range on 12h ampm format in order to use
78 a 12-11 range instead of previous 01-12 range
79 (hildon_time_selector_set_time): change the way to select the current time
80 on 12h ampm format, due the change on the range
81 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
84 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
86 * src/hildon-touch-selector.c
87 (hildon_date_touch_selector_get_selected): fix the selection mode check,
88 in order to allow use this function on multiple row selection mode if
89 the column is different that the first one
92 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
94 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
95 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
97 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
99 * src/hildon-date-selector.h: clean some comments, now on the .c
100 * src/hildon-date-selector.c
101 (hildon_date_selector_select_month): first implementation
102 (hildon_date_selector_select_day): added documentation, reimplemented
103 using hildon_date_selector_select_current_date to avoid repeat code
106 2008-09-02 Alejandro G. Castro <alex@igalia.com>
108 Reviewed interaction logic based on device experiences, refactored
111 * src/hildon-pannable-area.c,
112 (hildon_pannable_area_class_init): Updated default vmax speed.
113 (hildon_pannable_area_calculate_velocity): Added this function, it
114 avoids duplicate valocity calculation. Adjusted calculation to
115 avoid problems with zero dist events.
117 (hildon_pannable_area_motion_notify_cb): Now we use the
118 calculate_velocity function.
120 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
122 * src/hildon-date-selector.c
123 (hildon_date_selector_select_current_date): fix the day range check
124 as it failed using the last day of the current month
127 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
129 * src/hildon-touch-selector.c
130 (hildon_touch_selector_get_num_columns): added a parameter validation
133 2008-08-29 Alberto Garcia <agarcia@igalia.com>
135 * examples/Makefile.am
136 * examples/hildon-edit-toolbar-example.c: Example of the
137 HildonEditToolbar widget.
139 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
141 * configure.ac: postrelease version bump.
143 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
147 * configure.ac: prerelease version bump.
148 * debian/changelog: update.
150 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
152 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
153 renderer to display stock icons in the touch list. Also, set the sizes
154 to the recommended in the style guide.
156 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
157 * src/hildon-touch-selector.h
158 (hildon_touch_selector_set_active_iter): renamed, now is
159 hildon_touch_selector_select_iter
160 (hildon_touch_selector_get_active_iter): renamed, now is
161 hildon_touch_selector_get_selected
162 (hildon_touch_selector_unselect_iter): added
163 * src/hildon-touch-selector.c
164 Update after API modification (methods renamed)
165 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
166 order to avoid problems selecting multiple elements on the column
167 (hildon_touch_selector_unselect_iter): added the implementation
168 * src/hildon-time-selector.c
169 * src/hildon-date-selector.c
170 * src/hildon-touch-selector-entry.c
171 Update methods calls after hildon-touch-selector.h API modification (methods
174 2008-08-29 Alberto Garcia <agarcia@igalia.com>
176 * src/hildon-stackable-window.c
177 (hildon_stackable_window_finalize): Call the parent class's finalize.
179 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
181 * examples/hildon-touch-selector-example.c: (create_selector): Use
182 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
185 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
187 * examples/hildon-touch-selector-example.c: (create_selector): Do not
188 set a cell background color, to respect theming.
190 2008-08-28 Alberto Garcia <agarcia@igalia.com>
192 * doc/hildon-docs.sgml
195 * src/hildon-edit-toolbar.c
196 * src/hildon-edit-toolbar.h
197 * src/hildon.h: New HildonEditToolbar widget.
199 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
201 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
204 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
205 * src/hildon-touch-selector.c
206 (_create_new_column): use g_object_set instead of two g_object_set_property
208 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
209 * src/hildon-touch-selector.c
210 (_create_new_column): use of hildon_gtk_tree_view_new to create
211 the treeview, instead of use directly g_object_new
212 (_create_new_column): update the property name "vindicator-mode" for the
213 new one "vscrollbar-policy"
214 * examples/hildon-date-button-example.c
215 * examples/hildon-picker-button-multicolumn-example.c
216 * examples/hildon-touch-selector-entry-example.c
217 * examples/hildon-touch-selector-example.c
218 * examples/hildon-time-button-example.c
219 * examples/hildon-picker-button-example.c
220 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
221 to all the treeviews inside a pannable area.
223 2008-08-27 Alberto Garcia <agarcia@igalia.com>
225 * src/hildon-button.h
226 * src/hildon-button.c (hildon_button_init)
227 (hildon_button_set_arrangement, hildon_button_set_alignment)
228 (hildon_button_set_title_alignment)
229 (hildon_button_set_value_alignment)
230 (hildon_button_set_image_alignment)
231 (hildon_button_construct_child): New methods to set the alignment
232 of the individual components of the button (title, value,
233 image). Also, new method to alter the xscale and yscale properties
234 of the GtkAlignment inside the button, so more complex layouts can
237 2008-08-27 Alberto Garcia <agarcia@igalia.com>
239 * src/hildon-button.c (hildon_button_style_set)
240 (hildon_button_class_init, hildon_button_set_arrangement)
241 (hildon_button_construct_child): Apply style properties
242 correctly. Use the 'image-spacing' style property too.
244 2008-08-26 Alberto Garcia <agarcia@igalia.com>
246 * src/hildon-app-menu.c (hildon_app_menu_style_set)
247 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
250 2008-08-26 Alejandro G. Castro <alex@igalia.com>
252 * src/hildon-pannable-area.c,
253 (hildon_pannable_area_size_request): Fixed problem with
254 pannable-area size_request.
256 2008-08-26 Alejandro G. Castro <alex@igalia.com>
258 Added management for the grab-focus to a child widget, like a
259 range, we need to fade out the scrollbar when releasing.
261 * src/hildon-pannable-area.c,
262 (hildon_pannable_area_init): Connected the grab-focus signal to
264 (hildon_pannable_area_grab_notify): Added this function in order
265 to manage the situation when the grab-focus ends. We have to
266 fade-out the scrollbar.
268 2008-08-25 Alberto Garcia <agarcia@igalia.com>
270 * src/hildon-app-menu.c: Minor documentation update.
272 2008-08-25 Alberto Garcia <agarcia@igalia.com>
274 * src/hildon-app-menu.c
275 * examples/hildon-app-menu-example.c (create_menu): Update
276 examples and documentation to explain how to connect callbacks.
278 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
280 * examples/hildon-button-example.c
281 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
282 hildon_stackable_window_new instead of gtk_window_new
284 2008-08-22 Alejandro G. Castro <alex@igalia.com>
286 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
287 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
288 (hildon_pannable_area_set_property),
289 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
290 (hildon_pannable_area_unrealize),
291 (hildon_pannable_area_size_request),
292 (hildon_pannable_area_size_allocate),
293 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
294 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
295 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
296 (hildon_pannable_area_initial_effect),
297 (hildon_pannable_area_redraw),
298 (hildon_pannable_area_scroll_indicator_fade),
299 (hildon_pannable_area_expose_event),
300 (hildon_pannable_area_get_topmost), (synth_crossing),
301 (hildon_pannable_area_button_press_cb),
302 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
303 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
304 (hildon_pannable_area_motion_notify_cb),
305 (hildon_pannable_area_button_release_cb),
306 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
307 (hildon_pannable_area_remove),
308 (hildon_pannable_calculate_vel_factor): Widget refactorization,
309 chage the code layout to a more GtkWidget like. Review the use of
312 2008-08-21 Alejandro G. Castro <alex@igalia.com>
314 * examples/hildon-pannable-area-example-4.c,
315 (main): Modified the name of the hindicator_mode to
318 * src/hildon-pannable-area.c,
319 (hildon_pannable_area_class_init),
320 (hildon_pannable_area_motion_notify_cb),
321 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
322 we have reduced the amount of signals and managed reviewed its
323 rationale. Changed the default decelerate value.
325 (hildon_pannable_area_add),
326 (hildon_pannable_area_redraw): Refactored functions.
328 (hildon_pannable_area_init),
329 (hildon_pannable_area_get_property),
330 (hildon_pannable_area_set_property):
331 (hildon_pannable_draw_vscroll),
332 (hildon_pannable_draw_hscroll),
333 (hildon_pannable_area_initial_effect),
334 (hildon_pannable_area_expose_event),
335 (hildon_pannable_area_scroll),
336 (hildon_pannable_area_button_press_cb),
337 (hildon_pannable_area_realize): Replaced the names hindicator_mode
338 and vindicator_mode with hscrollbar_policy and
339 vscrollbar_policy. Replaced hscroll and vscroll with
340 hscroll_visible and vscroll_visible.
342 (hildon_pannable_area_refresh): Refactor the function, remove
343 variables and check the calls to this function, added resize
344 conditions in case the children change their layout.
346 (hildon_pannable_area_size_request): Added more detailed
347 size_request calculation.
350 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
352 * src/hildon-color-chooser.c
353 (init_borders): use the correct gtk_border_free instead of g_free, to
354 avoid a crash when this widget is used (ie: the three color selection
357 2008-08-20 Alejandro G. Castro <alex@igalia.com>
359 * src/hildon-check-button.c,
360 (hildon_check_button_set_active): Fixed problem when setting the
361 active value, the widget was not redrawn.
363 2008-08-20 Alejandro G. Castro <alex@igalia.com>
365 * src/hildon-pannable-area.c,
366 (hildon_pannable_area_refresh),
367 (hildon_pannable_area_scroll),
368 (hildon_pannable_area_motion_notify_cb): Small code style change.
370 (hildon_pannable_area_class_init): Default initial_hint set to
371 FALSE, it is not in the specs.
373 (hildon_pannable_area_initial_effect),
374 (hildon_pannable_area_expose_event),
375 (hildon_pannable_area_map),
376 (hildon_pannable_area_init): Moved the launching point of the
377 initial effect, it was in map but the sizes where not correct in
378 that method so we do not know if we have the reproduce it. Now it
379 is placed in the expose_event method and uses a variable to
380 reproduce it just once.
382 2008-08-19 Alejandro G. Castro <alex@igalia.com>
384 * src/hildon-pannable-area.c,
385 (hildon_pannable_draw_vscroll),
386 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
387 position allowed for the scrollbars.
389 (hildon_pannable_area_size_allocate): Small style change.
391 2008-08-19 Alejandro G. Castro <alex@igalia.com>
393 * src/hildon-pannable-area.c,
394 (hildon_pannable_area_scroll_indicator_fade),
395 (hildon_pannable_area_button_press_cb),
396 (hildon_pannable_area_button_release_cb),
397 (hildon_pannable_area_scroll_cb),
398 (hildon_pannable_area_expose_event),
399 (hildon_pannable_area_init): Added the define parameter
400 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
401 and refactor the fade variable.
403 2008-08-19 Alejandro G. Castro <alex@igalia.com>
405 * src/hildon-pannable-area.c,
406 (hildon_pannable_area_redraw),
407 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
408 lines, we were reimplemeting the redraw code.
410 2008-08-18 Alejandro G. Castro <alex@igalia.com>
412 * src/hildon-pannable-area.c,
413 (hildon_pannable_area_scroll_cb),
414 (hildon_pannable_area_realize),
415 (hildon_pannable_area_class_init): Added scroll_event management
416 for pannable area, now we can scroll the usual desktop method.
418 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
419 initialization of the parameters should depend on idle_id.
421 (hildon_pannable_area_init),
422 (hildon_pannable_area_map): Small code style modifications
424 2008-08-18 Alejandro G. Castro <alex@igalia.com>
426 * src/hildon-pannable-area.c
427 (hildon_pannable_area_button_press_cb),
428 (hildon_pannable_area_motion_notify_cb),
429 (hildon_pannable_area_button_release_cb),
430 (hildon_pannable_area_size_allocate),
431 (hildon_pannable_area_scroll_to): Improved the timeouts
432 management, we avoid creating them each time.
434 2008-08-14 Alejandro G. Castro <alex@igalia.com>
436 * src/hildon-pannable-area.c:
437 (hildon_pannable_area_refresh),
438 (hildon_pannable_area_motion_notify_cb),
439 (hildon_pannable_area_class_init):
440 * src/hildon-pannable-area.h:
441 * src/hildon-touch-selector.c
442 (_create_new_column):
443 * examples/hildon-pannable-area-example-4.c:
444 (horizontal_movement),
447 Replaced the names of enums in the HildonPannableArea:
448 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
449 HILDON_MOVEMENT_MODE_*
450 - HILDON_PANNABLE_AREA_MOV_* ->
452 - Removed HildonPannableAreaIndicatorMode, now we
455 2008-08-14 Alberto Garcia <agarcia@igalia.com>
457 * examples/hildon-pannable-area-touch-grid-example.c
458 * examples/hildon-pannable-area-touch-list-example.c: Fix
459 compilation warnings.
461 2008-08-14 Alberto Garcia <agarcia@igalia.com>
463 * src/hildon-gtk.c (hildon_gtk_button_new)
464 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
465 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
466 images overriding the value of the "gtk-button-images" setting.
468 2008-08-14 Alberto Garcia <agarcia@igalia.com>
470 * src/hildon-check-button.c (hildon_check_button_new):
471 Instead of using a custom container, display the label and the
472 checkbox using the standard GtkButton API.
474 * examples/hildon-check-button-example.c (main): Don't use
475 hildon_check_button_set_label() anymore
477 * src/hildon-check-button.h
478 * src/hildon-check-button.c
479 (hildon_check_button_set_label, hildon_check_button_get_label):
480 Set as deprecated, now we're using gtk_button_{get,set}_label()
482 2008-08-14 Alejandro G. Castro <alex@igalia.com>
484 * src/hildon-pannable-area.c,
485 (hildon_pannable_area_get_topmost): Fixed bug with click in the
486 GtkTreeview first line we detected it after the inclusion of the
487 GtkWindowImpl in gtk+. We now check if the window is visible, not
488 just if the pointer is over the window.
489 (hildon_pannable_axis_scroll),
490 (hildon_pannable_area_expose_event): Small style changes.
492 2008-08-13 Alberto Garcia <agarcia@igalia.com>
494 * src/hildon-button.c: Update documentation.
496 2008-08-13 Alberto Garcia <agarcia@igalia.com>
498 * examples/hildon-button-example.c: Add a switch to show images in
501 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
503 * doc/hildon-docs.sgml: Some docs reorganization.
505 2008-08-12 Alberto Garcia <agarcia@igalia.com>
507 * examples/hildon-pannable-area-touch-list-example.c
509 * examples/hildon-pannable-area-touch-grid-example.c
510 (create_icon_view): Use gtk_{tree,icon}_view_new() and
511 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
512 Fix memory leak when setting the tree model.
514 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
518 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
520 * doc/hildon.types: Remove duplicated hildon_window_get_type
521 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
522 documentation comment.
524 2008-08-12 Alberto Garcia <agarcia@igalia.com>
526 * doc/Makefile.am: Complete list of private headers.
528 2008-08-12 Alberto Garcia <agarcia@igalia.com>
530 * doc/hildon-docs.sgml
531 * src/hildon-app-menu.c
532 * src/hildon-bread-crumb.c
533 * src/hildon-button.c
535 * src/hildon-program.c
536 * src/hildon-stackable-window.c
537 * src/hildon-window.c: Lots of documentation updates.
539 2008-08-12 Alberto Garcia <agarcia@igalia.com>
541 * debian/control: Depend on Gtk 2:2.12.9-0osso3
543 * configure.ac: Require Gtk+ 2.12.9 at least
545 2008-08-12 Alejandro G. Castro <alex@igalia.com>
547 * src/hildon-pannable-area.c
548 (hildon_pannable_area_scroll_indicator_fade),
549 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
550 to protect the return of this timeout callbacks, avoiding deadlocks.
552 2008-08-12 Christian Dywan <christian@imendio.com>
555 * src/hildon-*.h: Ensure a consistent include order,
556 include <gtk/gtk.h> instead of particular files and
557 only include the topmost header in the gtk stack. See NB #39857
559 2008-08-12 Christian Dywan <christian@imendio.com>
561 * src/hildon-picker-dialog.c
562 * src/hildon-touch-selector.c: Fix warnings about unused and
563 uninitialized variables.
565 2008-08-11 Alberto Garcia <agarcia@igalia.com>
567 * examples/Makefile.am
568 * examples/hildon-check-button-example.c: Example of the hildon
571 2008-08-11 Alberto Garcia <agarcia@igalia.com>
573 * src/hildon-window.h
574 * src/hildon-window.c (hildon_window_class_init)
575 (hildon_window_unset_program): Don't make
576 hildon_window_unset_program a virtual function anymore.
578 * src/hildon-stackable-window.c: Update documentation
580 2008-08-11 Alberto Garcia <agarcia@igalia.com>
583 * doc/hildon-docs.sgml
584 * doc/visual_index.xml
585 * src/hildon-defines.c
587 * src/hildon-helper.c
588 * src/hildon-range-editor.c: Lots of documentation fixes.
590 2008-08-11 Alberto Garcia <agarcia@igalia.com>
592 * examples/hildon-picker-button-multicolumn-example.c
593 (create_touch_selector): Fix compilation warning.
595 2008-08-11 Alberto Garcia <agarcia@igalia.com>
597 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
598 (hildon_pannable_area_button_release_cb)
599 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
601 2008-08-11 Alberto Garcia <agarcia@igalia.com>
603 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
606 2008-08-11 Alberto Garcia <agarcia@igalia.com>
608 * src/hildon-bread-crumb-trail.h
609 * src/hildon-date-editor.c
610 * src/hildon-date-selector.c
611 * src/hildon-pannable-area.c
612 * src/hildon-picker-dialog.c
613 * src/hildon-time-selector.c
614 * src/hildon-touch-selector-entry.c
615 * src/hildon-touch-selector.c
616 * src/hildon-touch-selector.h: Misc documentation fixes
618 2008-08-11 Alberto Garcia <agarcia@igalia.com>
620 * examples/hildon-date-editor-example.c (main): Updated date
623 * examples/hildon-note-example.c (on_confirmation_clicked):
624 Updated confirmation note example.
626 * src/hildon-date-editor.c
627 * src/hildon-note.c: Updated sample programs in documentation.
630 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
632 * src/hildon-date-button.h:
633 * src/hildon-picker-button.h:
634 * src/hildon-time-button.c:
635 * src/hildon-time-button.h:
637 Some declarations changes to allow gtk-doc to document the widgets
640 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
642 * src/hildon-date-button.c: Document the widget.
643 * src/hildon-time-button.c: Document the widget.
645 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
647 * src/hildon-picker-button.c: Document the widget.
648 * src/hildon-touch-selector-entry.c: Document the widget.
650 2008-08-08 Alberto Garcia <agarcia@igalia.com>
652 * doc/hildon-docs.sgml
655 * src/hildon-check-button.h
656 * src/hildon-check-button.c: New functions to create the Hildon
660 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
662 2008-08-08 Alberto Garcia <agarcia@igalia.com>
664 * src/hildon-button.h
665 * src/hildon-button.c
666 (hildon_button_add_title_size_group)
667 (hildon_button_add_value_size_group)
668 (hildon_button_add_image_size_group)
669 (hildon_button_add_size_groups): New functions to set size groups
670 for the button labels and image.
671 (hildon_button_new_full): Removed
673 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
675 * src/hildon-time-selector.c
676 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
677 in order to avoid a crash if gconf is not available
679 2008-08-08 Alberto Garcia <agarcia@igalia.com>
681 * src/hildon-button.c (hildon_button_set_arrangement)
682 (hildon_button_construct_child): Don't construct the button child
683 before setting the arrangement.
685 2008-08-08 Alberto Garcia <agarcia@igalia.com>
687 * src/hildon-program-private.h
688 * src/hildon-program.c
689 * src/hildon-program.h
690 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
691 (hildon_program_peek_window_stack)
692 (hildon_program_pop_window_stack)
693 (hildon_program_go_to_root_window): HildonProgram now has a
694 separate list for stackable windows. Functions are provided to
695 manage that list with a stack-like API.
697 * src/hildon-stackable-window.c: Stackable window management is
698 now much simpler with the new HildonProgram API. Windows no
699 longer need to be manually added to the program, they're
700 automatically pushed to the top of the stack when shown.
702 * examples/hildon-stackable-window-example.c: Updated example to
703 reflect the API changes.
705 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
707 * src/hildon-touch-selector.c: Comment out unimplemented
708 hildon_touch_selector_insert_column() to avoid a compile warning.
710 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
712 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
713 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
714 (hildon_touch_selector_set_column_selection_mode),
715 (_hildon_touch_selector_set_model),
716 (hildon_touch_selector_set_model):
718 Complete review of HildonTouchSelector documentation.
720 2008-08-08 Alberto Garcia <agarcia@igalia.com>
722 * doc/hildon-docs.sgml
726 * src/hildon-gtk.c: Convenience functions for standard Gtk
727 widgets, used to easily perform frequent operations.
729 * src/hildon-button-helpers.h
730 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
732 * src/hildon-helper.h
733 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
734 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
736 * src/hildon-button.h
737 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
739 2008-08-07 Alberto Garcia <agarcia@igalia.com>
741 * src/hildon-button.c (hildon_button_init)
742 (hildon_button_set_arrangement, hildon_button_construct_child):
743 Pack the image and the labels inside the same GtkAlignment so
744 gtk_button_set_alignment() can be used
746 2008-08-07 Alberto Garcia <agarcia@igalia.com>
748 * src/hildon-button.h
749 * src/hildon-button.c
750 (hildon_button_init, hildon_button_set_image)
751 (hildon_button_set_image_position)
752 (hildon_button_construct_child): New functions to add an image to
755 2008-08-07 Alberto Garcia <agarcia@igalia.com>
757 * src/hildon-date-button.c
758 * src/hildon-picker-button.c
759 * src/hildon-time-button.c
760 * src/hildon-button.c:
761 (hildon_button_class_init): "size-flags" renamed to "size"
762 (hildon_button_set_title): Hide the title label if set to NULL.
764 2008-08-07 Alberto Garcia <agarcia@igalia.com>
766 HildonButtonFlags split into HildonButtonArrangement (to set the
767 button layout) and HildonSizeType (which can be used for any
770 * src/hildon-button.h
771 * src/hildon-button.c
772 (hildon_button_class_init)
773 (hildon_button_set_arrangement)
774 (hildon_button_set_property): New "size-flags"
775 property. "arrangement-flags" renamed to "arrangement".
776 (hildon_button_new, hildon_button_new_with_text)
777 (hildon_button_new_full): Constructors updated to reflect type changes.
779 * src/hildon-helper.h
780 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
781 to set the size of a widget.
785 * src/hildon-button-helpers.c
786 * src/hildon-button-helpers.h: New hildon-button-helpers module.
788 * src/hildon-date-button.c
789 * src/hildon-date-button.h
790 * src/hildon-picker-button.c
791 * src/hildon-picker-button.h
792 * src/hildon-time-button.c
793 * src/hildon-time-button.h: Updated widgets to reflect
794 HildonButton API changes.
796 * examples/hildon-button-example.c
797 * examples/hildon-date-button-example.c
798 * examples/hildon-picker-button-example.c
799 * examples/hildon-picker-button-multicolumn-example.c
800 * examples/hildon-time-button-example.c
801 * examples/hildon-touch-selector-entry-example.c
802 * examples/hildon-touch-selector-example.c: Updated examples to
803 reflect HildonButton API changes.
805 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
807 * doc/hildon-docs.sgml:
809 * examples/Makefile.am:
810 * examples/hildon-touch-selector-entry-example.c:
812 * src/hildon-touch-selector-entry.c:
813 * src/hildon-touch-selector-entry.h:
816 Moved HildonTouchSelectorEntry from sandbox. Added its
817 documentation and examples.
819 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
821 * src/hildon-touch-selector.h:
822 * examples/hildon-picker-button-multicolumn-example.c:
823 (hildon_touch_selector_append_text_column): Add a gboolean
824 parameter to determine if text must be centered in the column.
826 * src/hildon-date-selector.c: (hildon_date_selector_init):
827 * src/hildon-time-selector.c: (hildon_time_selector_init):
828 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
829 (create_touch_selector): Update widgets and example to reflect
832 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
834 * src/hildon-touch-selector.c:
835 (hildon_touch_selector_set_active_iter): Set also the cursor in
838 2008-08-06 Alberto Garcia <agarcia@igalia.com>
840 * doc/hildon-docs.sgml
843 * src/hildon-toggle-button.c
844 * src/hildon-toggle-button.h
845 * src/hildon.h: Removed HildonToggleButton widget, a derived
846 class is not necessary for this.
848 2008-08-06 Alejandro G. Castro <alex@igalia.com>
850 * src/hildon-pannable-area.c,
851 (hildon_pannable_area_realize),
852 (hildon_pannable_area_size_allocate): Code refactoring, add tests
855 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
857 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
858 "done" button the default widget for the dialog.
860 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
862 * src/hildon-touch-selector.c:
863 (hildon_touch_selector_class_init),
864 (hildon_touch_selector_get_property),
865 (_hildon_touch_selector_set_model),
866 (_hildon_touch_selector_has_multiple_selection),
867 (hildon_touch_selector_has_multiple_selection):
868 Add a "has-multiple-selection" property with a virtual
869 has_multiple_selection() method to allow derived classes to
870 override the default value for it. See the method and property
871 documentation for details.
873 * src/hildon-touch-selector.h: Add the new API.
875 * src/hildon-picker-dialog.c: (requires_done_button): Call
876 hildon_touch_selector_has_multiple_selection() instead of
877 determining the need for a button itself.
879 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
881 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
882 (_hildon_touch_selector_set_model),
883 (hildon_touch_selector_set_model): Move working code to
884 _hildon_touch_selector_set_mode(). Call the class method instead.
886 * src/hildon-touch-selector.h: Add (*set_model) to
887 HildonTouchSelectorClass.
889 Make hildon_touch_selector_set_model() a virtual method, so that
890 derived classes can extend it and do fancy stuff with the model.
892 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
894 * configure.ac: Set back the tarname in AC_INIT to hildon.
896 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
900 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
901 instead of libesd (NB#86876). Volume handling is still an open issue.
903 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
906 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
908 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
909 (hildon_touch_selector_append_column): Make the widget a GtkVBox
910 derived class to ease placement of an entry widget in
911 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
912 end, where the selector columns are packed now.
914 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
916 * src/hildon-picker-button.c: Removed the simple _text() API.
917 * src/hildon-picker-button.h: Likewise.
919 * src/hildon-touch-selector.h:
920 * src/hildon-touch-selector.c:
921 (hildon_touch_selector_new_text),
922 (hildon_touch_selector_append_text),
923 (hildon_touch_selector_prepend_text),
924 (hildon_touch_selector_insert_text):
926 Moved the simple _text() API from HildonPickerButton to
927 HildonTouchPicker, to provide better escalability and not to tie
928 that API to HildonPickerButton.
930 * examples/hildon-picker-button-example.c: (main): Example updated.
932 2008-07-31 Alberto Garcia <agarcia@igalia.com>
934 * src/hildon-button.c: Updated documentation.
936 * examples/hildon-button-example.c: Add the posibility to create
937 the buttons using horizontal layout for title and value.
939 2008-07-31 Alberto Garcia <agarcia@igalia.com>
941 * src/hildon-app-menu-private.h
942 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
943 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
944 GtkSizeGroup for the filters, use the 'homogeneous' property of
947 2008-07-31 Alberto Garcia <agarcia@igalia.com>
949 * examples/hildon-button-example.c: Updated example.
951 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
953 * doc/hildon-docs.sgml:
956 Update documentation.
958 * examples/Makefile.am: Update renamed examples.
960 * examples/hildon-picker-button-multicolumn-example.c:
961 (create_touch_selector), (main): Update after the rename.
963 * examples/hildon-touch-picker-example.c: Removed.
964 * examples/hildon-touch-selector-example.c: (value_changed),
965 (create_selector), (get_visible_content), (main): Renamed from
966 hildon-touch-picker-example.c
968 * src/Makefile.am: Updated renamed files.
970 * src/hildon-date-button.c: (hildon_date_button_init),
971 (hildon_date_button_get_date), (hildon_date_button_set_date):
972 * src/hildon-date-selector.c: (hildon_date_selector_init),
973 (_custom_print_func), (_update_day_model),
974 (_manage_selector_change_cb),
975 (hildon_date_selector_select_current_date),
976 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
977 * src/hildon-date-selector.h:
978 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
979 (hildon_picker_button_set_property),
980 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
981 (hildon_picker_button_init), (hildon_picker_button_new_text),
982 (hildon_picker_button_append_text),
983 (hildon_picker_button_prepend_text),
984 (hildon_picker_button_insert_text),
985 (hildon_picker_button_set_selector),
986 (hildon_picker_button_get_selector):
987 * src/hildon-picker-button.h:
988 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
989 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
990 (_update_title_on_selector_changed_cb), (requires_done_button),
991 (_hildon_picker_dialog_set_selector),
992 (hildon_picker_dialog_set_selector),
993 (hildon_picker_dialog_get_selector):
994 * src/hildon-picker-dialog.h:
995 * src/hildon-time-button.c: (hildon_time_button_init),
996 (hildon_time_button_get_time), (hildon_time_button_set_time):
997 * src/hildon-time-selector.c: (hildon_time_selector_init),
998 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
999 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
1000 * src/hildon-time-selector.h:
1003 Massive code updates after the rename.
1005 * src/hildon-touch-picker.c: Removed.
1006 * src/hildon-touch-picker.h: Removed.
1008 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1009 (hildon_touch_selector_init), (hildon_touch_selector_map),
1010 (hildon_touch_selector_remove), (_default_print_func),
1011 (_selection_changed_cb), (_create_new_column),
1012 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1013 (hildon_touch_selector_append_text_column),
1014 (hildon_touch_selector_remove_column),
1015 (hildon_touch_selector_set_column_attributes),
1016 (hildon_touch_selector_insert_column),
1017 (hildon_touch_selector_get_num_columns),
1018 (hildon_touch_selector_get_column_selection_mode),
1019 (hildon_touch_selector_set_column_selection_mode),
1020 (hildon_touch_selector_set_print_func),
1021 (hildon_touch_selector_get_print_func),
1022 (hildon_touch_selector_get_active_iter),
1023 (hildon_touch_selector_set_active_iter),
1024 (hildon_touch_selector_get_selected_rows),
1025 (hildon_touch_selector_get_model),
1026 (hildon_touch_selector_set_model),
1027 (hildon_touch_selector_get_current_text),
1028 (_hildon_touch_selector_center_on_selected_items):
1029 * src/hildon-touch-selector.h: Renamed from
1030 hildon-touch-picker.[ch]
1032 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
1033 references, code examples, and related documentation.
1035 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1037 * doc/hildon-docs.sgml
1040 * src/hildon-toggle-button.c
1041 * src/hildon-toggle-button.h
1042 * src/hildon.h: New HildonToggleButton widget.
1044 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1046 * src/hildon-button.c: Add API documentation.
1047 (hildon_button_set_size_groups): Check input parameters
1049 2008-07-30 Alejandro G. Castro <alex@igalia.com>
1051 * src/hildon-pannable-area.c
1052 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
1053 effect after reaching the movement thredshold. This way we start
1054 using the distance after passing the thredshold.
1056 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1058 * src/hildon-button.c: (hildon_button_set_property): Use the
1059 appropriate g_value_get_flags() method.
1061 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1063 * doc/hildon-docs.sgml:
1066 Add the touch pickers, picker dialogs, and picker button widgets
1067 to the documentation.
1069 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1071 * src/hildon-button.c: (hildon_button_set_property),
1072 (hildon_button_class_init): Make "arrangement-flags" a proper
1073 G_TYPE_FLAGS derived property.
1075 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1077 * examples/Makefile.am: Add below examples.
1078 * examples/hildon-date-button-example.c:
1079 * examples/hildon-picker-button-example.c:
1080 * examples/hildon-picker-button-multicolumn-example.c:
1081 * examples/hildon-time-button-example.c:
1082 * examples/hildon-touch-picker-example.c:
1084 Add examples for the recently added touch pickers,
1085 picker dialogs, and picker button widgets.
1087 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1089 * src/hildon-button.c: Add some API documentation
1091 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1093 * src/hildon-button.h
1094 * src/hildon-button.c
1096 (hildon_button_new_with_text): New constructor to create a button
1097 with no text at all.
1098 (hildon_button_init, hildon_button_set_arrangement)
1099 (hildon_button_set_title, hildon_button_set_value)
1100 (hildon_button_set_text)
1101 (hildon_button_construct_child): Hide the value when it's not used
1102 so the rest of the text is properly aligned.
1103 Allow creating buttons with arbitrary widgets inside (not just
1104 title/value labels).
1106 * examples/hildon-button-example.c (vertical_buttons_window)
1107 (horizontal_buttons_window): Update example to use new API.
1109 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1111 * src/Makefile.am: Added HildonTimeButton.
1112 * src/hildon-time-button.c: Added missing LGPL header.
1113 * src/hildon-time-button.h: Added missing LGPL header.
1114 * src/hildon.h: Add hildon-time-button.h
1116 Copied HildonTimeButton from sandbox to trunk. Future work on this
1117 widget must take place in trunk.
1119 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1121 * src/Makefile.am: Added HildonDateButton.
1122 * src/hildon-date-button.c: Update includes.
1123 * src/hildon.h: Add hildon-date-button.h
1125 Copied HildonDateButton from sandbox to trunk. Future work on this
1126 widget must take place in trunk.
1128 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1130 * src/Makefile.am: Added HildonPickerButton.
1131 * src/hildon-picker-button.h: Update includes.
1132 * src/hildon.h: Add hildon-picker-button.h
1134 Copied HildonPickerButton from sandbox to trunk. Future work on
1135 this widget must take place in trunk.
1137 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1139 * src/Makefile.am: Added HildonPickerDialog.
1140 * src/hildon-picker-dialog.c: Update includes.
1141 * src/hildon.h: Add hildon-picker-dialog.h
1143 Copied HildonPickerDialog from sandbox to trunk. Future work
1144 on this widget must take place in trunk.
1146 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1148 * src/Makefile.am: Added HildonTimeSelector.
1149 * src/hildon.h: Add hildon-time-selector.h
1151 Copied HildonTimeSelector widget from sandbox to trunk. Future
1152 work on this widget must happen in trunk.
1154 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1156 * src/Makefile.am: Added HildonDateSelector.
1157 * src/hildon.h: Add hildon-date-selector.h
1159 Copied HildonDateSelector widget from sandbox to trunk. Future
1160 work on this widget must happen in trunk.
1162 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1164 * src/Makefile.am: Added HildonTouchPicker.
1165 * src/hildon-touch-picker.c: Update includes.
1166 * src/hildon.h: Add hildon-touch-picker.h
1168 Copied HildonTouchPicker widget from sandbox to trunk. Future work
1169 on this widget must happen in trunk.
1171 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1173 * src/hildon-pannable-area.c:
1174 (hildon_pannable_area_motion_notify_cb): Fix a typo.
1176 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1178 * examples/hildon-app-menu-example.c (main): Let the window
1181 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1183 * src/hildon-pannable-area.c
1184 (hildon_pannable_area_class_init): Set the min value of the
1185 overshoot properties to zero, which points out that not
1186 overshooting allowed.
1188 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1190 Modified the procedure to get the widget at a point inside the
1191 pannable area when using the movement type signals. Now the user
1192 has to call a function to get the child, that way we just
1193 calculate the child in case the user really want to use it and not
1196 * src/hildon-marshalers.list: Modified the marshallers, now we do
1197 not have the widget as a parameter.
1199 * src/hildon-pannable-area.c
1200 (hildon_pannable_area_motion_notify_cb),
1201 (hildon_pannable_area_class_init),
1202 (hildon_pannable_get_child_widget_at): Removed the widget
1203 parameter from the signal callback. We have also refactored the
1204 emission of the signals.
1206 * src/hildon-pannable-area.h: Added a new method to the API to
1207 calculate a widget at a point inside the pannable area,
1208 hildon_pannable_get_child_widget_at.
1210 * examples/hildon-pannable-area-example-4.c
1211 (horizontal_movement): Modified the example to use the new API,
1212 added condition to control which widget is under the event. This
1213 way we can avoid scrolling laterally over other widgets.
1215 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1217 * src/hildon-pannable-area.c
1218 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1219 modes, we stop getting the pointer events due to returning the
1220 callback without properly calling the get pointer again. Fixed
1221 also an error using the hscroll and vscroll.
1223 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1225 * src/hildon-app-menu-private.h
1226 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1227 (hildon_app_menu_button_release, hildon_app_menu_init)
1228 (hildon_app_menu_class_init): Don't hide the menu on button
1229 release if the user didn't press outside first.
1231 * src/hildon-window.h
1232 * src/hildon-window.c (hildon_window_toggle_menu)
1233 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1234 hildon_window_toggle_menu a virtual function for the stackable
1235 window to override it.
1237 * src/hildon-stackable-window.h
1238 * src/hildon-stackable-window-private.h
1239 * src/hildon-stackable-window.c
1240 (hildon_stackable_window_realize)
1241 (hildon_stackable_window_finalize)
1242 (hildon_stackable_window_class_init)
1243 (hildon_stackable_window_init)
1244 (hildon_stackable_window_set_main_menu): New function to set the
1245 app menu of a HildonStackableWindow.
1247 * examples/hildon-app-menu-example.c: Remove the button to show
1248 the app menu, now it'll be shown when clicking on the title bar
1251 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1253 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1254 set the widget name if the arrangement flags do not specify
1257 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1259 * src/hildon-button.c: (hildon_button_set_property),
1260 (hildon_button_class_init), (hildon_button_new_full),
1261 (hildon_button_set_arrangement): Added "arrangement-flags"
1264 Make the HildonButtonFlags a construction-only property, to allow
1265 subclasses to set them properly.
1267 2008-07-21 Tim Janik <timj@imendio.com>
1269 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1270 insertion position after backspace, so additional digits are appended,
1273 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1275 * src/hildon-pannable-area.c,
1276 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1277 TODO list, it was complete and removed the g_debug and g_print
1280 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1282 Added the movement modes to the hildon-pannable-area, with this
1283 modes the developers can control in which directions the widget
1284 can scroll. They can also connect to signals in order to do
1285 something when that happens, allowing applications scroll. There
1286 is an example uploaded showing how to use it.
1288 * examples/Makefile.am:
1289 * examples/hildon-pannable-area-example-4.c: Added this example of
1290 an application using the modes.
1292 * src/hildon-marshalers.list: Added a new marshaller for the new
1295 * src/hildon-pannable-area.h: Added new enumerations and flags in
1296 order to control the movement modes and the new signals to warn
1297 about the movements in the area.
1299 * src/hildon-pannable-area.c:
1300 (hildon_pannable_axis_scroll),
1301 (hildon_pannable_area_scroll),
1302 (hildon_pannable_area_motion_notify_cb),
1303 (hildon_pannable_area_get_property),
1304 (hildon_pannable_area_set_property),
1305 (hildon_pannable_area_map),
1306 (hildon_pannable_area_class_init),
1307 (hildon_pannable_area_init),
1308 (hildon_pannable_area_jump_to): Added the modes to control the
1309 movement in the widget. We have added properties to control it,
1310 signals to warn about the movements and refactored some code.
1312 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1314 Changes required in order to allow vfast_factor set to zero to
1317 * src/hildon-pannable-area.c:
1318 (hildon_pannable_area_button_press_cb): Changed the condition, it
1319 is required for not allowing click when vfast_factor is zero.
1320 (hildon_pannable_area_timeout): Initialized velocity variables
1321 when we stop moving, it was less than 1 but not zero and we need
1322 to check zero in some situations.
1323 (hildon_pannable_area_class_init): Changed the default value of
1324 the speed factor, now the button_press is just sent in case the
1325 speed is 2 per cent of the max speed.
1326 (hildon_pannable_area_init): Initialization with 0.
1328 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1330 * src/hildon-pannable-area.c,
1331 (hildon_pannable_area_get_topmost): replaced
1332 gdk_window_get_children with gdk_window_peek_children, this way we
1333 do not have to free the list because it is not a copy.
1335 (hildon_pannable_axis_scroll),
1336 (hildon_pannable_area_scroll),
1337 (hildon_pannable_area_timeout),
1338 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1339 two parameters that were only used inside the
1340 hildon_pannable_area_scroll function.
1342 * examples/hildon-pannable-area-example.c,
1343 (get_sawtooth_label): Fixed small memory leak.
1345 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1347 More checks for the case where the overshoot is bigger than the
1350 * src/hildon-pannable-area.c:
1351 (hildon_pannable_draw_vscroll),
1352 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1353 to draw the slider of the scrollbar under the other scrollbar.
1354 (hildon_pannable_area_expose_event): added new checks to control
1355 the drawing of the overshooting area rectangle, in case it is too
1356 big for the area of the widget.
1357 (hildon_pannable_area_size_allocate): add more checks to avoid
1358 setting a position to the child widget outside the area.
1360 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1362 * src/hildon-pannable-area.c
1363 (hildon_pannable_area_size_allocate): Added conditions to control
1364 when overshooting is bigger than the allocated space for the
1365 children, this avoids negative allocations.
1367 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1369 * doc/hildon-docs.sgml
1371 * examples/Makefile.am
1372 * examples/hildon-button-example.c
1374 * src/hildon-button.c
1375 * src/hildon-button.h
1376 * src/hildon.h: Initial version of the new HildonButton widget,
1379 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-pannable-area.c:
1382 (hildon_pannable_area_button_press_cb),
1383 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1384 (hildon_pannable_area_motion_notify_cb),
1385 (hildon_pannable_area_button_release_cb),
1386 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1387 (hildon_pannable_area_jump_to_child):
1389 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1391 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1393 * examples/Makefile.am
1394 * examples/hildon-pannable-area-touch-grid-example.c
1395 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1396 the Hildon Touch List and Hildon Touch Grid using the
1397 HildonPannableArea widget.
1399 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1401 * src/hildon-pannable-area.c,
1402 (hildon_pannable_area_button_press_cb),
1403 (hildon_pannable_area_refresh),
1404 (hildon_pannable_area_scroll),
1405 (hildon_pannable_area_motion_notify_cb),
1406 (hildon_pannable_area_button_release_cb),
1407 (hildon_pannable_area_expose_event),
1408 (hildon_pannable_area_add),
1409 (hildon_pannable_area_remove),
1410 (hildon_pannable_area_realize),
1411 (hildon_pannable_area_size_allocate),
1412 (hildon_pannable_area_class_init),
1413 (hildon_pannable_area_init),
1414 (hildon_pannable_area_scroll_to_child),
1415 (hildon_pannable_area_jump_to_child): Fixed the problem of
1416 removing the child from the GtkBin, we have rearranged the widget
1417 hierarchy, now there is no GtkAlignment which was not doing
1418 anything interesting but breaking some of the assumptions of
1419 GtkContainer. Now developers if they want to add a GtkAlignment
1420 they could, but it is not inside the area.
1422 We had to review the whole allocation/expose process, now it is
1423 improved and we save at least three signals which would be saving
1424 some time when rendering the widget. The allocation of the
1425 scrollbars is now made in the allocate method as usual.
1427 We have also added some conditions in order to control when there
1428 is no child of the pannable area. Maybe we will need more work
1431 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1433 * src/hildon-pannable-area.c,
1434 (hildon_pannable_area_dispose): Released the fade-out timeout when
1435 disposing the widget.
1437 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1439 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1440 zero, we are going to use that property in order to deactivate the
1442 (hildon_pannable_axis_scroll),
1443 (hildon_pannable_area_size_allocate): Added conditions to control
1444 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1445 call, now it is called in all situations and we can remove calls
1446 in the allocate method.
1447 (hildon_pannable_area_map): Control the situation when
1448 overshoot_max is zero, we do not need the timeout.
1449 (hildon_pannable_area_class_init): Added documentation in order to
1450 point out that setting zero to overshoot_max means deactivate
1453 NOTE: removed trailing whitespaces from my previous comments of
1456 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1458 * src/hildon-pannable-area.c
1459 (hildon_pannable_area_get_property),
1460 (hildon_pannable_area_set_property),
1461 (hildon_pannable_area_map),
1462 (hildon_pannable_area_class_init),
1463 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1464 to cause the widget give a hint about its panning abilities upon
1467 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1469 * src/hildon-pannable-area.c: Several documentation improvements.
1471 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1473 * src/hildon-program.c
1474 * src/hildon-stackable-window.c: Update documentation.
1476 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1478 * src/hildon-stackable-window.c (get_previous_window_if_last):
1479 Renamed get_last_window()
1480 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1481 (hildon_stackable_window_unset_program):
1483 (get_previous_window_if_last):
1484 Detect if the window hasn't been added to a HildonProgram.
1486 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
1488 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1490 * src/hildon-pannable-area.c
1491 (hildon_pannable_area_button_press_cb),
1492 (hildon_pannable_axis_scroll),
1493 (hildon_pannable_area_scroll),
1494 (hildon_pannable_area_timeout),
1495 (hildon_pannable_calculate_vel_factor),
1496 (hildon_pannable_area_get_property),
1497 (hildon_pannable_area_set_property),
1498 (hildon_pannable_area_class_init),
1499 (hildon_pannable_area_init),
1500 (hildon_pannable_area_scroll_to),
1501 (hildon_pannable_area_jump_to),
1502 (hildon_pannable_area_scroll_to_child),
1503 (hildon_pannable_area_jump_to_child):
1504 * src/hildon-pannable-area.h: Added the new API functions:
1505 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1506 hildon_pannable_area_scroll_to_child,
1507 hildon_pannable_area_jump_to_child
1510 * examples/Makefile.am
1511 * examples/hildon-pannable-area-example-2.c
1512 * examples/hildon-pannable-area-example-3.c: Added these two new
1513 examples in order to test and show how the new APIs work.
1515 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
1517 * examples/hildon-stackable-window-example.c (new_window):
1518 * src/Makefile.am (noinst_HEADERS):
1519 * src/hildon-program.c (hildon_program_go_to_root_window):
1520 * src/hildon-program.h:
1521 * src/hildon-stackable-window-private.h:
1522 * src/hildon-stackable-window.c:
1523 * src/hildon-stackable-window.h:
1524 Create hildon-stackable-window-private.h
1525 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1527 * examples/hildon-app-menu-example.c (create_menu):
1528 * examples/hildon-hvolumebar-insensitive-example.c (main):
1529 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1530 * examples/hildon-toolbar-seekbar-example.c (main):
1531 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1532 * src/hildon-banner.c (hildon_banner_set_property):
1533 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1534 Fix compilation warnings
1536 * src/hildon-window.c:
1539 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
1541 * src/hildon-stackable-window.c
1542 (hildon_stackable_window_unset_program):
1543 Calculate correctly whether to show the previous window if the
1544 last one is removed from the stack.
1545 (hildon_stackable_window_go_to_root_window):
1546 Send delete events starting from the topmost window.
1547 Stop if one of the windows is not destroyed.
1549 (hildon_stackable_window_delete_event)
1550 (hildon_stackable_window_class_init):
1551 Ignore the delete event if the window is not the topmost one.
1553 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
1555 * src/hildon-pannable-area.c
1556 (hildon_pannable_area_expose_event): Fixed a problem when
1557 selecting the background color of the scrollbars.
1559 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
1561 * examples/hildon-stackable-window-example.c
1562 * src/hildon-stackable-window.c
1563 * src/hildon-stackable-window.h
1564 hildon_stackable_window_go_home() renamed to
1565 hildon_stackable_window_go_to_root_window()
1566 Send delete events to windows rather than closing them with
1567 gtk_widget_destroy()
1569 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1571 * src/hildon-pannable-area.c
1572 (hildon_pannable_area_button_release_cb): Fix overshooting in
1575 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1577 * src/hildon-pannable-area.c
1578 (hildon_pannable_area_init): Initially show the scroll indicators.
1579 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1581 Add initial effect showing the widget is pannable.
1583 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1585 * src/hildon-pannable-area.c
1586 (hildon_pannable_area_class_init)
1587 (hildon_pannable_area_set_property)
1588 (hildon_pannable_area_get_property)
1589 (hildon_pannable_area_button_press_cb):
1590 New 'velocity_fast_factor' property to decide which velocity is
1593 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1595 * src/hildon-pannable-area.c
1596 (hildon_pannable_draw_hscroll)
1597 (hildon_pannable_draw_vscroll):
1598 Use float variables to calculate the size of the scrollbars to
1599 avoid error propagation and resizing during scrolling.
1601 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1603 * src/hildon-pannable-area.c
1604 (hildon_pannable_draw_vscroll)
1605 (hildon_pannable_draw_hscroll):
1606 Define a minimum size for the scroll bars
1608 * src/hildon-stackable-window.c
1609 (hildon_stackable_window_go_home): Fix compilation warning
1610 (get_last_window): Minor optimizations
1611 (hildon_stackable_window_class_init): Fix initialization of
1614 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
1616 * src/hildon-stackable-window.c: Fixed typos in doc
1618 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
1620 * src/hildon-pannable-area.c
1621 (hildon_pannable_area_scroll):
1622 Calculate here whether we need to scroll instead of using the booleans
1623 that tell us whether to /draw/ the scrolling bars.
1625 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
1627 * src/hildon-app-menu.h
1629 * src/hildon-app-menu.c
1630 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1631 multiple filter groups related code and API. Now we support only
1633 * examples/hildon-app-menu-example.c:
1635 Update to reflect API changes.
1637 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
1639 * src/hildon-stackable-window.c
1640 (hildon_stackable_window_class_init):
1641 Add hildon_stackable_window_realize.
1642 (hildon_stackable_window_realize):
1643 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1644 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1645 to apply theming and behavior specific to HildonStackableWindow
1648 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1650 * src/hildon-note.c (hildon_note_button_release):
1651 Close information notes also when tapping on them
1653 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
1655 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1656 ELASTICITY, refactor and review, fix some issues with drawing
1659 * src/hildon-pannable-area.c:
1660 (hildon_pannable_area_button_press_cb): removed the conditions to
1661 avoid clicks when overshooting. It is not required
1663 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1664 define. Refatored and reviewed the code, now we do not need to
1665 manage velocity in motion_notify.
1667 (hildon_pannable_area_motion_notify_cb): We have moved the code
1668 that controls the area_scroll to the axis_scroll function and get
1669 rid of duplicated code.
1671 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1673 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1675 (hildon_pannable_draw_vscroll),
1676 (hildon_pannable_draw_hscroll): Fixed the problems with the
1677 scrollbar drawing, now we do not use two surfaces, it is easier
1678 and saves resources.
1680 (hildon_pannable_area_get_property): Style modification.
1682 (hildon_pannable_area_class_init): Changed some default values.
1684 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
1686 * src/hildon-stackable-window.c: Fix some typos in the
1689 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1691 * src/hildon-dialog.c:
1692 Change indentation style
1695 (hildon_note_button_release):
1696 Use root coordinates to check if the release event happened
1699 * src/hildon-app-menu.c
1700 (hildon_app_menu_button_release):
1701 Remove unnecessary check
1703 * examples/hildon-app-menu-example.c
1705 Add cast to fix warning
1707 * src/hildon-app-menu.c
1708 (hildon_app_menu_class_init):
1709 New inner-border style property.
1710 Set all default spacings to 16
1711 (hildon_app_menu_init):
1712 Use vertical-spacing to set the space between filter buttons and
1713 regular menu buttons.
1714 Set the default container border using the inner-border value.
1716 * examples/hildon-app-menu-example.c
1718 Don't set the menu border explicitly, now we have the inner-border
1719 style property for that.
1721 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1723 * src/hildon-app-menu.c (hildon_app_menu_init):
1724 Make the window modal
1726 * src/hildon-note.c (hildon_note_map)
1727 * src/hildon-app-menu.c (hildon_app_menu_map):
1728 Destroy the grab window if we're unable to grab the pointer
1730 * src/hildon-app-menu-private.h
1731 * src/hildon-app-menu.c
1732 (hildon_app_menu_init, hildon_app_menu_finalize)
1733 (hildon_app_menu_map, hildon_app_menu_unmap)
1734 (hildon_app_menu_button_release)
1735 (grab_transfer_window_get):
1736 Bring back the grab window
1737 (hildon_app_menu_realize):
1738 Decorate the window, set WM hint for Matchbox
1740 * src/hildon-note.c (hildon_note_realize):
1741 * src/hildon-banner.c (hildon_banner_realize):
1742 Add WM hints for Matchbox
1744 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1746 * src/hildon-app-menu-private.h
1747 * src/hildon-app-menu.c
1748 (hildon_app_menu_init, hildon_app_menu_finalize)
1749 (hildon_app_menu_map, hildon_app_menu_unmap)
1750 (hildon_app_menu_button_release):
1751 Remove the grab window, it's not needed anymore
1753 * src/hildon-program.c
1754 Fixed typo in documentation
1756 * src/hildon-app-menu.h
1757 * src/hildon-app-menu.c
1758 * examples/hildon-app-menu-example.c
1759 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1761 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1764 Added new transfer_window and close_if_pressed_outside private
1766 (hildon_note_rebuild):
1767 Don't add a cancel button to the information note. It will be
1768 closed when tapping outside
1769 Remove the comment about the OK button in the documentation
1770 (hildon_note_realize):
1771 Set the notification type hint
1772 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1773 Grab/ungrab pointer and keyboard if the note has to be closed when
1775 (hildon_note_button_release):
1776 Close the note when tapping outside (if applicable)
1778 * src/hildon-app-menu.c
1779 Grab/ungrab pointer and keyboard on map/unmap
1780 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1781 Close the menu on button release, not button press
1783 * src/hildon-banner.c
1784 (hildon_banner_set_property)
1785 (hildon_banner_check_position):
1786 Make the banner use the full width of the screen
1787 (hildon_banner_show_information)
1788 (hildon_banner_show_information_with_markup):
1789 Don't display an icon by default
1791 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1793 Added fading scrollbars and adapted all the overshooting code to
1794 horizontal scrolling. We have also fixed bugs with overshooting
1795 and current fading implementation.
1797 * src/hildon-pannable-area.c
1798 (hildon_pannable_area_scroll_indicator_fade): Time out function
1799 used to change the transparency of the scrollbars.
1801 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1802 control and fixed a problem with fading, we now remove the fade
1803 timeout before adding a new one.
1805 (hildon_pannable_axis_scroll):
1806 (hildon_pannable_area_scroll):
1807 (hildon_pannable_area_timeout): Added this functions so we can use
1808 the scroll code both for vertical and horizontal.
1810 (hildon_pannable_area_motion_notify_cb):
1811 (hildon_pannable_area_button_release_cb): Added the horizontal
1812 scrolling control, fixed a problem with the overshooting timeout.
1814 (rgb_from_gdkcolor): Added this function, it is used in the cairo
1815 painting of the scrolls.
1817 (hildon_pannable_draw_vscroll):
1818 (hildon_pannable_draw_hscroll):
1819 (hildon_pannable_area_expose_event):
1820 Draw both scrollbars and rectangles in the overshooting area.
1822 (hildon_pannable_area_get_property):
1823 (hildon_pannable_area_set_property):
1824 Modified the overshoot property to overshoot_max
1826 (hildon_pannable_area_map):
1827 Replaced the comments symbols.
1829 (hildon_pannable_area_size_allocate):
1830 (hildon_pannable_area_class_init):
1831 (hildon_pannable_area_init): Added horizontal scroll, fading
1832 effect properties, fixed a problem when overshooting in the bottom
1835 * examples/hildon-pannable-area-example.c:
1836 (get_sawtooth_label): Now we use smaller sawtooths, the effect
1837 looks better in the example.
1839 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
1841 * src/hildon-window.c
1842 * src/hildon-window.h
1843 (hildon_window_class_init)
1844 (hildon_window_unset_program)
1845 (hildon_window_unset_program_real):
1846 Make unset_program a virtual function
1848 * src/hildon-stackable-window.c
1849 * src/hildon-stackable-window.h
1850 Added hildon_stackable_window_go_home()
1852 * examples/Makefile.am
1853 * examples/hildon-stackable-window-example.c
1854 HildonStackableWindow example
1856 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1858 * hildon-pannable-area.c: Added the overshoot property and removed
1859 the OVERSHOOT define. Fixed an indent style error.
1860 (hildon_pannable_area_motion_notify_cb):
1861 (hildon_pannable_area_get_property):
1862 (hildon_pannable_area_set_property): Add overshoot property.
1864 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1867 (hildon_pannable_area_class_init): Installed the new property.
1869 * hildon-pannable-area-example.c: Added a sawtooth function, this
1870 way it is easier to check the movement in the pannable.
1871 (get_sawtooth_label): Added this function.
1872 (main): Now we get the labels from the new get_sawtooth_label
1875 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
1877 * src/hildon-app-menu.h
1878 * src/hildon-app-menu.c
1879 Renamed API variables for consistency
1881 (hildon_app_menu_popup): Use also the default window size to
1882 decide where to place the menu
1884 (hildon_app_menu_init, hildon_app_menu_class_init): New
1885 external-border style property
1887 2008-05-26 Michael Natterer <mitch@imendio.com>
1889 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1890 widget_class->tap_and_hold_setup signal slot doesn't exist any
1891 longer, stop overriding it.
1893 (hildon_time_editor_init): g_signal_connect() to the
1894 tap-and-hold-setup signal instead.
1896 (hildon_time_editor_entry_keypress): add cast to fix warning.
1898 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
1900 * doc/hildon-docs.sgml
1902 * examples/Makefile.am
1903 * examples/hildon-app-menu-example.c
1905 * src/hildon-app-menu-private.h
1906 * src/hildon-app-menu.c
1907 * src/hildon-app-menu.h
1909 New HildonAppMenu widget
1911 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1913 Rearranged the inheritance of the pannable area, now it inherits
1914 from GtkBin. This will allow us to control the event_window and
1915 the allocation process of the widget, required for some effects.
1917 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1918 GtkBin structures. * src/hildon-pannable-area.c: Added the
1919 event_window variable.
1920 (hildon_pannable_area_button_press_cb):
1921 (hildon_pannable_area_button_release_cb):
1922 (hildon_pannable_area_motion_notify_cb):
1923 Changed the signature of the method, now we override the event
1924 callback instead of connecting to the signal.
1926 (hildon_pannable_area_realize):
1927 (hildon_pannable_area_unrealize):
1928 (hildon_pannable_area_map):
1929 (hildon_pannable_area_unmap):
1930 (hildon_pannable_area_size_allocate):
1931 Added functions to control the widget construction. We add a
1932 INPUT_ONLY window and we put it over the widgets inside the
1933 container, this event_window handles the events.
1935 (hildon_pannable_area_class_init):
1936 Replaced the signal connections with overrides of the event
1939 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1941 Bouncing effect added when touching the borders, you can change
1942 the elasticity of the border changing the ELASTICITY define.
1944 * src/hildon-pannable-area.c: Added ELASTICITY define.
1945 (hildon_pannable_area_timeout): Added inverse velocity when
1946 touching the border of the child widget, that causes a bounce.
1948 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1950 Improved performance, we now do not go to the X server in order to
1951 get the list of window children. Apparently the effect is the
1952 same, we have to be careful and check if this breaks something in
1955 * src/hildon-pannable-area.c:
1956 (get_ordered_children): Removed this function.
1957 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1958 the children windows function with gdk_window_get_children.
1960 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1962 * src/hildon-pannable-area.c:
1963 (hildon_pannable_area_dispose): Fixed a crash when closing the
1964 window and kinetics is activated.
1966 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1968 * src/hildon-pannable-area.h
1969 * src/hildon-pannable-area.c
1970 Changed indentation style to meet the one used in Hildon
1972 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1974 Reviewed the interaction of the AUTO mode, now we use the time
1975 attribute of the events and calculate the velocity in the motion,
1976 doing a gimp like calculation. The velocity is calculated in each
1977 motion event using the last velocity and the current one, the
1978 SMOOTH_FACTOR controls the percentage of the new velocity we use.
1980 * src/hildon-pannable-area.c: Replaced the time based algorithm
1982 (hildon_pannable_area_motion_notify_cb): now we do not launch the
1983 timeout for the AUTO mode when we are still moving the cursor. We
1984 added also the velocity calculation in this function.
1985 (hildon_pannable_area_button_release_cb): launch the timeout in
1986 case we are in AUTO mode. There are still some constants here that
1987 come from the old implementation that should be reviewed and
1990 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
1992 * doc/hildon-docs.sgml
1995 * src/hildon-stackable-window.c
1996 * src/hildon-stackable-window.h
1998 New HildonStackableWindow widget
2000 * examples/hildon-dialog-example.c
2001 * examples/hildon-pannable-area-example.c
2004 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
2006 * src/hildon-dialog.c
2007 (hildon_dialog_new_with_buttons): New constructor.
2009 * examples/hildon-dialog-example.c
2010 (main): Update the example to use the new
2011 hildon_dialog_new_with_buttons().
2013 * examples/hildon-pannable-area-example.c
2014 (main): Update example.
2016 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
2018 * doc/hildon-docs.sgml
2020 Added HildonPannableArea to the documentation.
2022 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
2024 * doc/visual_index.xml
2025 Fix reference to HildonLoginDialog in documentation
2027 * doc/hildon-docs.sgml
2029 * examples/Makefile.am
2030 * examples/hildon-dialog-example.c
2032 * src/hildon-dialog.c
2033 * src/hildon-dialog.h
2035 New HildonDialog widget.
2037 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2039 * src/hildon-pannable-area.c
2040 Merge latest changes (r4318, r4342) from libmokoui trunk
2042 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2044 * examples/Makefile.am
2045 * examples/hildon-pannable-area-example.c
2047 * src/hildon-pannable-area.c
2048 * src/hildon-pannable-area.h
2050 New HildonPannableArea widget.
2052 2008-04-15 18:05:19 <timj@imendio.com>
2054 * src/hildon-banner.c: revert the recent change, that introduced
2055 gtk_window_present() calls. this reopens:
2056 Bug 78481 - [freetest] information banners are hidden under browser menu
2057 But resolves another variant of:
2058 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2060 2008-04-15 13:21:13 <timj@imendio.com>
2062 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
2063 recreated its layout, spotted by Kris. this fixes all remaining
2064 artefacts and stability issues with the banner code. in particular:
2065 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2067 2008-04-14 16:52:59 <timj@imendio.com>
2069 * src/hildon-banner.c: guard force_to_wrap_truncated() against
2070 operating on unrealized widgets, fixes:
2071 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2073 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
2075 2008-04-09 Kristian Rietveld <kris@imendio.com>
2077 Fixes: NB#77775: Media Player, Save Now playing list, too long name
2078 makes banner disappear.
2079 Fixes: NB#79182: info banner flickering with certain message lengts.
2081 * src/hildon-banner.c (hildon_banner_constructor),
2082 (hildon_banner_init), (hildon_banner_set_text),
2083 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
2084 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
2085 FALSE, reset size requests of label and banner,
2086 (force_to_wrap_truncated): when the text is too wide, always enforce
2087 the maximum possible width instead of recalculating it from the
2088 layout; enforce the maximum banner height of 3 lines,
2089 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
2090 nicer wrapping and no truncated chars if space gets tight.
2092 * src/hildon-banner-private.h: add has_been_wrapped and
2093 has_been_truncated fields.
2095 2008-04-07 Sven Herzberg <sven@imendio.com>
2097 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
2098 local values in hildon_date_editor_size_allocate
2100 * src/hildon-date-editor.c: moved the real allocation code into the
2103 2008-04-07 Sven Herzberg <sven@imendio.com>
2105 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2106 local values in hildon_date_editor_size_allocate
2108 * src/hildon-date-editor.c: merged the two if() branches together
2110 2008-04-07 Sven Herzberg <sven@imendio.com>
2112 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2113 local values in hildon_date_editor_size_allocate
2115 * src/hildon-date-editor.c: changed the arguments of the if()
2118 2008-04-07 Sven Herzberg <sven@imendio.com>
2120 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2121 local values in hildon_date_editor_size_allocate
2123 * src/hildon-date-editor.c: split the calculation of the allocation
2124 from the real allocation
2126 2008-03-27 Michael Natterer <mitch@imendio.com>
2128 Fixes: NB#81696: The passcode is not overwritten even after
2131 * src/hildon-code-dialog.c
2132 (hildon_code_dialog_button_clicked)
2133 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
2134 because that doesn't overwrite selected text. Instead, emit the
2135 "commit" signal on the entry's im_context so the entry's normal
2136 insert logic is triggered. Set the cursor to the end of the entry
2137 after each insert operation so that we *only* insert in the middle
2138 of the text if something was selected.
2140 2008-03-27 Michael Natterer <mitch@imendio.com>
2142 Enable fixing: NB#79916 and NB#79918: The help topic for Color
2143 selector cannot be opened
2145 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
2146 when the popup color selector is created. Please connect to this
2147 signal in order to set the dialog's help ID.
2149 2008-03-25 Sven Herzberg <sven@imendio.com>
2151 Fixes: MB#1212: Hide info banners (infoprints) on click
2153 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
2154 extracted the close event simulation into an extra function
2155 (hildon_banner_button_press_event): simulate a close event and destroy
2156 the widget if the event wasn't handled
2157 (hildon_banner_class_init): added the button_press_event handler
2158 (hildon_banner_init): added button-press events to the widget
2160 2008-03-25 Sven Herzberg <sven@imendio.com>
2162 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
2163 Patch from: Mohammad Anwari <mdamt@maemo.org>
2165 * src/hildon-banner.c: let the HildonBanners pop up on the left side
2166 instead of the right in RTL mode
2167 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
2168 breadcrumb button list in RTL mode
2169 * src/hildon-caption.c: mirror the appearance of the caption widget in
2171 * src/hildon-date-editor.c: mirror appearance of the date editor in
2173 * src/hildon-time-editor.c: mirror appearance of the time editor in
2175 * src/hildon-window.c: fix the position of the popup in RTL mode
2177 2008-03-25 Sven Herzberg <sven@imendio.com>
2179 Amendment to the fix of NB#22072. Fix compilation.
2181 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
2183 2008-03-19 Sven Herzberg <sven@imendio.com>
2185 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2188 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2189 timeout id properly when the timeout will disappear this leaves no
2190 artifacts around in the destroy(); there will only be the timeout
2191 created by hildon_banner_ensure_timeout() and adding a new timeout
2192 will also work if the timeout gets removed because the timeout_handler
2195 2008-03-19 Michael Natterer <mitch@imendio.com>
2197 Fixes: NB#79791: Cannot set focus to Master volume using stylus
2199 * src/hildon-volumebar.c
2200 * src/hildon-vvolumebar.c
2201 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2202 the widget becomes focussable at all.
2204 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2205 set the focus to wither the mute button or the volumebar.
2207 Remove own "can-focus" property and instead listen to
2208 notify::can-focus in order to update the widget's state.
2210 Implement GtkWidget::focus() and make sure we can also *leave* the
2211 widget, not only enter it, depending on volumebar orientation and
2212 requested focus direction.
2214 Clean up set_mute() to cooperate nicely with all the above.
2216 2008-03-04 Michael Natterer <mitch@imendio.com>
2218 Fixes: NB#78481: information banners are hidden under browser menu
2220 * src/hildon-banner.c: call gtk_window_present() on the banners so
2221 they are risen if they are already visible.
2223 2008-03-03 Sven Herzberg <sven@imendio.com>
2225 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2227 * examples/hildon-window-menu-example.c: (main): extended the window
2228 menu example to serve as a testcase for automatically added
2229 accelerator groups, too
2230 * src/hildon-window.c: (hildon_window_add_accel_group),
2231 (hildon_window_set_menu): added patch by Tommi Komulainen
2233 2008-03-03 Sven Herzberg <sven@imendio.com>
2235 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2237 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2238 knowledge about the border allocators used within GTK+
2240 2008-02-26 Sven Herzberg <sven@imendio.com>
2242 Fixes: MB#2981: Build with asserts broken
2244 * src/hildon-date-editor.c,
2245 * src/hildon-number-editor.c,
2246 * src/hildon-time-editor.c,
2247 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2248 the proper GType instance check
2250 2008-02-25 Sven Herzberg <sven@imendio.com>
2252 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2254 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2255 * examples/hildon-window-menu-example.c: (main): explicitly show
2257 * src/hildon-window.c:
2258 (hildon_window_set_main_menu): moved most of the code from set_menu()
2259 to this place; skipped the call to gtk_widget_show_all(); also didn't
2260 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2261 (hildon_window_set_menu): removed most of the code, just keep the
2262 questionable gtk_widget_show_all()
2263 * src/hildon-window.h: added the new function and deprecate the old
2266 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2272 * debian/changelog: Updating.
2274 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2277 * pkgconfig/Makefile.am:
2278 * pkgconfig/hildon.pc.in:
2281 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2282 use newly created API_MAJOR_VERSION.
2284 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2290 * debian/changelog: Updating.
2292 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2294 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2296 Add outer_border style property, we use it but don't define it (!).
2300 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2302 * examples/hildon-bread-crumb-trail-example.c (main):
2306 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2308 Fix logic for the bread crumb trail node removal.
2312 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2318 * debian/changelog: Updating.
2320 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2322 Patch by Alejandro to get/set passwords dialogs accesibility.
2324 * hildon-1/src/hildon-get-password-dialog.c:
2325 * hildon-1/src/hildon-set-password-dialog.c:
2326 Set atk_set_name to the passwd entries in order to allow
2327 accessibility by name on this entries.
2329 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2334 * debian/control: Updating gtk dep.
2336 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2338 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2339 USE_MAEMO_GTK is enabled.
2341 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2343 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2344 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2346 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2352 * debian/changelog: Updating.
2354 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2356 * examples/Makefile.am:
2357 * examples/hildon-logical-color-example.c:
2358 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2359 applied + adding a test case. Fixes: NB#71660.
2361 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2363 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2364 to be visible, fixes warning on map for windows without toolbars.
2366 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2368 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2369 2.11.0, add a check for that besides the MAEMO_GTK check.
2371 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2377 * debian/changelog: Updating.
2379 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2381 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2382 visibility. Fixes: NB#70842 and MB#615.
2384 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2386 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2387 set the separator as no-show-all so it doesn't unintentionally appear when
2388 someone does a show_all.
2390 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2392 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2393 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2394 toplevel item. Fixes: NB#62031
2396 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2398 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2399 fix the name of the function in the docs.
2401 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2407 * debian/changelog: Updating.
2409 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2411 * examples/hildon-banner-long-example.c: Adding a test-case for long
2414 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2416 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2418 * src/hildon-color-chooser-dialog.c:
2419 * src/hildon-color-chooser.c:
2420 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2421 memory leaks in font selector and color selector. Fixes: NB#70499 and
2424 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2426 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2428 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2430 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2431 little bit bigger. Fixes: #NB63694.
2433 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2439 * debian/changelog: Updating.
2441 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2444 * doc/hildon-docs.sgml:
2445 * doc/images/bread-crumb-trail.png:
2446 * doc/images/calendar-popup.png:
2447 * doc/images/caption.png:
2448 * doc/images/code-dialog.png:
2449 * doc/images/color-button.png:
2450 * doc/images/color-chooser-dialog.png:
2451 * doc/images/color-chooser.png:
2452 * doc/images/controlbar.png:
2453 * doc/images/date-editor.png:
2454 * doc/images/font-selection-dialog.png:
2455 * doc/images/get-password-dialog.png:
2456 * doc/images/hvolumebar.png:
2457 * doc/images/login-dialog.png:
2458 * doc/images/note.png:
2459 * doc/images/number-editor.png:
2460 * doc/images/range-editor.png:
2461 * doc/images/seekbar.png:
2462 * doc/images/set-password-dialog.png:
2463 * doc/images/sort-dialog.png:
2464 * doc/images/time-editor.png:
2465 * doc/images/time-picker.png:
2466 * doc/images/vvolumebar.png:
2467 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2468 Adding the bread-crumb-trial and helpers to the documentation.
2470 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2472 * examples/hildon-find-toolbar-example.c:
2473 * src/hildon-find-toolbar.c:
2474 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2475 actually continue firing the other handlers if connected. Adding a new
2477 hildon_find_toolbar_get_last_index that gets the index of the most
2478 recently added (last) item. Fixes: NB#52301.
2480 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2482 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2483 behaviour. Fixes: NB#68610.
2485 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2487 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2490 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2492 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2493 when realizing the banner. Should make the infonbanner effect a bit more
2496 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2498 * src/hildon-volumebar.c:
2499 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2500 hildon_volumebar_set_range_insensitive_message and
2501 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2503 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2505 * src/hildon-window.c: Fixing the border freeing on destroy.
2507 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2509 * src/hildon-code-dialog-private.h:
2510 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2511 kw keyboard support in HildonCodeDialog.
2513 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2519 * debian/changelog: Updating.
2521 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2523 * src/hildon-date-editor.c:
2524 * src/hildon-number-editor.c:
2525 * src/hildon-private.c:
2526 * src/hildon-private.h:
2527 * src/hildon-time-editor.c:
2528 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2529 handling in subclassed composite widgets. Fixes: NB#66628.
2531 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2533 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2534 from destroy_ callback as it introduces problems in async dbus signal
2535 handlers. Fixes NB#66673.
2537 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2539 * examples/hildon-hvolumebar-example.c:
2540 * src/hildon-volumebar.c: Improving the focus handling in the
2541 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2542 set_property accessor so that "mute" property can be actually set. I'm
2543 scared that nobody noticed it's totally broken.
2545 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2547 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2550 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2552 * src/hildon-calendar.c:
2553 * src/hildon-number-editor.c:
2554 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2555 matches the spec of 6 chars per second. Fixes: NB#60489.
2557 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2559 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2560 gtk_style_lookup_color sometime returns FALSE even though color was
2561 found and values were filled properly. Weird. Removing the warning for the
2564 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2566 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2567 expand vertically. Adding some extra space to the find toolbar buttons to
2568 make them thumbable. Fixes NB#66060.
2570 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2572 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2573 popup with "Ok" and "Cancel". Fixes NB#59299.
2575 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2577 * src/hildon-calendar.c: Process all window updates before executing next
2578 timeout. Fixes: NB#54146.
2580 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2586 * debian/changelog: Updating.
2588 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2590 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2591 the client event and ignore it, since we use the delete event to close
2594 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2596 * src/hildon-helper.c: Remove the bogus warning about color not being
2597 found. Fixes NB#58352.
2599 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2601 * examples/Makefile.am:
2602 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2603 HildonSeekbar widget inside a toolbar.
2605 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2607 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2608 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2609 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2610 don't want to be closed by non-temporary windows on map.
2612 Also use G_DEFINE_TYPE instead of manually typed code.
2614 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2621 * debian/rules: Updating.
2623 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2625 * examples/Makefile.am:
2626 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2627 bug NB#61128. Strangely it works.
2629 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2631 * src/hildon-date-editor.c: When the date editor entry has been changed
2632 but the numbers of characters < max, turn off the skip validation flag.
2633 Prevents a situation when we enter first a valid year and later re-write
2634 it with an invalid one. Fixes NB#60154.
2636 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2638 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2639 code dialog. Fixes NB#64355.
2641 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2643 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2644 switching the page. Fixes NB#49374.
2646 * examples/Makefile.am:
2647 * examples/hildon-wizard-dialog-example.c: Adding an example for
2648 HildonWizardDialog that shows how to handle manual sensitivity setting on
2651 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2655 * src/hildon-version.h.in:
2656 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2658 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2660 * src/hildon-volumebar.c: Updating the docs.
2662 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2668 * debian/changelog: Updating.
2670 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2672 * src/hildon-find-toolbar.c:
2673 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2674 selected item: hildon_find_toolbar_set_active,
2675 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2676 hildon_find_toolbar_get_active_iter . They correspond to respective
2677 GtkComboBox functions.
2679 * examples/Makefile.am:
2680 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2683 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2685 * examples/Makefile.am:
2686 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2689 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2690 when font size > 32 and we pack a focusable widget inside. Actually using
2691 the default response would work too, but since we don't show default
2692 response state in any way (no theming) it would not be visible to the
2693 user. Fixes NB#63430.
2695 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2697 * src/hildon-date-editor.c: Adding the missing variable setter in the
2698 set_property handler. Fixes NB#54182.
2700 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2702 * src/hildon-window.h: Changing the long key press time from 1500ms to
2703 800ms as requested in NB#63700. I have a bad feeling about this, let's
2704 see... Fixes NB#63700.
2706 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
2708 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2709 hildon_time_picker_map, hildon_time_picker_realize,
2710 hildon_time_picker_style_set): Split the contents of map to more
2711 appropriate functions; set window decorations on realize and update
2712 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2714 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2719 * debian/changelog: Updating.
2721 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2723 * src/Makefile.am: fixed installation of the header files
2725 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2731 * debian/changelog: Updating.
2733 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2735 * configure.ac: Removing some remaining of --enable-xan.
2737 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2739 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2740 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2742 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2743 2.10.12-osso6 because the move-focus signal needs to be available in
2746 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2748 * examples/Makefile.am:
2749 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2750 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2751 fine. Prolly NB#61128 is fixed now.
2753 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2755 * src/hildon-volumebar.c:
2756 * src/hildon-volumebar.h: Adding the
2757 hildon_volumebar_set_range_insensitive_message and
2758 hildon_volumebar_set_range_insensitive_messagef functions to set
2759 insensitive message on the slider of the volumebar. Fixes NB#61129.
2761 * examples/Makefile.am:
2762 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2763 test the new insensitive messsage functionality on HildonVolumebar.
2765 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2767 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2770 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2772 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2773 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2774 button on after clearing the trail.
2776 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2778 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2780 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2782 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2783 by splitting the installed headers in generated and non-generated groups. Use
2784 only the non-generated headers to create the hildon-enum-types.h file.
2786 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2788 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2790 * src/hildon-window.c: Hide the window before performing the destroy.
2791 Should make the app closing a little tiny bit more snappy.
2793 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2795 * src/hildon-seekbar.c: add gtkrange.h header
2796 * src/hildon-caption.c: remove unused variable
2798 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2800 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2803 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2809 * debian/changelog: Updating.
2811 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
2813 * src/hildon-window.c (hildon_window_window_state_event,
2814 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2815 escape timeout on focus-out-event rather than notify::is-topmost; the
2816 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2818 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2820 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2821 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2823 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2825 * src/hildon-window: actually, you need to use the macro always, there's
2826 no private pointer in the instance structure. We should have cleaned this up
2827 when we had the chance...
2829 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2831 * src/hildon-window.c: do not get the private date from HildonWindow before
2832 it passes the g_return_if_fail check. Once it's passed the test, there's no
2833 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2834 if you are only going to access the data once. Whitespace cleanups.
2836 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
2838 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2839 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2841 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2847 * debian/changelog: Updating.
2849 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2851 * src/hildon-window.c: When destroying the window, remove (if exists) the
2852 escape timeout handler. Fixes #NB59276.
2854 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2856 * src/hildon-banner.c: When realizing the widget, set the window
2857 transiency. Setting the transiency in the gobject constructor is not
2858 good, as the widget is not realized at that point. Fixes: #NB56624.
2860 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2862 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2863 Add padding for future expansions.
2865 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2867 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2868 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2869 will fake an activation on the previous to the last item of the trail, so
2870 the effect can be overrided by the developer as usual.
2871 Also change the callback for the back button to do the same thing, so its
2872 effect can be overrided too. Fixes: NB#58982
2874 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2876 * src/hildon-caption.c: Implementing the proper focus grabbing in the
2877 HildonCaption. Fixes NB#52379.
2879 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2881 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2882 the internal state of the trail after the user has had the chance of executing
2883 his handler for the signal. Specifically, it may happen that the activated button
2884 is removed and the user still lets the default handler run. This would segfault
2887 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2889 * src/hildon-font-selection-dialog.c: When the font is really big, add the
2890 scrollbar to the preview dialog. Fixes NB#54147.
2892 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2894 * src/hildon-date-editor.c: Changing the default max year to 2037. The
2895 max/min year properties can be altered, so the client can modify it
2896 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2898 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2900 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2901 hildonlike by default. Fixing a problem with disappearing arrows when
2902 scrolling through months and years. Fixes NB#54127.
2904 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2906 * examples/hildon-date-editor-example.c: Adding error callback to the date
2909 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2915 * configure.ac: Updating.
2917 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2919 * configure.ac: Adding a special '--enable-xan' configure option that
2920 turns off the -Werror compilation setting. Usefull for development.
2922 * src/hildon-calendar.c:
2923 * src/hildon-number-editor.c:
2924 * src/hildon-time-picker.c: Adding the 5* multiplier to
2927 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
2929 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2930 instead of g_object_ref + gtk_object_sink.
2932 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2938 * debian/changelog: Updating.
2940 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2942 * src/hildon-color-chooser-dialog.c:
2943 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2944 straight from Tommi labs.
2946 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2948 * examples/hildon-finger-example.c: Correcting the header file path.
2950 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2951 the changed signal. Fixes a small memory leak.
2953 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2957 * src/hildon-banner.c: Importing several usefull fixes from the
2958 ubuntu-mobile branch.
2960 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2962 * examples/Makefile.am:
2963 * examples/hildon-finger-example.c: Adding a finger-checking code
2966 * src/hildon-font-selection-dialog.c: Do not allocate the color
2967 structure using the g_new. Fixes NB#54061.
2969 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2971 * src/hildon-helper.c: Correcting tabs in file.
2973 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
2975 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2976 control the visibility of the children.
2978 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2980 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2986 * debian/changelog: Updating.
2988 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2990 * src/hildon-bread-crumb-trail.c:
2991 (hildon_bread_crumb_trail_size_allocate):
2993 Make the back button always a square.
2995 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2997 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2998 from the .c file as it's a private file.
3000 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3002 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
3003 uses slightly bigger height.
3005 * src/hildon-font-selection-dialog.c: Adding some checks before
3006 freeing memory in the font selection dialog.
3008 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3010 * src/hildon-font-selection-dialog.c: Adding a small check when
3013 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3014 buttons sensitivity on page switching.
3016 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
3018 * src/hildon-bread-crumb-trail.c: make the add method handle all the
3019 internal details of adding a bread crumb to the trail.
3021 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3027 * debian/changelog: Updating.
3029 * src/hildon-bread-crumb-trail.h:
3030 * src/hildon-bread-crumb.h: Changing the API guard to
3031 HILDON_ENABLE_UNSTABLE_API.
3033 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3041 * src/hildon-helper.h: Updating.
3043 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3051 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3055 * src/hildon-helper.h: Small fix to make the package actually compile.
3057 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3059 * src/hildon-bread-crumb-trail.h:
3060 * src/hildon-bread-crumb.h:
3062 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
3063 to define ENABLE_UNSTABLE_API in the code that includes these headers.
3065 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3067 * examples/hildon-bread-crumb-trail-example.c:
3069 * src/hildon-bread-crumb-trail.c:
3070 * src/hildon-bread-crumb-trail.h:
3071 * src/hildon-bread-crumb.c:
3072 * src/hildon-bread-crumb.h:
3073 * src/hildon-marshalers.list:
3074 * src/hildon-bread-crumb-widget.c:
3075 * src/hildon-bread-crumb-widget.h:
3077 Slight change in the widget design. The bread crumb trail API is
3078 unchanged, but HildonBreadCrumb is now an interface. A *private*
3079 implementation, hildon-bread-crumb-widget, is provided and used
3080 internally by the trail for the push_text/push_icon functions.
3082 The generic push API is still available, so anyone can implement
3083 and use its own bread crumb widget.
3085 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3087 * debian/rules: Fixing the shlibs.
3089 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3091 * src/hildon-banner.c: Fixing a problem with timed banners having
3092 their parrent destroyed before they are.
3094 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
3096 * src/hildon-bread-crumb.c:
3097 * src/hildon-bread-crumb.h:
3099 Make the get_natural_size function a vfunc.
3101 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3103 * src/hildon-bread-crumb.c:
3104 * src/hildon-bread-crumb-trail.c:
3108 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3115 * debian/changelog: Updating for release.
3117 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3119 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
3120 don't leak the pango layout.
3122 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3125 * examples/hildon-bread-crumb-trail-example.c:
3129 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3131 * debian/changelog: Removing the bug-fixed entries that were actually
3132 resolved as WONTFIX.
3134 * src/hildon-date-editor.c: Removing a redundant check. Fixes
3137 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3139 * src/hildon-bread-crumb-trail.c:
3140 * src/hildon-bread-crumb-trail.h:
3141 * src/hildon-bread-crumb.c:
3142 * src/hildon-bread-crumb.h:
3146 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3148 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
3149 until it's passed the type check.
3151 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3153 * examples/hildon-bread-crumb-trail-example.c
3157 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3159 * examples/Makefile.am
3160 * examples/hildon-bread-crumb-trail-example.c
3162 * src/hildon-bread-crumb-trail.c
3163 * src/hildon-bread-crumb-trail.h
3164 * src/hildon-bread-crumb.c
3165 * src/hildon-bread-crumb.h
3167 New HildonBreadCrumbTrail widget.
3169 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
3171 * src/hildon-range-editor.c (hildon_range_editor_init),
3172 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
3173 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
3174 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
3175 hildon_time_editor_class_init, hildon_time_editor_init),
3176 src/hildon-get-password-dialog.c (invalid_input,
3177 hildon_get_password_set_property, hildon_get_password_get_property,
3178 create_contents, hildon_get_password_dialog_set_max_characters),
3179 src/hildon-set-password-dialog.c (create_contents),
3180 src/hildon-date-editor.c (hildon_date_editor_init),
3181 src/hildon-login-dialog.c (hildon_login_dialog_init),
3182 src/hildon-number-editor.c (hildon_number_editor_init),
3183 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3184 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3185 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3186 configure option and adding the respective checks in the code.
3187 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3188 hildon_calendar_drag_data_received): fixed some build warnings.
3190 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3192 * debian/changelog: A 1.0.0 release notes.