1 2006-08-07 Johan Bilien <johan.bilien@nokia.com>
3 * hildon-widgets/hildon-program.c
4 (hildon_program_common_toolbar_topmost_window): Added this
5 function, it is an internal function created to notify the topmost
6 window of the topmost program that it has a new common toolbar, it
7 is supposed to be used inside a foreach call.
8 (hildon_program_set_common_toolbar): Added a foreach call in case
9 the program is the topmost in order to notify the topmost window
10 it should take the common toolbar. Fixed a problem with unparent
11 call it causes the vbox disappears in some cases, now we are using
17 2006-08-01 Luc Pionchon <luc.pionchon@nokia.com>
19 * configure.ac: 0.12.22
22 2006-07-31 Johan Bilien <johan.bilien@nokia.com>
24 * hildon-widgets/hildon-code-dialog.c
25 (hildon_code_dialog_insert_text):
26 - Use hildon_banner_show_info instead of deprecated gtk_info_print
27 - Localize the string in the applet
31 2006-07-25 Fernando Herrera <fernando.herrera-de-las-heras@nokia.com>
33 * configure.ac: 0.12.21
35 2006-07-25 Fernando Herrera <fernando.herrera-de-las-heras@nokia.com>
37 * hildon-widgets/hildon-number-editor.c: Revert previous patch here
38 until we get a new release of themes stuff. (M#624)
40 2006-07-25 Johan Bilien <johan.bilien@nokia.com>
42 * hildon-widgets/hildon-window.c:
43 (hildon_window_toggle_menu): free the GList returned by
44 gtk_container_get_children
49 2006-07-18 Fernando Herrera <fernando.herrera-de-las-heras@nokia.com>
51 * hildon-widgets/hildon-number-editor.c:
52 renamed {plus,minus}-button widgets to ne-{plus,minus}-button in
53 order to do the theming without depending on the HildonNumberEditor
54 widget name. Fixes maemo M#624
56 2006-06-13 Luc Pionchon <luc.pionchon@nokia.com>
58 * configure.ac: 0.12.20
61 2006-06-12 Luc Pionchon <luc.pionchon@nokia.com>
63 * hildon-widgets/hildon-color-button.c
64 (hildon_color_button_key_pressed):
65 return FALSE when no key was handled.
70 2006-06-12 Luc Pionchon <luc.pionchon@nokia.com>
72 * hildon-widgets/hildon-banner.c:
73 (force_to_wrap_truncated): Modified size request of the label
74 when it is wider than the maximum allowed, using the pango
75 layout extension instead of the maximum allowed width.
80 2006-06-05 Luc Pionchon <luc.pionchon@nokia.com>
82 * configure.ac: 0.12.19
85 2006-06-05 Luc Pionchon <luc.pionchon@nokia.com>
87 * hildon-widgets/hildon-color-button.c
88 (hildon_color_button_init): Moved key handling from key release
89 event to key press event.
91 (hildon_color_button_key_released): Renamed to _key_pressed
92 (hildon_color_button_key_pressed) : new name from _key_released
97 2006-06-05 Luc Pionchon <luc.pionchon@nokia.com>
99 * hildon-widgets/hildon-time-editor.c
100 (validated_conversion): return the minimum allowed value for the
101 entry when the user types an empty text into an entry and moves
102 the focus, instead of returning -1. This change implies that the
103 minimum allowed value for the entry is set into the entry instead
109 2006-06-05 Luc Pionchon <luc.pionchon@nokia.com>
111 * hildon-widgets/hildon-grid.c (hildon_grid_class_init): do not
112 use accumulator for "popup-context-menu"
117 2006-06-05 Luc Pionchon <luc.pionchon@nokia.com>
119 * hildon-widgets/hildon-window.c
120 (hildon_window_toggle_menu): Changed the hide condition of the
121 menu, now we are using GTK_WIDGET_MAPPED instead of
122 GTK_WIDGET_VISIBLE, because the menu can be visible but not mapped
123 in some situations, like the one described in this bug.
128 2006-06-02 Luc Pionchon <luc.pionchon@nokia.com>
130 * hildon-widgets/hildon-app.c (hildon_app_key_snooper): Add code
131 to control if there is a combobox activated when the menu key is
132 pressed and stop the menu drawing, this is a new case that happens
133 when the application is avoiding the focus can go to the combobox.
138 2006-06-02 Luc Pionchon <luc.pionchon@nokia.com>
140 * hildon-widgets/hildon-time-editor.c
141 (hildon_time_editor_validate): removed the assinment of the
142 error_widget, now just the highlight_callback can do it when it
143 finished with it. Control that if we are already managing an error
144 we don't start working in other.
146 (hildon_time_editor_inserted_text): added a control to stop insert
147 handle if we are already managing an error, we have also blocked
148 the focusout event before que grab focus to avoid another
149 validation of the field.
153 * hildon-widgets/hildon-time-editor.c
154 (highlight_callback): Removed the return in the middle of the
155 function, now that situation is imposible. It was causing the
159 2006-05-31 Luc Pionchon <luc.pionchon@nokia.com>
161 * hildon-widgets/hildon-banner.c
162 (HILDON_BANNER_LABEL_MAX_PROGRESS): increase even more 320 -> 375
163 to satisfy NB#31099. (actually info and anim banners should have
164 375 px width and only progress banners should have 265 px)
166 NB#31099 (workaround)
168 2006-05-30 Luc Pionchon <luc.pionchon@nokia.com>
170 * hildon-libs.pc.in (Description): updated description
172 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
174 * configure.ac: 0.12.18
176 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
178 * hildon-widgets/hildon-app.c
179 (hildon_app_key_snooper): Add code to control if there is a
180 combobox activated when the menu key is pressed and prevent the
186 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
188 * hildon-widgets/hildon-banner.c
189 (hildon_banner_set_property): Set max_width hint to -1 instead of
190 HILDON_BANNER_LABEL_MAX_TIMED when banner is timed to avoid. This
191 has been done to ensure that the size of the banner will be the
192 requisition size and avoid the size problem when reusing the
193 banner window. See NB#24339.
195 (hildon_banner_set_text): Removed useless gtk_window_resize after
196 changing the label text. The size requisition of the banner is
197 updated when the label text is modified, so there is no need to do
198 a resize of the window to the requisition size.
199 (hildon_banner_set_markup): Likewise.
201 (hildon_banner_check_position): Added cast to widget argument in
202 call to force_to_wrap_truncated in order to avoid a compilation
206 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
208 Added time-error signal - NB#22155
210 * hildon-widgets/hildon-time-editor.c:
211 (hildon_time_editor_class_init): added time-error signal
212 (validated_conversion): added 'error_code' output parameter.
213 (hildon_time_editor_real_validate): use 'error_code' and trigger
214 'time-error' signal when apprpriate.
215 (highlight_callback): avoid revalidation
217 * hildon-widgets/hildon-time-editor.h (HildonTimeEditorErrorType):
218 new enumerative type for error types
219 (_HildonTimeEditorClass): added time_error signal
221 * hildon-widgets/Makefile.am (hildon-libs-enum-types.c): added time-editor.h
224 2006-05-23 Luc Pionchon <luc.pionchon@nokia.com>
226 * configure.ac: 0.12.17
228 2006-05-23 Luc Pionchon <luc.pionchon@nokia.com>
230 * hildon-widgets/gtk-infoprint.c
231 (gtk_confirmation_banner_with_icon_name): wooops, use _with_markup
232 variant to process markup string. NB#28370 (ter)
234 2006-05-22 Luc Pionchon <luc.pionchon@nokia.com>
236 * configure.ac: 0.12.16
238 2006-05-22 Johan Bilien <johan.bilien@nokia.com>
240 * hildon-widgets/hildon-window.c
241 (hildon_window_vbox_expose_event): This function has been
242 removed, now the window has the responsability of painting the
243 toolbar, because it has that space allocated.
244 (hildon_window_init): we do not have to connect the
245 hildon_window_vbox_expose_event function to the expose event of
246 the toolbar vbox anymore.
247 (hildon_window_expose): Added the call to paint_toolbar, as we can
248 see in the allocation function the toolbar decorators are
249 responsability of the window, and gdk was not sending the proper
250 events to the vbox because that space is not its responsability.
251 (hildon_window_remove_toolbar): We don't need a queue_draw here
252 because we have another call in the expose function when the size
253 of the container has been changed.
257 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
259 Removed hildon-insert-object-dialog NB#8015
261 * hildon-widgets/hildon-insert-object-dialog.[ch]: removed
262 * doc/tmpl/hildon-insert-object-dialog.sgml: removed
263 * ut/hildon-widgets_tests.c (test27a, test27b, test27c): removed
265 * hildon-widgets/Makefile.am (hildonwidgetsincludeinst_DATA)
266 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES)
267 * doc/hildon-libs-docs.sgml:
268 * po/POTFILES.in: : removed reference
270 * configure.ac: removed check for gnome-vfs
271 * hildon-widgets/Makefile.am: removed gnome-vfs flags
272 * doc/Makefile.am: likewise
273 * ut/Makefile.am: likewise
276 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
278 * hildon-widgets/gtk-infoprint.c
279 (gtk_confirmation_banner_with_icon_name):
280 added bold markup for backward compatibility. NB#28370 (bis)
283 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
285 * hildon-widgets/hildon-grid.c (get_child_index_by_coord): returns
286 if empty grid. NB#29883
289 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
291 * hildon-widgets/gtk-intoprint.c (find_banner_for_parent): Added
292 check for "is-timed" property. NB#26546
295 2006-05-21 Johan Bilien <johan.bilien@nokia.com>
297 * hildon-widgets/hildon-window.c
298 (hildon_window_remove_toolbar)
299 (hildon_window_size_expose): Removed the
300 gtk_widget_queue_draw_area call from this functions, because
301 sometimes the event is not managed in the proper order.
303 (hildon_window_size_allocate): Added the
304 gtk_widget_queue_draw_area call in case the number of the toolbars
305 has changed, this way we insure an expose event for the proper
306 region will come after the change of the toolbars.
310 2006-05-21 Johan Bilien <johan.bilien@nokia.com>
312 * hildon-widgets/hildon-window.c:
313 (hildon_window_size_allocate): Now the window uses all the space
314 when its state is fullscreen, we avoid to subtract the top and
315 bottom borders if the window state is fullscreen.
319 2006-05-18 Tapani Palli <tapani.palli@nokia.com>
321 * hildon-widgets/hildon-time-editor.c: block signal handler for
322 hildon_time_editor_inserted_text, null check for entry widget in
323 highlight_callback. Fixes NB#28679
325 2006-05-16 Luc Pionchon <luc.pionchon@nokia.com>
327 * hildon-widgets/gtk-infoprint.c (gtk_confirmation_banner): added
328 bold markup for backward compatibility. NB#28370
331 2006-05-15 Luc Pionchon <luc.pionchon@nokia.com>
333 * configure.ac: 0.12.15
336 2006-05-15 Johan Bilien <johan.bilien@nokia.com>
338 * hildon-widgets/hildon-window.[ch]:
339 - Added clipboad_operation signal used by osso-browser to receive
340 clipborad operations from hildon-input-method
341 - Trigger this signal when we receive an clipboard X message
342 from HIM. related to NB#25502
344 2006-05-11 Luc Pionchon <luc.pionchon@nokia.com>
346 * hildon-widgets/hildon-caption.c
347 (hildon_caption_set_label_alignment)
348 (hildon_caption_get_label_alignment): added gtk-doc "Since" marker
350 * doc/hildon-libs-docs.sgml: added index for 0.12.0 new symbols
353 2006-05-10 Luc Pionchon <luc.pionchon@nokia.com>
355 * hildon-widgets/hildon-time-editor.c:
356 (hildon_time_editor_set_ticks) removed block signal handler for
357 hildon_time_editor_inserted_text. Added block and unblock signal
358 handler for hildon_time_editor_entry_focusout.
362 2006-05-10 Luc Pionchon <luc.pionchon@nokia.com>
364 * hildon-widgets/hildon-caption.c:
365 (hildon_caption_size_allocate): add a margin to the start position
366 of the caption_area (HILDON_CAPTION_SPACING), leaving this way the
367 space required to the left of the caption.
369 (hildon_caption_expose): allocation, subtract the left margin
370 which we have added to the children widgets when we paint the
375 3006-05-10 Tapani Palli <tapani.palli@nokia.com>
377 * hildon-widgets/hildon-time-editor.c:
378 block signal handler for hildon_time_editor_inserted_text
382 2006-05-09 Luc Pionchon <luc.pionchon@nokia.com>
384 * hildon-widgets/hildon-time-editor.c:
385 (_hildon_time_editor_get_time_separators) renamed from
386 _get_time_separator(). Refactored to return h-m and m-s
387 separators. Now it is independent of the time editor priv
388 structure and receives two labels that can be NULL.
390 (_HildonTimeEditorPrivate): removed hm_sep_symbol and ms_sep_symbol
391 members: not used anymore.
392 (hildon_time_editor_init): removed ref to above members.
393 (hildon_time_editor_finalize): likewise
395 (hildon_time_editor_check_locale): use
396 _hildon_time_editor_get_time_separators()
398 * hildon-widgets/hildon-private.h: new file. To be used to use
399 private functions from other widgets inside the library.
400 (_hildon_time_editor_get_time_separators): added.
402 * hildon-widgets/Makefile.am:
403 added hildon-private.h to the source list.
406 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
407 Use _hildon_time_editor_get_time_separators() to get the h-m
408 separator from the locale (and not from a .po file)
413 2006-05-09 Marius Vollmer <marius.vollmer@nokia.com>
415 * hildon-widgets/hildon-find-toolbar.c
416 (hildon_find_toolbar_class_init): Reverted change from 2006-04-15:
417 The "search", "close", "invalid_input", "history_append" signals
418 have always been correctly registered: you don't include the last
419 'user data' parameter in the list of argument types passed to
420 g_signal_new et al. Thanks to Jorn from OpenedHand!
424 2006-05-08 Luc Pionchon <luc.pionchon@nokia.com>
426 * configure.ac: 0.12.14
428 2006-05-04 Luc Pionchon <luc.pionchon@nokia.com>
430 gtk-doc config bits...
431 * autogen.sh: call aclocal first
432 * configure.ac: enable GTK_DOC_CHECK
433 * doc/Makefile.am: really "include". "-include" is not followed by
434 automake, as a result gtk-doc.make would not be processed.
437 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
439 N#27000 (additional fixes to patch from 2006-05-01)
441 * hildon-widgets/hildon-banner.c (force_to_wrap_truncated): do not
442 hardcode pixel scaling factor ("/1000"), use PANGO_PIXELS instead
443 which deals with rounding (and uses the right factor: 1024).
444 Thanks Michael Natterer <mitch@imendio.com>
446 Force label size also when width_text == width_max.
449 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
451 * configure.ac: 0.12.13
454 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
456 * hildon-widgets/hildon-font-selection-dialog.c:
457 (is_internal_font): new function. Tells if a font family is internal.
458 (filter_out_internal_fonts): new function. Filters out inernal fonts.
459 (hildon_font_selection_dialog_show_available_fonts): call filter_out_internal_fonts
463 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
465 * hildon-libs/hildon-widgets/hildon-time-editor.c
466 * hildon-libs/hildon-widgets/hildon-time-picker.c
467 * hildon-libs/hildon-widgets/hildon-wizard-dialog.h
468 added comments to anonymous enums
471 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
473 Hildon banner truncations,
474 * hildon-widgets/hildon-banner.c
475 (force_to_wrap_truncated): new function. Force to wrap truncated
476 label by setting explicit size request. See N#27000 and G#329646
477 (hildon_banner_check_position): call force_to_wrap_truncated()
478 fixes N#27000, N#25305, N#26203
480 * hildon-widgets/hildon-banner.c
481 (HILDON_BANNER_LABEL_MAX_PROGRESS): increase value 265 -> 320 to
482 satisfy N#26624, N#26161, N#27875
484 * ut/tc_banner_truncate.c: new file. Test cases for banner truncations.
487 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
489 * hildon-widgets/hildon-banner.[ch]: code cleanup.
492 2006-04-29 Johan Bilien <johan.bilien@nokia.com>
494 * hildon-widgets/hildon-window.c:
495 - removed connection to self, replaced with overridding virtual
497 - removed gtk_widget_set_event in init, legacy from HildonApp
498 - use gtk_widget_get_child_requisition() instead of
499 gtk_widget_size_request() in _allocation
500 - don't allocate space for the child if it is not visible
502 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
504 * hildon-widgets/hildon-window.c:
505 - forgot to reinitialize convenience pointers to borders after they
507 - replaced a g_return_if_fail with a g_return_val_if_fail now
508 that toggle_menu returns a g_boolean
510 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
513 * hildon-widgets/hildon-window.c: Free the borders structure
514 when the window is destroyed.
516 2006-04-27 Tapani Palli <tapani.palli@nokia.com>
518 * hildon-widgets/hildon-caption.c : check if ancestor
519 (still) exists in set-focus handler, fixes N#25501
521 2006-04-27 Luc Pionchon <luc.pionchon@nokia.com>
523 * hildon-widgets/hildon-time-editor.c
524 (hildon_time_editor_check_locale): do not force lower case for
525 AM/PM symbols. Use the string as it is given by the locale. Makes
526 it coherent with hildon time picker. Fixes N#27963
529 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
531 * hildon-widgets/hildon-set-password-dialog.c
532 (c_): new macro, calls dgettext on "hildon-common-strings" domain.
533 (hildon_set_password_response_set): use c_ for common strings
534 (hildon_set_password_response_change): likewise.
537 * hildon-widgets/hildon-set-password-dialog.h: indent cleanup
540 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
542 * hildon-widgets/hildon-file-handling-note.c (gettext macro): use
543 "hildon-fm" as textual domain. Fixes N#27702
545 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
547 * configure.ac: 0.12.12
549 * Makefile.am (clean-all): brutal target to cleanup the
550 folder. Will do this properly later.
552 2006-04-25 Luc Pionchon <luc.pionchon@nokia.com>
554 * doc/Makefile.am: use "-include" for gtk-doc.make (ignore
555 included Makefile if missing).
557 * configure.ac: temporarily disable GTK_DOC_CHECK (problem in
558 integration environement)
560 * configure.ac: print configuration summary after processing
562 2006-04-24 Marius Vollmer <marius.vollmer@nokia.com>
564 From Murray Cumming <murrayc@murrayc.com>, M#183.
566 * hildon-widgets/hildon-calendar-popup.c:
567 (hildon_calendar_popup_new): Use only g_object_new(), passing
568 it properties, so that language bindings can do the same.
569 (hildon_calendar_popup_set_date): Veryify the date here,
570 instead of only in the _new() function.
571 (hildon_calendar_popup_set_property): Use get/set_date() to
572 verify the new date and to select it.
573 (hildon_calendar_popup_get_property): Remove unused variables.
574 * ut/hildon-widgets_tests.c (test45): New.
576 * hildon-widgets/hildon-add-home-dialog.c:
577 (hildon_add_home_dialog_new): Move code into
578 hildon_add_home_dialog_init(),
579 hildon_add_home_dialog_set_old_name(), and
580 hildon_add_home_dialog_set_new_name(). Supply parameters as
581 properties values to g_object_new() instead, so that language
582 bindings can do the same.
583 (hildon_add_home_dialog_class_init): Added name and new_name
585 (hildon_add_home_dialog_init): Create always-needed widgets.
586 (hildon_add_home_dialog_get_property),
587 (hildon_add_home_dialog_set_property): Get/Set the name and
588 new_name properties, recreating widgets if necessary, using new
589 static helper function.
590 * ut/hildon-widgets_tests.c (test46): New.
592 * hildon-widgets/hildon-grid-item.c
593 (hildon_grid_item_set_property), (hildon_grid_item_get_property),
594 (hildon_grid_item_class_init): Add icon-basename property.
595 (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code
596 from here to hildon_grid_item_init(), so we can just call
598 (hildon_grid_item_set_label): Convert NULL label to empty string.
599 Bug fix: don't cast the label widget to a string and compare it
600 against the new label text, use gtk_label_get_label instead.
601 Expect priv->label to always be non-NULL.
602 (update_icon): Don't pass NULL icon name to
603 gtk_icon_theme_load_icon, use default icon instead in that case.
604 * hildon-widgets/hildon-grid-item.h: Make
605 _hildon_grid_item_set_label into public
606 hildon_grid_item_set_label(), so that language bindings can use
608 * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon.
609 (test33a2, test33b4, test33b4): Expect them to succeed now that a
610 HildonGridItem can handle NULL icons.
612 2006-04-21 Luc Pionchon <luc.pionchon@nokia.com>
614 * configure.ac: 0.12.11
617 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
619 * thread safety (N#24348), fixed timeout and idle callbacks :
620 hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
621 hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
622 hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
623 hildon-widgets/hildon-banner.c : hildon_banner_timeout()
624 hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
625 hildon-widgets/hildon-time-editor.c : highlight_callback()
626 hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
628 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
630 * hildon-widgets/hildon-app.c (hildon_app_key_release): send
631 correct state for fullscreen, fixes N#26611
633 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
636 * hildon-widgets/hildon-window.c:
637 - hildon_window_toggle_menu now returns whether or not something was
639 - hildon_window_key_press_event(): when handling the menu hard key,
640 return TRUE if we actually handled it
641 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
642 now returns if something was done
643 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
644 if we actually handled the menu hard key.
646 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
648 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
651 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
653 * configure.ac: 0.12.10
656 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
658 * doc/hildon-libs-docs.sgml: added index for new symbols.
661 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
663 * doc/Makefile.am (version.xml): generates version.xml
664 * doc/hildon-libs-docs.sgml: added &version; entity, and display
665 the version number in the doc title.
668 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
670 Minor changes for gtk-doc
672 * hildon-weekday-picker.h
673 * hildon-name-password-dialog.c
674 * hildon-calendar-popup.h
675 * hildon-range-editor.h
676 * hildon-volumebar-range.h
679 * hildon-time-editor.c
681 * hildon-date-editor.h
684 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
686 * hildon-widgets/hildon-time-editor.c
687 (hildon_time_editor_set_show_hours)
688 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
691 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
694 * hildon-widgets/hildon-time-editor.c
695 (hildon_time_editor_entry_keypress): use
696 hildon_gtk_button_set_depressed, provided by osso-GTK, since
697 2.6.10-1.osso4, instead of GTK private symbol
698 _gtk_button_set_depressed
701 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
703 From Murray Cummings (M#185 M#283), with slight changes:
705 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
706 can disable the regeneration of hildon-libs-enum-types.[h|c], also
707 based on the gnome-vfs build.
709 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
710 hildon-libs-enum-types.[h|c], and build them, based on the
711 gnome-vfs build. This adds GTypes for the enums, needed for
712 accurate signal registration, needed by bindings.
714 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
715 default signal handler to range_error, so it has the same name as
716 the signal, as expected by bindings.
718 * hildon-widgets/hildon-marshalers.list: Change to the now-used
721 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
722 since hildon_note_type_get_type is defined manually and
723 glib-mkenums should ignore this enum.
725 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
726 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
728 Correct the signal registration for:
730 * hildon-widgets/hildon-app.c
731 (hildon_app_class_init):
737 * hildon-widgets/hildon-date-editor.c
738 (hildon_date_editor_class_init):
741 * hildon-widgets/hildon-find-toolbar.c
742 (hildon_find_toolbar_class_init):
746 "history_append signals"
748 * hildon-widgets/hildon-grid.c
749 (hildon_grid_class_init):
752 * hildon-widgets/hildon-number-editor.c
753 (hildon_number_editor_class_init):
757 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
759 M#90 - Use standard GLib macro names.
760 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
762 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
763 * hildon-widgets/hildon-calendar-popup.h:
764 * hildon-widgets/hildon-date-editor.h:
765 * hildon-widgets/hildon-range-editor.h:
766 * hildon-widgets/hildon-weekday-picker.h:
767 * hildon-widgets/hildon-volumebar-range.h:
770 * hildon-widgets/hildon-calendar-popup.c:
771 * hildon-widgets/hildon-date-editor.c:
772 * hildon-widgets/hildon-range-editor.c:
773 * hildon-widgets/hildon-volumebar-range.c:
774 * hildon-widgets/hildon-weekday-picker.c:
777 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
779 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
780 for Ok and Cancel buttons.
782 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
784 * configure.ac: 0.12.9
786 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
788 * hildon-widgets/hildon-color-button.c
789 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
793 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
795 * hildon-widgets/hildon-time-editor.c
796 (convert_to_12h): removed m and s paramters (useless)
797 (convert_to_24h): likewise.
800 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
802 Automatic focus movement for HildonTimeEditor (IMP-13)
804 * hildon-widgets/hildon-time-editor.c
805 (hildon_time_editor_init): connect after signal "insert_text"
806 (hildon_time_editor_inserted_text): new function.
807 On inserted text, if entry has two digits, jumps to the next field.
810 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
812 Pops up the color selector on 'select' hardkey (IMP-15)
814 * hildon-widgets/hildon-color-button.c
815 (hildon_color_button_init): connect "key-release-event"
816 (hildon_color_button_key_released): new function.
817 Pops up the color selector on 'select' hardkey release
820 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
822 Hildon grid, set items to be focus-and-activate instead of single
823 tap activation (IMP-14)
825 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
826 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
829 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
831 Fetch hours/minutes/seconds separators from current locale (IMP-8)
834 * hildon-widgets/hildon-time-editor.c
835 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
836 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
837 (hildon_time_editor_finalize): free separator symbols
838 (get_time_separators): new function. Get time separators from locale.
839 (hildon_time_editor_check_locale): call get_time_separators.
841 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
843 Removed icon for mandatory fields (IMP-3).
844 Note: the logic and API to specify mandatory fields is preserved.
846 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
847 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
848 (hildon_caption_set_property): case PROP_STATUS, removed related code.
849 (hildon_caption_set_label_alignment): removed related code.
852 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
854 * configure.ac: 0.12.8
856 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
858 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
861 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
863 - Added support for Pango markup
864 Added hildon_banner_show_information_with_markup
865 - Removed hildon_banner_show_confirmation
866 - Re-position the banner when its content changes
867 - Banner now doesn't truncate strings nor insert linebreaks
868 - fixes N#24339 - Information banners do not resize
870 * hildon-widgets/hildon-banner.[ch]
871 (hildon_banner_show_information_with_markup): new function. Adds
872 pango markup support for information banners.
874 (hildon_banner_show_confirmation): removed. 'confirmation' was
875 used only for the taask navigator (at most). It should use
876 _show_information_with_markup with appropriate markup.
878 (hildon_banner_set_markup): new function.
880 (hildon_banner_check_position): new function. Factor code from
881 hildon_banner_realize(), and update position calculation.
883 (struct _HildonBannerPrivate): removed max_lines.
884 Uses as much lines as needed.
886 (hildon_banner_init): set banner label to wrap lines.
888 (hildon_banner_set_text): do not truncate. Update banner's position.
890 (hildon_banner_set_markup): new function.
891 Set banner's text with Pango markup.
893 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
896 * hildon-widgets/gtk-infoprint.c
897 (gtk_confirmation_banner): use hildon_banner_show_information
898 instead of _show_confirmation.
899 (gtk_confirmation_banner_with_icon_name): likewise.
902 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
904 * hildon-widgets/hildon-color-button.c
905 (hildon_color_field_expose_event): correct parameter order.
908 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
910 * hildon-widgets/hildon-window.c:
911 - Fixed a potential infinite loop when detaching the menus
912 from the window widget (Closes N#26033)
914 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
916 * hildon-widgets/hildon-window.c:
917 - Fixed a bug that made window fullscreen state tracking fail
918 - Apply correct theming to menus so that they get placed
919 correctly (Fixes N#24325)
920 - Redraw the window borders if the size of the toolbar vbox changes
921 - Reset the program to NULL in hildon_window_destroy
922 - Stop the ESC key-press timeout when the window loses the focus
924 * hildon-widgets/hildon-program.c:
925 - Reset the common toolbar to NULL when the program is finalised
927 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
929 * hildon-widgets/hildon-get-password-dialog.h,
930 hildon-widgets/hildon-get-password-dialog.c
931 (hildon_get_password_dialog_new,
932 hildon_get_password_dialog_new_with_default): Renamed
933 get_old_password_title parameter to "get_old" to correspond with
934 the property name. This helps the C++ bindings.
935 * ut/hildon-widgets_tests.c (test43, test44): New.
937 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
939 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
940 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
945 * hildon-libs/hildon-caption.c:
946 (hildon_caption_init): Do the hildon_caption_set_child_expand()
948 (hildon_caption_new): Use the child property from GtkContainer
949 instead of calling gtk_container_add(), because _new() functions
950 should just use g_object_new(), so that language-bindings can do
953 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
955 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
957 * configure.ac: 0.12.7
959 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
962 * hildon-widgets/hildon-font-selection-dialog.c
963 (REFERENCE_LINE): removed
964 (hildon_font_selection_dialog_show_preview): added l10n support
965 for the reference string (use to differentiate sub/super script in
967 (hildon_font_selection_dialog_show_preview): likewise
970 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
972 * po/en_GB.po: update
974 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
976 * hildon-widgets/hildon-add-home-dialog.c
977 (hildon_add_home_dialog_init): removed i18n support (deprecated
978 widget. Hinder logical ID processing)
979 (hildon_add_home_dialog_new): likewise.
981 * hildon-widgets/hildon-insert-object-dialog.c
982 (hildon_insert_object_dialog_init): likewise.
985 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
987 * hildon-widgets/hildon-font-selection-dialog.c
988 (hildon_font_selection_dialog_construct_notebook): logical ID typo
991 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
993 * hildon-widgets/hildon-window.[ch]:
994 - update the title when the window is realized
995 - added support for long press on the ESC key. Fixes N#24620
997 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
999 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
1001 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
1003 * hildon-widgets/hildon-seekbar.c
1004 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
1006 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
1008 * configure.ac: 0.12.6
1010 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
1012 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
1013 fixed typo GKD_Left -> GDK_Left, N#24042
1016 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
1022 Updated logical id to lower case: Ckct_ -> ckct_
1023 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
1024 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
1025 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
1026 (hildon_range_editor_init, hildon_range_editor_entry_validate)
1027 (hildon_range_editor_entry_validate):
1028 * hildon-widgets/hildon-time-editor.c (validated_conversion)
1029 (validated_conversion, hildon_time_editor_real_validate):
1030 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
1034 Updated logical id to lower case: Ecdg_ -> ecdg_
1035 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
1036 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
1037 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
1038 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
1039 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
1040 (hildon_wizard_dialog_create_title):
1041 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
1042 (hildon_find_toolbar_init):
1043 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
1044 (hildon_note_rebuild, hildon_note_set_button_text):
1047 Removed i18n support for property description,
1048 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
1051 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
1053 * configure.ac: 0.12.5
1055 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
1057 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
1058 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
1061 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
1063 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
1066 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
1068 Cleanup wizard dialog,
1070 * hildon-widgets/hildon-wizard-dialog.c
1071 (struct HildonWizardDialogPrivate): removed 'previous_button'
1072 and 'next_button' (obsolete)
1074 (hildon_wizard_dialog_response): new private function. Handles the
1075 'response' signal and replaces direction_button_clicked() in
1076 taking care of notebook page changes and button dimming.
1078 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
1079 added to the dialog as response buttons. This enables the usage of
1080 GtkDialog API for setting their sensitiveness.
1082 (dimming/undimming): Connected hildon_wizard_dialog_response to
1083 "resonse" signal. Removed useless title creation because it
1084 depends on the notebook which is not yet created.
1086 (hildon_wizard_dialog_set_property): minor code cleanup
1088 (hildon_wizard_dialog_create_title): removed useless else-if
1091 * hildon-widgets/hildon-wizard-dialog.h
1092 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
1095 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
1096 adding the page_change signal, as the application can now track
1097 the response signal instead.
1100 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
1102 * configure.ac: 0.12.4
1105 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
1109 moved widget descriptions to respective source file (*.c)
1113 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1115 Cleanup color button
1117 * hildon-widgets/hildon-color-button.c:
1118 - removed unused #include
1119 - removed unused gettext macro
1121 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
1122 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
1123 + value updated to match specifications
1125 (struct _HildonColorButtonPrivate):
1126 removed 'drawing_area' and 'pixbuf' members (unused)
1128 (hildon_color_button_init):
1129 use drawing_area directly, update COLOR_FILLED_ macro names
1131 (hildon_color_button_unrealize): new function.
1132 (hildon_color_button_class_init): register unrealize function
1133 (hildon_color_button_finalize): free allocated GC in unrealize
1134 handler instead of in finalize.
1136 (hildon_color_button_recolor_pixbuf): removed. (use
1137 gdk_draw_rectangle() instead)
1138 (hildon_color_button_draw_pixbuf_borders): likewise
1140 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
1142 (hildon_color_button_set_property): queue the drawing - instead of
1143 calling recolor_pixbuf
1145 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
1148 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1150 More cleanup for range editor,
1152 * hildon-widgets/hildon-range-editor.[ch]
1153 - removed useless includes
1154 (hildon_range_editor_new_with_separator): set char parameter 'const'
1156 * hildon-widgets/hildon-range-editor.c
1157 - removed useless includes
1158 - rewritten a lot of functions because code was inefficient.
1159 - removed useless g_return_if_fail calls from various functions.
1161 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
1162 (hildon_range_editor_entry_keypress): rewritten
1163 (hildon_range_editor_entry_focus_out): rewritten
1164 (hildon_range_editor_refresh_widths): New function
1165 (hildon_range_editor_set_range): Make sure that the values are in
1167 (hildon_range_editor_set_lower): rewritten.
1168 (hildon_range_editor_set_higher): rewritten.
1169 (hildon_range_editor_set_min): rewritten.
1170 (hildon_range_editor_set_max): rewritten.
1172 (hildon_range_editor_entry_validate): New validator function
1173 (hildon_range_editor_entry_changed): New signal handler for
1174 "changed" for entries, this will now validate whenever entry changes.
1176 (hildon_range_editor_entry_focus_out): Added g_assert for
1177 editor. Removed call to hildon_range_editor_apply_current_range().
1178 Added call to the new function hildon_range_editor_entry_validate()
1181 (hildon_range_editor_init): connected
1182 hildon_range_editor_entry_changed to "changed" for entries.
1185 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1187 Major cleanup for time editor
1189 * hildon-widgets/hildon-time-editor.c
1190 - removed unused #includes.
1191 - Removed useless g_return_if_fail(editor) calls
1192 (HILDON_IS_TIME_EDITOR does this check as well for us).
1194 (hildon_time_editor_add_style): removed, obsolete.
1195 (hildon_time_editor_mnemonic_activate): removed, obsolete
1196 (hildon_time_editor_get_max_values): removed, obsolete.
1198 (validated_conversion): New helper function
1200 (hildon_time_editor_entry_changed): New function, now the widget
1201 interactively validates the inputted contents (not requiring focus
1204 (ticks_to_time): rewritten, using less arithmetic operations.
1205 (hildon_time_editor_validate): rewritten
1206 (hildon_time_editor_set_ticks): rewritten
1207 (hildon_time_editor_set_duration_mode): rewritten
1208 (hildon_time_editor_entry_keypress): rewritten
1210 * hildon-widgets/hildon-time-editor.[ch]
1211 (hildon_time_editor_set_show_hours)
1212 (hildon_time_editor_get_show_hours) new functions to show/hide hours
1215 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1217 Cleanup number editor
1219 * hildon-widgets/hildon-number-editor.c:
1220 (SPACE_BORDER): removed
1222 (hildon_number_editor_size_request):
1223 (hildon_number_editor_size_allocate): updated to use hildondefines
1225 (hildon_number_editor_mnemonic_activate): function removed,
1226 mnemonic are not used
1228 (hildon_number_editor_stop_repeat_timer): new function, to avoid
1230 (hildon_number_editor_button_release):
1231 (hildon_number_editor_finalize): updated to use new function
1233 (hildon_number_editor_entry_keypress): completely rewritten
1234 (change_numbers): likewise
1235 (do_mouse_timeout): likewise
1236 (hildon_number_editor_set_range): likewise
1238 (hildon_number_editor_validate_value): new function, used for all
1240 (hildon_number_editor_focus_out):
1241 (hildon_number_editor_entry_changed): updated to use previous.
1243 (hildon_number_editor_real_set_value): new function that formats
1244 given int to field. Used by change_numbers and set_value
1246 (integer_to_string): removed, we now have one place that
1247 converts numbers and that uses buffer from stack.
1248 (hildon_number_editor_set_value): changed to use new format function.
1251 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1253 * hildon-widgets/hildon-time-picker.c:
1254 reorganized how the widgets are stored to reduce code
1255 (HildonTimePickerWidgetGroup): new struct
1256 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
1257 (hildon_time_picker_init)
1258 (hildon_time_picker_arrow_press)
1259 (hildon_time_picker_event_box_key_press)
1260 (hildon_time_picker_change_time)
1261 (hildon_time_picker_map)
1262 (hildon_time_picker_event_box_key_release): use new widget organization
1265 (hildon_time_picker_init): return value from nl_timeinfo() is
1266 valid only until it's called again, so g_strdup() the value when
1269 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
1270 (HILDON_TIME_PICKER_LABEL_X_PADDING)
1271 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
1272 (hildon_time_picker_set_time):
1273 (hildon_time_picker_get_time):
1274 (hildon_time_picker_ampm_release): used the new defines
1276 (struct _HildonTimePickerPrivate)
1277 (hildon_time_picker_init)
1278 (hildon_time_picker_event_box_key_press)
1279 (hildon_time_picker_change_time):
1280 - c12h renamed to show_ampm,
1281 - ampo_pos renamed to ampm_left.
1283 (hildon_time_picker_timeout): renamed to
1284 hildon_time_picker_key_repeat_timeout(),
1285 and renamed parameter to 'hildon_time_picker'
1287 (hildon_time_picker_event_box_press): renamed to
1288 hildon_time_picker_event_box_button_press()
1290 (hildon_time_picker_finalize): Added finalizer to make sure the
1291 key repeat timeout handler gets removed.
1293 (hildon_time_picker_arrow_press): Placed multipliers into
1294 button_multipliers[] array to avoid multiple if/then/else
1298 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1300 * hildon-libs/hildon-find-toolbar.c (hildon_find_toolbar_filter):
1301 calculates correctly which items will be visible. Fixes N#16991.
1304 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1306 * hildon-widgets/hildon-find-toolbar.c
1307 (hildon_find_toolbar_history_append): set "column" property only
1308 after model has been set.
1311 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1313 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
1314 the parameter more descriptively
1317 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1321 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
1323 * hildon-widgets/hildon-app.[ch]
1324 (hildon_zoom_level_get_type): removed G_CONST_RETURN
1326 * hildon-widgets/hildon-app.c:
1327 - removed HILDON_DISABLE_DEPRECATED flags
1328 - added g_assert'ions to internal functions
1329 - more code comments
1331 (hildon_app_button): Move the fixed define to the function itself,
1332 add simple autodetection, clean up comments.
1334 (hildon_app_key_release): Remove bogus argument to signal emission
1335 (not needed), emit the "fullscreen_state_change" directly instead
1336 of calling set_fullscreen.
1338 (hildon_app_construct_title): removed dead code
1340 (hildon_app_register_view_with_id): do not call g_slist_nth() to
1341 get the first element...
1344 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1346 * hildon-widgets/hildon-appview.c:
1347 (hildon_appview_init): indented comments properly
1348 (paint_toolbar): indented comments properly
1349 (hildon_appview_expose): indented code properly
1350 (hildon_appview_toolbar_toggle_request): removed dead code
1353 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1355 * hildon-widgets/hildon-caption.c
1356 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
1357 (hildon_caption_size_allocate): likewise.
1358 (hildon_caption_forall): likewise.
1361 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1363 Cleanup Find toolbar,
1365 * hildon-widgets/hildon-find-toolbar.[ch]
1366 (hildon_find_toolbar_new): set 'label' parameter const.
1367 (hildon_find_toolbar_new_with_model): likewise.
1369 * hildon-widgets/hildon-find-toolbar.c
1370 (struct _HildonFindToolbarPrivate):
1371 changed entry_combo_box type to GtkComboBoxEntry*
1373 (hildon_find_toolbar_get_list_model): new function, to factor
1374 member access and casting
1375 (hildon_find_toolbar_get_entry): likewise.
1376 (hildon_find_toolbar_apply_filter): removed set_column parameter
1377 since it was used by only one caller, and made the caller do it
1378 instead. Removed unnecessary casts.
1380 (hildon_find_toolbar_find_string): new function.
1381 (hildon_find_toolbar_history_append): code cleanup. use
1382 hildon_find_toolbar_find_string.
1384 (hildon_find_toolbar_get_property)
1385 (hildon_find_toolbar_get_entry)
1386 (hildon_find_toolbar_init)
1387 (hildon_find_toolbar_new)
1388 (hildon_find_toolbar_new_with_model)
1389 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
1390 and changed some of them to use the new convenience functions
1393 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
1394 instead of if-check to validate parameter.
1397 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1399 Cleanup hildon-defines,
1401 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
1402 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
1404 (hildon_logical_data_free): new function. Free logical data.
1405 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
1406 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
1408 * hildon-widgets/hildon-defines.[ch]
1409 (hildon_gtk_widget_set_logical_font): use const gchar*
1410 (hildon_gtk_widget_set_logical_color): likewise.
1412 * hildon-widgets/hildon-defines.c:
1413 (hildoniconsizes): set const
1414 (hildoninternaliconsizes): set static, renamed 'iis'
1417 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1419 Cleanup Caption widget,
1421 * hildon-libs/hildon-caption.[ch]
1422 (hildon_caption_status_get_type, hildon_caption_get_type):
1423 G_CONST_RETURN removed, G_GNUC_CONST added
1425 * hildon-widgets/hildon-caption.c
1427 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
1429 (hildon_caption_set_property): removed useless code.
1430 (hildon_caption_button_press): simplified greatly by removing the
1431 unnecessary recursion to locate the first focusable child of a
1432 container - simple gtk_widget_grab_focus achieves the same
1433 (get_first_focusable_child): removed (not used anymore)
1435 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
1437 (hildon_caption_set_focus_child): removed (not used anymore)
1438 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
1440 (hildon_caption_hierarchy_changed): type check added
1441 (hildon_caption_forall): callback null check added
1442 (hildon_caption_set_status): type check added
1443 (hildon_caption_set_icon_image): type check added
1444 (hildon_caption_activate): activate_block kludge removed as outdated
1445 (hildon_caption_get_child_expand): argument declared const
1446 (hildon_caption_set_label_text): g_return_if_fail changed to
1447 g_assert since this is not a public function;
1448 Duplicate separator check now uses correct localized separator
1449 instead of assuming ':'
1452 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1456 * hildon-libs/hildon-appview-c:
1457 (hildon_app_view_init): Fixed a problem that prevented to set an
1458 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
1459 between toolbars). This fix involves a change in the default gtkrc
1460 file, ie. the modification of the 'border' value of the
1461 "toolbar-frame-middle" image in the osso-appview-background style.
1463 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
1464 widget supporting adjustements, not only viewports.
1466 (visible_toolbar): use proper parameter names
1467 (find_findtoolbar_index): likewise.
1468 (find_findtoolbar): likewise.
1470 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
1471 (hildon_appview_finalize): likewise.
1472 (hildon_appview_signal_marshal): likewise.
1473 (hildon_appview_forall): likewise.
1474 (hildon_appview_switched_to): likewise.
1475 (hildon_appview_real_fullscreen_state_change): likewise.
1478 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1480 * hildon-widgets/hildon-date-editor.c
1481 (hildon_date_editor_entry_validate): Now, if an invalid date is
1482 entered, date-editor reverts to previous date, instead of setting
1483 the maximum allowed days.
1486 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1488 * hildon-widgets/hildon-date-editor.h
1489 (enum HildonDateEditorErrorType): added NO_ERROR entry.
1491 * hildon-widgets/hildon-date-editor.c
1492 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
1493 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
1496 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1498 * hildon-widgets/hildon-get-password-dialog.c:
1499 (hildon_get_password_dialog_set_title): Removed the deprecation
1500 #ifdefs from the .c file.
1502 * hildon-widgets/hildon-file-handling-note.c: likewise.
1506 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1508 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
1510 * hildon-widgets/hildon-color-selector.c
1511 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
1512 (hildon_color_selector_expose)
1513 (hildon_color_selector_get_color)
1514 (hildon_color_selector_set_color)
1517 (modify_focused): Separate selected color and focused color.
1518 Focused color now draws a different colored border around it.
1519 Renamed modify_selected() to modify_focused().
1521 * hildon-widgets/hildon-color-selector.c
1522 (hildon_color_selector_expose)
1523 (select_color): Changed the logic in how the box positions are
1524 calculated. The old logic was wrong, but just happened to work
1525 with those specific values.
1527 * hildon-widgets/hildon-color-selector.c
1528 (hildon_color_selector_expose): Draw the selected-border using
1529 ImageBorderColor color instead of hardcoded black.
1532 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1534 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
1535 removed current_color; use initial_color directly.
1536 Disabled select-hardkey from activating to OK-button by default.
1539 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1541 * hildon-widgets/hildon-date-editor.c
1542 (hildon_date_editor_keypress): removed the unnecessary check for
1543 the position of the cursor in the text-field which was hindering
1544 the Left key from working as expected.
1547 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1549 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
1550 after setting the toggle_button active. Prevents GLIB_CRITICALs.
1552 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1554 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
1557 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1559 * hildon-widgets/hildon-font-selection-dialog.c
1560 (hildon_font_selection_dialog_show_preview): set line wrap for
1564 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1566 * hildon-widgets/hildon-date-editor.c
1567 (hildon_child_forall): cast 'container'
1568 (hildon_date_editor_size_allocate): adjusted height allocation.
1571 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1573 Cleanup calendar popup,
1575 * hildon-widgets/hildon-calendar-popup.c:
1576 - updated 'longdesc' comment.
1577 - removed gtk-infoprint.h from included headers (unused).
1579 (struct HildonCalendarPopupPrivate): removed member
1580 'can_exit' (useless).
1581 (hildon_calendar_day_selected): removed (useless).
1582 (hildon_calendar_allow_exit): likewise.
1583 (hildon_calendar_deny_exit): likewise.
1585 (hildon_calendar_selected_date): new function. replaces
1586 hildon_calendar_allow_exit()
1588 (hildon_calendar_popup_init):
1589 - Removed initialization for 'can_exit'.
1590 - Removed connection to removed useless functions.
1591 - Connect "selected_date" to hildon_calendar_selected_date().
1592 - Do not grab the focus (useless)
1594 (hildon_key_pressed): just handle ESC and Return keys.
1596 (hildon_calendar_popup_get_property): removed unused variables.
1599 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1601 * hildon-widgets/hildon-caption.c
1602 * hildon-widgets/hildon-composite-widget.h
1603 * hildon-widgets/hildon-get-password-dialog.c
1604 * hildon-widgets/hildon-grid.h
1605 * hildon-widgets/hildon-grid-item.h
1606 * hildon-widgets/hildon-volumebar-range.c
1607 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
1609 (hildon_controlbar_get_type): likewise.
1611 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1613 * doc/hildon-libs.types: Add missing types
1614 * doc/hildon-libs-docs.sgml: Add missing links and some organization
1615 * doc/tmpl/*: Regenerate and add new files
1617 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1620 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
1622 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1624 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1625 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1627 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1631 * doc/Makefile.am: Update gtk-doc framework bits
1632 * gtk-doc.make (commit generated file)
1633 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1635 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1636 * hildon-widgets/hildon-code-dialog.c:
1640 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1642 * hildon-widgets/hildon-window.c: propagate key-press event to the
1643 parent class (Closes N#23400)
1644 * configure.ac: 0.12.3
1646 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1648 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1650 * configure.ac: 0.12.2
1653 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1655 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1656 g_assert instead of g_return_val_if_fail
1661 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1663 * hildon-widgets/hildon-get-password-dialog.[ch]:
1664 (hildon_get_password_dialog_set_title) marked deprecated.
1666 + cleanup header coding style
1669 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1671 Cleanup font selection dialog
1673 * hildon-widgets/hildon-font-selection-dialog.c
1675 (hildon_font_selection_dialog_construct_notebook): removed dummy
1678 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1680 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1681 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1683 (toggle_clicked): renamed argument 'data' to 'unused'
1685 (hildon_font_selection_dialog_set_preview_text): added proper
1689 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1691 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1692 removed console messages.
1695 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1697 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1698 (struct _HildonSortDialogPrivate):
1699 - removed okButton, cancelButton
1700 - removed sort_by_value, sort_order_type
1701 - removed index_first
1702 - renamed combo1 to combo_key
1703 - renamed caption1 to caption_key
1704 - renamed combo2 to combo_order
1705 - renamed caption2 to cpation_order
1707 (hildon_sort_dialog_init): removed init of unused fields.
1708 use new field names.
1709 (hildon_sort_dialog_get_sort_key): likewise.
1710 (hildon_sort_dialog_get_sort_order): likewise.
1711 (hildon_sort_dialog_set_sort_key): likewise.
1712 (hildon_sort_dialog_set_sort_order): likewise.
1713 (hildon_sort_dialog_add_sort_key): likewise.
1715 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1717 * hildon-widgets/hildon-date-editor.c
1718 (hildon_child_forall): use g_assert instead of g_return_if_fail
1719 (hildon_date_editor_entry_validate): likewise.
1722 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1724 * hildon-widgets/hildon-controlbar.c
1725 (hildon_controlbar_change_value): commented function.
1727 * hildon-widgets/hildon-wizard-dialog.c
1728 (hildon_wizard_dialog_get_property): likewise.
1731 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1733 Cleanup weekday picker,
1735 * hildon-widgets/hildon-weekday-picker.c
1736 (_): removed unused gettext macro
1737 (button_toggle): use meaningful parameter name
1738 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1739 (hildon_weekday_picker_size_allocate): likewise.
1740 (button_toggle): likewise.
1743 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1745 Cleanup time editor,
1747 * hildon-widgets/hildon-time-editor.c
1748 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1749 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1750 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1751 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1753 (struct _HildonTimeEditorPrivate):
1754 - h_entry, m_entry, s_entry replaced by entries[],
1755 allows to remove a lot of code.
1756 - label renamed to hm_label
1757 - label2 renamed to sec_label
1758 - ampm renamed to ampm_label
1759 - show_s renamed to show_seconds
1760 - removed fields: icon, valid_value, validated
1762 + moved up in the file.
1764 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1766 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1768 (set_widget_allocation): removed
1769 (hildon_time_editor_entry_changed): removed
1771 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1773 (hildon_time_editor_forall): removed unnecessary code
1774 (hildon_time_editor_destroy): likewise.
1776 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1778 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1780 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1781 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1782 use new variable names,
1783 use hildon_time_editor_set_to_current_time
1785 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1786 (hildon_time_editor_set_ticks): use g_assert instead of
1787 g_return_if_fails, use
1788 'entries[]', removed dead code
1790 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1791 (hildon_time_editor_validate): use 'entries[]', removed dead code
1792 (hildon_time_editor_get_max_values): use 'entries[]'
1795 (hildon_time_editor_get_show_seconds): use new variable names
1796 (hildon_time_editor_set_duration_mode): likewise.
1798 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1800 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1802 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1804 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1806 (set_widget_allocation): removed (unused)
1807 (hildon_time_editor_entry_changed): removed (unused)
1809 (IS_VALID_KEYPRESS): new macro
1810 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1811 deleate dead/unnecessary code
1813 use IS_VALID_KEYPRESS
1815 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1817 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1819 (hildon_time_editor_size_allocate): cleanup
1820 (convert_to_12h): cleanup code style
1822 (hildon_time_editor_show_seconds): removed deprecation flag
1823 (hildon_time_editor_enable_duration_mode): likewise.
1826 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1828 Cleanup volume bars,
1830 * hildon-widgets/hildon-volumebar.h: removed unused #include
1831 + coding style cleanup
1833 * hildon-widgets/hildon-volumebar.c
1834 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1836 (hildon_child_forall): use g_assert instead of g_return_if_fail
1838 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1839 + coding style cleanup
1841 * hildon-widgets/hildon-volumebar-private.h:
1842 added missing #include.
1843 added _hildon_volumebar_mute_toggled.
1844 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1848 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1849 + coding style cleanup
1851 * hildon-widgets/hildon-vvolumebar.c
1852 (hildon_vvolumebar_size_request)
1853 (hildon_vvolumebar_size_allocate)
1854 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1856 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1858 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1859 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1860 (vvolumebar_init): renamed to hildon_vvolumebar_init
1861 (hildon_vvolumebar_init): removed unused 'orientation'
1862 initialisation. Use _hildon_volumebar_mute_toggled instead of
1863 removed hildon_vvolumebar_mute.
1867 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1869 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1870 renamed to hildon_hvolumebar_class_init
1872 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1873 hildon_hvolumebar_init
1875 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1878 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1879 removed unused 'orientation' initialisation.
1881 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1882 _hildon_volumebar_mute_toggled instead of removed
1883 hildon_hvolumebar_mute.
1886 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1890 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1891 coding style cleanup
1893 * hildon-widgets/hildon-color-popup.h: likewise.
1895 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1898 * hildon-widgets/hildon-color-selector.c
1899 (hildon_color_selector_new): use g_return_val_if_fail instead of
1901 (select_color): use g_assert instead of g_return_if_fail
1903 * hildon-widgets/hildon-calendar-popup.c
1904 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1908 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1910 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1911 added HildonCodeDialog widget
1914 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1916 * hildon-widgets/hildon-window.c:
1917 - set the toolbar height explicitely
1918 - use show instead of show_all on the common_toolbar
1919 - add the toolbars bottom-up instead of top-down
1920 * hildon-widgets/hildon-program.c:
1921 - don't assume that a window was realized when added to
1925 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1927 Cleanup font selection dialog,
1929 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1930 + coding style cleanup
1932 * hildon-widgets/hildon-font-selection-dialog.c
1933 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1934 instead of g_assert.
1936 * hildon-widgets/hildon-font-selection-dialog.c
1937 (hildon_font_selection_dialog_get_text_tag)
1938 (hildon_font_selection_dialog_set_buffer)
1939 (hildon_font_selection_dialog_get_font)
1940 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1943 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1945 Cleanup range editor,
1947 * hildon-widgets/hildon-range-editor.c
1948 (hildon_range_editor_calss_init):Removed
1949 widget_calss->mnemonic_activate init
1951 * hildon-widgets/hildon-range-editor.c
1952 (hildon_range_editor_mnemonic_activate): Removed static function
1953 hildon_range_mnemonic_activate and FIXME. It is useless even
1954 through it is overriding function for
1955 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1956 focus will be realized based on different applications.
1958 * hildon-widgets/hildon-range-editor.c
1959 (is_valid_keyvalue_for_entry_keypress): new function.
1961 * hildon-widgets/hildon-range-editor.c
1962 (hildon_range_editor_entry_keypress): uses
1963 is_valid_keyvalue_for_entry_keypress
1965 * hildon-widgets/hildon-range-editor.c
1966 (hildon_range_editor_forall): use g_return_if_fail instead of
1969 * hildon-widgets/hildon-range-editor.cvn
1970 (hildon_range_editor_mnemonic_activate): removed. (unused)
1973 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1975 Cleanup hildon-note,
1977 * hildon-widgets/hildon-note.[ch]
1979 (hildon_note_five_line_truncate): removed.
1980 (hildon_note_one_line_truncate): removed.
1982 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1983 instead of _{one|five}_line_truncate() functions.
1986 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1987 into wrapper of "hildon_note_new_information_with_icon_name".
1989 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1990 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1992 - removed some unnessecary includes.
1994 - Merged hildon_note_create & hildon_note_create_form and rewrote
1995 the combination as hildon_note_rebuild
1997 - Added missing g_return_* into public functions.
1999 - Acquire real references to children which are packed/unpacked,
2000 so we do not need to bother about refcounting while changing the
2004 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
2008 * hildon-widgets/hildon-number-editor.c
2010 (set_widget_allocation): use const parameter.
2012 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
2014 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
2015 (hildon_number_editor_set_range): removed 'negative'
2018 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
2019 use g_assert instead of g_return_if_fail
2022 * hildon-widgets/hildon-time-picker.c:
2023 - in several places, replace 1440 by 24*60
2024 (PROP_AMPM): removed, unused.
2025 (hildon_time_picker_timeout): use significant parameter name,
2027 (hildon_time_picker_init): removed useless call to _change_time()
2030 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
2034 * hildon-widgets/hildon-seekbar.c
2036 (_): Removed dgettext macro definition.
2038 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
2040 (hildon_seekbar_finalize): removed. not needed.
2041 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
2043 (hildon_seekbar_size_request): indent cleanup.
2045 (hildon_seekbar_size_allocate): simplified function.
2047 (hildon_seekbar_button_press_event): Removed unused variables.
2048 (hildon_seekbar_button_release_event): likewise.
2051 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
2053 Cleanup date editor,
2055 * hildon-widgets/hildon-date-editor.c
2057 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
2058 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
2060 (hildon_date_editor_get_font_width): removed (legacy static
2061 function), use gtk_entry_set_width_chars instead.
2063 (hildon_date_editor_mnemonic_activate): removed mnemonic
2064 activation handler, since it's no more used by HildonCaption.
2067 - Removed some meaningless code (if (somewidget != NULL)) from
2070 - HEAVILY modified key_press, completely removed if/grab_focus
2071 spaghetti by gtk_widget_child_focus
2073 - Removed input validation from keypress (that would not work
2074 anyway, since our input method do not generate presses). => This
2075 allows to change default return value to FALSE and remove all cases
2076 that just returned FALSE for some keys.
2078 - Merged all *_entry_changed callbacks to use the same
2079 function. Again using gtk_widget_child_focus, but now with return
2080 value as well to detect last field.
2082 - Changed that calendar button is no more implemented through
2083 changing widget hierarchy (old implementation caused critical
2084 issues when you used both stylus and hardkeys at the same time to
2085 popup. => finalize method no longer contained anything => removed
2087 - Locale type is no longer needed after initial setup.
2089 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
2090 hack from the days of background dimming (it was important to
2091 process background updates before the dimming was done).
2093 - Changed the field order/delimeters to be correcly derived form
2096 - Rewrote validation function, combined it with validation done in
2097 focus_out (since both are now called at the same time).
2099 - Changed set_date function to set all components at one go
2100 without doing any validation there between (before setting each
2105 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
2107 Cleanup set-password dialog
2109 * hildon-widgets/hildon-set-password-dialog.[ch]
2110 (hildon_set_password_dialog_set_domain): gchar * param is const
2111 (hildon_set_password_dialog_new_with_default): likewise.
2113 * hildon-widgets/hildon-set-password-dialog.c
2115 (hildon_set_password_set_property): setting 'modify-protection'
2118 (hildon_set_password_get_property): fixed broken 'domain' (missing
2119 break statement!) and 'modify-protection' (was a null operation)
2120 properties; code simplified.
2122 (hildon_set_password_dialog_constructor),
2124 (hildon_set_password_dialog_class_init),
2125 (hildon_set_password_dialog_init):
2126 hildon_set_password_dialog_constructor removed as weird and
2127 obsolete and replaced with new function create_contents; fixed
2128 leaking group variable; removed some unused, outdated code that
2129 was already commented out.
2131 (hildon_set_password_response_change),
2132 (hildon_set_password_response_set): GtkWindow *parent arguments
2133 changed to gpointer unused; cleaned up unnecessary strcmp's
2135 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
2136 checkbox). gpointer renamed to be more descriptive; Code simplified
2138 (hildon_set_password_dialog_get_type): empty function argument
2139 list replaced with void keyword.
2141 (hildon_set_password_dialog_new),
2142 (hildon_set_password_dialow_new_with_default): simplified by
2143 having the simpler constructor call the more complex one, not vice
2144 versa; moved callback connects to create_contents since they
2145 depend on the status of 'modify-protection' property
2147 (hildon_set_password_dialog_get_password): type check added
2148 (hildon_set_password_dialog_get_protected): likewise
2149 (hildon_set_password_dialog_set_domain): likewise
2152 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
2154 Cleanup name-password dialog:
2156 * hildon-widgets/hildon-name-password-dialog.[ch]
2158 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
2159 types changed from *HildonCaption to *GtkEntry
2161 (hildon_name_password_dialog_set_property): layout fixes;
2162 duplicated code replaced with calls to relevant public functions
2164 (hildon_name_password_dialog_get_property): layout fixes;
2165 duplicated code replaced with calls to relevant public functions
2167 (hildon_name_password_dialog_init): fixed leaking group variable;
2168 reworked to have captions as local variables and captioned entries
2169 in the private struct
2171 (hildon_name_password_dialog_new_with_default): name and password
2172 arguments declared const
2174 (hildon_name_password_dialog_get_name): type check added + cleanup
2175 (hildon_name_password_dialog_get_password): likewise.
2177 (hildon_name_password_dialog_set_domain): domain argument declared
2178 const; type check added + cleanup
2181 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
2183 Cleanup get-password dialog:
2185 * hildon-widgets/hildon-get-password-dialog.[ch]
2187 (HildonGetPasswordDialogPrivate): gboolean get_old added
2189 (hildon_get_password_set_property): fixed broken 'numbers-only'
2190 and 'max-characters' cases; 'get-old' property added
2192 (hildon_get_password_get_property): added support for reading
2193 'numbers-only' properties; added missing break to 'domain' case.
2194 added 'get-old' property
2196 (hildon_get_password_dialog_class_init): 'domain' and
2197 'numbers-only' properties are now readable; 'get-old' property
2200 (hildon_get_password_dialog_init, create_contents): everything
2201 that depends on the type of the dialog (i.e. 'get-old' property)
2202 is now done in create_contents after properties are initialized;
2203 fixed leaking group variable
2205 (hildon_get_password_dialog_get_type): empty function argument
2206 list replaced with void keyword
2208 (hildon_get_password_dialog_new): moved setting the labels of the
2209 get password dialog to init where it should be done; 'get-old'
2210 property set upon construction to achieve this
2212 (hildon_get_password_dialog_new_with_default): password argument
2215 (hildon_get_password_dialog_get_password): type check added
2216 (hildon_get_password_dialog_set_domain): type check added; domain
2217 argument declared const; duplicate function declaration removed
2219 (hildon_get_password_dialog_set_title): type check added;
2220 new_title argument declared const
2222 (hildon_get_password_dialog_set_caption): type check added;
2223 new_caption argument declared const
2225 (hildon_get_password_dialog_set_max_characters): broken type check fixed
2226 (_invalid_input): gpointer data argument renamed unused
2229 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
2231 (*_get_type): declared G_GNUC_CONST
2233 * hildon-widgets/hildon-app.h:
2234 * hildon-widgets/hildon-appview.h:
2235 * hildon-widgets/hildon-calendar-popup.h:
2236 * hildon-widgets/hildon-color-selector.h:
2237 * hildon-widgets/hildon-date-editor.h:
2238 * hildon-widgets/hildon-find-toolbar.h:
2239 * hildon-widgets/hildon-get-password-dialog.h:
2240 * hildon-widgets/hildon-name-password-dialog.h:
2241 * hildon-widgets/hildon-number-editor.h:
2242 * hildon-widgets/hildon-seekbar.h:
2243 * hildon-widgets/hildon-set-password-dialog.h:
2244 * hildon-widgets/hildon-sort-dialog.h:
2245 * hildon-widgets/hildon-time-editor.h:
2246 * hildon-widgets/hildon-weekday-picker.h:
2247 * hildon-widgets/hildon-wizard-dialog.h:
2249 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
2253 * hildon-widgets/hildon-volumebar.c
2254 (hildon_volumebar_class_init): object class casts cleaned up
2255 (hildon_child_forall): removed unnecessary variable vbar; type check added
2256 (hildon_volumebar_set_property): removed unnecessary variable vbar
2257 (hildon_volumebar_set_level): type check added
2258 (hildon_volumebar_get_level): type check added
2259 (hildon_volumebar_set_mute): type check added
2260 (hildon_volumebar_get_mute): type check added
2261 (hildon_volumebar_get_adjustment): type check added
2262 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
2264 * hildon-widgets/hildon-volumebar.h
2265 (hildon_volumebar_get_type): declared G_GNUC_CONST
2267 * hildon-widgets/hildon-volumebar-private.h:
2268 - G_BEGIN_DECLS/G_END_DECLS added
2269 - ownorientation removed from private struct
2271 * hildon-widgets/hildon-volumebar-range.c
2272 (hildon_volumebar_range_init): vacuous return statement removed
2274 (hildon_volumebar_range_set_level): removed unnecessary clamping
2275 kludge that violated object oriented principles only to provide an
2276 extremely minor, unnecessary optimization; type check added
2278 (hildon_volumebar_range_get_level): now accesses adjustment value
2279 with appropriate functions instead of reading it directly from the
2280 struct, which is bad OOP; type check added
2282 (hildon_volumebar_range_button_press_event): Added more descriptive comments
2283 (hildon_volumebar_range_button_release_event): Added more descriptive comments
2285 * hildon-widgets/hildon-volumebar-range.h
2286 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
2288 * hildon-widgets/hildon-hvolumebar.c
2289 (hvolumebar_init): priv->ownorientation and v_ptr removed;
2290 completely removed the gtk_widget_show() call that was already
2293 (hildon_hvolumebar_new): empty function parameter list replaced
2296 (hildon_hvolumebar_map): vbar variable removed; type check added
2297 (hildon_hvolumebar_expose): type check added
2298 (hildon_hvolumebar_size_request): type check added
2299 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
2301 * hildon-widgets/hildon-hvolumebar.h
2302 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
2304 * hildon-widgets/hildon-vvolumebar.c
2305 (vvolumebar_init): priv->ownorientation and v_ptr removed
2306 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
2308 (hildon_vvolumebar_expose): type check added
2309 (hildon_vvolumebar_size_request): type check added
2310 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
2312 * hildon-widgets/hildon-vvolumebar.h
2313 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
2316 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
2318 * hildon-widgets/hildon-weekday-picker.c
2319 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
2320 last_index; added day_order_buttons
2322 (hildon_weekday_picker_mnemonic_activate): removed.
2323 mnemonics are no longer used.
2325 (hildon_weekday_picker_class_init): Removed mnemonic_activate
2326 function. Rewritten creation of buttons. Unref'ed size group.
2328 (button_toggle): Removed bit mask checking, simplified function
2330 (hildon_weekday_picker_set_day):
2331 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
2332 adjustment, unecessary for loop
2334 (hildon_weekday_picker_toggle_day): Removed date adjustment and
2335 unecessary for loop. Simplified button toggling
2337 (hildon_weekday_picker_set_all):
2338 (hildon_weekday_picker_unset_all): Removed bit mask checking and
2341 (hildon_weekday_picker_isset_day): Removed date adjustment and
2342 unecessary for loop;
2344 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2346 Added hildon-banner, as a clean replacement for gtk-infoprint
2347 * hildon-widgets/hildon-banner.[ch]: implementation and header
2348 * hildon-widgets/Makefile.am: reference new files
2349 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
2350 a compatibility wrapper to hildon-banner
2352 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2354 * hildon-widgets/hildon-color-button.c: added comments
2355 * hildon-widgets/hildon-controlbar.c: Likewise.
2356 * hildon-widgets/hildon-composite-widget.c: Likewise.
2357 * hildon-widgets/hildon-calendar-popup.c: Likewise.
2359 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2361 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
2364 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2366 * configure.ac: 0.12.1
2368 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
2370 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
2371 * doc/tmpl/hildon-window.sgml: likewise.
2372 * hildon-widgets/hildon-program.[ch]: likewise.
2373 * hildon-widgets/hildon-window.[ch]: likewise.
2374 * hildon-widgets/hildon-window-private.h: likewise.
2375 * hildon-widgets/Makefile.am: Added these new files to the build
2378 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
2380 * configure.ac: 0.12.0
2382 Merged hildon-lgpl into hildon-libs (and hildon-fm)
2384 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
2385 * doc/tmpl/hildon-appview.sgml: likewise.
2386 * doc/tmpl/hildon-color-popup.sgml: likewise.
2387 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
2388 * doc/tmpl/hildon-app.sgml: likewise.
2389 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
2390 * doc/tmpl/hildon-caption.sgml: likewise.
2391 * doc/tmpl/hildon-marshalers.sgml: likewise.
2392 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
2393 * doc/tmpl/hildon-defines.sgml: likewise.
2394 * doc/tmpl/gtk-infoprint.sgml: likewise.
2395 * doc/tmpl/hildon-composite-widget.sgml: likewise.
2397 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
2398 * hildon-widgets/hildon-app.[ch]:likewise.
2399 * hildon-widgets/hildon-app-private.h:likewise.
2400 * hildon-widgets/hildon-appview.[ch]:likewise.
2401 * hildon-widgets/hildon-caption.[ch]:likewise.
2402 * hildon-widgets/hildon-defines.[ch]:likewise.
2403 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
2404 * hildon-widgets/hildon-input-mode-hint.h:likewise.
2406 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
2407 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
2411 hildon-app-private.h
2415 hildon-find-toolbar.[ch]
2416 hildon-input-mode-hint.h
2418 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
2419 path for gtk-infoprint.h and hildon-input-mode-hint.h
2421 * po/en_GB.po: merged msgstr from hildon-lgpl
2423 * timer/*: added from hildon-lgpl
2427 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
2429 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
2432 * ut/hildon-widgets_tests.c (test41a): removed test case for
2433 hildon_file_details_dialog
2435 * doc/hildon-libs.types: likewise.
2436 * doc/hildon-libs-docs.xml: likewise.
2442 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
2445 * Makefile.am (SUBDIRS): added timer/
2447 * configure.ac: do not depend anymore on hildon-lgpl nor
2448 hildon-fm, check for libmb, added Makefile output for timer/
2452 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
2454 * configure.ac: 0.10.2
2456 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
2458 N#22240 CP: Tapping outside the scroll bar invoke the applet.
2459 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
2460 hildon-apps scroll-control property is now handled.
2461 (get_child_index_by_coord): ignores events not matching a grid
2464 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2466 * configure.ac: 0.10.1
2468 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2470 Missing/Buggy documentation from,
2471 N#11566 make password dialog customizable (messages)
2472 * hildon-widgets/hildon-get-password-dialog.c
2473 (hildon_get_password_dialog_set_title): typo in gtkdoc function
2475 * doc/tmpl/xxx.sgml: updated.
2477 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2479 N#19369 TRUE Scketch does not show colour change when using white color
2481 Color button needs inner border white, and outer border black.
2482 * hildon-widgets/hildon-color-button.c
2483 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
2485 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
2486 (hildon_color_button_realize): call the above function
2488 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2490 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
2491 * hildon-widgets/hildon-note.c:
2492 (hildon_note_new_confirmation_add_buttons): updated doc
2493 (hildon_note_set_button_texts): likewise.
2495 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2497 N#21884 Cannot select read-only by using the center of the scroll key
2498 * hildon-widgets/hildon-file-details-dialog.c
2499 (hildon_file_details_dialog_init): Removed dialog default response.
2501 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2503 N#8094 5-bit color selector: wrong margins and pixel measurements
2504 M#59 HildonColorSelector needs more space
2505 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
2506 (hildon_color_popup_new): add space between the control bars and
2507 the color preview area.
2509 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
2511 * hildon-widgets/hildon-calendar-popup.c
2512 * hildon-widgets/hildon-color-button.c
2513 * hildon-widgets/hildon-color-popup.c
2514 * hildon-widgets/hildon-color-selector.c
2515 * hildon-widgets/hildon-composite-widget.c
2516 * hildon-widgets/hildon-controlbar.c
2517 * hildon-widgets/hildon-date-editor.c
2518 * hildon-widgets/hildon-dialoghelp.c
2519 * hildon-widgets/hildon-file-details-dialog.c
2520 * hildon-widgets/hildon-font-selection-dialog.c
2521 * hildon-widgets/hildon-get-password-dialog.c
2522 * hildon-widgets/hildon-grid-item.c
2523 * hildon-widgets/hildon-grid.c
2524 * hildon-widgets/hildon-hvolumebar.c
2525 * hildon-widgets/hildon-name-password-dialog.c
2526 * hildon-widgets/hildon-note.c
2527 * hildon-widgets/hildon-number-editor.c
2528 * hildon-widgets/hildon-range-editor.c
2529 * hildon-widgets/hildon-scroll-area.c
2530 * hildon-widgets/hildon-seekbar.c
2531 * hildon-widgets/hildon-set-password-dialog.c
2532 * hildon-widgets/hildon-sort-dialog.c
2533 * hildon-widgets/hildon-time-editor.c
2534 * hildon-widgets/hildon-time-picker.c
2535 * hildon-widgets/hildon-volumebar-private.h
2536 * hildon-widgets/hildon-volumebar-range.c
2537 * hildon-widgets/hildon-volumebar.c
2538 * hildon-widgets/hildon-vvolumebar.c
2539 * hildon-widgets/hildon-weekday-picker.c
2540 * hildon-widgets/hildon-wizard-dialog.c
2543 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
2545 * configure.ac: 0.10.0
2547 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
2549 Some more properties for Gazpacho support,
2551 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
2552 * hildon-widgets/hildon-color-selector.c: "color"
2555 * hildon-widgets/hildon-color-selector.[ch]
2556 (hildon_color_selector_get_color): return const pointer to the
2559 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2562 Gazpacho support, added the following properties:
2564 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
2565 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
2566 * hildon-widgets/hildon-grid-item.c: "emblem-type"
2567 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
2568 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
2569 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
2570 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
2571 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
2572 * hildon-widgets/hildon-number-editor.c: "value"
2574 * hildon-widgets/hildon-color-button.c: minor cleanup
2577 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2579 Started new development
2580 (branche for maintenance continues with versions 0.9.x)
2582 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
2584 * configure.ac: 0.9.53
2586 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
2589 N#19283 Control panel - The values entered are not saved.
2590 N#19648 Hildon Date Editor widget detects values too high
2591 (note: complete fix include also fixes in GTk+)
2593 * hildon-widgets/hildon-calendar-popup.c
2594 (hildon_calendar_popup_set_property),
2595 (hildon_calendar_popup_class_init),
2596 (init_dmy): Added 'min-year', 'max-year' properties for passing
2597 the information through from HildonDateEditor to GtkCalendar
2599 * hildon-widgets/hildon-date-editor.c:
2600 (hildon_date_editor_class_init),
2601 (hildon_date_editor_init),
2602 (hildon_date_editor_set_property),
2603 (hildon_date_editor_get_property),
2605 (hildon_date_editor_entry_validate),
2606 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
2607 properties and replaced hardcoded constants with them
2609 * hildon-widgets/hildon-date-editor.c
2610 (hildon_date_editor_d_entry_changed),
2611 (hildon_date_editor_m_entry_changed),
2612 (hildon_date_editor_d_entry_changed): new functions to ensure that
2613 the fields are validated and the focus is moved when maximum
2614 number of characters has been entered.
2616 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
2618 * configure.ac: 0.9.52
2620 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
2622 N#19140 System alerts still audible despite being turned off
2624 * hildon-widgets/hildon-note.c (sound_handling):
2626 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2628 * hildon-note.c (sound_handling): Changed to use new
2629 hildon_play_system_sound.
2630 (hildon_note_init): Signal handler id is changed to be in private
2631 structure, not in global variable.
2633 * hildon-note.c: Removed unused defines etc.
2635 * Makefile.am: Appended new files to build rules.
2637 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2639 * configure.ac: 0.9.51
2641 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2643 N#20027 PDF Reader crashes on selecting read only option in the
2646 * hildon-widgets/hildon-file-details-dialog.c:
2647 (change_state): Fixed assertion that was causing problems
2648 (check_validity): New function: We now automatically close the
2649 dialog if the displayed file is removed.
2650 (handle_focus): Callback removed:
2651 (init): Now using correct gtk way to bind container and adjustment
2652 together. Not the previous callback.
2653 (set_property): Connecting/disconnecting new handlers (for
2655 (finalize): disconnecting new handler.
2657 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2659 N#17918 Volumebar widget background image doesn't change when
2660 widget goes into mute state,
2662 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2665 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2666 using the state of the internal volumebar, not the whole container
2668 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2669 using the state of the internal volumebar, not the whole container
2671 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2673 * hildon-widgets/hildon-dialoghelp.[ch]: added
2674 gtk_dialog_help_disable and fixed bug N#19468
2676 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2678 * configure.ac: Release 0.9.50
2680 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2684 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2686 * hildon-widgets/hildon-grid.c
2687 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2688 label by logical name "Ckct_wi_grid_no_items"
2691 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2693 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2695 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2697 * configure.ac: Release 0.9.49
2699 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2701 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2702 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2703 Save the id of the idle callback and remove it when the widget is
2704 destroyed to avoid crashing. N#18096
2706 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2708 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2709 id's are unsigned and undefined at zero (instead of signed and -1)
2711 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2713 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2714 that was not working. N#16805
2716 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2718 * configure.ac: Release 0.9.48
2720 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2722 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2723 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2724 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2726 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2728 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2729 Do not override the week-start property of GtkCalendar according to
2730 the hildon-libs PO file, it is automatically determined from locale
2733 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2735 * configure.ac: Release 0.9.47
2737 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2739 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2740 property for setting the password entry accept only numeric values.
2743 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2745 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2746 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2747 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2748 Use defines rather than magic numbers in the code.
2750 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2752 Update to new l10n packaging style. po-files (inside this package)
2753 are not used for now, the message catalogs come from separate packages
2754 and including them here would conflict.
2756 * Makefile.am (SUBDIRS): stop including po-files
2757 * Makefile.am (EXTRA_DIST):
2758 * debian/hildon-libs-l10n-engb.install:
2759 * debian/hildon-libs-l10n-src.install:
2760 * po/debian/*: Removed
2762 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2764 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2765 checks to cover gateway content as well.
2767 * hildon-widgets/hildon-time-editor.c:
2768 (hildon_time_editor_validate): Replace solid numbers with defined
2770 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2773 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2775 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2776 invalid cast from `GdkWindow' to `GtkWindow'
2778 * hildon-widgets/hildon-color-popup.c
2779 (hildon_popup_palette_expose): removed debug printing
2781 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2783 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2786 * hildon-widgets/hildon-scroll-area.c
2787 (hildon_scroll_area_destroy): one-instruction function:
2788 removed. Call g_free directly.
2790 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2791 right edge of window, size of the child is also shrinked. 'fixed'
2792 does not automatically update this data -> Doing it manually.
2794 * hildon-widgets/hildon-date-editor.h: added
2795 HildonDateEditorErrorType error enumeration type, removed signal
2796 "validate-date" virtual function, added signal "date-error"
2799 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2800 added custom info prints.
2801 (hildon_date_editor_validate_date): removed
2802 (hildon_date_editor_entry_validate): validate maximum and minimum
2803 limits on each field.
2804 (hildon_date_editor_entry_focus_out): check the date validation
2805 in simpler manner, don't put content if field is empty (spec
2806 doesn't say if there should be anything placed in the entry if
2808 (hildon_date_editor_get_date),
2809 (hildon_date_editor_get_month),
2810 (hildon_date_editor_get_year),
2811 (hildon_date_editor_get_day): use direct entry content, so that 0
2812 indicates empty entry, and information is more accurate.
2814 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2816 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2818 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2819 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2821 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2823 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2825 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2827 * hildon-widgets/hildon-number-editor.c:
2828 (hildon_number_editor_select_all): new function, selects all
2829 the text in the entry.
2830 * hildon-widgets/hildon-number-editor.c: added several calls to
2831 hildon_number_editor_select_all with g_idle_add.
2833 * hildon-controlbar.c : add signal when end reached
2835 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2837 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2839 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2841 Fixed incorrect values in <Filetype> Details Dialog
2843 Fixed help button usage in dialogs
2845 * hildon-dialoghelp.c: Added more documentation about the
2848 * hildon-file-details-dialog.c: Updated to match
2849 'File Management in OSSO' version 3.0
2851 * Fixed application hang after calling gtk_main_quit
2853 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2854 ESC presses needlessly
2856 * hildon-time-editor.c: Fixed memory corruption