1 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3 * examples/hildon-pannable-area-example.c,
4 (main): Removed examples panning a vbox inside a pannable
5 area. Check bug NB#87965
7 2008-09-08 Alejandro G. Castro <alex@igalia.com>
9 Patch contributed by Kris Rietveld (kris@imendio.com)
11 * src/hildon-pannable-area.c,
12 (hildon_pannable_area_get_topmost): replaced the get_geometry with
13 get_size and get_position, this saves an X server roundtrip.
15 2008-09-05 Alberto Garcia <agarcia@igalia.com>
17 * doc/hildon-docs.sgml
19 * examples/Makefile.am
20 * examples/hildon-entry-example.c
25 New HildonEntry widget, with example.
27 2008-09-05 Alberto Garcia <agarcia@igalia.com>
29 * src/hildon-button.c (hildon_button_construct_child): Pack the
30 image with expand == fill == FALSE. This is a workaround for a bug
33 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
35 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
36 labels for the text column, to make it more look more dynamic.
38 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
40 * src/hildon-time-selector.c
41 Define gettext auxiliar macro N_
42 (_create_minutes_model)
44 (_create_ampm_model): use of strftime in order to fill the model
45 * src/hildon-date-selector.c
46 (hildon_date_selector_finalize):
47 (_locales_init): remove the logic related to get the name of the months
48 using nl_langinfo, as it is not required anymore
52 (_update_day_model): use of strftime in order to fill the model properly
55 2008-09-04 Alberto Garcia <agarcia@igalia.com>
58 * src/hildon-button.c (hildon_button_get_image): New method to
61 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
63 * src/hildon-touch-selector.c:
64 (hildon_touch_selector_remove_column): Remove from the correct parent
65 and also remove the list element and free it.
68 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
70 * src/hildon-time-selector.c
71 (_create_hours_model): change the range on 12h ampm format in order to use
72 a 12-11 range instead of previous 01-12 range
73 (hildon_time_selector_set_time): change the way to select the current time
74 on 12h ampm format, due the change on the range
75 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
78 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
80 * src/hildon-touch-selector.c
81 (hildon_date_touch_selector_get_selected): fix the selection mode check,
82 in order to allow use this function on multiple row selection mode if
83 the column is different that the first one
86 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
88 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
89 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
91 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
93 * src/hildon-date-selector.h: clean some comments, now on the .c
94 * src/hildon-date-selector.c
95 (hildon_date_selector_select_month): first implementation
96 (hildon_date_selector_select_day): added documentation, reimplemented
97 using hildon_date_selector_select_current_date to avoid repeat code
100 2008-09-02 Alejandro G. Castro <alex@igalia.com>
102 Reviewed interaction logic based on device experiences, refactored
105 * src/hildon-pannable-area.c,
106 (hildon_pannable_area_class_init): Updated default vmax speed.
107 (hildon_pannable_area_calculate_velocity): Added this function, it
108 avoids duplicate valocity calculation. Adjusted calculation to
109 avoid problems with zero dist events.
111 (hildon_pannable_area_motion_notify_cb): Now we use the
112 calculate_velocity function.
114 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
116 * src/hildon-date-selector.c
117 (hildon_date_selector_select_current_date): fix the day range check
118 as it failed using the last day of the current month
121 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
123 * src/hildon-touch-selector.c
124 (hildon_touch_selector_get_num_columns): added a parameter validation
127 2008-08-29 Alberto Garcia <agarcia@igalia.com>
129 * examples/Makefile.am
130 * examples/hildon-edit-toolbar-example.c: Example of the
131 HildonEditToolbar widget.
133 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
135 * configure.ac: postrelease version bump.
137 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
141 * configure.ac: prerelease version bump.
142 * debian/changelog: update.
144 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
146 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
147 renderer to display stock icons in the touch list. Also, set the sizes
148 to the recommended in the style guide.
150 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
151 * src/hildon-touch-selector.h
152 (hildon_touch_selector_set_active_iter): renamed, now is
153 hildon_touch_selector_select_iter
154 (hildon_touch_selector_get_active_iter): renamed, now is
155 hildon_touch_selector_get_selected
156 (hildon_touch_selector_unselect_iter): added
157 * src/hildon-touch-selector.c
158 Update after API modification (methods renamed)
159 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
160 order to avoid problems selecting multiple elements on the column
161 (hildon_touch_selector_unselect_iter): added the implementation
162 * src/hildon-time-selector.c
163 * src/hildon-date-selector.c
164 * src/hildon-touch-selector-entry.c
165 Update methods calls after hildon-touch-selector.h API modification (methods
168 2008-08-29 Alberto Garcia <agarcia@igalia.com>
170 * src/hildon-stackable-window.c
171 (hildon_stackable_window_finalize): Call the parent class's finalize.
173 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
175 * examples/hildon-touch-selector-example.c: (create_selector): Use
176 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
179 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
181 * examples/hildon-touch-selector-example.c: (create_selector): Do not
182 set a cell background color, to respect theming.
184 2008-08-28 Alberto Garcia <agarcia@igalia.com>
186 * doc/hildon-docs.sgml
189 * src/hildon-edit-toolbar.c
190 * src/hildon-edit-toolbar.h
191 * src/hildon.h: New HildonEditToolbar widget.
193 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
195 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
198 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
199 * src/hildon-touch-selector.c
200 (_create_new_column): use g_object_set instead of two g_object_set_property
202 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
203 * src/hildon-touch-selector.c
204 (_create_new_column): use of hildon_gtk_tree_view_new to create
205 the treeview, instead of use directly g_object_new
206 (_create_new_column): update the property name "vindicator-mode" for the
207 new one "vscrollbar-policy"
208 * examples/hildon-date-button-example.c
209 * examples/hildon-picker-button-multicolumn-example.c
210 * examples/hildon-touch-selector-entry-example.c
211 * examples/hildon-touch-selector-example.c
212 * examples/hildon-time-button-example.c
213 * examples/hildon-picker-button-example.c
214 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
215 to all the treeviews inside a pannable area.
217 2008-08-27 Alberto Garcia <agarcia@igalia.com>
219 * src/hildon-button.h
220 * src/hildon-button.c (hildon_button_init)
221 (hildon_button_set_arrangement, hildon_button_set_alignment)
222 (hildon_button_set_title_alignment)
223 (hildon_button_set_value_alignment)
224 (hildon_button_set_image_alignment)
225 (hildon_button_construct_child): New methods to set the alignment
226 of the individual components of the button (title, value,
227 image). Also, new method to alter the xscale and yscale properties
228 of the GtkAlignment inside the button, so more complex layouts can
231 2008-08-27 Alberto Garcia <agarcia@igalia.com>
233 * src/hildon-button.c (hildon_button_style_set)
234 (hildon_button_class_init, hildon_button_set_arrangement)
235 (hildon_button_construct_child): Apply style properties
236 correctly. Use the 'image-spacing' style property too.
238 2008-08-26 Alberto Garcia <agarcia@igalia.com>
240 * src/hildon-app-menu.c (hildon_app_menu_style_set)
241 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
244 2008-08-26 Alejandro G. Castro <alex@igalia.com>
246 * src/hildon-pannable-area.c,
247 (hildon_pannable_area_size_request): Fixed problem with
248 pannable-area size_request.
250 2008-08-26 Alejandro G. Castro <alex@igalia.com>
252 Added management for the grab-focus to a child widget, like a
253 range, we need to fade out the scrollbar when releasing.
255 * src/hildon-pannable-area.c,
256 (hildon_pannable_area_init): Connected the grab-focus signal to
258 (hildon_pannable_area_grab_notify): Added this function in order
259 to manage the situation when the grab-focus ends. We have to
260 fade-out the scrollbar.
262 2008-08-25 Alberto Garcia <agarcia@igalia.com>
264 * src/hildon-app-menu.c: Minor documentation update.
266 2008-08-25 Alberto Garcia <agarcia@igalia.com>
268 * src/hildon-app-menu.c
269 * examples/hildon-app-menu-example.c (create_menu): Update
270 examples and documentation to explain how to connect callbacks.
272 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
274 * examples/hildon-button-example.c
275 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
276 hildon_stackable_window_new instead of gtk_window_new
278 2008-08-22 Alejandro G. Castro <alex@igalia.com>
280 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
281 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
282 (hildon_pannable_area_set_property),
283 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
284 (hildon_pannable_area_unrealize),
285 (hildon_pannable_area_size_request),
286 (hildon_pannable_area_size_allocate),
287 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
288 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
289 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
290 (hildon_pannable_area_initial_effect),
291 (hildon_pannable_area_redraw),
292 (hildon_pannable_area_scroll_indicator_fade),
293 (hildon_pannable_area_expose_event),
294 (hildon_pannable_area_get_topmost), (synth_crossing),
295 (hildon_pannable_area_button_press_cb),
296 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
297 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
298 (hildon_pannable_area_motion_notify_cb),
299 (hildon_pannable_area_button_release_cb),
300 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
301 (hildon_pannable_area_remove),
302 (hildon_pannable_calculate_vel_factor): Widget refactorization,
303 chage the code layout to a more GtkWidget like. Review the use of
306 2008-08-21 Alejandro G. Castro <alex@igalia.com>
308 * examples/hildon-pannable-area-example-4.c,
309 (main): Modified the name of the hindicator_mode to
312 * src/hildon-pannable-area.c,
313 (hildon_pannable_area_class_init),
314 (hildon_pannable_area_motion_notify_cb),
315 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
316 we have reduced the amount of signals and managed reviewed its
317 rationale. Changed the default decelerate value.
319 (hildon_pannable_area_add),
320 (hildon_pannable_area_redraw): Refactored functions.
322 (hildon_pannable_area_init),
323 (hildon_pannable_area_get_property),
324 (hildon_pannable_area_set_property):
325 (hildon_pannable_draw_vscroll),
326 (hildon_pannable_draw_hscroll),
327 (hildon_pannable_area_initial_effect),
328 (hildon_pannable_area_expose_event),
329 (hildon_pannable_area_scroll),
330 (hildon_pannable_area_button_press_cb),
331 (hildon_pannable_area_realize): Replaced the names hindicator_mode
332 and vindicator_mode with hscrollbar_policy and
333 vscrollbar_policy. Replaced hscroll and vscroll with
334 hscroll_visible and vscroll_visible.
336 (hildon_pannable_area_refresh): Refactor the function, remove
337 variables and check the calls to this function, added resize
338 conditions in case the children change their layout.
340 (hildon_pannable_area_size_request): Added more detailed
341 size_request calculation.
344 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
346 * src/hildon-color-chooser.c
347 (init_borders): use the correct gtk_border_free instead of g_free, to
348 avoid a crash when this widget is used (ie: the three color selection
351 2008-08-20 Alejandro G. Castro <alex@igalia.com>
353 * src/hildon-check-button.c,
354 (hildon_check_button_set_active): Fixed problem when setting the
355 active value, the widget was not redrawn.
357 2008-08-20 Alejandro G. Castro <alex@igalia.com>
359 * src/hildon-pannable-area.c,
360 (hildon_pannable_area_refresh),
361 (hildon_pannable_area_scroll),
362 (hildon_pannable_area_motion_notify_cb): Small code style change.
364 (hildon_pannable_area_class_init): Default initial_hint set to
365 FALSE, it is not in the specs.
367 (hildon_pannable_area_initial_effect),
368 (hildon_pannable_area_expose_event),
369 (hildon_pannable_area_map),
370 (hildon_pannable_area_init): Moved the launching point of the
371 initial effect, it was in map but the sizes where not correct in
372 that method so we do not know if we have the reproduce it. Now it
373 is placed in the expose_event method and uses a variable to
374 reproduce it just once.
376 2008-08-19 Alejandro G. Castro <alex@igalia.com>
378 * src/hildon-pannable-area.c,
379 (hildon_pannable_draw_vscroll),
380 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
381 position allowed for the scrollbars.
383 (hildon_pannable_area_size_allocate): Small style change.
385 2008-08-19 Alejandro G. Castro <alex@igalia.com>
387 * src/hildon-pannable-area.c,
388 (hildon_pannable_area_scroll_indicator_fade),
389 (hildon_pannable_area_button_press_cb),
390 (hildon_pannable_area_button_release_cb),
391 (hildon_pannable_area_scroll_cb),
392 (hildon_pannable_area_expose_event),
393 (hildon_pannable_area_init): Added the define parameter
394 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
395 and refactor the fade variable.
397 2008-08-19 Alejandro G. Castro <alex@igalia.com>
399 * src/hildon-pannable-area.c,
400 (hildon_pannable_area_redraw),
401 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
402 lines, we were reimplemeting the redraw code.
404 2008-08-18 Alejandro G. Castro <alex@igalia.com>
406 * src/hildon-pannable-area.c,
407 (hildon_pannable_area_scroll_cb),
408 (hildon_pannable_area_realize),
409 (hildon_pannable_area_class_init): Added scroll_event management
410 for pannable area, now we can scroll the usual desktop method.
412 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
413 initialization of the parameters should depend on idle_id.
415 (hildon_pannable_area_init),
416 (hildon_pannable_area_map): Small code style modifications
418 2008-08-18 Alejandro G. Castro <alex@igalia.com>
420 * src/hildon-pannable-area.c
421 (hildon_pannable_area_button_press_cb),
422 (hildon_pannable_area_motion_notify_cb),
423 (hildon_pannable_area_button_release_cb),
424 (hildon_pannable_area_size_allocate),
425 (hildon_pannable_area_scroll_to): Improved the timeouts
426 management, we avoid creating them each time.
428 2008-08-14 Alejandro G. Castro <alex@igalia.com>
430 * src/hildon-pannable-area.c:
431 (hildon_pannable_area_refresh),
432 (hildon_pannable_area_motion_notify_cb),
433 (hildon_pannable_area_class_init):
434 * src/hildon-pannable-area.h:
435 * src/hildon-touch-selector.c
436 (_create_new_column):
437 * examples/hildon-pannable-area-example-4.c:
438 (horizontal_movement),
441 Replaced the names of enums in the HildonPannableArea:
442 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
443 HILDON_MOVEMENT_MODE_*
444 - HILDON_PANNABLE_AREA_MOV_* ->
446 - Removed HildonPannableAreaIndicatorMode, now we
449 2008-08-14 Alberto Garcia <agarcia@igalia.com>
451 * examples/hildon-pannable-area-touch-grid-example.c
452 * examples/hildon-pannable-area-touch-list-example.c: Fix
453 compilation warnings.
455 2008-08-14 Alberto Garcia <agarcia@igalia.com>
457 * src/hildon-gtk.c (hildon_gtk_button_new)
458 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
459 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
460 images overriding the value of the "gtk-button-images" setting.
462 2008-08-14 Alberto Garcia <agarcia@igalia.com>
464 * src/hildon-check-button.c (hildon_check_button_new):
465 Instead of using a custom container, display the label and the
466 checkbox using the standard GtkButton API.
468 * examples/hildon-check-button-example.c (main): Don't use
469 hildon_check_button_set_label() anymore
471 * src/hildon-check-button.h
472 * src/hildon-check-button.c
473 (hildon_check_button_set_label, hildon_check_button_get_label):
474 Set as deprecated, now we're using gtk_button_{get,set}_label()
476 2008-08-14 Alejandro G. Castro <alex@igalia.com>
478 * src/hildon-pannable-area.c,
479 (hildon_pannable_area_get_topmost): Fixed bug with click in the
480 GtkTreeview first line we detected it after the inclusion of the
481 GtkWindowImpl in gtk+. We now check if the window is visible, not
482 just if the pointer is over the window.
483 (hildon_pannable_axis_scroll),
484 (hildon_pannable_area_expose_event): Small style changes.
486 2008-08-13 Alberto Garcia <agarcia@igalia.com>
488 * src/hildon-button.c: Update documentation.
490 2008-08-13 Alberto Garcia <agarcia@igalia.com>
492 * examples/hildon-button-example.c: Add a switch to show images in
495 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
497 * doc/hildon-docs.sgml: Some docs reorganization.
499 2008-08-12 Alberto Garcia <agarcia@igalia.com>
501 * examples/hildon-pannable-area-touch-list-example.c
503 * examples/hildon-pannable-area-touch-grid-example.c
504 (create_icon_view): Use gtk_{tree,icon}_view_new() and
505 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
506 Fix memory leak when setting the tree model.
508 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
512 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
514 * doc/hildon.types: Remove duplicated hildon_window_get_type
515 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
516 documentation comment.
518 2008-08-12 Alberto Garcia <agarcia@igalia.com>
520 * doc/Makefile.am: Complete list of private headers.
522 2008-08-12 Alberto Garcia <agarcia@igalia.com>
524 * doc/hildon-docs.sgml
525 * src/hildon-app-menu.c
526 * src/hildon-bread-crumb.c
527 * src/hildon-button.c
529 * src/hildon-program.c
530 * src/hildon-stackable-window.c
531 * src/hildon-window.c: Lots of documentation updates.
533 2008-08-12 Alberto Garcia <agarcia@igalia.com>
535 * debian/control: Depend on Gtk 2:2.12.9-0osso3
537 * configure.ac: Require Gtk+ 2.12.9 at least
539 2008-08-12 Alejandro G. Castro <alex@igalia.com>
541 * src/hildon-pannable-area.c
542 (hildon_pannable_area_scroll_indicator_fade),
543 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
544 to protect the return of this timeout callbacks, avoiding deadlocks.
546 2008-08-12 Christian Dywan <christian@imendio.com>
549 * src/hildon-*.h: Ensure a consistent include order,
550 include <gtk/gtk.h> instead of particular files and
551 only include the topmost header in the gtk stack. See NB #39857
553 2008-08-12 Christian Dywan <christian@imendio.com>
555 * src/hildon-picker-dialog.c
556 * src/hildon-touch-selector.c: Fix warnings about unused and
557 uninitialized variables.
559 2008-08-11 Alberto Garcia <agarcia@igalia.com>
561 * examples/Makefile.am
562 * examples/hildon-check-button-example.c: Example of the hildon
565 2008-08-11 Alberto Garcia <agarcia@igalia.com>
567 * src/hildon-window.h
568 * src/hildon-window.c (hildon_window_class_init)
569 (hildon_window_unset_program): Don't make
570 hildon_window_unset_program a virtual function anymore.
572 * src/hildon-stackable-window.c: Update documentation
574 2008-08-11 Alberto Garcia <agarcia@igalia.com>
577 * doc/hildon-docs.sgml
578 * doc/visual_index.xml
579 * src/hildon-defines.c
581 * src/hildon-helper.c
582 * src/hildon-range-editor.c: Lots of documentation fixes.
584 2008-08-11 Alberto Garcia <agarcia@igalia.com>
586 * examples/hildon-picker-button-multicolumn-example.c
587 (create_touch_selector): Fix compilation warning.
589 2008-08-11 Alberto Garcia <agarcia@igalia.com>
591 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
592 (hildon_pannable_area_button_release_cb)
593 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
595 2008-08-11 Alberto Garcia <agarcia@igalia.com>
597 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
600 2008-08-11 Alberto Garcia <agarcia@igalia.com>
602 * src/hildon-bread-crumb-trail.h
603 * src/hildon-date-editor.c
604 * src/hildon-date-selector.c
605 * src/hildon-pannable-area.c
606 * src/hildon-picker-dialog.c
607 * src/hildon-time-selector.c
608 * src/hildon-touch-selector-entry.c
609 * src/hildon-touch-selector.c
610 * src/hildon-touch-selector.h: Misc documentation fixes
612 2008-08-11 Alberto Garcia <agarcia@igalia.com>
614 * examples/hildon-date-editor-example.c (main): Updated date
617 * examples/hildon-note-example.c (on_confirmation_clicked):
618 Updated confirmation note example.
620 * src/hildon-date-editor.c
621 * src/hildon-note.c: Updated sample programs in documentation.
624 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
626 * src/hildon-date-button.h:
627 * src/hildon-picker-button.h:
628 * src/hildon-time-button.c:
629 * src/hildon-time-button.h:
631 Some declarations changes to allow gtk-doc to document the widgets
634 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
636 * src/hildon-date-button.c: Document the widget.
637 * src/hildon-time-button.c: Document the widget.
639 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
641 * src/hildon-picker-button.c: Document the widget.
642 * src/hildon-touch-selector-entry.c: Document the widget.
644 2008-08-08 Alberto Garcia <agarcia@igalia.com>
646 * doc/hildon-docs.sgml
649 * src/hildon-check-button.h
650 * src/hildon-check-button.c: New functions to create the Hildon
654 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
656 2008-08-08 Alberto Garcia <agarcia@igalia.com>
658 * src/hildon-button.h
659 * src/hildon-button.c
660 (hildon_button_add_title_size_group)
661 (hildon_button_add_value_size_group)
662 (hildon_button_add_image_size_group)
663 (hildon_button_add_size_groups): New functions to set size groups
664 for the button labels and image.
665 (hildon_button_new_full): Removed
667 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
669 * src/hildon-time-selector.c
670 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
671 in order to avoid a crash if gconf is not available
673 2008-08-08 Alberto Garcia <agarcia@igalia.com>
675 * src/hildon-button.c (hildon_button_set_arrangement)
676 (hildon_button_construct_child): Don't construct the button child
677 before setting the arrangement.
679 2008-08-08 Alberto Garcia <agarcia@igalia.com>
681 * src/hildon-program-private.h
682 * src/hildon-program.c
683 * src/hildon-program.h
684 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
685 (hildon_program_peek_window_stack)
686 (hildon_program_pop_window_stack)
687 (hildon_program_go_to_root_window): HildonProgram now has a
688 separate list for stackable windows. Functions are provided to
689 manage that list with a stack-like API.
691 * src/hildon-stackable-window.c: Stackable window management is
692 now much simpler with the new HildonProgram API. Windows no
693 longer need to be manually added to the program, they're
694 automatically pushed to the top of the stack when shown.
696 * examples/hildon-stackable-window-example.c: Updated example to
697 reflect the API changes.
699 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
701 * src/hildon-touch-selector.c: Comment out unimplemented
702 hildon_touch_selector_insert_column() to avoid a compile warning.
704 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
706 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
707 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
708 (hildon_touch_selector_set_column_selection_mode),
709 (_hildon_touch_selector_set_model),
710 (hildon_touch_selector_set_model):
712 Complete review of HildonTouchSelector documentation.
714 2008-08-08 Alberto Garcia <agarcia@igalia.com>
716 * doc/hildon-docs.sgml
720 * src/hildon-gtk.c: Convenience functions for standard Gtk
721 widgets, used to easily perform frequent operations.
723 * src/hildon-button-helpers.h
724 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
726 * src/hildon-helper.h
727 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
728 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
730 * src/hildon-button.h
731 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
733 2008-08-07 Alberto Garcia <agarcia@igalia.com>
735 * src/hildon-button.c (hildon_button_init)
736 (hildon_button_set_arrangement, hildon_button_construct_child):
737 Pack the image and the labels inside the same GtkAlignment so
738 gtk_button_set_alignment() can be used
740 2008-08-07 Alberto Garcia <agarcia@igalia.com>
742 * src/hildon-button.h
743 * src/hildon-button.c
744 (hildon_button_init, hildon_button_set_image)
745 (hildon_button_set_image_position)
746 (hildon_button_construct_child): New functions to add an image to
749 2008-08-07 Alberto Garcia <agarcia@igalia.com>
751 * src/hildon-date-button.c
752 * src/hildon-picker-button.c
753 * src/hildon-time-button.c
754 * src/hildon-button.c:
755 (hildon_button_class_init): "size-flags" renamed to "size"
756 (hildon_button_set_title): Hide the title label if set to NULL.
758 2008-08-07 Alberto Garcia <agarcia@igalia.com>
760 HildonButtonFlags split into HildonButtonArrangement (to set the
761 button layout) and HildonSizeType (which can be used for any
764 * src/hildon-button.h
765 * src/hildon-button.c
766 (hildon_button_class_init)
767 (hildon_button_set_arrangement)
768 (hildon_button_set_property): New "size-flags"
769 property. "arrangement-flags" renamed to "arrangement".
770 (hildon_button_new, hildon_button_new_with_text)
771 (hildon_button_new_full): Constructors updated to reflect type changes.
773 * src/hildon-helper.h
774 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
775 to set the size of a widget.
779 * src/hildon-button-helpers.c
780 * src/hildon-button-helpers.h: New hildon-button-helpers module.
782 * src/hildon-date-button.c
783 * src/hildon-date-button.h
784 * src/hildon-picker-button.c
785 * src/hildon-picker-button.h
786 * src/hildon-time-button.c
787 * src/hildon-time-button.h: Updated widgets to reflect
788 HildonButton API changes.
790 * examples/hildon-button-example.c
791 * examples/hildon-date-button-example.c
792 * examples/hildon-picker-button-example.c
793 * examples/hildon-picker-button-multicolumn-example.c
794 * examples/hildon-time-button-example.c
795 * examples/hildon-touch-selector-entry-example.c
796 * examples/hildon-touch-selector-example.c: Updated examples to
797 reflect HildonButton API changes.
799 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
801 * doc/hildon-docs.sgml:
803 * examples/Makefile.am:
804 * examples/hildon-touch-selector-entry-example.c:
806 * src/hildon-touch-selector-entry.c:
807 * src/hildon-touch-selector-entry.h:
810 Moved HildonTouchSelectorEntry from sandbox. Added its
811 documentation and examples.
813 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
815 * src/hildon-touch-selector.h:
816 * examples/hildon-picker-button-multicolumn-example.c:
817 (hildon_touch_selector_append_text_column): Add a gboolean
818 parameter to determine if text must be centered in the column.
820 * src/hildon-date-selector.c: (hildon_date_selector_init):
821 * src/hildon-time-selector.c: (hildon_time_selector_init):
822 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
823 (create_touch_selector): Update widgets and example to reflect
826 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
828 * src/hildon-touch-selector.c:
829 (hildon_touch_selector_set_active_iter): Set also the cursor in
832 2008-08-06 Alberto Garcia <agarcia@igalia.com>
834 * doc/hildon-docs.sgml
837 * src/hildon-toggle-button.c
838 * src/hildon-toggle-button.h
839 * src/hildon.h: Removed HildonToggleButton widget, a derived
840 class is not necessary for this.
842 2008-08-06 Alejandro G. Castro <alex@igalia.com>
844 * src/hildon-pannable-area.c,
845 (hildon_pannable_area_realize),
846 (hildon_pannable_area_size_allocate): Code refactoring, add tests
849 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
851 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
852 "done" button the default widget for the dialog.
854 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
856 * src/hildon-touch-selector.c:
857 (hildon_touch_selector_class_init),
858 (hildon_touch_selector_get_property),
859 (_hildon_touch_selector_set_model),
860 (_hildon_touch_selector_has_multiple_selection),
861 (hildon_touch_selector_has_multiple_selection):
862 Add a "has-multiple-selection" property with a virtual
863 has_multiple_selection() method to allow derived classes to
864 override the default value for it. See the method and property
865 documentation for details.
867 * src/hildon-touch-selector.h: Add the new API.
869 * src/hildon-picker-dialog.c: (requires_done_button): Call
870 hildon_touch_selector_has_multiple_selection() instead of
871 determining the need for a button itself.
873 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
875 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
876 (_hildon_touch_selector_set_model),
877 (hildon_touch_selector_set_model): Move working code to
878 _hildon_touch_selector_set_mode(). Call the class method instead.
880 * src/hildon-touch-selector.h: Add (*set_model) to
881 HildonTouchSelectorClass.
883 Make hildon_touch_selector_set_model() a virtual method, so that
884 derived classes can extend it and do fancy stuff with the model.
886 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
888 * configure.ac: Set back the tarname in AC_INIT to hildon.
890 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
894 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
895 instead of libesd (NB#86876). Volume handling is still an open issue.
897 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
900 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
902 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
903 (hildon_touch_selector_append_column): Make the widget a GtkVBox
904 derived class to ease placement of an entry widget in
905 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
906 end, where the selector columns are packed now.
908 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
910 * src/hildon-picker-button.c: Removed the simple _text() API.
911 * src/hildon-picker-button.h: Likewise.
913 * src/hildon-touch-selector.h:
914 * src/hildon-touch-selector.c:
915 (hildon_touch_selector_new_text),
916 (hildon_touch_selector_append_text),
917 (hildon_touch_selector_prepend_text),
918 (hildon_touch_selector_insert_text):
920 Moved the simple _text() API from HildonPickerButton to
921 HildonTouchPicker, to provide better escalability and not to tie
922 that API to HildonPickerButton.
924 * examples/hildon-picker-button-example.c: (main): Example updated.
926 2008-07-31 Alberto Garcia <agarcia@igalia.com>
928 * src/hildon-button.c: Updated documentation.
930 * examples/hildon-button-example.c: Add the posibility to create
931 the buttons using horizontal layout for title and value.
933 2008-07-31 Alberto Garcia <agarcia@igalia.com>
935 * src/hildon-app-menu-private.h
936 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
937 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
938 GtkSizeGroup for the filters, use the 'homogeneous' property of
941 2008-07-31 Alberto Garcia <agarcia@igalia.com>
943 * examples/hildon-button-example.c: Updated example.
945 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
947 * doc/hildon-docs.sgml:
950 Update documentation.
952 * examples/Makefile.am: Update renamed examples.
954 * examples/hildon-picker-button-multicolumn-example.c:
955 (create_touch_selector), (main): Update after the rename.
957 * examples/hildon-touch-picker-example.c: Removed.
958 * examples/hildon-touch-selector-example.c: (value_changed),
959 (create_selector), (get_visible_content), (main): Renamed from
960 hildon-touch-picker-example.c
962 * src/Makefile.am: Updated renamed files.
964 * src/hildon-date-button.c: (hildon_date_button_init),
965 (hildon_date_button_get_date), (hildon_date_button_set_date):
966 * src/hildon-date-selector.c: (hildon_date_selector_init),
967 (_custom_print_func), (_update_day_model),
968 (_manage_selector_change_cb),
969 (hildon_date_selector_select_current_date),
970 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
971 * src/hildon-date-selector.h:
972 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
973 (hildon_picker_button_set_property),
974 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
975 (hildon_picker_button_init), (hildon_picker_button_new_text),
976 (hildon_picker_button_append_text),
977 (hildon_picker_button_prepend_text),
978 (hildon_picker_button_insert_text),
979 (hildon_picker_button_set_selector),
980 (hildon_picker_button_get_selector):
981 * src/hildon-picker-button.h:
982 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
983 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
984 (_update_title_on_selector_changed_cb), (requires_done_button),
985 (_hildon_picker_dialog_set_selector),
986 (hildon_picker_dialog_set_selector),
987 (hildon_picker_dialog_get_selector):
988 * src/hildon-picker-dialog.h:
989 * src/hildon-time-button.c: (hildon_time_button_init),
990 (hildon_time_button_get_time), (hildon_time_button_set_time):
991 * src/hildon-time-selector.c: (hildon_time_selector_init),
992 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
993 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
994 * src/hildon-time-selector.h:
997 Massive code updates after the rename.
999 * src/hildon-touch-picker.c: Removed.
1000 * src/hildon-touch-picker.h: Removed.
1002 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1003 (hildon_touch_selector_init), (hildon_touch_selector_map),
1004 (hildon_touch_selector_remove), (_default_print_func),
1005 (_selection_changed_cb), (_create_new_column),
1006 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1007 (hildon_touch_selector_append_text_column),
1008 (hildon_touch_selector_remove_column),
1009 (hildon_touch_selector_set_column_attributes),
1010 (hildon_touch_selector_insert_column),
1011 (hildon_touch_selector_get_num_columns),
1012 (hildon_touch_selector_get_column_selection_mode),
1013 (hildon_touch_selector_set_column_selection_mode),
1014 (hildon_touch_selector_set_print_func),
1015 (hildon_touch_selector_get_print_func),
1016 (hildon_touch_selector_get_active_iter),
1017 (hildon_touch_selector_set_active_iter),
1018 (hildon_touch_selector_get_selected_rows),
1019 (hildon_touch_selector_get_model),
1020 (hildon_touch_selector_set_model),
1021 (hildon_touch_selector_get_current_text),
1022 (_hildon_touch_selector_center_on_selected_items):
1023 * src/hildon-touch-selector.h: Renamed from
1024 hildon-touch-picker.[ch]
1026 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
1027 references, code examples, and related documentation.
1029 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1031 * doc/hildon-docs.sgml
1034 * src/hildon-toggle-button.c
1035 * src/hildon-toggle-button.h
1036 * src/hildon.h: New HildonToggleButton widget.
1038 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1040 * src/hildon-button.c: Add API documentation.
1041 (hildon_button_set_size_groups): Check input parameters
1043 2008-07-30 Alejandro G. Castro <alex@igalia.com>
1045 * src/hildon-pannable-area.c
1046 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
1047 effect after reaching the movement thredshold. This way we start
1048 using the distance after passing the thredshold.
1050 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1052 * src/hildon-button.c: (hildon_button_set_property): Use the
1053 appropriate g_value_get_flags() method.
1055 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1057 * doc/hildon-docs.sgml:
1060 Add the touch pickers, picker dialogs, and picker button widgets
1061 to the documentation.
1063 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1065 * src/hildon-button.c: (hildon_button_set_property),
1066 (hildon_button_class_init): Make "arrangement-flags" a proper
1067 G_TYPE_FLAGS derived property.
1069 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1071 * examples/Makefile.am: Add below examples.
1072 * examples/hildon-date-button-example.c:
1073 * examples/hildon-picker-button-example.c:
1074 * examples/hildon-picker-button-multicolumn-example.c:
1075 * examples/hildon-time-button-example.c:
1076 * examples/hildon-touch-picker-example.c:
1078 Add examples for the recently added touch pickers,
1079 picker dialogs, and picker button widgets.
1081 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1083 * src/hildon-button.c: Add some API documentation
1085 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1087 * src/hildon-button.h
1088 * src/hildon-button.c
1090 (hildon_button_new_with_text): New constructor to create a button
1091 with no text at all.
1092 (hildon_button_init, hildon_button_set_arrangement)
1093 (hildon_button_set_title, hildon_button_set_value)
1094 (hildon_button_set_text)
1095 (hildon_button_construct_child): Hide the value when it's not used
1096 so the rest of the text is properly aligned.
1097 Allow creating buttons with arbitrary widgets inside (not just
1098 title/value labels).
1100 * examples/hildon-button-example.c (vertical_buttons_window)
1101 (horizontal_buttons_window): Update example to use new API.
1103 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1105 * src/Makefile.am: Added HildonTimeButton.
1106 * src/hildon-time-button.c: Added missing LGPL header.
1107 * src/hildon-time-button.h: Added missing LGPL header.
1108 * src/hildon.h: Add hildon-time-button.h
1110 Copied HildonTimeButton from sandbox to trunk. Future work on this
1111 widget must take place in trunk.
1113 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1115 * src/Makefile.am: Added HildonDateButton.
1116 * src/hildon-date-button.c: Update includes.
1117 * src/hildon.h: Add hildon-date-button.h
1119 Copied HildonDateButton from sandbox to trunk. Future work on this
1120 widget must take place in trunk.
1122 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1124 * src/Makefile.am: Added HildonPickerButton.
1125 * src/hildon-picker-button.h: Update includes.
1126 * src/hildon.h: Add hildon-picker-button.h
1128 Copied HildonPickerButton from sandbox to trunk. Future work on
1129 this widget must take place in trunk.
1131 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1133 * src/Makefile.am: Added HildonPickerDialog.
1134 * src/hildon-picker-dialog.c: Update includes.
1135 * src/hildon.h: Add hildon-picker-dialog.h
1137 Copied HildonPickerDialog from sandbox to trunk. Future work
1138 on this widget must take place in trunk.
1140 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1142 * src/Makefile.am: Added HildonTimeSelector.
1143 * src/hildon.h: Add hildon-time-selector.h
1145 Copied HildonTimeSelector widget from sandbox to trunk. Future
1146 work on this widget must happen in trunk.
1148 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1150 * src/Makefile.am: Added HildonDateSelector.
1151 * src/hildon.h: Add hildon-date-selector.h
1153 Copied HildonDateSelector widget from sandbox to trunk. Future
1154 work on this widget must happen in trunk.
1156 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1158 * src/Makefile.am: Added HildonTouchPicker.
1159 * src/hildon-touch-picker.c: Update includes.
1160 * src/hildon.h: Add hildon-touch-picker.h
1162 Copied HildonTouchPicker widget from sandbox to trunk. Future work
1163 on this widget must happen in trunk.
1165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1167 * src/hildon-pannable-area.c:
1168 (hildon_pannable_area_motion_notify_cb): Fix a typo.
1170 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1172 * examples/hildon-app-menu-example.c (main): Let the window
1175 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1177 * src/hildon-pannable-area.c
1178 (hildon_pannable_area_class_init): Set the min value of the
1179 overshoot properties to zero, which points out that not
1180 overshooting allowed.
1182 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1184 Modified the procedure to get the widget at a point inside the
1185 pannable area when using the movement type signals. Now the user
1186 has to call a function to get the child, that way we just
1187 calculate the child in case the user really want to use it and not
1190 * src/hildon-marshalers.list: Modified the marshallers, now we do
1191 not have the widget as a parameter.
1193 * src/hildon-pannable-area.c
1194 (hildon_pannable_area_motion_notify_cb),
1195 (hildon_pannable_area_class_init),
1196 (hildon_pannable_get_child_widget_at): Removed the widget
1197 parameter from the signal callback. We have also refactored the
1198 emission of the signals.
1200 * src/hildon-pannable-area.h: Added a new method to the API to
1201 calculate a widget at a point inside the pannable area,
1202 hildon_pannable_get_child_widget_at.
1204 * examples/hildon-pannable-area-example-4.c
1205 (horizontal_movement): Modified the example to use the new API,
1206 added condition to control which widget is under the event. This
1207 way we can avoid scrolling laterally over other widgets.
1209 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1211 * src/hildon-pannable-area.c
1212 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1213 modes, we stop getting the pointer events due to returning the
1214 callback without properly calling the get pointer again. Fixed
1215 also an error using the hscroll and vscroll.
1217 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1219 * src/hildon-app-menu-private.h
1220 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1221 (hildon_app_menu_button_release, hildon_app_menu_init)
1222 (hildon_app_menu_class_init): Don't hide the menu on button
1223 release if the user didn't press outside first.
1225 * src/hildon-window.h
1226 * src/hildon-window.c (hildon_window_toggle_menu)
1227 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1228 hildon_window_toggle_menu a virtual function for the stackable
1229 window to override it.
1231 * src/hildon-stackable-window.h
1232 * src/hildon-stackable-window-private.h
1233 * src/hildon-stackable-window.c
1234 (hildon_stackable_window_realize)
1235 (hildon_stackable_window_finalize)
1236 (hildon_stackable_window_class_init)
1237 (hildon_stackable_window_init)
1238 (hildon_stackable_window_set_main_menu): New function to set the
1239 app menu of a HildonStackableWindow.
1241 * examples/hildon-app-menu-example.c: Remove the button to show
1242 the app menu, now it'll be shown when clicking on the title bar
1245 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1247 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1248 set the widget name if the arrangement flags do not specify
1251 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1253 * src/hildon-button.c: (hildon_button_set_property),
1254 (hildon_button_class_init), (hildon_button_new_full),
1255 (hildon_button_set_arrangement): Added "arrangement-flags"
1258 Make the HildonButtonFlags a construction-only property, to allow
1259 subclasses to set them properly.
1261 2008-07-21 Tim Janik <timj@imendio.com>
1263 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1264 insertion position after backspace, so additional digits are appended,
1267 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1269 * src/hildon-pannable-area.c,
1270 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1271 TODO list, it was complete and removed the g_debug and g_print
1274 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1276 Added the movement modes to the hildon-pannable-area, with this
1277 modes the developers can control in which directions the widget
1278 can scroll. They can also connect to signals in order to do
1279 something when that happens, allowing applications scroll. There
1280 is an example uploaded showing how to use it.
1282 * examples/Makefile.am:
1283 * examples/hildon-pannable-area-example-4.c: Added this example of
1284 an application using the modes.
1286 * src/hildon-marshalers.list: Added a new marshaller for the new
1289 * src/hildon-pannable-area.h: Added new enumerations and flags in
1290 order to control the movement modes and the new signals to warn
1291 about the movements in the area.
1293 * src/hildon-pannable-area.c:
1294 (hildon_pannable_axis_scroll),
1295 (hildon_pannable_area_scroll),
1296 (hildon_pannable_area_motion_notify_cb),
1297 (hildon_pannable_area_get_property),
1298 (hildon_pannable_area_set_property),
1299 (hildon_pannable_area_map),
1300 (hildon_pannable_area_class_init),
1301 (hildon_pannable_area_init),
1302 (hildon_pannable_area_jump_to): Added the modes to control the
1303 movement in the widget. We have added properties to control it,
1304 signals to warn about the movements and refactored some code.
1306 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1308 Changes required in order to allow vfast_factor set to zero to
1311 * src/hildon-pannable-area.c:
1312 (hildon_pannable_area_button_press_cb): Changed the condition, it
1313 is required for not allowing click when vfast_factor is zero.
1314 (hildon_pannable_area_timeout): Initialized velocity variables
1315 when we stop moving, it was less than 1 but not zero and we need
1316 to check zero in some situations.
1317 (hildon_pannable_area_class_init): Changed the default value of
1318 the speed factor, now the button_press is just sent in case the
1319 speed is 2 per cent of the max speed.
1320 (hildon_pannable_area_init): Initialization with 0.
1322 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1324 * src/hildon-pannable-area.c,
1325 (hildon_pannable_area_get_topmost): replaced
1326 gdk_window_get_children with gdk_window_peek_children, this way we
1327 do not have to free the list because it is not a copy.
1329 (hildon_pannable_axis_scroll),
1330 (hildon_pannable_area_scroll),
1331 (hildon_pannable_area_timeout),
1332 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1333 two parameters that were only used inside the
1334 hildon_pannable_area_scroll function.
1336 * examples/hildon-pannable-area-example.c,
1337 (get_sawtooth_label): Fixed small memory leak.
1339 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1341 More checks for the case where the overshoot is bigger than the
1344 * src/hildon-pannable-area.c:
1345 (hildon_pannable_draw_vscroll),
1346 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1347 to draw the slider of the scrollbar under the other scrollbar.
1348 (hildon_pannable_area_expose_event): added new checks to control
1349 the drawing of the overshooting area rectangle, in case it is too
1350 big for the area of the widget.
1351 (hildon_pannable_area_size_allocate): add more checks to avoid
1352 setting a position to the child widget outside the area.
1354 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1356 * src/hildon-pannable-area.c
1357 (hildon_pannable_area_size_allocate): Added conditions to control
1358 when overshooting is bigger than the allocated space for the
1359 children, this avoids negative allocations.
1361 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1363 * doc/hildon-docs.sgml
1365 * examples/Makefile.am
1366 * examples/hildon-button-example.c
1368 * src/hildon-button.c
1369 * src/hildon-button.h
1370 * src/hildon.h: Initial version of the new HildonButton widget,
1373 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1375 * src/hildon-pannable-area.c:
1376 (hildon_pannable_area_button_press_cb),
1377 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1378 (hildon_pannable_area_motion_notify_cb),
1379 (hildon_pannable_area_button_release_cb),
1380 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1381 (hildon_pannable_area_jump_to_child):
1383 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1385 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1387 * examples/Makefile.am
1388 * examples/hildon-pannable-area-touch-grid-example.c
1389 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1390 the Hildon Touch List and Hildon Touch Grid using the
1391 HildonPannableArea widget.
1393 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1395 * src/hildon-pannable-area.c,
1396 (hildon_pannable_area_button_press_cb),
1397 (hildon_pannable_area_refresh),
1398 (hildon_pannable_area_scroll),
1399 (hildon_pannable_area_motion_notify_cb),
1400 (hildon_pannable_area_button_release_cb),
1401 (hildon_pannable_area_expose_event),
1402 (hildon_pannable_area_add),
1403 (hildon_pannable_area_remove),
1404 (hildon_pannable_area_realize),
1405 (hildon_pannable_area_size_allocate),
1406 (hildon_pannable_area_class_init),
1407 (hildon_pannable_area_init),
1408 (hildon_pannable_area_scroll_to_child),
1409 (hildon_pannable_area_jump_to_child): Fixed the problem of
1410 removing the child from the GtkBin, we have rearranged the widget
1411 hierarchy, now there is no GtkAlignment which was not doing
1412 anything interesting but breaking some of the assumptions of
1413 GtkContainer. Now developers if they want to add a GtkAlignment
1414 they could, but it is not inside the area.
1416 We had to review the whole allocation/expose process, now it is
1417 improved and we save at least three signals which would be saving
1418 some time when rendering the widget. The allocation of the
1419 scrollbars is now made in the allocate method as usual.
1421 We have also added some conditions in order to control when there
1422 is no child of the pannable area. Maybe we will need more work
1425 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1427 * src/hildon-pannable-area.c,
1428 (hildon_pannable_area_dispose): Released the fade-out timeout when
1429 disposing the widget.
1431 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1433 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1434 zero, we are going to use that property in order to deactivate the
1436 (hildon_pannable_axis_scroll),
1437 (hildon_pannable_area_size_allocate): Added conditions to control
1438 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1439 call, now it is called in all situations and we can remove calls
1440 in the allocate method.
1441 (hildon_pannable_area_map): Control the situation when
1442 overshoot_max is zero, we do not need the timeout.
1443 (hildon_pannable_area_class_init): Added documentation in order to
1444 point out that setting zero to overshoot_max means deactivate
1447 NOTE: removed trailing whitespaces from my previous comments of
1450 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1452 * src/hildon-pannable-area.c
1453 (hildon_pannable_area_get_property),
1454 (hildon_pannable_area_set_property),
1455 (hildon_pannable_area_map),
1456 (hildon_pannable_area_class_init),
1457 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1458 to cause the widget give a hint about its panning abilities upon
1461 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1463 * src/hildon-pannable-area.c: Several documentation improvements.
1465 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1467 * src/hildon-program.c
1468 * src/hildon-stackable-window.c: Update documentation.
1470 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1472 * src/hildon-stackable-window.c (get_previous_window_if_last):
1473 Renamed get_last_window()
1474 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1475 (hildon_stackable_window_unset_program):
1477 (get_previous_window_if_last):
1478 Detect if the window hasn't been added to a HildonProgram.
1480 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
1482 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1484 * src/hildon-pannable-area.c
1485 (hildon_pannable_area_button_press_cb),
1486 (hildon_pannable_axis_scroll),
1487 (hildon_pannable_area_scroll),
1488 (hildon_pannable_area_timeout),
1489 (hildon_pannable_calculate_vel_factor),
1490 (hildon_pannable_area_get_property),
1491 (hildon_pannable_area_set_property),
1492 (hildon_pannable_area_class_init),
1493 (hildon_pannable_area_init),
1494 (hildon_pannable_area_scroll_to),
1495 (hildon_pannable_area_jump_to),
1496 (hildon_pannable_area_scroll_to_child),
1497 (hildon_pannable_area_jump_to_child):
1498 * src/hildon-pannable-area.h: Added the new API functions:
1499 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1500 hildon_pannable_area_scroll_to_child,
1501 hildon_pannable_area_jump_to_child
1504 * examples/Makefile.am
1505 * examples/hildon-pannable-area-example-2.c
1506 * examples/hildon-pannable-area-example-3.c: Added these two new
1507 examples in order to test and show how the new APIs work.
1509 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
1511 * examples/hildon-stackable-window-example.c (new_window):
1512 * src/Makefile.am (noinst_HEADERS):
1513 * src/hildon-program.c (hildon_program_go_to_root_window):
1514 * src/hildon-program.h:
1515 * src/hildon-stackable-window-private.h:
1516 * src/hildon-stackable-window.c:
1517 * src/hildon-stackable-window.h:
1518 Create hildon-stackable-window-private.h
1519 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1521 * examples/hildon-app-menu-example.c (create_menu):
1522 * examples/hildon-hvolumebar-insensitive-example.c (main):
1523 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1524 * examples/hildon-toolbar-seekbar-example.c (main):
1525 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1526 * src/hildon-banner.c (hildon_banner_set_property):
1527 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1528 Fix compilation warnings
1530 * src/hildon-window.c:
1533 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
1535 * src/hildon-stackable-window.c
1536 (hildon_stackable_window_unset_program):
1537 Calculate correctly whether to show the previous window if the
1538 last one is removed from the stack.
1539 (hildon_stackable_window_go_to_root_window):
1540 Send delete events starting from the topmost window.
1541 Stop if one of the windows is not destroyed.
1543 (hildon_stackable_window_delete_event)
1544 (hildon_stackable_window_class_init):
1545 Ignore the delete event if the window is not the topmost one.
1547 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
1549 * src/hildon-pannable-area.c
1550 (hildon_pannable_area_expose_event): Fixed a problem when
1551 selecting the background color of the scrollbars.
1553 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
1555 * examples/hildon-stackable-window-example.c
1556 * src/hildon-stackable-window.c
1557 * src/hildon-stackable-window.h
1558 hildon_stackable_window_go_home() renamed to
1559 hildon_stackable_window_go_to_root_window()
1560 Send delete events to windows rather than closing them with
1561 gtk_widget_destroy()
1563 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1565 * src/hildon-pannable-area.c
1566 (hildon_pannable_area_button_release_cb): Fix overshooting in
1569 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1571 * src/hildon-pannable-area.c
1572 (hildon_pannable_area_init): Initially show the scroll indicators.
1573 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1575 Add initial effect showing the widget is pannable.
1577 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1579 * src/hildon-pannable-area.c
1580 (hildon_pannable_area_class_init)
1581 (hildon_pannable_area_set_property)
1582 (hildon_pannable_area_get_property)
1583 (hildon_pannable_area_button_press_cb):
1584 New 'velocity_fast_factor' property to decide which velocity is
1587 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1589 * src/hildon-pannable-area.c
1590 (hildon_pannable_draw_hscroll)
1591 (hildon_pannable_draw_vscroll):
1592 Use float variables to calculate the size of the scrollbars to
1593 avoid error propagation and resizing during scrolling.
1595 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1597 * src/hildon-pannable-area.c
1598 (hildon_pannable_draw_vscroll)
1599 (hildon_pannable_draw_hscroll):
1600 Define a minimum size for the scroll bars
1602 * src/hildon-stackable-window.c
1603 (hildon_stackable_window_go_home): Fix compilation warning
1604 (get_last_window): Minor optimizations
1605 (hildon_stackable_window_class_init): Fix initialization of
1608 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
1610 * src/hildon-stackable-window.c: Fixed typos in doc
1612 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
1614 * src/hildon-pannable-area.c
1615 (hildon_pannable_area_scroll):
1616 Calculate here whether we need to scroll instead of using the booleans
1617 that tell us whether to /draw/ the scrolling bars.
1619 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
1621 * src/hildon-app-menu.h
1623 * src/hildon-app-menu.c
1624 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1625 multiple filter groups related code and API. Now we support only
1627 * examples/hildon-app-menu-example.c:
1629 Update to reflect API changes.
1631 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
1633 * src/hildon-stackable-window.c
1634 (hildon_stackable_window_class_init):
1635 Add hildon_stackable_window_realize.
1636 (hildon_stackable_window_realize):
1637 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1638 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1639 to apply theming and behavior specific to HildonStackableWindow
1642 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1644 * src/hildon-note.c (hildon_note_button_release):
1645 Close information notes also when tapping on them
1647 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
1649 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1650 ELASTICITY, refactor and review, fix some issues with drawing
1653 * src/hildon-pannable-area.c:
1654 (hildon_pannable_area_button_press_cb): removed the conditions to
1655 avoid clicks when overshooting. It is not required
1657 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1658 define. Refatored and reviewed the code, now we do not need to
1659 manage velocity in motion_notify.
1661 (hildon_pannable_area_motion_notify_cb): We have moved the code
1662 that controls the area_scroll to the axis_scroll function and get
1663 rid of duplicated code.
1665 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1667 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1669 (hildon_pannable_draw_vscroll),
1670 (hildon_pannable_draw_hscroll): Fixed the problems with the
1671 scrollbar drawing, now we do not use two surfaces, it is easier
1672 and saves resources.
1674 (hildon_pannable_area_get_property): Style modification.
1676 (hildon_pannable_area_class_init): Changed some default values.
1678 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
1680 * src/hildon-stackable-window.c: Fix some typos in the
1683 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1685 * src/hildon-dialog.c:
1686 Change indentation style
1689 (hildon_note_button_release):
1690 Use root coordinates to check if the release event happened
1693 * src/hildon-app-menu.c
1694 (hildon_app_menu_button_release):
1695 Remove unnecessary check
1697 * examples/hildon-app-menu-example.c
1699 Add cast to fix warning
1701 * src/hildon-app-menu.c
1702 (hildon_app_menu_class_init):
1703 New inner-border style property.
1704 Set all default spacings to 16
1705 (hildon_app_menu_init):
1706 Use vertical-spacing to set the space between filter buttons and
1707 regular menu buttons.
1708 Set the default container border using the inner-border value.
1710 * examples/hildon-app-menu-example.c
1712 Don't set the menu border explicitly, now we have the inner-border
1713 style property for that.
1715 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1717 * src/hildon-app-menu.c (hildon_app_menu_init):
1718 Make the window modal
1720 * src/hildon-note.c (hildon_note_map)
1721 * src/hildon-app-menu.c (hildon_app_menu_map):
1722 Destroy the grab window if we're unable to grab the pointer
1724 * src/hildon-app-menu-private.h
1725 * src/hildon-app-menu.c
1726 (hildon_app_menu_init, hildon_app_menu_finalize)
1727 (hildon_app_menu_map, hildon_app_menu_unmap)
1728 (hildon_app_menu_button_release)
1729 (grab_transfer_window_get):
1730 Bring back the grab window
1731 (hildon_app_menu_realize):
1732 Decorate the window, set WM hint for Matchbox
1734 * src/hildon-note.c (hildon_note_realize):
1735 * src/hildon-banner.c (hildon_banner_realize):
1736 Add WM hints for Matchbox
1738 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1740 * src/hildon-app-menu-private.h
1741 * src/hildon-app-menu.c
1742 (hildon_app_menu_init, hildon_app_menu_finalize)
1743 (hildon_app_menu_map, hildon_app_menu_unmap)
1744 (hildon_app_menu_button_release):
1745 Remove the grab window, it's not needed anymore
1747 * src/hildon-program.c
1748 Fixed typo in documentation
1750 * src/hildon-app-menu.h
1751 * src/hildon-app-menu.c
1752 * examples/hildon-app-menu-example.c
1753 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1755 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1758 Added new transfer_window and close_if_pressed_outside private
1760 (hildon_note_rebuild):
1761 Don't add a cancel button to the information note. It will be
1762 closed when tapping outside
1763 Remove the comment about the OK button in the documentation
1764 (hildon_note_realize):
1765 Set the notification type hint
1766 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1767 Grab/ungrab pointer and keyboard if the note has to be closed when
1769 (hildon_note_button_release):
1770 Close the note when tapping outside (if applicable)
1772 * src/hildon-app-menu.c
1773 Grab/ungrab pointer and keyboard on map/unmap
1774 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1775 Close the menu on button release, not button press
1777 * src/hildon-banner.c
1778 (hildon_banner_set_property)
1779 (hildon_banner_check_position):
1780 Make the banner use the full width of the screen
1781 (hildon_banner_show_information)
1782 (hildon_banner_show_information_with_markup):
1783 Don't display an icon by default
1785 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1787 Added fading scrollbars and adapted all the overshooting code to
1788 horizontal scrolling. We have also fixed bugs with overshooting
1789 and current fading implementation.
1791 * src/hildon-pannable-area.c
1792 (hildon_pannable_area_scroll_indicator_fade): Time out function
1793 used to change the transparency of the scrollbars.
1795 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1796 control and fixed a problem with fading, we now remove the fade
1797 timeout before adding a new one.
1799 (hildon_pannable_axis_scroll):
1800 (hildon_pannable_area_scroll):
1801 (hildon_pannable_area_timeout): Added this functions so we can use
1802 the scroll code both for vertical and horizontal.
1804 (hildon_pannable_area_motion_notify_cb):
1805 (hildon_pannable_area_button_release_cb): Added the horizontal
1806 scrolling control, fixed a problem with the overshooting timeout.
1808 (rgb_from_gdkcolor): Added this function, it is used in the cairo
1809 painting of the scrolls.
1811 (hildon_pannable_draw_vscroll):
1812 (hildon_pannable_draw_hscroll):
1813 (hildon_pannable_area_expose_event):
1814 Draw both scrollbars and rectangles in the overshooting area.
1816 (hildon_pannable_area_get_property):
1817 (hildon_pannable_area_set_property):
1818 Modified the overshoot property to overshoot_max
1820 (hildon_pannable_area_map):
1821 Replaced the comments symbols.
1823 (hildon_pannable_area_size_allocate):
1824 (hildon_pannable_area_class_init):
1825 (hildon_pannable_area_init): Added horizontal scroll, fading
1826 effect properties, fixed a problem when overshooting in the bottom
1829 * examples/hildon-pannable-area-example.c:
1830 (get_sawtooth_label): Now we use smaller sawtooths, the effect
1831 looks better in the example.
1833 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
1835 * src/hildon-window.c
1836 * src/hildon-window.h
1837 (hildon_window_class_init)
1838 (hildon_window_unset_program)
1839 (hildon_window_unset_program_real):
1840 Make unset_program a virtual function
1842 * src/hildon-stackable-window.c
1843 * src/hildon-stackable-window.h
1844 Added hildon_stackable_window_go_home()
1846 * examples/Makefile.am
1847 * examples/hildon-stackable-window-example.c
1848 HildonStackableWindow example
1850 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
1852 * hildon-pannable-area.c: Added the overshoot property and removed
1853 the OVERSHOOT define. Fixed an indent style error.
1854 (hildon_pannable_area_motion_notify_cb):
1855 (hildon_pannable_area_get_property):
1856 (hildon_pannable_area_set_property): Add overshoot property.
1858 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
1861 (hildon_pannable_area_class_init): Installed the new property.
1863 * hildon-pannable-area-example.c: Added a sawtooth function, this
1864 way it is easier to check the movement in the pannable.
1865 (get_sawtooth_label): Added this function.
1866 (main): Now we get the labels from the new get_sawtooth_label
1869 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
1871 * src/hildon-app-menu.h
1872 * src/hildon-app-menu.c
1873 Renamed API variables for consistency
1875 (hildon_app_menu_popup): Use also the default window size to
1876 decide where to place the menu
1878 (hildon_app_menu_init, hildon_app_menu_class_init): New
1879 external-border style property
1881 2008-05-26 Michael Natterer <mitch@imendio.com>
1883 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
1884 widget_class->tap_and_hold_setup signal slot doesn't exist any
1885 longer, stop overriding it.
1887 (hildon_time_editor_init): g_signal_connect() to the
1888 tap-and-hold-setup signal instead.
1890 (hildon_time_editor_entry_keypress): add cast to fix warning.
1892 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
1894 * doc/hildon-docs.sgml
1896 * examples/Makefile.am
1897 * examples/hildon-app-menu-example.c
1899 * src/hildon-app-menu-private.h
1900 * src/hildon-app-menu.c
1901 * src/hildon-app-menu.h
1903 New HildonAppMenu widget
1905 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
1907 Rearranged the inheritance of the pannable area, now it inherits
1908 from GtkBin. This will allow us to control the event_window and
1909 the allocation process of the widget, required for some effects.
1911 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
1912 GtkBin structures. * src/hildon-pannable-area.c: Added the
1913 event_window variable.
1914 (hildon_pannable_area_button_press_cb):
1915 (hildon_pannable_area_button_release_cb):
1916 (hildon_pannable_area_motion_notify_cb):
1917 Changed the signature of the method, now we override the event
1918 callback instead of connecting to the signal.
1920 (hildon_pannable_area_realize):
1921 (hildon_pannable_area_unrealize):
1922 (hildon_pannable_area_map):
1923 (hildon_pannable_area_unmap):
1924 (hildon_pannable_area_size_allocate):
1925 Added functions to control the widget construction. We add a
1926 INPUT_ONLY window and we put it over the widgets inside the
1927 container, this event_window handles the events.
1929 (hildon_pannable_area_class_init):
1930 Replaced the signal connections with overrides of the event
1933 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1935 Bouncing effect added when touching the borders, you can change
1936 the elasticity of the border changing the ELASTICITY define.
1938 * src/hildon-pannable-area.c: Added ELASTICITY define.
1939 (hildon_pannable_area_timeout): Added inverse velocity when
1940 touching the border of the child widget, that causes a bounce.
1942 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1944 Improved performance, we now do not go to the X server in order to
1945 get the list of window children. Apparently the effect is the
1946 same, we have to be careful and check if this breaks something in
1949 * src/hildon-pannable-area.c:
1950 (get_ordered_children): Removed this function.
1951 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
1952 the children windows function with gdk_window_get_children.
1954 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
1956 * src/hildon-pannable-area.c:
1957 (hildon_pannable_area_dispose): Fixed a crash when closing the
1958 window and kinetics is activated.
1960 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
1962 * src/hildon-pannable-area.h
1963 * src/hildon-pannable-area.c
1964 Changed indentation style to meet the one used in Hildon
1966 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
1968 Reviewed the interaction of the AUTO mode, now we use the time
1969 attribute of the events and calculate the velocity in the motion,
1970 doing a gimp like calculation. The velocity is calculated in each
1971 motion event using the last velocity and the current one, the
1972 SMOOTH_FACTOR controls the percentage of the new velocity we use.
1974 * src/hildon-pannable-area.c: Replaced the time based algorithm
1976 (hildon_pannable_area_motion_notify_cb): now we do not launch the
1977 timeout for the AUTO mode when we are still moving the cursor. We
1978 added also the velocity calculation in this function.
1979 (hildon_pannable_area_button_release_cb): launch the timeout in
1980 case we are in AUTO mode. There are still some constants here that
1981 come from the old implementation that should be reviewed and
1984 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
1986 * doc/hildon-docs.sgml
1989 * src/hildon-stackable-window.c
1990 * src/hildon-stackable-window.h
1992 New HildonStackableWindow widget
1994 * examples/hildon-dialog-example.c
1995 * examples/hildon-pannable-area-example.c
1998 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
2000 * src/hildon-dialog.c
2001 (hildon_dialog_new_with_buttons): New constructor.
2003 * examples/hildon-dialog-example.c
2004 (main): Update the example to use the new
2005 hildon_dialog_new_with_buttons().
2007 * examples/hildon-pannable-area-example.c
2008 (main): Update example.
2010 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
2012 * doc/hildon-docs.sgml
2014 Added HildonPannableArea to the documentation.
2016 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
2018 * doc/visual_index.xml
2019 Fix reference to HildonLoginDialog in documentation
2021 * doc/hildon-docs.sgml
2023 * examples/Makefile.am
2024 * examples/hildon-dialog-example.c
2026 * src/hildon-dialog.c
2027 * src/hildon-dialog.h
2029 New HildonDialog widget.
2031 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2033 * src/hildon-pannable-area.c
2034 Merge latest changes (r4318, r4342) from libmokoui trunk
2036 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2038 * examples/Makefile.am
2039 * examples/hildon-pannable-area-example.c
2041 * src/hildon-pannable-area.c
2042 * src/hildon-pannable-area.h
2044 New HildonPannableArea widget.
2046 2008-04-15 18:05:19 <timj@imendio.com>
2048 * src/hildon-banner.c: revert the recent change, that introduced
2049 gtk_window_present() calls. this reopens:
2050 Bug 78481 - [freetest] information banners are hidden under browser menu
2051 But resolves another variant of:
2052 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2054 2008-04-15 13:21:13 <timj@imendio.com>
2056 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
2057 recreated its layout, spotted by Kris. this fixes all remaining
2058 artefacts and stability issues with the banner code. in particular:
2059 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2061 2008-04-14 16:52:59 <timj@imendio.com>
2063 * src/hildon-banner.c: guard force_to_wrap_truncated() against
2064 operating on unrealized widgets, fixes:
2065 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2067 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
2069 2008-04-09 Kristian Rietveld <kris@imendio.com>
2071 Fixes: NB#77775: Media Player, Save Now playing list, too long name
2072 makes banner disappear.
2073 Fixes: NB#79182: info banner flickering with certain message lengts.
2075 * src/hildon-banner.c (hildon_banner_constructor),
2076 (hildon_banner_init), (hildon_banner_set_text),
2077 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
2078 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
2079 FALSE, reset size requests of label and banner,
2080 (force_to_wrap_truncated): when the text is too wide, always enforce
2081 the maximum possible width instead of recalculating it from the
2082 layout; enforce the maximum banner height of 3 lines,
2083 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
2084 nicer wrapping and no truncated chars if space gets tight.
2086 * src/hildon-banner-private.h: add has_been_wrapped and
2087 has_been_truncated fields.
2089 2008-04-07 Sven Herzberg <sven@imendio.com>
2091 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
2092 local values in hildon_date_editor_size_allocate
2094 * src/hildon-date-editor.c: moved the real allocation code into the
2097 2008-04-07 Sven Herzberg <sven@imendio.com>
2099 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2100 local values in hildon_date_editor_size_allocate
2102 * src/hildon-date-editor.c: merged the two if() branches together
2104 2008-04-07 Sven Herzberg <sven@imendio.com>
2106 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2107 local values in hildon_date_editor_size_allocate
2109 * src/hildon-date-editor.c: changed the arguments of the if()
2112 2008-04-07 Sven Herzberg <sven@imendio.com>
2114 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2115 local values in hildon_date_editor_size_allocate
2117 * src/hildon-date-editor.c: split the calculation of the allocation
2118 from the real allocation
2120 2008-03-27 Michael Natterer <mitch@imendio.com>
2122 Fixes: NB#81696: The passcode is not overwritten even after
2125 * src/hildon-code-dialog.c
2126 (hildon_code_dialog_button_clicked)
2127 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
2128 because that doesn't overwrite selected text. Instead, emit the
2129 "commit" signal on the entry's im_context so the entry's normal
2130 insert logic is triggered. Set the cursor to the end of the entry
2131 after each insert operation so that we *only* insert in the middle
2132 of the text if something was selected.
2134 2008-03-27 Michael Natterer <mitch@imendio.com>
2136 Enable fixing: NB#79916 and NB#79918: The help topic for Color
2137 selector cannot be opened
2139 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
2140 when the popup color selector is created. Please connect to this
2141 signal in order to set the dialog's help ID.
2143 2008-03-25 Sven Herzberg <sven@imendio.com>
2145 Fixes: MB#1212: Hide info banners (infoprints) on click
2147 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
2148 extracted the close event simulation into an extra function
2149 (hildon_banner_button_press_event): simulate a close event and destroy
2150 the widget if the event wasn't handled
2151 (hildon_banner_class_init): added the button_press_event handler
2152 (hildon_banner_init): added button-press events to the widget
2154 2008-03-25 Sven Herzberg <sven@imendio.com>
2156 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
2157 Patch from: Mohammad Anwari <mdamt@maemo.org>
2159 * src/hildon-banner.c: let the HildonBanners pop up on the left side
2160 instead of the right in RTL mode
2161 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
2162 breadcrumb button list in RTL mode
2163 * src/hildon-caption.c: mirror the appearance of the caption widget in
2165 * src/hildon-date-editor.c: mirror appearance of the date editor in
2167 * src/hildon-time-editor.c: mirror appearance of the time editor in
2169 * src/hildon-window.c: fix the position of the popup in RTL mode
2171 2008-03-25 Sven Herzberg <sven@imendio.com>
2173 Amendment to the fix of NB#22072. Fix compilation.
2175 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
2177 2008-03-19 Sven Herzberg <sven@imendio.com>
2179 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2182 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2183 timeout id properly when the timeout will disappear this leaves no
2184 artifacts around in the destroy(); there will only be the timeout
2185 created by hildon_banner_ensure_timeout() and adding a new timeout
2186 will also work if the timeout gets removed because the timeout_handler
2189 2008-03-19 Michael Natterer <mitch@imendio.com>
2191 Fixes: NB#79791: Cannot set focus to Master volume using stylus
2193 * src/hildon-volumebar.c
2194 * src/hildon-vvolumebar.c
2195 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2196 the widget becomes focussable at all.
2198 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2199 set the focus to wither the mute button or the volumebar.
2201 Remove own "can-focus" property and instead listen to
2202 notify::can-focus in order to update the widget's state.
2204 Implement GtkWidget::focus() and make sure we can also *leave* the
2205 widget, not only enter it, depending on volumebar orientation and
2206 requested focus direction.
2208 Clean up set_mute() to cooperate nicely with all the above.
2210 2008-03-04 Michael Natterer <mitch@imendio.com>
2212 Fixes: NB#78481: information banners are hidden under browser menu
2214 * src/hildon-banner.c: call gtk_window_present() on the banners so
2215 they are risen if they are already visible.
2217 2008-03-03 Sven Herzberg <sven@imendio.com>
2219 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2221 * examples/hildon-window-menu-example.c: (main): extended the window
2222 menu example to serve as a testcase for automatically added
2223 accelerator groups, too
2224 * src/hildon-window.c: (hildon_window_add_accel_group),
2225 (hildon_window_set_menu): added patch by Tommi Komulainen
2227 2008-03-03 Sven Herzberg <sven@imendio.com>
2229 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2231 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2232 knowledge about the border allocators used within GTK+
2234 2008-02-26 Sven Herzberg <sven@imendio.com>
2236 Fixes: MB#2981: Build with asserts broken
2238 * src/hildon-date-editor.c,
2239 * src/hildon-number-editor.c,
2240 * src/hildon-time-editor.c,
2241 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2242 the proper GType instance check
2244 2008-02-25 Sven Herzberg <sven@imendio.com>
2246 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2248 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2249 * examples/hildon-window-menu-example.c: (main): explicitly show
2251 * src/hildon-window.c:
2252 (hildon_window_set_main_menu): moved most of the code from set_menu()
2253 to this place; skipped the call to gtk_widget_show_all(); also didn't
2254 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2255 (hildon_window_set_menu): removed most of the code, just keep the
2256 questionable gtk_widget_show_all()
2257 * src/hildon-window.h: added the new function and deprecate the old
2260 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2266 * debian/changelog: Updating.
2268 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2271 * pkgconfig/Makefile.am:
2272 * pkgconfig/hildon.pc.in:
2275 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2276 use newly created API_MAJOR_VERSION.
2278 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2284 * debian/changelog: Updating.
2286 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2288 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2290 Add outer_border style property, we use it but don't define it (!).
2294 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2296 * examples/hildon-bread-crumb-trail-example.c (main):
2300 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2302 Fix logic for the bread crumb trail node removal.
2306 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2312 * debian/changelog: Updating.
2314 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2316 Patch by Alejandro to get/set passwords dialogs accesibility.
2318 * hildon-1/src/hildon-get-password-dialog.c:
2319 * hildon-1/src/hildon-set-password-dialog.c:
2320 Set atk_set_name to the passwd entries in order to allow
2321 accessibility by name on this entries.
2323 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2328 * debian/control: Updating gtk dep.
2330 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2332 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2333 USE_MAEMO_GTK is enabled.
2335 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2337 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2338 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2340 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2346 * debian/changelog: Updating.
2348 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2350 * examples/Makefile.am:
2351 * examples/hildon-logical-color-example.c:
2352 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2353 applied + adding a test case. Fixes: NB#71660.
2355 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2357 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2358 to be visible, fixes warning on map for windows without toolbars.
2360 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2362 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2363 2.11.0, add a check for that besides the MAEMO_GTK check.
2365 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2371 * debian/changelog: Updating.
2373 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2375 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2376 visibility. Fixes: NB#70842 and MB#615.
2378 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2380 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2381 set the separator as no-show-all so it doesn't unintentionally appear when
2382 someone does a show_all.
2384 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2386 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2387 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2388 toplevel item. Fixes: NB#62031
2390 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2392 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2393 fix the name of the function in the docs.
2395 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2401 * debian/changelog: Updating.
2403 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2405 * examples/hildon-banner-long-example.c: Adding a test-case for long
2408 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2410 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2412 * src/hildon-color-chooser-dialog.c:
2413 * src/hildon-color-chooser.c:
2414 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2415 memory leaks in font selector and color selector. Fixes: NB#70499 and
2418 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2420 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2422 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2424 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2425 little bit bigger. Fixes: #NB63694.
2427 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2433 * debian/changelog: Updating.
2435 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2438 * doc/hildon-docs.sgml:
2439 * doc/images/bread-crumb-trail.png:
2440 * doc/images/calendar-popup.png:
2441 * doc/images/caption.png:
2442 * doc/images/code-dialog.png:
2443 * doc/images/color-button.png:
2444 * doc/images/color-chooser-dialog.png:
2445 * doc/images/color-chooser.png:
2446 * doc/images/controlbar.png:
2447 * doc/images/date-editor.png:
2448 * doc/images/font-selection-dialog.png:
2449 * doc/images/get-password-dialog.png:
2450 * doc/images/hvolumebar.png:
2451 * doc/images/login-dialog.png:
2452 * doc/images/note.png:
2453 * doc/images/number-editor.png:
2454 * doc/images/range-editor.png:
2455 * doc/images/seekbar.png:
2456 * doc/images/set-password-dialog.png:
2457 * doc/images/sort-dialog.png:
2458 * doc/images/time-editor.png:
2459 * doc/images/time-picker.png:
2460 * doc/images/vvolumebar.png:
2461 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2462 Adding the bread-crumb-trial and helpers to the documentation.
2464 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2466 * examples/hildon-find-toolbar-example.c:
2467 * src/hildon-find-toolbar.c:
2468 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2469 actually continue firing the other handlers if connected. Adding a new
2471 hildon_find_toolbar_get_last_index that gets the index of the most
2472 recently added (last) item. Fixes: NB#52301.
2474 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2476 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2477 behaviour. Fixes: NB#68610.
2479 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2481 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2484 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2486 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2487 when realizing the banner. Should make the infonbanner effect a bit more
2490 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2492 * src/hildon-volumebar.c:
2493 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2494 hildon_volumebar_set_range_insensitive_message and
2495 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2497 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2499 * src/hildon-window.c: Fixing the border freeing on destroy.
2501 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2503 * src/hildon-code-dialog-private.h:
2504 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2505 kw keyboard support in HildonCodeDialog.
2507 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2513 * debian/changelog: Updating.
2515 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2517 * src/hildon-date-editor.c:
2518 * src/hildon-number-editor.c:
2519 * src/hildon-private.c:
2520 * src/hildon-private.h:
2521 * src/hildon-time-editor.c:
2522 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2523 handling in subclassed composite widgets. Fixes: NB#66628.
2525 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2527 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2528 from destroy_ callback as it introduces problems in async dbus signal
2529 handlers. Fixes NB#66673.
2531 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2533 * examples/hildon-hvolumebar-example.c:
2534 * src/hildon-volumebar.c: Improving the focus handling in the
2535 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2536 set_property accessor so that "mute" property can be actually set. I'm
2537 scared that nobody noticed it's totally broken.
2539 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2541 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2544 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2546 * src/hildon-calendar.c:
2547 * src/hildon-number-editor.c:
2548 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2549 matches the spec of 6 chars per second. Fixes: NB#60489.
2551 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2553 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2554 gtk_style_lookup_color sometime returns FALSE even though color was
2555 found and values were filled properly. Weird. Removing the warning for the
2558 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2560 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2561 expand vertically. Adding some extra space to the find toolbar buttons to
2562 make them thumbable. Fixes NB#66060.
2564 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2566 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2567 popup with "Ok" and "Cancel". Fixes NB#59299.
2569 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2571 * src/hildon-calendar.c: Process all window updates before executing next
2572 timeout. Fixes: NB#54146.
2574 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2580 * debian/changelog: Updating.
2582 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2584 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2585 the client event and ignore it, since we use the delete event to close
2588 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2590 * src/hildon-helper.c: Remove the bogus warning about color not being
2591 found. Fixes NB#58352.
2593 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2595 * examples/Makefile.am:
2596 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2597 HildonSeekbar widget inside a toolbar.
2599 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2601 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2602 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2603 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2604 don't want to be closed by non-temporary windows on map.
2606 Also use G_DEFINE_TYPE instead of manually typed code.
2608 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2615 * debian/rules: Updating.
2617 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2619 * examples/Makefile.am:
2620 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2621 bug NB#61128. Strangely it works.
2623 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2625 * src/hildon-date-editor.c: When the date editor entry has been changed
2626 but the numbers of characters < max, turn off the skip validation flag.
2627 Prevents a situation when we enter first a valid year and later re-write
2628 it with an invalid one. Fixes NB#60154.
2630 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2632 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2633 code dialog. Fixes NB#64355.
2635 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2637 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2638 switching the page. Fixes NB#49374.
2640 * examples/Makefile.am:
2641 * examples/hildon-wizard-dialog-example.c: Adding an example for
2642 HildonWizardDialog that shows how to handle manual sensitivity setting on
2645 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2649 * src/hildon-version.h.in:
2650 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2652 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2654 * src/hildon-volumebar.c: Updating the docs.
2656 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2662 * debian/changelog: Updating.
2664 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2666 * src/hildon-find-toolbar.c:
2667 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2668 selected item: hildon_find_toolbar_set_active,
2669 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2670 hildon_find_toolbar_get_active_iter . They correspond to respective
2671 GtkComboBox functions.
2673 * examples/Makefile.am:
2674 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2677 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2679 * examples/Makefile.am:
2680 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2683 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2684 when font size > 32 and we pack a focusable widget inside. Actually using
2685 the default response would work too, but since we don't show default
2686 response state in any way (no theming) it would not be visible to the
2687 user. Fixes NB#63430.
2689 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2691 * src/hildon-date-editor.c: Adding the missing variable setter in the
2692 set_property handler. Fixes NB#54182.
2694 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2696 * src/hildon-window.h: Changing the long key press time from 1500ms to
2697 800ms as requested in NB#63700. I have a bad feeling about this, let's
2698 see... Fixes NB#63700.
2700 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
2702 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2703 hildon_time_picker_map, hildon_time_picker_realize,
2704 hildon_time_picker_style_set): Split the contents of map to more
2705 appropriate functions; set window decorations on realize and update
2706 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2708 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2713 * debian/changelog: Updating.
2715 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2717 * src/Makefile.am: fixed installation of the header files
2719 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2725 * debian/changelog: Updating.
2727 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2729 * configure.ac: Removing some remaining of --enable-xan.
2731 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2733 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2734 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2736 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2737 2.10.12-osso6 because the move-focus signal needs to be available in
2740 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2742 * examples/Makefile.am:
2743 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2744 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2745 fine. Prolly NB#61128 is fixed now.
2747 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2749 * src/hildon-volumebar.c:
2750 * src/hildon-volumebar.h: Adding the
2751 hildon_volumebar_set_range_insensitive_message and
2752 hildon_volumebar_set_range_insensitive_messagef functions to set
2753 insensitive message on the slider of the volumebar. Fixes NB#61129.
2755 * examples/Makefile.am:
2756 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2757 test the new insensitive messsage functionality on HildonVolumebar.
2759 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2761 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2764 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2766 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2767 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2768 button on after clearing the trail.
2770 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2772 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2774 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2776 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2777 by splitting the installed headers in generated and non-generated groups. Use
2778 only the non-generated headers to create the hildon-enum-types.h file.
2780 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2782 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2784 * src/hildon-window.c: Hide the window before performing the destroy.
2785 Should make the app closing a little tiny bit more snappy.
2787 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2789 * src/hildon-seekbar.c: add gtkrange.h header
2790 * src/hildon-caption.c: remove unused variable
2792 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2794 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2797 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2803 * debian/changelog: Updating.
2805 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
2807 * src/hildon-window.c (hildon_window_window_state_event,
2808 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
2809 escape timeout on focus-out-event rather than notify::is-topmost; the
2810 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
2812 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2814 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
2815 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
2817 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2819 * src/hildon-window: actually, you need to use the macro always, there's
2820 no private pointer in the instance structure. We should have cleaned this up
2821 when we had the chance...
2823 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
2825 * src/hildon-window.c: do not get the private date from HildonWindow before
2826 it passes the g_return_if_fail check. Once it's passed the test, there's no
2827 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
2828 if you are only going to access the data once. Whitespace cleanups.
2830 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
2832 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
2833 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
2835 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2841 * debian/changelog: Updating.
2843 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2845 * src/hildon-window.c: When destroying the window, remove (if exists) the
2846 escape timeout handler. Fixes #NB59276.
2848 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2850 * src/hildon-banner.c: When realizing the widget, set the window
2851 transiency. Setting the transiency in the gobject constructor is not
2852 good, as the widget is not realized at that point. Fixes: #NB56624.
2854 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2856 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
2857 Add padding for future expansions.
2859 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2861 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
2862 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
2863 will fake an activation on the previous to the last item of the trail, so
2864 the effect can be overrided by the developer as usual.
2865 Also change the callback for the back button to do the same thing, so its
2866 effect can be overrided too. Fixes: NB#58982
2868 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2870 * src/hildon-caption.c: Implementing the proper focus grabbing in the
2871 HildonCaption. Fixes NB#52379.
2873 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
2875 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
2876 the internal state of the trail after the user has had the chance of executing
2877 his handler for the signal. Specifically, it may happen that the activated button
2878 is removed and the user still lets the default handler run. This would segfault
2881 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2883 * src/hildon-font-selection-dialog.c: When the font is really big, add the
2884 scrollbar to the preview dialog. Fixes NB#54147.
2886 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2888 * src/hildon-date-editor.c: Changing the default max year to 2037. The
2889 max/min year properties can be altered, so the client can modify it
2890 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
2892 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2894 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
2895 hildonlike by default. Fixing a problem with disappearing arrows when
2896 scrolling through months and years. Fixes NB#54127.
2898 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2900 * examples/hildon-date-editor-example.c: Adding error callback to the date
2903 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2909 * configure.ac: Updating.
2911 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2913 * configure.ac: Adding a special '--enable-xan' configure option that
2914 turns off the -Werror compilation setting. Usefull for development.
2916 * src/hildon-calendar.c:
2917 * src/hildon-number-editor.c:
2918 * src/hildon-time-picker.c: Adding the 5* multiplier to
2921 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
2923 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
2924 instead of g_object_ref + gtk_object_sink.
2926 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2932 * debian/changelog: Updating.
2934 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2936 * src/hildon-color-chooser-dialog.c:
2937 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
2938 straight from Tommi labs.
2940 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2942 * examples/hildon-finger-example.c: Correcting the header file path.
2944 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
2945 the changed signal. Fixes a small memory leak.
2947 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2951 * src/hildon-banner.c: Importing several usefull fixes from the
2952 ubuntu-mobile branch.
2954 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2956 * examples/Makefile.am:
2957 * examples/hildon-finger-example.c: Adding a finger-checking code
2960 * src/hildon-font-selection-dialog.c: Do not allocate the color
2961 structure using the g_new. Fixes NB#54061.
2963 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2965 * src/hildon-helper.c: Correcting tabs in file.
2967 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
2969 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
2970 control the visibility of the children.
2972 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
2974 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2980 * debian/changelog: Updating.
2982 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2984 * src/hildon-bread-crumb-trail.c:
2985 (hildon_bread_crumb_trail_size_allocate):
2987 Make the back button always a square.
2989 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
2991 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
2992 from the .c file as it's a private file.
2994 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2996 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
2997 uses slightly bigger height.
2999 * src/hildon-font-selection-dialog.c: Adding some checks before
3000 freeing memory in the font selection dialog.
3002 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3004 * src/hildon-font-selection-dialog.c: Adding a small check when
3007 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3008 buttons sensitivity on page switching.
3010 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
3012 * src/hildon-bread-crumb-trail.c: make the add method handle all the
3013 internal details of adding a bread crumb to the trail.
3015 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3021 * debian/changelog: Updating.
3023 * src/hildon-bread-crumb-trail.h:
3024 * src/hildon-bread-crumb.h: Changing the API guard to
3025 HILDON_ENABLE_UNSTABLE_API.
3027 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3035 * src/hildon-helper.h: Updating.
3037 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3045 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3049 * src/hildon-helper.h: Small fix to make the package actually compile.
3051 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3053 * src/hildon-bread-crumb-trail.h:
3054 * src/hildon-bread-crumb.h:
3056 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
3057 to define ENABLE_UNSTABLE_API in the code that includes these headers.
3059 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3061 * examples/hildon-bread-crumb-trail-example.c:
3063 * src/hildon-bread-crumb-trail.c:
3064 * src/hildon-bread-crumb-trail.h:
3065 * src/hildon-bread-crumb.c:
3066 * src/hildon-bread-crumb.h:
3067 * src/hildon-marshalers.list:
3068 * src/hildon-bread-crumb-widget.c:
3069 * src/hildon-bread-crumb-widget.h:
3071 Slight change in the widget design. The bread crumb trail API is
3072 unchanged, but HildonBreadCrumb is now an interface. A *private*
3073 implementation, hildon-bread-crumb-widget, is provided and used
3074 internally by the trail for the push_text/push_icon functions.
3076 The generic push API is still available, so anyone can implement
3077 and use its own bread crumb widget.
3079 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3081 * debian/rules: Fixing the shlibs.
3083 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3085 * src/hildon-banner.c: Fixing a problem with timed banners having
3086 their parrent destroyed before they are.
3088 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
3090 * src/hildon-bread-crumb.c:
3091 * src/hildon-bread-crumb.h:
3093 Make the get_natural_size function a vfunc.
3095 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3097 * src/hildon-bread-crumb.c:
3098 * src/hildon-bread-crumb-trail.c:
3102 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3109 * debian/changelog: Updating for release.
3111 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3113 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
3114 don't leak the pango layout.
3116 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3119 * examples/hildon-bread-crumb-trail-example.c:
3123 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3125 * debian/changelog: Removing the bug-fixed entries that were actually
3126 resolved as WONTFIX.
3128 * src/hildon-date-editor.c: Removing a redundant check. Fixes
3131 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3133 * src/hildon-bread-crumb-trail.c:
3134 * src/hildon-bread-crumb-trail.h:
3135 * src/hildon-bread-crumb.c:
3136 * src/hildon-bread-crumb.h:
3140 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3142 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
3143 until it's passed the type check.
3145 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3147 * examples/hildon-bread-crumb-trail-example.c
3151 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3153 * examples/Makefile.am
3154 * examples/hildon-bread-crumb-trail-example.c
3156 * src/hildon-bread-crumb-trail.c
3157 * src/hildon-bread-crumb-trail.h
3158 * src/hildon-bread-crumb.c
3159 * src/hildon-bread-crumb.h
3161 New HildonBreadCrumbTrail widget.
3163 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
3165 * src/hildon-range-editor.c (hildon_range_editor_init),
3166 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
3167 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
3168 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
3169 hildon_time_editor_class_init, hildon_time_editor_init),
3170 src/hildon-get-password-dialog.c (invalid_input,
3171 hildon_get_password_set_property, hildon_get_password_get_property,
3172 create_contents, hildon_get_password_dialog_set_max_characters),
3173 src/hildon-set-password-dialog.c (create_contents),
3174 src/hildon-date-editor.c (hildon_date_editor_init),
3175 src/hildon-login-dialog.c (hildon_login_dialog_init),
3176 src/hildon-number-editor.c (hildon_number_editor_init),
3177 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3178 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3179 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3180 configure option and adding the respective checks in the code.
3181 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3182 hildon_calendar_drag_data_received): fixed some build warnings.
3184 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3186 * debian/changelog: A 1.0.0 release notes.