1 2006-06-05 Luc Pionchon <luc.pionchon@nokia.com>
3 * hildon-widgets/hildon-window.c
4 (hildon_window_toggle_menu): Changed the hide condition of the
5 menu, now we are using GTK_WIDGET_MAPPED instead of
6 GTK_WIDGET_VISIBLE, because the menu can be visible but not mapped
7 in some situations, like the one described in this bug.
12 2006-06-02 Luc Pionchon <luc.pionchon@nokia.com>
14 * hildon-widgets/hildon-app.c (hildon_app_key_snooper): Add code
15 to control if there is a combobox activated when the menu key is
16 pressed and stop the menu drawing, this is a new case that happens
17 when the application is avoiding the focus can go to the combobox.
22 2006-06-02 Luc Pionchon <luc.pionchon@nokia.com>
24 * hildon-widgets/hildon-time-editor.c
25 (hildon_time_editor_validate): removed the assinment of the
26 error_widget, now just the highlight_callback can do it when it
27 finished with it. Control that if we are already managing an error
28 we don't start working in other.
30 (hildon_time_editor_inserted_text): added a control to stop insert
31 handle if we are already managing an error, we have also blocked
32 the focusout event before que grab focus to avoid another
33 validation of the field.
37 * hildon-widgets/hildon-time-editor.c
38 (highlight_callback): Removed the return in the middle of the
39 function, now that situation is imposible. It was causing the
43 2006-05-31 Luc Pionchon <luc.pionchon@nokia.com>
45 * hildon-widgets/hildon-banner.c
46 (HILDON_BANNER_LABEL_MAX_PROGRESS): increase even more 320 -> 375
47 to satisfy NB#31099. (actually info and anim banners should have
48 375 px width and only progress banners should have 265 px)
52 2006-05-30 Luc Pionchon <luc.pionchon@nokia.com>
54 * hildon-libs.pc.in (Description): updated description
56 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
58 * configure.ac: 0.12.18
60 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
62 * hildon-widgets/hildon-app.c
63 (hildon_app_key_snooper): Add code to control if there is a
64 combobox activated when the menu key is pressed and prevent the
70 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
72 * hildon-widgets/hildon-banner.c
73 (hildon_banner_set_property): Set max_width hint to -1 instead of
74 HILDON_BANNER_LABEL_MAX_TIMED when banner is timed to avoid. This
75 has been done to ensure that the size of the banner will be the
76 requisition size and avoid the size problem when reusing the
77 banner window. See NB#24339.
79 (hildon_banner_set_text): Removed useless gtk_window_resize after
80 changing the label text. The size requisition of the banner is
81 updated when the label text is modified, so there is no need to do
82 a resize of the window to the requisition size.
83 (hildon_banner_set_markup): Likewise.
85 (hildon_banner_check_position): Added cast to widget argument in
86 call to force_to_wrap_truncated in order to avoid a compilation
90 2006-05-29 Luc Pionchon <luc.pionchon@nokia.com>
92 Added time-error signal - NB#22155
94 * hildon-widgets/hildon-time-editor.c:
95 (hildon_time_editor_class_init): added time-error signal
96 (validated_conversion): added 'error_code' output parameter.
97 (hildon_time_editor_real_validate): use 'error_code' and trigger
98 'time-error' signal when apprpriate.
99 (highlight_callback): avoid revalidation
101 * hildon-widgets/hildon-time-editor.h (HildonTimeEditorErrorType):
102 new enumerative type for error types
103 (_HildonTimeEditorClass): added time_error signal
105 * hildon-widgets/Makefile.am (hildon-libs-enum-types.c): added time-editor.h
108 2006-05-23 Luc Pionchon <luc.pionchon@nokia.com>
110 * configure.ac: 0.12.17
112 2006-05-23 Luc Pionchon <luc.pionchon@nokia.com>
114 * hildon-widgets/gtk-infoprint.c
115 (gtk_confirmation_banner_with_icon_name): wooops, use _with_markup
116 variant to process markup string. NB#28370 (ter)
118 2006-05-22 Luc Pionchon <luc.pionchon@nokia.com>
120 * configure.ac: 0.12.16
122 2006-05-22 Johan Bilien <johan.bilien@nokia.com>
124 * hildon-widgets/hildon-window.c
125 (hildon_window_vbox_expose_event): This function has been
126 removed, now the window has the responsability of painting the
127 toolbar, because it has that space allocated.
128 (hildon_window_init): we do not have to connect the
129 hildon_window_vbox_expose_event function to the expose event of
130 the toolbar vbox anymore.
131 (hildon_window_expose): Added the call to paint_toolbar, as we can
132 see in the allocation function the toolbar decorators are
133 responsability of the window, and gdk was not sending the proper
134 events to the vbox because that space is not its responsability.
135 (hildon_window_remove_toolbar): We don't need a queue_draw here
136 because we have another call in the expose function when the size
137 of the container has been changed.
141 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
143 Removed hildon-insert-object-dialog NB#8015
145 * hildon-widgets/hildon-insert-object-dialog.[ch]: removed
146 * doc/tmpl/hildon-insert-object-dialog.sgml: removed
147 * ut/hildon-widgets_tests.c (test27a, test27b, test27c): removed
149 * hildon-widgets/Makefile.am (hildonwidgetsincludeinst_DATA)
150 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES)
151 * doc/hildon-libs-docs.sgml:
152 * po/POTFILES.in: : removed reference
154 * configure.ac: removed check for gnome-vfs
155 * hildon-widgets/Makefile.am: removed gnome-vfs flags
156 * doc/Makefile.am: likewise
157 * ut/Makefile.am: likewise
160 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
162 * hildon-widgets/gtk-infoprint.c
163 (gtk_confirmation_banner_with_icon_name):
164 added bold markup for backward compatibility. NB#28370 (bis)
167 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
169 * hildon-widgets/hildon-grid.c (get_child_index_by_coord): returns
170 if empty grid. NB#29883
173 2006-05-21 Luc Pionchon <luc.pionchon@nokia.com>
175 * hildon-widgets/gtk-intoprint.c (find_banner_for_parent): Added
176 check for "is-timed" property. NB#26546
179 2006-05-21 Johan Bilien <johan.bilien@nokia.com>
181 * hildon-widgets/hildon-window.c
182 (hildon_window_remove_toolbar)
183 (hildon_window_size_expose): Removed the
184 gtk_widget_queue_draw_area call from this functions, because
185 sometimes the event is not managed in the proper order.
187 (hildon_window_size_allocate): Added the
188 gtk_widget_queue_draw_area call in case the number of the toolbars
189 has changed, this way we insure an expose event for the proper
190 region will come after the change of the toolbars.
194 2006-05-21 Johan Bilien <johan.bilien@nokia.com>
196 * hildon-widgets/hildon-window.c:
197 (hildon_window_size_allocate): Now the window uses all the space
198 when its state is fullscreen, we avoid to subtract the top and
199 bottom borders if the window state is fullscreen.
203 2006-05-18 Tapani Palli <tapani.palli@nokia.com>
205 * hildon-widgets/hildon-time-editor.c: block signal handler for
206 hildon_time_editor_inserted_text, null check for entry widget in
207 highlight_callback. Fixes NB#28679
209 2006-05-16 Luc Pionchon <luc.pionchon@nokia.com>
211 * hildon-widgets/gtk-infoprint.c (gtk_confirmation_banner): added
212 bold markup for backward compatibility. NB#28370
215 2006-05-15 Luc Pionchon <luc.pionchon@nokia.com>
217 * configure.ac: 0.12.15
220 2006-05-15 Johan Bilien <johan.bilien@nokia.com>
222 * hildon-widgets/hildon-window.[ch]:
223 - Added clipboad_operation signal used by osso-browser to receive
224 clipborad operations from hildon-input-method
225 - Trigger this signal when we receive an clipboard X message
226 from HIM. related to NB#25502
228 2006-05-11 Luc Pionchon <luc.pionchon@nokia.com>
230 * hildon-widgets/hildon-caption.c
231 (hildon_caption_set_label_alignment)
232 (hildon_caption_get_label_alignment): added gtk-doc "Since" marker
234 * doc/hildon-libs-docs.sgml: added index for 0.12.0 new symbols
237 2006-05-10 Luc Pionchon <luc.pionchon@nokia.com>
239 * hildon-widgets/hildon-time-editor.c:
240 (hildon_time_editor_set_ticks) removed block signal handler for
241 hildon_time_editor_inserted_text. Added block and unblock signal
242 handler for hildon_time_editor_entry_focusout.
246 2006-05-10 Luc Pionchon <luc.pionchon@nokia.com>
248 * hildon-widgets/hildon-caption.c:
249 (hildon_caption_size_allocate): add a margin to the start position
250 of the caption_area (HILDON_CAPTION_SPACING), leaving this way the
251 space required to the left of the caption.
253 (hildon_caption_expose): allocation, subtract the left margin
254 which we have added to the children widgets when we paint the
259 3006-05-10 Tapani Palli <tapani.palli@nokia.com>
261 * hildon-widgets/hildon-time-editor.c:
262 block signal handler for hildon_time_editor_inserted_text
266 2006-05-09 Luc Pionchon <luc.pionchon@nokia.com>
268 * hildon-widgets/hildon-time-editor.c:
269 (_hildon_time_editor_get_time_separators) renamed from
270 _get_time_separator(). Refactored to return h-m and m-s
271 separators. Now it is independent of the time editor priv
272 structure and receives two labels that can be NULL.
274 (_HildonTimeEditorPrivate): removed hm_sep_symbol and ms_sep_symbol
275 members: not used anymore.
276 (hildon_time_editor_init): removed ref to above members.
277 (hildon_time_editor_finalize): likewise
279 (hildon_time_editor_check_locale): use
280 _hildon_time_editor_get_time_separators()
282 * hildon-widgets/hildon-private.h: new file. To be used to use
283 private functions from other widgets inside the library.
284 (_hildon_time_editor_get_time_separators): added.
286 * hildon-widgets/Makefile.am:
287 added hildon-private.h to the source list.
290 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
291 Use _hildon_time_editor_get_time_separators() to get the h-m
292 separator from the locale (and not from a .po file)
297 2006-05-09 Marius Vollmer <marius.vollmer@nokia.com>
299 * hildon-widgets/hildon-find-toolbar.c
300 (hildon_find_toolbar_class_init): Reverted change from 2006-04-15:
301 The "search", "close", "invalid_input", "history_append" signals
302 have always been correctly registered: you don't include the last
303 'user data' parameter in the list of argument types passed to
304 g_signal_new et al. Thanks to Jorn from OpenedHand!
308 2006-05-08 Luc Pionchon <luc.pionchon@nokia.com>
310 * configure.ac: 0.12.14
312 2006-05-04 Luc Pionchon <luc.pionchon@nokia.com>
314 gtk-doc config bits...
315 * autogen.sh: call aclocal first
316 * configure.ac: enable GTK_DOC_CHECK
317 * doc/Makefile.am: really "include". "-include" is not followed by
318 automake, as a result gtk-doc.make would not be processed.
321 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
323 N#27000 (additional fixes to patch from 2006-05-01)
325 * hildon-widgets/hildon-banner.c (force_to_wrap_truncated): do not
326 hardcode pixel scaling factor ("/1000"), use PANGO_PIXELS instead
327 which deals with rounding (and uses the right factor: 1024).
328 Thanks Michael Natterer <mitch@imendio.com>
330 Force label size also when width_text == width_max.
333 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
335 * configure.ac: 0.12.13
338 2006-05-03 Luc Pionchon <luc.pionchon@nokia.com>
340 * hildon-widgets/hildon-font-selection-dialog.c:
341 (is_internal_font): new function. Tells if a font family is internal.
342 (filter_out_internal_fonts): new function. Filters out inernal fonts.
343 (hildon_font_selection_dialog_show_available_fonts): call filter_out_internal_fonts
347 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
349 * hildon-libs/hildon-widgets/hildon-time-editor.c
350 * hildon-libs/hildon-widgets/hildon-time-picker.c
351 * hildon-libs/hildon-widgets/hildon-wizard-dialog.h
352 added comments to anonymous enums
355 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
357 Hildon banner truncations,
358 * hildon-widgets/hildon-banner.c
359 (force_to_wrap_truncated): new function. Force to wrap truncated
360 label by setting explicit size request. See N#27000 and G#329646
361 (hildon_banner_check_position): call force_to_wrap_truncated()
362 fixes N#27000, N#25305, N#26203
364 * hildon-widgets/hildon-banner.c
365 (HILDON_BANNER_LABEL_MAX_PROGRESS): increase value 265 -> 320 to
366 satisfy N#26624, N#26161, N#27875
368 * ut/tc_banner_truncate.c: new file. Test cases for banner truncations.
371 2006-05-01 Luc Pionchon <luc.pionchon@nokia.com>
373 * hildon-widgets/hildon-banner.[ch]: code cleanup.
376 2006-04-29 Johan Bilien <johan.bilien@nokia.com>
378 * hildon-widgets/hildon-window.c:
379 - removed connection to self, replaced with overridding virtual
381 - removed gtk_widget_set_event in init, legacy from HildonApp
382 - use gtk_widget_get_child_requisition() instead of
383 gtk_widget_size_request() in _allocation
384 - don't allocate space for the child if it is not visible
386 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
388 * hildon-widgets/hildon-window.c:
389 - forgot to reinitialize convenience pointers to borders after they
391 - replaced a g_return_if_fail with a g_return_val_if_fail now
392 that toggle_menu returns a g_boolean
394 2006-04-28 Johan Bilien <johan.bilien@nokia.com>
397 * hildon-widgets/hildon-window.c: Free the borders structure
398 when the window is destroyed.
400 2006-04-27 Tapani Palli <tapani.palli@nokia.com>
402 * hildon-widgets/hildon-caption.c : check if ancestor
403 (still) exists in set-focus handler, fixes N#25501
405 2006-04-27 Luc Pionchon <luc.pionchon@nokia.com>
407 * hildon-widgets/hildon-time-editor.c
408 (hildon_time_editor_check_locale): do not force lower case for
409 AM/PM symbols. Use the string as it is given by the locale. Makes
410 it coherent with hildon time picker. Fixes N#27963
413 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
415 * hildon-widgets/hildon-set-password-dialog.c
416 (c_): new macro, calls dgettext on "hildon-common-strings" domain.
417 (hildon_set_password_response_set): use c_ for common strings
418 (hildon_set_password_response_change): likewise.
421 * hildon-widgets/hildon-set-password-dialog.h: indent cleanup
424 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
426 * hildon-widgets/hildon-file-handling-note.c (gettext macro): use
427 "hildon-fm" as textual domain. Fixes N#27702
429 2006-04-26 Luc Pionchon <luc.pionchon@nokia.com>
431 * configure.ac: 0.12.12
433 * Makefile.am (clean-all): brutal target to cleanup the
434 folder. Will do this properly later.
436 2006-04-25 Luc Pionchon <luc.pionchon@nokia.com>
438 * doc/Makefile.am: use "-include" for gtk-doc.make (ignore
439 included Makefile if missing).
441 * configure.ac: temporarily disable GTK_DOC_CHECK (problem in
442 integration environement)
444 * configure.ac: print configuration summary after processing
446 2006-04-24 Marius Vollmer <marius.vollmer@nokia.com>
448 From Murray Cumming <murrayc@murrayc.com>, M#183.
450 * hildon-widgets/hildon-calendar-popup.c:
451 (hildon_calendar_popup_new): Use only g_object_new(), passing
452 it properties, so that language bindings can do the same.
453 (hildon_calendar_popup_set_date): Veryify the date here,
454 instead of only in the _new() function.
455 (hildon_calendar_popup_set_property): Use get/set_date() to
456 verify the new date and to select it.
457 (hildon_calendar_popup_get_property): Remove unused variables.
458 * ut/hildon-widgets_tests.c (test45): New.
460 * hildon-widgets/hildon-add-home-dialog.c:
461 (hildon_add_home_dialog_new): Move code into
462 hildon_add_home_dialog_init(),
463 hildon_add_home_dialog_set_old_name(), and
464 hildon_add_home_dialog_set_new_name(). Supply parameters as
465 properties values to g_object_new() instead, so that language
466 bindings can do the same.
467 (hildon_add_home_dialog_class_init): Added name and new_name
469 (hildon_add_home_dialog_init): Create always-needed widgets.
470 (hildon_add_home_dialog_get_property),
471 (hildon_add_home_dialog_set_property): Get/Set the name and
472 new_name properties, recreating widgets if necessary, using new
473 static helper function.
474 * ut/hildon-widgets_tests.c (test46): New.
476 * hildon-widgets/hildon-grid-item.c
477 (hildon_grid_item_set_property), (hildon_grid_item_get_property),
478 (hildon_grid_item_class_init): Add icon-basename property.
479 (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code
480 from here to hildon_grid_item_init(), so we can just call
482 (hildon_grid_item_set_label): Convert NULL label to empty string.
483 Bug fix: don't cast the label widget to a string and compare it
484 against the new label text, use gtk_label_get_label instead.
485 Expect priv->label to always be non-NULL.
486 (update_icon): Don't pass NULL icon name to
487 gtk_icon_theme_load_icon, use default icon instead in that case.
488 * hildon-widgets/hildon-grid-item.h: Make
489 _hildon_grid_item_set_label into public
490 hildon_grid_item_set_label(), so that language bindings can use
492 * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon.
493 (test33a2, test33b4, test33b4): Expect them to succeed now that a
494 HildonGridItem can handle NULL icons.
496 2006-04-21 Luc Pionchon <luc.pionchon@nokia.com>
498 * configure.ac: 0.12.11
501 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
503 * thread safety (N#24348), fixed timeout and idle callbacks :
504 hildon-widgets/hildon-window.c : hildon_window_escape_timeout()
505 hildon-widgets/hildon-time-picker.c : hildon_time_picker_key_repeat_timeout()
506 hildon-widgets/hildon-number-editor.c : do_mouse_timeout(),hildon_number_editor_select_all()
507 hildon-widgets/hildon-banner.c : hildon_banner_timeout()
508 hildon-widgets/hildon-app.c : hildon_app_escape_timeout()
509 hildon-widgets/hildon-time-editor.c : highlight_callback()
510 hildon-widgets/hildon-date-editor.c : _hildon_date_editor_entry_select_all()
512 2006-04-19 Tapani Palli <tapani.palli@nokia.com>
514 * hildon-widgets/hildon-app.c (hildon_app_key_release): send
515 correct state for fullscreen, fixes N#26611
517 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
520 * hildon-widgets/hildon-window.c:
521 - hildon_window_toggle_menu now returns whether or not something was
523 - hildon_window_key_press_event(): when handling the menu hard key,
524 return TRUE if we actually handled it
525 * hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
526 now returns if something was done
527 * hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
528 if we actually handled the menu hard key.
530 2006-04-19 Johan Bilien <johan.bilien@nokia.com>
532 * hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
535 2006-04-19 Luc Pionchon <luc.pionchon@nokia.com>
537 * configure.ac: 0.12.10
540 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
542 * doc/hildon-libs-docs.sgml: added index for new symbols.
545 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
547 * doc/Makefile.am (version.xml): generates version.xml
548 * doc/hildon-libs-docs.sgml: added &version; entity, and display
549 the version number in the doc title.
552 2006-04-17 Luc Pionchon <luc.pionchon@nokia.com>
554 Minor changes for gtk-doc
556 * hildon-weekday-picker.h
557 * hildon-name-password-dialog.c
558 * hildon-calendar-popup.h
559 * hildon-range-editor.h
560 * hildon-volumebar-range.h
563 * hildon-time-editor.c
565 * hildon-date-editor.h
568 2006-04-16 Luc Pionchon <luc.pionchon@nokia.com>
570 * hildon-widgets/hildon-time-editor.c
571 (hildon_time_editor_set_show_hours)
572 (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'
575 2006-04-15 Luc Pionchon <luc.pionchon@nokia.com>
578 * hildon-widgets/hildon-time-editor.c
579 (hildon_time_editor_entry_keypress): use
580 hildon_gtk_button_set_depressed, provided by osso-GTK, since
581 2.6.10-1.osso4, instead of GTK private symbol
582 _gtk_button_set_depressed
585 2006-04-15 Marius Vollmer <marius.vollmer@nokia.com>
587 From Murray Cummings (M#185 M#283), with slight changes:
589 * configure.ac: Add a --rebuilds option, defaulting to yes, so we
590 can disable the regeneration of hildon-libs-enum-types.[h|c], also
591 based on the gnome-vfs build.
593 * hildon-widgets/Makefile.am: Use glib-mkenums to generate
594 hildon-libs-enum-types.[h|c], and build them, based on the
595 gnome-vfs build. This adds GTypes for the enums, needed for
596 accurate signal registration, needed by bindings.
598 * hildon-widgets/hildon-number-editor.h: Rename the error_handler
599 default signal handler to range_error, so it has the same name as
600 the signal, as expected by bindings.
602 * hildon-widgets/hildon-marshalers.list: Change to the now-used
605 * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
606 since hildon_note_type_get_type is defined manually and
607 glib-mkenums should ignore this enum.
609 * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
610 * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.
612 Correct the signal registration for:
614 * hildon-widgets/hildon-app.c
615 (hildon_app_class_init):
621 * hildon-widgets/hildon-date-editor.c
622 (hildon_date_editor_class_init):
625 * hildon-widgets/hildon-find-toolbar.c
626 (hildon_find_toolbar_class_init):
630 "history_append signals"
632 * hildon-widgets/hildon-grid.c
633 (hildon_grid_class_init):
636 * hildon-widgets/hildon-number-editor.c
637 (hildon_number_editor_class_init):
641 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
643 M#90 - Use standard GLib macro names.
644 Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>
646 Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
647 * hildon-widgets/hildon-calendar-popup.h:
648 * hildon-widgets/hildon-date-editor.h:
649 * hildon-widgets/hildon-range-editor.h:
650 * hildon-widgets/hildon-weekday-picker.h:
651 * hildon-widgets/hildon-volumebar-range.h:
654 * hildon-widgets/hildon-calendar-popup.c:
655 * hildon-widgets/hildon-date-editor.c:
656 * hildon-widgets/hildon-range-editor.c:
657 * hildon-widgets/hildon-volumebar-range.c:
658 * hildon-widgets/hildon-weekday-picker.c:
661 2006-04-13 Johan Bilien <johan.bilien@nokia.com>
663 * hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
664 for Ok and Cancel buttons.
666 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
668 * configure.ac: 0.12.9
670 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
672 * hildon-widgets/hildon-color-button.c
673 (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT):
677 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
679 * hildon-widgets/hildon-time-editor.c
680 (convert_to_12h): removed m and s paramters (useless)
681 (convert_to_24h): likewise.
684 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
686 Automatic focus movement for HildonTimeEditor (IMP-13)
688 * hildon-widgets/hildon-time-editor.c
689 (hildon_time_editor_init): connect after signal "insert_text"
690 (hildon_time_editor_inserted_text): new function.
691 On inserted text, if entry has two digits, jumps to the next field.
694 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
696 Pops up the color selector on 'select' hardkey (IMP-15)
698 * hildon-widgets/hildon-color-button.c
699 (hildon_color_button_init): connect "key-release-event"
700 (hildon_color_button_key_released): new function.
701 Pops up the color selector on 'select' hardkey release
704 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
706 Hildon grid, set items to be focus-and-activate instead of single
707 tap activation (IMP-14)
709 * hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
710 * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.
713 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
715 Fetch hours/minutes/seconds separators from current locale (IMP-8)
718 * hildon-widgets/hildon-time-editor.c
719 (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
720 (hildon_time_editor_init): do not get separator labels from i18n, but from locale
721 (hildon_time_editor_finalize): free separator symbols
722 (get_time_separators): new function. Get time separators from locale.
723 (hildon_time_editor_check_locale): call get_time_separators.
725 2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
727 Removed icon for mandatory fields (IMP-3).
728 Note: the logic and API to specify mandatory fields is preserved.
730 * hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
731 (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
732 (hildon_caption_set_property): case PROP_STATUS, removed related code.
733 (hildon_caption_set_label_alignment): removed related code.
736 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
738 * configure.ac: 0.12.8
740 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
742 * hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
745 2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
747 - Added support for Pango markup
748 Added hildon_banner_show_information_with_markup
749 - Removed hildon_banner_show_confirmation
750 - Re-position the banner when its content changes
751 - Banner now doesn't truncate strings nor insert linebreaks
752 - fixes N#24339 - Information banners do not resize
754 * hildon-widgets/hildon-banner.[ch]
755 (hildon_banner_show_information_with_markup): new function. Adds
756 pango markup support for information banners.
758 (hildon_banner_show_confirmation): removed. 'confirmation' was
759 used only for the taask navigator (at most). It should use
760 _show_information_with_markup with appropriate markup.
762 (hildon_banner_set_markup): new function.
764 (hildon_banner_check_position): new function. Factor code from
765 hildon_banner_realize(), and update position calculation.
767 (struct _HildonBannerPrivate): removed max_lines.
768 Uses as much lines as needed.
770 (hildon_banner_init): set banner label to wrap lines.
772 (hildon_banner_set_text): do not truncate. Update banner's position.
774 (hildon_banner_set_markup): new function.
775 Set banner's text with Pango markup.
777 (_hildon_gtk_label_set_text_n_lines): marked as deprecated.
780 * hildon-widgets/gtk-infoprint.c
781 (gtk_confirmation_banner): use hildon_banner_show_information
782 instead of _show_confirmation.
783 (gtk_confirmation_banner_with_icon_name): likewise.
786 2006-04-07 Luc Pionchon <luc.pionchon@nokia.com>
788 * hildon-widgets/hildon-color-button.c
789 (hildon_color_field_expose_event): correct parameter order.
792 2006-04-07 Johan Bilien <johan.bilien@nokia.com>
794 * hildon-widgets/hildon-window.c:
795 - Fixed a potential infinite loop when detaching the menus
796 from the window widget (Closes N#26033)
798 2006-04-06 Johan Bilien <johan.bilien@nokia.com>
800 * hildon-widgets/hildon-window.c:
801 - Fixed a bug that made window fullscreen state tracking fail
802 - Apply correct theming to menus so that they get placed
803 correctly (Fixes N#24325)
804 - Redraw the window borders if the size of the toolbar vbox changes
805 - Reset the program to NULL in hildon_window_destroy
806 - Stop the ESC key-press timeout when the window loses the focus
808 * hildon-widgets/hildon-program.c:
809 - Reset the common toolbar to NULL when the program is finalised
811 2006-04-04 Marius Vollmer <marius.vollmer@nokia.com>
813 * hildon-widgets/hildon-get-password-dialog.h,
814 hildon-widgets/hildon-get-password-dialog.c
815 (hildon_get_password_dialog_new,
816 hildon_get_password_dialog_new_with_default): Renamed
817 get_old_password_title parameter to "get_old" to correspond with
818 the property name. This helps the C++ bindings.
819 * ut/hildon-widgets_tests.c (test43, test44): New.
821 2006-04-03 Marius Vollmer <marius.vollmer@nokia.com>
823 * ut/hildon-widgets_tests.c: Disabled unimplemented testcases:
824 test20a, test20b, test20c, test20d, test36a, test36b, test36c,
829 * hildon-libs/hildon-caption.c:
830 (hildon_caption_init): Do the hildon_caption_set_child_expand()
832 (hildon_caption_new): Use the child property from GtkContainer
833 instead of calling gtk_container_add(), because _new() functions
834 should just use g_object_new(), so that language-bindings can do
837 * ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.
839 2006-03-30 Luc Pionchon <luc.pionchon@nokia.com>
841 * configure.ac: 0.12.7
843 2006-03-29 Luc Pionchon <luc.pionchon@nokia.com>
846 * hildon-widgets/hildon-font-selection-dialog.c
847 (REFERENCE_LINE): removed
848 (hildon_font_selection_dialog_show_preview): added l10n support
849 for the reference string (use to differentiate sub/super script in
851 (hildon_font_selection_dialog_show_preview): likewise
854 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
856 * po/en_GB.po: update
858 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
860 * hildon-widgets/hildon-add-home-dialog.c
861 (hildon_add_home_dialog_init): removed i18n support (deprecated
862 widget. Hinder logical ID processing)
863 (hildon_add_home_dialog_new): likewise.
865 * hildon-widgets/hildon-insert-object-dialog.c
866 (hildon_insert_object_dialog_init): likewise.
869 2006-03-28 Luc Pionchon <luc.pionchon@nokia.com>
871 * hildon-widgets/hildon-font-selection-dialog.c
872 (hildon_font_selection_dialog_construct_notebook): logical ID typo
875 2006-03-27 Johan Bilien <johan.bilien@nokia.com>
877 * hildon-widgets/hildon-window.[ch]:
878 - update the title when the window is realized
879 - added support for long press on the ESC key. Fixes N#24620
881 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
883 * hildon-widgets/hildon-time-editor.h: indent, improve readability.
885 2006-03-26 Luc Pionchon <luc.pionchon@nokia.com>
887 * hildon-widgets/hildon-seekbar.c
888 (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'
890 2006-03-24 Luc Pionchon <luc.pionchon@nokia.com>
892 * configure.ac: 0.12.6
894 2006-03-23 Luc Pionchon <luc.pionchon@nokia.com>
896 * hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT):
897 fixed typo GKD_Left -> GDK_Left, N#24042
900 2006-03-22 Luc Pionchon <luc.pionchon@nokia.com>
906 Updated logical id to lower case: Ckct_ -> ckct_
907 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
908 * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
909 * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
910 (hildon_range_editor_init, hildon_range_editor_entry_validate)
911 (hildon_range_editor_entry_validate):
912 * hildon-widgets/hildon-time-editor.c (validated_conversion)
913 (validated_conversion, hildon_time_editor_real_validate):
914 * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
918 Updated logical id to lower case: Ecdg_ -> ecdg_
919 * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
920 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
921 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
922 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
923 * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
924 (hildon_wizard_dialog_create_title):
925 * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
926 (hildon_find_toolbar_init):
927 * hildon-widgets/hildon-note.c (hildon_note_rebuild)
928 (hildon_note_rebuild, hildon_note_set_button_text):
931 Removed i18n support for property description,
932 * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):
935 2006-03-21 Luc Pionchon <luc.pionchon@nokia.com>
937 * configure.ac: 0.12.5
939 2006-03-21 Tommi Komulainen <tommi.komulainen@nokia.com>
941 * doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
942 * hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
945 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
947 * hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
950 2006-03-20 Johan Bilien <johan.bilien@nokia.com>
952 Cleanup wizard dialog,
954 * hildon-widgets/hildon-wizard-dialog.c
955 (struct HildonWizardDialogPrivate): removed 'previous_button'
956 and 'next_button' (obsolete)
958 (hildon_wizard_dialog_response): new private function. Handles the
959 'response' signal and replaces direction_button_clicked() in
960 taking care of notebook page changes and button dimming.
962 (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now
963 added to the dialog as response buttons. This enables the usage of
964 GtkDialog API for setting their sensitiveness.
966 (dimming/undimming): Connected hildon_wizard_dialog_response to
967 "resonse" signal. Removed useless title creation because it
968 depends on the notebook which is not yet created.
970 (hildon_wizard_dialog_set_property): minor code cleanup
972 (hildon_wizard_dialog_create_title): removed useless else-if
975 * hildon-widgets/hildon-wizard-dialog.h
976 (hildon_wizard_dialog_get_type): added G_GNUC_CONST
979 * hildon-widgets/hildon-wizard-dialog.[ch]: Reverted the patch
980 adding the page_change signal, as the application can now track
981 the response signal instead.
984 2006-03-17 Luc Pionchon <luc.pionchon@nokia.com>
986 * configure.ac: 0.12.4
989 2006-03-16 Luc Pionchon <luc.pionchon@nokia.com>
993 moved widget descriptions to respective source file (*.c)
997 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1001 * hildon-widgets/hildon-color-button.c:
1002 - removed unused #include
1003 - removed unused gettext macro
1005 (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
1006 (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
1007 + value updated to match specifications
1009 (struct _HildonColorButtonPrivate):
1010 removed 'drawing_area' and 'pixbuf' members (unused)
1012 (hildon_color_button_init):
1013 use drawing_area directly, update COLOR_FILLED_ macro names
1015 (hildon_color_button_unrealize): new function.
1016 (hildon_color_button_class_init): register unrealize function
1017 (hildon_color_button_finalize): free allocated GC in unrealize
1018 handler instead of in finalize.
1020 (hildon_color_button_recolor_pixbuf): removed. (use
1021 gdk_draw_rectangle() instead)
1022 (hildon_color_button_draw_pixbuf_borders): likewise
1024 (hildon_color_field_expose_event): use gdk_draw_rectangle() to
1026 (hildon_color_button_set_property): queue the drawing - instead of
1027 calling recolor_pixbuf
1029 (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'
1032 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1034 More cleanup for range editor,
1036 * hildon-widgets/hildon-range-editor.[ch]
1037 - removed useless includes
1038 (hildon_range_editor_new_with_separator): set char parameter 'const'
1040 * hildon-widgets/hildon-range-editor.c
1041 - removed useless includes
1042 - rewritten a lot of functions because code was inefficient.
1043 - removed useless g_return_if_fail calls from various functions.
1045 (hildon_range_editor_init): Romoved unneeded casts, added composite names.
1046 (hildon_range_editor_entry_keypress): rewritten
1047 (hildon_range_editor_entry_focus_out): rewritten
1048 (hildon_range_editor_refresh_widths): New function
1049 (hildon_range_editor_set_range): Make sure that the values are in
1051 (hildon_range_editor_set_lower): rewritten.
1052 (hildon_range_editor_set_higher): rewritten.
1053 (hildon_range_editor_set_min): rewritten.
1054 (hildon_range_editor_set_max): rewritten.
1056 (hildon_range_editor_entry_validate): New validator function
1057 (hildon_range_editor_entry_changed): New signal handler for
1058 "changed" for entries, this will now validate whenever entry changes.
1060 (hildon_range_editor_entry_focus_out): Added g_assert for
1061 editor. Removed call to hildon_range_editor_apply_current_range().
1062 Added call to the new function hildon_range_editor_entry_validate()
1065 (hildon_range_editor_init): connected
1066 hildon_range_editor_entry_changed to "changed" for entries.
1069 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1071 Major cleanup for time editor
1073 * hildon-widgets/hildon-time-editor.c
1074 - removed unused #includes.
1075 - Removed useless g_return_if_fail(editor) calls
1076 (HILDON_IS_TIME_EDITOR does this check as well for us).
1078 (hildon_time_editor_add_style): removed, obsolete.
1079 (hildon_time_editor_mnemonic_activate): removed, obsolete
1080 (hildon_time_editor_get_max_values): removed, obsolete.
1082 (validated_conversion): New helper function
1084 (hildon_time_editor_entry_changed): New function, now the widget
1085 interactively validates the inputted contents (not requiring focus
1088 (ticks_to_time): rewritten, using less arithmetic operations.
1089 (hildon_time_editor_validate): rewritten
1090 (hildon_time_editor_set_ticks): rewritten
1091 (hildon_time_editor_set_duration_mode): rewritten
1092 (hildon_time_editor_entry_keypress): rewritten
1094 * hildon-widgets/hildon-time-editor.[ch]
1095 (hildon_time_editor_set_show_hours)
1096 (hildon_time_editor_get_show_hours) new functions to show/hide hours
1099 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1101 Cleanup number editor
1103 * hildon-widgets/hildon-number-editor.c:
1104 (SPACE_BORDER): removed
1106 (hildon_number_editor_size_request):
1107 (hildon_number_editor_size_allocate): updated to use hildondefines
1109 (hildon_number_editor_mnemonic_activate): function removed,
1110 mnemonic are not used
1112 (hildon_number_editor_stop_repeat_timer): new function, to avoid
1114 (hildon_number_editor_button_release):
1115 (hildon_number_editor_finalize): updated to use new function
1117 (hildon_number_editor_entry_keypress): completely rewritten
1118 (change_numbers): likewise
1119 (do_mouse_timeout): likewise
1120 (hildon_number_editor_set_range): likewise
1122 (hildon_number_editor_validate_value): new function, used for all
1124 (hildon_number_editor_focus_out):
1125 (hildon_number_editor_entry_changed): updated to use previous.
1127 (hildon_number_editor_real_set_value): new function that formats
1128 given int to field. Used by change_numbers and set_value
1130 (integer_to_string): removed, we now have one place that
1131 converts numbers and that uses buffer from stack.
1132 (hildon_number_editor_set_value): changed to use new format function.
1135 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1137 * hildon-widgets/hildon-time-picker.c:
1138 reorganized how the widgets are stored to reduce code
1139 (HildonTimePickerWidgetGroup): new struct
1140 (struct _HildonTimePickerPrivate): added member 'widgets' as an array of HildonTimePickerWidgetGroup
1141 (hildon_time_picker_init)
1142 (hildon_time_picker_arrow_press)
1143 (hildon_time_picker_event_box_key_press)
1144 (hildon_time_picker_change_time)
1145 (hildon_time_picker_map)
1146 (hildon_time_picker_event_box_key_release): use new widget organization
1149 (hildon_time_picker_init): return value from nl_timeinfo() is
1150 valid only until it's called again, so g_strdup() the value when
1153 (MINS_IN_1H, MINS_IN_24H, MINS_IN_12H): defines hardcoded values
1154 (HILDON_TIME_PICKER_LABEL_X_PADDING)
1155 (HILDON_TIME_PICKER_LABEL_Y_PADDING): defines hardcoded values
1156 (hildon_time_picker_set_time):
1157 (hildon_time_picker_get_time):
1158 (hildon_time_picker_ampm_release): used the new defines
1160 (struct _HildonTimePickerPrivate)
1161 (hildon_time_picker_init)
1162 (hildon_time_picker_event_box_key_press)
1163 (hildon_time_picker_change_time):
1164 - c12h renamed to show_ampm,
1165 - ampo_pos renamed to ampm_left.
1167 (hildon_time_picker_timeout): renamed to
1168 hildon_time_picker_key_repeat_timeout(),
1169 and renamed parameter to 'hildon_time_picker'
1171 (hildon_time_picker_event_box_press): renamed to
1172 hildon_time_picker_event_box_button_press()
1174 (hildon_time_picker_finalize): Added finalizer to make sure the
1175 key repeat timeout handler gets removed.
1177 (hildon_time_picker_arrow_press): Placed multipliers into
1178 button_multipliers[] array to avoid multiple if/then/else
1182 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1184 * hildon-libs/hildon-find-toolbar.c (hildon_find_toolbar_filter):
1185 calculates correctly which items will be visible. Fixes N#16991.
1188 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1190 * hildon-widgets/hildon-find-toolbar.c
1191 (hildon_find_toolbar_history_append): set "column" property only
1192 after model has been set.
1195 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1197 * hildon-widgets/hildon-app.c (hildon_app_escape_timeout): rename
1198 the parameter more descriptively
1201 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1205 * hildon-widgets/hildon-app-private.h: use G_*_DECLS
1207 * hildon-widgets/hildon-app.[ch]
1208 (hildon_zoom_level_get_type): removed G_CONST_RETURN
1210 * hildon-widgets/hildon-app.c:
1211 - removed HILDON_DISABLE_DEPRECATED flags
1212 - added g_assert'ions to internal functions
1213 - more code comments
1215 (hildon_app_button): Move the fixed define to the function itself,
1216 add simple autodetection, clean up comments.
1218 (hildon_app_key_release): Remove bogus argument to signal emission
1219 (not needed), emit the "fullscreen_state_change" directly instead
1220 of calling set_fullscreen.
1222 (hildon_app_construct_title): removed dead code
1224 (hildon_app_register_view_with_id): do not call g_slist_nth() to
1225 get the first element...
1228 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1230 * hildon-widgets/hildon-appview.c:
1231 (hildon_appview_init): indented comments properly
1232 (paint_toolbar): indented comments properly
1233 (hildon_appview_expose): indented code properly
1234 (hildon_appview_toolbar_toggle_request): removed dead code
1237 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1239 * hildon-widgets/hildon-caption.c
1240 (hildon_caption_expose): use g_assert instead of g_return_val_if_fail
1241 (hildon_caption_size_allocate): likewise.
1242 (hildon_caption_forall): likewise.
1245 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1247 Cleanup Find toolbar,
1249 * hildon-widgets/hildon-find-toolbar.[ch]
1250 (hildon_find_toolbar_new): set 'label' parameter const.
1251 (hildon_find_toolbar_new_with_model): likewise.
1253 * hildon-widgets/hildon-find-toolbar.c
1254 (struct _HildonFindToolbarPrivate):
1255 changed entry_combo_box type to GtkComboBoxEntry*
1257 (hildon_find_toolbar_get_list_model): new function, to factor
1258 member access and casting
1259 (hildon_find_toolbar_get_entry): likewise.
1260 (hildon_find_toolbar_apply_filter): removed set_column parameter
1261 since it was used by only one caller, and made the caller do it
1262 instead. Removed unnecessary casts.
1264 (hildon_find_toolbar_find_string): new function.
1265 (hildon_find_toolbar_history_append): code cleanup. use
1266 hildon_find_toolbar_find_string.
1268 (hildon_find_toolbar_get_property)
1269 (hildon_find_toolbar_get_entry)
1270 (hildon_find_toolbar_init)
1271 (hildon_find_toolbar_new)
1272 (hildon_find_toolbar_new_with_model)
1273 (hildon_find_toolbar_highlight_entry): Removed unnecessary casts
1274 and changed some of them to use the new convenience functions
1277 (hildon_find_toolbar_highlight_entry): use g_return_if_fail()
1278 instead of if-check to validate parameter.
1281 2006-03-15 Luc Pionchon <luc.pionchon@nokia.com>
1283 Cleanup hildon-defines,
1285 * hildon-widgets/hildon-defines.c (hildon_icon_sizes_init)
1286 (hildon_change_style_recursive_from_ld): use G_GNUC_EXTENSION macro instead of #ifdef
1288 (hildon_logical_data_free): new function. Free logical data.
1289 (hildon_gtk_widget_set_logical_font): store logicalfontstring g_strdup()ed.
1290 (hildon_gtk_widget_set_logical_color): store logicalcolorstring g_strdup()ed.
1292 * hildon-widgets/hildon-defines.[ch]
1293 (hildon_gtk_widget_set_logical_font): use const gchar*
1294 (hildon_gtk_widget_set_logical_color): likewise.
1296 * hildon-widgets/hildon-defines.c:
1297 (hildoniconsizes): set const
1298 (hildoninternaliconsizes): set static, renamed 'iis'
1301 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1303 Cleanup Caption widget,
1305 * hildon-libs/hildon-caption.[ch]
1306 (hildon_caption_status_get_type, hildon_caption_get_type):
1307 G_CONST_RETURN removed, G_GNUC_CONST added
1309 * hildon-widgets/hildon-caption.c
1311 (struct _HildonCaptionPrivate): removed 'activate_block' member; not used anymore.
1313 (hildon_caption_set_property): removed useless code.
1314 (hildon_caption_button_press): simplified greatly by removing the
1315 unnecessary recursion to locate the first focusable child of a
1316 container - simple gtk_widget_grab_focus achieves the same
1317 (get_first_focusable_child): removed (not used anymore)
1319 (hildon_caption_set_focus): uses gtk_widget_is_ancestor instead of reinventing it
1321 (hildon_caption_set_focus_child): removed (not used anymore)
1322 (hildon_caption_class_init): remove ref to hildon_caption_set_focus_child()
1324 (hildon_caption_hierarchy_changed): type check added
1325 (hildon_caption_forall): callback null check added
1326 (hildon_caption_set_status): type check added
1327 (hildon_caption_set_icon_image): type check added
1328 (hildon_caption_activate): activate_block kludge removed as outdated
1329 (hildon_caption_get_child_expand): argument declared const
1330 (hildon_caption_set_label_text): g_return_if_fail changed to
1331 g_assert since this is not a public function;
1332 Duplicate separator check now uses correct localized separator
1333 instead of assuming ':'
1336 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1340 * hildon-libs/hildon-appview-c:
1341 (hildon_app_view_init): Fixed a problem that prevented to set an
1342 arbitrary value for TOOLBAR_MIDDLE (the distance, in pixel,
1343 between toolbars). This fix involves a change in the default gtkrc
1344 file, ie. the modification of the 'border' value of the
1345 "toolbar-frame-middle" image in the osso-appview-background style.
1347 (hildon_appview_add_with_scrollbar): pack in a scrolled window all
1348 widget supporting adjustements, not only viewports.
1350 (visible_toolbar): use proper parameter names
1351 (find_findtoolbar_index): likewise.
1352 (find_findtoolbar): likewise.
1354 (find_findtoolbar): use g_assert for internal functions instead of g_return_if_fail
1355 (hildon_appview_finalize): likewise.
1356 (hildon_appview_signal_marshal): likewise.
1357 (hildon_appview_forall): likewise.
1358 (hildon_appview_switched_to): likewise.
1359 (hildon_appview_real_fullscreen_state_change): likewise.
1362 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1364 * hildon-widgets/hildon-date-editor.c
1365 (hildon_date_editor_entry_validate): Now, if an invalid date is
1366 entered, date-editor reverts to previous date, instead of setting
1367 the maximum allowed days.
1370 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1372 * hildon-widgets/hildon-date-editor.h
1373 (enum HildonDateEditorErrorType): added NO_ERROR entry.
1375 * hildon-widgets/hildon-date-editor.c
1376 (hildon_date_editor_entry_validate): initialize error_code to NO_ERROR.
1377 (hildon_date_editor_entry_validate): check error_code against NO_ERROR
1380 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1382 * hildon-widgets/hildon-get-password-dialog.c:
1383 (hildon_get_password_dialog_set_title): Removed the deprecation
1384 #ifdefs from the .c file.
1386 * hildon-widgets/hildon-file-handling-note.c: likewise.
1390 2006-03-14 Luc Pionchon <luc.pionchon@nokia.com>
1392 * hildon-widgets/hildon-color-selector.c: Removed unused defines.
1394 * hildon-widgets/hildon-color-selector.c
1395 (struct _HildonColorSelectorPriv): split 'index' into 'selected_index' and 'focus_index'
1396 (hildon_color_selector_expose)
1397 (hildon_color_selector_get_color)
1398 (hildon_color_selector_set_color)
1401 (modify_focused): Separate selected color and focused color.
1402 Focused color now draws a different colored border around it.
1403 Renamed modify_selected() to modify_focused().
1405 * hildon-widgets/hildon-color-selector.c
1406 (hildon_color_selector_expose)
1407 (select_color): Changed the logic in how the box positions are
1408 calculated. The old logic was wrong, but just happened to work
1409 with those specific values.
1411 * hildon-widgets/hildon-color-selector.c
1412 (hildon_color_selector_expose): Draw the selected-border using
1413 ImageBorderColor color instead of hardcoded black.
1416 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1418 * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new):
1419 removed current_color; use initial_color directly.
1420 Disabled select-hardkey from activating to OK-button by default.
1423 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1425 * hildon-widgets/hildon-date-editor.c
1426 (hildon_date_editor_keypress): removed the unnecessary check for
1427 the position of the cursor in the text-field which was hindering
1428 the Left key from working as expected.
1431 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1433 * hildon-widgets/hildon-date-editor.c: connect 'toggled' signal
1434 after setting the toggle_button active. Prevents GLIB_CRITICALs.
1436 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1438 * hildon-widgets/hildon-dialoghelp.c: minor cleanups
1441 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1443 * hildon-widgets/hildon-font-selection-dialog.c
1444 (hildon_font_selection_dialog_show_preview): set line wrap for
1448 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1450 * hildon-widgets/hildon-date-editor.c
1451 (hildon_child_forall): cast 'container'
1452 (hildon_date_editor_size_allocate): adjusted height allocation.
1455 2006-03-13 Luc Pionchon <luc.pionchon@nokia.com>
1457 Cleanup calendar popup,
1459 * hildon-widgets/hildon-calendar-popup.c:
1460 - updated 'longdesc' comment.
1461 - removed gtk-infoprint.h from included headers (unused).
1463 (struct HildonCalendarPopupPrivate): removed member
1464 'can_exit' (useless).
1465 (hildon_calendar_day_selected): removed (useless).
1466 (hildon_calendar_allow_exit): likewise.
1467 (hildon_calendar_deny_exit): likewise.
1469 (hildon_calendar_selected_date): new function. replaces
1470 hildon_calendar_allow_exit()
1472 (hildon_calendar_popup_init):
1473 - Removed initialization for 'can_exit'.
1474 - Removed connection to removed useless functions.
1475 - Connect "selected_date" to hildon_calendar_selected_date().
1476 - Do not grab the focus (useless)
1478 (hildon_key_pressed): just handle ESC and Return keys.
1480 (hildon_calendar_popup_get_property): removed unused variables.
1483 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1485 * hildon-widgets/hildon-caption.c
1486 * hildon-widgets/hildon-composite-widget.h
1487 * hildon-widgets/hildon-get-password-dialog.c
1488 * hildon-widgets/hildon-grid.h
1489 * hildon-widgets/hildon-grid-item.h
1490 * hildon-widgets/hildon-volumebar-range.c
1491 * hildon-widgets/hildon-vvolumebar.c: Fix erroneous gtk-doc comment
1493 (hildon_controlbar_get_type): likewise.
1495 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1497 * doc/hildon-libs.types: Add missing types
1498 * doc/hildon-libs-docs.sgml: Add missing links and some organization
1499 * doc/tmpl/*: Regenerate and add new files
1501 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1504 * doc/hildon-libs-docs.xml: rename to hildon-libs-docs.sgml
1506 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1508 * doc/tmpl/hildon-wizard-dialog.sgml: Fix unmatching tags
1509 * doc/Makefile.am: Ignore right files with IGNORE_HFILES
1511 2006-03-13 Tommi Komulainen <tommi.komulainen@nokia.com>
1515 * doc/Makefile.am: Update gtk-doc framework bits
1516 * gtk-doc.make (commit generated file)
1517 * doc/hildon-libs-overrides.txt (add empty file for gtk-doc 1.1)
1519 2006-03-13 Johan Bilien <johan.bilien@nokia.com>
1520 * hildon-widgets/hildon-code-dialog.c:
1524 2006-03-07 Johan Bilien <johan.bilien@nokia.com>
1526 * hildon-widgets/hildon-window.c: propagate key-press event to the
1527 parent class (Closes N#23400)
1528 * configure.ac: 0.12.3
1530 2006-03-06 Johan Bilien <johan.bilien@nokia.com>
1532 * hildon-wizard-dialog.[ch]: Add page_change signal. Patch courtesy
1534 * configure.ac: 0.12.2
1537 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1539 * hildon-widgets/hildon-color-selector.c (key_pressed): use
1540 g_assert instead of g_return_val_if_fail
1545 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1547 * hildon-widgets/hildon-get-password-dialog.[ch]:
1548 (hildon_get_password_dialog_set_title) marked deprecated.
1550 + cleanup header coding style
1553 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1555 Cleanup font selection dialog
1557 * hildon-widgets/hildon-font-selection-dialog.c
1559 (hildon_font_selection_dialog_construct_notebook): removed dummy
1562 (color_modified_cb): renamed argument 'data' to 'fsd_priv'
1564 (hildon_font_selection_dialog_preview_key_press): Renamed argument
1565 'data' to 'unused'. Replaced g_return_val_if_fail with g_assert.
1567 (toggle_clicked): renamed argument 'data' to 'unused'
1569 (hildon_font_selection_dialog_set_preview_text): added proper
1573 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1575 * hildon-widgets/hildon-system-sound.c (hildon_play_system_sound):
1576 removed console messages.
1579 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1581 * hildon-widgets/hildon-sort-dialog.c: removed unused #include
1582 (struct _HildonSortDialogPrivate):
1583 - removed okButton, cancelButton
1584 - removed sort_by_value, sort_order_type
1585 - removed index_first
1586 - renamed combo1 to combo_key
1587 - renamed caption1 to caption_key
1588 - renamed combo2 to combo_order
1589 - renamed caption2 to cpation_order
1591 (hildon_sort_dialog_init): removed init of unused fields.
1592 use new field names.
1593 (hildon_sort_dialog_get_sort_key): likewise.
1594 (hildon_sort_dialog_get_sort_order): likewise.
1595 (hildon_sort_dialog_set_sort_key): likewise.
1596 (hildon_sort_dialog_set_sort_order): likewise.
1597 (hildon_sort_dialog_add_sort_key): likewise.
1599 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1601 * hildon-widgets/hildon-date-editor.c
1602 (hildon_child_forall): use g_assert instead of g_return_if_fail
1603 (hildon_date_editor_entry_validate): likewise.
1606 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1608 * hildon-widgets/hildon-controlbar.c
1609 (hildon_controlbar_change_value): commented function.
1611 * hildon-widgets/hildon-wizard-dialog.c
1612 (hildon_wizard_dialog_get_property): likewise.
1615 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1617 Cleanup weekday picker,
1619 * hildon-widgets/hildon-weekday-picker.c
1620 (_): removed unused gettext macro
1621 (button_toggle): use meaningful parameter name
1622 (hildon_weekday_picker_forall): use g_asserts instead of g_return_if_fail
1623 (hildon_weekday_picker_size_allocate): likewise.
1624 (button_toggle): likewise.
1627 2006-03-03 Luc Pionchon <luc.pionchon@nokia.com>
1629 Cleanup time editor,
1631 * hildon-widgets/hildon-time-editor.c
1632 (HILDON_TIME_EDITOR_GET_PRIVATE): moved up in the file.
1633 (ENTRY_BORDER, ICON_WIDTH, ICON_HEIGHT): removed hardcoded pixel sizes.
1634 (HILDON_TIME_EDITOR_TIME_LOWER_VALUE): removed (unused)
1635 (HILDON_TIME_EDITOR_TIME_UPPER_VALUE): removed (unused)
1637 (struct _HildonTimeEditorPrivate):
1638 - h_entry, m_entry, s_entry replaced by entries[],
1639 allows to remove a lot of code.
1640 - label renamed to hm_label
1641 - label2 renamed to sec_label
1642 - ampm renamed to ampm_label
1643 - show_s renamed to show_seconds
1644 - removed fields: icon, valid_value, validated
1646 + moved up in the file.
1648 (enum HildonValidation): removed unused field 'VALIDATION_ERROR'
1650 (ENTRY_HOURS, ENTRY_MINS, ENTRY_SECS): added (enum)
1652 (set_widget_allocation): removed
1653 (hildon_time_editor_entry_changed): removed
1655 (hildon_time_editor_forall): use g_asserts instead of g_return_if_fails
1657 (hildon_time_editor_forall): removed unnecessary code
1658 (hildon_time_editor_destroy): likewise.
1660 (hildon_time_editor_class_init): use MIN_DURATION and MAX_DURATION
1662 (hildon_time_editor_tap_and_hold_setup): loop on 'entries[]'
1664 (hildon_time_editor_set_to_current_time): new function. (factorise code)
1665 (hildon_time_editor_init): loop on 'entries[]' (simplifies the code),
1666 use new variable names,
1667 use hildon_time_editor_set_to_current_time
1669 (hildon_time_editor_mnemonic_activate): uses 'entries[]'
1670 (hildon_time_editor_set_ticks): use g_assert instead of
1671 g_return_if_fails, use
1672 'entries[]', removed dead code
1674 (hildon_time_editor_set_show_seconds): use 'entries[]' and new variable names
1675 (hildon_time_editor_validate): use 'entries[]', removed dead code
1676 (hildon_time_editor_get_max_values): use 'entries[]'
1679 (hildon_time_editor_get_show_seconds): use new variable names
1680 (hildon_time_editor_set_duration_mode): likewise.
1682 (hildon_time_editor_check_locale): do not g_strdup (fix memory leak)
1684 (hildon_time_editor_ampm_clicked): use g_asserts instead of g_return_if_fails
1686 (hildon_time_editor_icon_clicked): use g_asserts instead of g_return_if_fails
1688 (hildon_time_editor_size_request): cleaned up, removed hardcoded sizes.
1690 (set_widget_allocation): removed (unused)
1691 (hildon_time_editor_entry_changed): removed (unused)
1693 (IS_VALID_KEYPRESS): new macro
1694 (hildon_time_editor_entry_keypress): use g_asserts instead of g_return_if_fails
1695 deleate dead/unnecessary code
1697 use IS_VALID_KEYPRESS
1699 (hildon_time_editor_validate_duration): use g_asserts instead of g_return_if_fails
1701 (hildon_time_editor_validate_time): removed 'editor' parameter (unused)
1703 (hildon_time_editor_size_allocate): cleanup
1704 (convert_to_12h): cleanup code style
1706 (hildon_time_editor_show_seconds): removed deprecation flag
1707 (hildon_time_editor_enable_duration_mode): likewise.
1710 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1712 Cleanup volume bars,
1714 * hildon-widgets/hildon-volumebar.h: removed unused #include
1715 + coding style cleanup
1717 * hildon-widgets/hildon-volumebar.c
1718 (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
1720 (hildon_child_forall): use g_assert instead of g_return_if_fail
1722 * hildon-widgets/hildon-volumebar-range.h: removed unused #include
1723 + coding style cleanup
1725 * hildon-widgets/hildon-volumebar-private.h:
1726 added missing #include.
1727 added _hildon_volumebar_mute_toggled.
1728 (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)
1732 * hildon-widgets/hildon-vvolumebar.h: removed unused #include
1733 + coding style cleanup
1735 * hildon-widgets/hildon-vvolumebar.c
1736 (hildon_vvolumebar_size_request)
1737 (hildon_vvolumebar_size_allocate)
1738 (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail
1740 * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).
1742 * hildon-widgets/hildon-vvolumebar.c: removed unused #include
1743 (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
1744 (vvolumebar_init): renamed to hildon_vvolumebar_init
1745 (hildon_vvolumebar_init): removed unused 'orientation'
1746 initialisation. Use _hildon_volumebar_mute_toggled instead of
1747 removed hildon_vvolumebar_mute.
1751 * hildon-widgets/hildon-hvolumebar.h: removed unused #include
1753 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
1754 renamed to hildon_hvolumebar_class_init
1756 * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
1757 hildon_hvolumebar_init
1759 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
1762 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
1763 removed unused 'orientation' initialisation.
1765 * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
1766 _hildon_volumebar_mute_toggled instead of removed
1767 hildon_hvolumebar_mute.
1770 2006-03-02 Luc Pionchon <luc.pionchon@nokia.com>
1774 * hildon-widgets/hildon-dialoghelp.h: use G_BEGIN_DECLS +
1775 coding style cleanup
1777 * hildon-widgets/hildon-color-popup.h: likewise.
1779 * hildon-widgets/hildon-color-popup.[ch] (hildon_color_popup_new):
1782 * hildon-widgets/hildon-color-selector.c
1783 (hildon_color_selector_new): use g_return_val_if_fail instead of
1785 (select_color): use g_assert instead of g_return_if_fail
1787 * hildon-widgets/hildon-calendar-popup.c
1788 (hildon_calendar_allow_exit): use g_assert instead of g_return_if_fail.
1792 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1794 * hildon-widgets/hildon-code-dialog.[ch], hildon-widgets/Makefile.am:
1795 added HildonCodeDialog widget
1798 2006-03-02 Johan Bilien <johan.bilien@nokia.com>
1800 * hildon-widgets/hildon-window.c:
1801 - set the toolbar height explicitely
1802 - use show instead of show_all on the common_toolbar
1803 - add the toolbars bottom-up instead of top-down
1804 * hildon-widgets/hildon-program.c:
1805 - don't assume that a window was realized when added to
1809 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1811 Cleanup font selection dialog,
1813 * hildon-widgets/hildon-font-selection-dialog.h: use G_BEGIN_DECLS
1814 + coding style cleanup
1816 * hildon-widgets/hildon-font-selection-dialog.c
1817 (hildon_font_selection_dialog_finalize): use g_return_if_fail
1818 instead of g_assert.
1820 * hildon-widgets/hildon-font-selection-dialog.c
1821 (hildon_font_selection_dialog_get_text_tag)
1822 (hildon_font_selection_dialog_set_buffer)
1823 (hildon_font_selection_dialog_get_font)
1824 (hildon_font_selection_dialog_set_font): Removed deprecation #ifdef.
1827 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1829 Cleanup range editor,
1831 * hildon-widgets/hildon-range-editor.c
1832 (hildon_range_editor_calss_init):Removed
1833 widget_calss->mnemonic_activate init
1835 * hildon-widgets/hildon-range-editor.c
1836 (hildon_range_editor_mnemonic_activate): Removed static function
1837 hildon_range_mnemonic_activate and FIXME. It is useless even
1838 through it is overriding function for
1839 GtkWidgetClass->mnemonic_activate. The activation and keyboard
1840 focus will be realized based on different applications.
1842 * hildon-widgets/hildon-range-editor.c
1843 (is_valid_keyvalue_for_entry_keypress): new function.
1845 * hildon-widgets/hildon-range-editor.c
1846 (hildon_range_editor_entry_keypress): uses
1847 is_valid_keyvalue_for_entry_keypress
1849 * hildon-widgets/hildon-range-editor.c
1850 (hildon_range_editor_forall): use g_return_if_fail instead of
1853 * hildon-widgets/hildon-range-editor.cvn
1854 (hildon_range_editor_mnemonic_activate): removed. (unused)
1857 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1859 Cleanup hildon-note,
1861 * hildon-widgets/hildon-note.[ch]
1863 (hildon_note_five_line_truncate): removed.
1864 (hildon_note_one_line_truncate): removed.
1866 (hildon_note_set_property): use _hildon_gtk_label_set_text_n_lines
1867 instead of _{one|five}_line_truncate() functions.
1870 (hildon_note_new_information_with_icon_theme): Deprecated. Turned
1871 into wrapper of "hildon_note_new_information_with_icon_name".
1873 (hildon_note_new_confirmation_with_icon_stock): Deprecated (broken)
1874 (hildon_note_new_information_with_icon_stock): Deprecated (broken)
1876 - removed some unnessecary includes.
1878 - Merged hildon_note_create & hildon_note_create_form and rewrote
1879 the combination as hildon_note_rebuild
1881 - Added missing g_return_* into public functions.
1883 - Acquire real references to children which are packed/unpacked,
1884 so we do not need to bother about refcounting while changing the
1888 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1892 * hildon-widgets/hildon-number-editor.c
1894 (set_widget_allocation): use const parameter.
1896 (hildon_number_editor_forall): use g_assert instead of g_return_if_fail
1898 (struct _HildonNumberEditorPrivate): removed unused member 'negative'
1899 (hildon_number_editor_set_range): removed 'negative'
1902 * hildon-widgets/hildon-sort-dialog.c (hildon_sort_dialog_init):
1903 use g_assert instead of g_return_if_fail
1906 * hildon-widgets/hildon-time-picker.c:
1907 - in several places, replace 1440 by 24*60
1908 (PROP_AMPM): removed, unused.
1909 (hildon_time_picker_timeout): use significant parameter name,
1911 (hildon_time_picker_init): removed useless call to _change_time()
1914 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1918 * hildon-widgets/hildon-seekbar.c
1920 (_): Removed dgettext macro definition.
1922 (HildonSeekbarPrivate): Removed 'label' and 'draw_value'. (unused).
1924 (hildon_seekbar_finalize): removed. not needed.
1925 (hildon_seekbar_class_init): Removed hildon_seekbar_finalize.
1927 (hildon_seekbar_size_request): indent cleanup.
1929 (hildon_seekbar_size_allocate): simplified function.
1931 (hildon_seekbar_button_press_event): Removed unused variables.
1932 (hildon_seekbar_button_release_event): likewise.
1935 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1937 Cleanup date editor,
1939 * hildon-widgets/hildon-date-editor.c
1941 (BUTTON_SPACING): removed. Use HILDON_MARGIN_DEFAULT
1942 (MAX_DATE_LEN): removed. Specify buffer lenght in code.
1944 (hildon_date_editor_get_font_width): removed (legacy static
1945 function), use gtk_entry_set_width_chars instead.
1947 (hildon_date_editor_mnemonic_activate): removed mnemonic
1948 activation handler, since it's no more used by HildonCaption.
1951 - Removed some meaningless code (if (somewidget != NULL)) from
1954 - HEAVILY modified key_press, completely removed if/grab_focus
1955 spaghetti by gtk_widget_child_focus
1957 - Removed input validation from keypress (that would not work
1958 anyway, since our input method do not generate presses). => This
1959 allows to change default return value to FALSE and remove all cases
1960 that just returned FALSE for some keys.
1962 - Merged all *_entry_changed callbacks to use the same
1963 function. Again using gtk_widget_child_focus, but now with return
1964 value as well to detect last field.
1966 - Changed that calendar button is no more implemented through
1967 changing widget hierarchy (old implementation caused critical
1968 issues when you used both stylus and hardkeys at the same time to
1969 popup. => finalize method no longer contained anything => removed
1971 - Locale type is no longer needed after initial setup.
1973 - Changed idle_popup to popup_calendar_dialog. Idle was a legacy
1974 hack from the days of background dimming (it was important to
1975 process background updates before the dimming was done).
1977 - Changed the field order/delimeters to be correcly derived form
1980 - Rewrote validation function, combined it with validation done in
1981 focus_out (since both are now called at the same time).
1983 - Changed set_date function to set all components at one go
1984 without doing any validation there between (before setting each
1989 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
1991 Cleanup set-password dialog
1993 * hildon-widgets/hildon-set-password-dialog.[ch]
1994 (hildon_set_password_dialog_set_domain): gchar * param is const
1995 (hildon_set_password_dialog_new_with_default): likewise.
1997 * hildon-widgets/hildon-set-password-dialog.c
1999 (hildon_set_password_set_property): setting 'modify-protection'
2002 (hildon_set_password_get_property): fixed broken 'domain' (missing
2003 break statement!) and 'modify-protection' (was a null operation)
2004 properties; code simplified.
2006 (hildon_set_password_dialog_constructor),
2008 (hildon_set_password_dialog_class_init),
2009 (hildon_set_password_dialog_init):
2010 hildon_set_password_dialog_constructor removed as weird and
2011 obsolete and replaced with new function create_contents; fixed
2012 leaking group variable; removed some unused, outdated code that
2013 was already commented out.
2015 (hildon_set_password_response_change),
2016 (hildon_set_password_response_set): GtkWindow *parent arguments
2017 changed to gpointer unused; cleaned up unnecessary strcmp's
2019 (hildon_checkbox_toggled): fixed typo in function name (checbox ->
2020 checkbox). gpointer renamed to be more descriptive; Code simplified
2022 (hildon_set_password_dialog_get_type): empty function argument
2023 list replaced with void keyword.
2025 (hildon_set_password_dialog_new),
2026 (hildon_set_password_dialow_new_with_default): simplified by
2027 having the simpler constructor call the more complex one, not vice
2028 versa; moved callback connects to create_contents since they
2029 depend on the status of 'modify-protection' property
2031 (hildon_set_password_dialog_get_password): type check added
2032 (hildon_set_password_dialog_get_protected): likewise
2033 (hildon_set_password_dialog_set_domain): likewise
2036 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
2038 Cleanup name-password dialog:
2040 * hildon-widgets/hildon-name-password-dialog.[ch]
2042 (HildonNamePasswordDialogPrivate): nameEntry and passwordEntry
2043 types changed from *HildonCaption to *GtkEntry
2045 (hildon_name_password_dialog_set_property): layout fixes;
2046 duplicated code replaced with calls to relevant public functions
2048 (hildon_name_password_dialog_get_property): layout fixes;
2049 duplicated code replaced with calls to relevant public functions
2051 (hildon_name_password_dialog_init): fixed leaking group variable;
2052 reworked to have captions as local variables and captioned entries
2053 in the private struct
2055 (hildon_name_password_dialog_new_with_default): name and password
2056 arguments declared const
2058 (hildon_name_password_dialog_get_name): type check added + cleanup
2059 (hildon_name_password_dialog_get_password): likewise.
2061 (hildon_name_password_dialog_set_domain): domain argument declared
2062 const; type check added + cleanup
2065 2006-03-01 Luc Pionchon <luc.pionchon@nokia.com>
2067 Cleanup get-password dialog:
2069 * hildon-widgets/hildon-get-password-dialog.[ch]
2071 (HildonGetPasswordDialogPrivate): gboolean get_old added
2073 (hildon_get_password_set_property): fixed broken 'numbers-only'
2074 and 'max-characters' cases; 'get-old' property added
2076 (hildon_get_password_get_property): added support for reading
2077 'numbers-only' properties; added missing break to 'domain' case.
2078 added 'get-old' property
2080 (hildon_get_password_dialog_class_init): 'domain' and
2081 'numbers-only' properties are now readable; 'get-old' property
2084 (hildon_get_password_dialog_init, create_contents): everything
2085 that depends on the type of the dialog (i.e. 'get-old' property)
2086 is now done in create_contents after properties are initialized;
2087 fixed leaking group variable
2089 (hildon_get_password_dialog_get_type): empty function argument
2090 list replaced with void keyword
2092 (hildon_get_password_dialog_new): moved setting the labels of the
2093 get password dialog to init where it should be done; 'get-old'
2094 property set upon construction to achieve this
2096 (hildon_get_password_dialog_new_with_default): password argument
2099 (hildon_get_password_dialog_get_password): type check added
2100 (hildon_get_password_dialog_set_domain): type check added; domain
2101 argument declared const; duplicate function declaration removed
2103 (hildon_get_password_dialog_set_title): type check added;
2104 new_title argument declared const
2106 (hildon_get_password_dialog_set_caption): type check added;
2107 new_caption argument declared const
2109 (hildon_get_password_dialog_set_max_characters): broken type check fixed
2110 (_invalid_input): gpointer data argument renamed unused
2113 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
2115 (*_get_type): declared G_GNUC_CONST
2117 * hildon-widgets/hildon-app.h:
2118 * hildon-widgets/hildon-appview.h:
2119 * hildon-widgets/hildon-calendar-popup.h:
2120 * hildon-widgets/hildon-color-selector.h:
2121 * hildon-widgets/hildon-date-editor.h:
2122 * hildon-widgets/hildon-find-toolbar.h:
2123 * hildon-widgets/hildon-get-password-dialog.h:
2124 * hildon-widgets/hildon-name-password-dialog.h:
2125 * hildon-widgets/hildon-number-editor.h:
2126 * hildon-widgets/hildon-seekbar.h:
2127 * hildon-widgets/hildon-set-password-dialog.h:
2128 * hildon-widgets/hildon-sort-dialog.h:
2129 * hildon-widgets/hildon-time-editor.h:
2130 * hildon-widgets/hildon-weekday-picker.h:
2131 * hildon-widgets/hildon-wizard-dialog.h:
2133 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
2137 * hildon-widgets/hildon-volumebar.c
2138 (hildon_volumebar_class_init): object class casts cleaned up
2139 (hildon_child_forall): removed unnecessary variable vbar; type check added
2140 (hildon_volumebar_set_property): removed unnecessary variable vbar
2141 (hildon_volumebar_set_level): type check added
2142 (hildon_volumebar_get_level): type check added
2143 (hildon_volumebar_set_mute): type check added
2144 (hildon_volumebar_get_mute): type check added
2145 (hildon_volumebar_get_adjustment): type check added
2146 (hildon_volumebar_key_press): removed unnecessary g_return_if_fail
2148 * hildon-widgets/hildon-volumebar.h
2149 (hildon_volumebar_get_type): declared G_GNUC_CONST
2151 * hildon-widgets/hildon-volumebar-private.h:
2152 - G_BEGIN_DECLS/G_END_DECLS added
2153 - ownorientation removed from private struct
2155 * hildon-widgets/hildon-volumebar-range.c
2156 (hildon_volumebar_range_init): vacuous return statement removed
2158 (hildon_volumebar_range_set_level): removed unnecessary clamping
2159 kludge that violated object oriented principles only to provide an
2160 extremely minor, unnecessary optimization; type check added
2162 (hildon_volumebar_range_get_level): now accesses adjustment value
2163 with appropriate functions instead of reading it directly from the
2164 struct, which is bad OOP; type check added
2166 (hildon_volumebar_range_button_press_event): Added more descriptive comments
2167 (hildon_volumebar_range_button_release_event): Added more descriptive comments
2169 * hildon-widgets/hildon-volumebar-range.h
2170 (hildon_volumebar_range_get_type): declared G_GNUC_CONST
2172 * hildon-widgets/hildon-hvolumebar.c
2173 (hvolumebar_init): priv->ownorientation and v_ptr removed;
2174 completely removed the gtk_widget_show() call that was already
2177 (hildon_hvolumebar_new): empty function parameter list replaced
2180 (hildon_hvolumebar_map): vbar variable removed; type check added
2181 (hildon_hvolumebar_expose): type check added
2182 (hildon_hvolumebar_size_request): type check added
2183 (hildon_hvolumebar_size_allocate): vbar variable removed; type check added
2185 * hildon-widgets/hildon-hvolumebar.h
2186 (hildon_hvolumebar_get_type): declared G_GNUC_CONST
2188 * hildon-widgets/hildon-vvolumebar.c
2189 (vvolumebar_init): priv->ownorientation and v_ptr removed
2190 (hildon_vvolumebar_new): empty function parameter list replaced with void keyword
2192 (hildon_vvolumebar_expose): type check added
2193 (hildon_vvolumebar_size_request): type check added
2194 (hildon_vvolumebar_size_allocate): vbar variable removed; type check added
2196 * hildon-widgets/hildon-vvolumebar.h
2197 (hildon_vvolumebar_get_type): declared G_GNUC_CONST
2200 2006-02-28 Luc Pionchon <luc.pionchon@nokia.com>
2202 * hildon-widgets/hildon-weekday-picker.c
2203 (_HildonWeekdayPickerPrivate): Removed members: dayorder, days,
2204 last_index; added day_order_buttons
2206 (hildon_weekday_picker_mnemonic_activate): removed.
2207 mnemonics are no longer used.
2209 (hildon_weekday_picker_class_init): Removed mnemonic_activate
2210 function. Rewritten creation of buttons. Unref'ed size group.
2212 (button_toggle): Removed bit mask checking, simplified function
2214 (hildon_weekday_picker_set_day):
2215 (hildon_weekday_picker_unset_day): Removed bit mask checking, date
2216 adjustment, unecessary for loop
2218 (hildon_weekday_picker_toggle_day): Removed date adjustment and
2219 unecessary for loop. Simplified button toggling
2221 (hildon_weekday_picker_set_all):
2222 (hildon_weekday_picker_unset_all): Removed bit mask checking and
2225 (hildon_weekday_picker_isset_day): Removed date adjustment and
2226 unecessary for loop;
2228 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2230 Added hildon-banner, as a clean replacement for gtk-infoprint
2231 * hildon-widgets/hildon-banner.[ch]: implementation and header
2232 * hildon-widgets/Makefile.am: reference new files
2233 * hildon-widgets/gtk-infoprint.c: removed implementation, now just
2234 a compatibility wrapper to hildon-banner
2236 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2238 * hildon-widgets/hildon-color-button.c: added comments
2239 * hildon-widgets/hildon-controlbar.c: Likewise.
2240 * hildon-widgets/hildon-composite-widget.c: Likewise.
2241 * hildon-widgets/hildon-calendar-popup.c: Likewise.
2243 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2245 * ChangeLog-hildon-lgpl: copied from old hildon-lgpl/ChangeLog for
2248 2006-02-21 Luc Pionchon <luc.pionchon@nokia.com>
2250 * configure.ac: 0.12.1
2252 2006-02-21 Johan Bilien <johan.bilien@nokia.com>
2254 * doc/tmpl/hildon-program.sgml: added from hildon-lgpl HW branch
2255 * doc/tmpl/hildon-window.sgml: likewise.
2256 * hildon-widgets/hildon-program.[ch]: likewise.
2257 * hildon-widgets/hildon-window.[ch]: likewise.
2258 * hildon-widgets/hildon-window-private.h: likewise.
2259 * hildon-widgets/Makefile.am: Added these new files to the build
2262 2006-02-14 Luc Pionchon <luc.pionchon@nokia.com>
2264 * configure.ac: 0.12.0
2266 Merged hildon-lgpl into hildon-libs (and hildon-fm)
2268 * doc/tmpl/hildon-system-sound.sgml: added from hildon-lgpl
2269 * doc/tmpl/hildon-appview.sgml: likewise.
2270 * doc/tmpl/hildon-color-popup.sgml: likewise.
2271 * doc/tmpl/hildon-find-toolbar.sgml: likewise.
2272 * doc/tmpl/hildon-app.sgml: likewise.
2273 * doc/tmpl/hildon-input-mode-hint.sgml: likewise.
2274 * doc/tmpl/hildon-caption.sgml: likewise.
2275 * doc/tmpl/hildon-marshalers.sgml: likewise.
2276 * doc/tmpl/hildon-add-home-dialog.sgml: likewise.
2277 * doc/tmpl/hildon-defines.sgml: likewise.
2278 * doc/tmpl/gtk-infoprint.sgml: likewise.
2279 * doc/tmpl/hildon-composite-widget.sgml: likewise.
2281 * hildon-widgets/gtk-infoprint.[ch]: added from hildon-lgpl
2282 * hildon-widgets/hildon-app.[ch]:likewise.
2283 * hildon-widgets/hildon-app-private.h:likewise.
2284 * hildon-widgets/hildon-appview.[ch]:likewise.
2285 * hildon-widgets/hildon-caption.[ch]:likewise.
2286 * hildon-widgets/hildon-defines.[ch]:likewise.
2287 * hildon-widgets/hildon-find-toolbar.[ch]:likewise.
2288 * hildon-widgets/hildon-input-mode-hint.h:likewise.
2290 * hildon-widgets/Makefile.am (libhildonwidgets_la_SOURCES):
2291 removed hildon-file-details-dialog.[ch] (moved to hildon-fm)
2295 hildon-app-private.h
2299 hildon-find-toolbar.[ch]
2300 hildon-input-mode-hint.h
2302 * hildon-widgets/hildon-get-password-dialog.c: corrected #include
2303 path for gtk-infoprint.h and hildon-input-mode-hint.h
2305 * po/en_GB.po: merged msgstr from hildon-lgpl
2307 * timer/*: added from hildon-lgpl
2311 Moved hildon-file-details-dialog from hildon-libs to hildon-fm
2313 * hildon-widgets/hildon-file-details-dialog.[ch]: moved to
2316 * ut/hildon-widgets_tests.c (test41a): removed test case for
2317 hildon_file_details_dialog
2319 * doc/hildon-libs.types: likewise.
2320 * doc/hildon-libs-docs.xml: likewise.
2326 * hildon-libs.pc.in (Libs): do not requires hildon-lgpl anymore
2329 * Makefile.am (SUBDIRS): added timer/
2331 * configure.ac: do not depend anymore on hildon-lgpl nor
2332 hildon-fm, check for libmb, added Makefile output for timer/
2336 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
2338 * configure.ac: 0.10.2
2340 2006-01-18 Luc Pionchon <luc.pionchon@nokia.com>
2342 N#22240 CP: Tapping outside the scroll bar invoke the applet.
2343 * hildon-widgets/hildon-grid.c (adjust_scrollbar_height):
2344 hildon-apps scroll-control property is now handled.
2345 (get_child_index_by_coord): ignores events not matching a grid
2348 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2350 * configure.ac: 0.10.1
2352 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2354 Missing/Buggy documentation from,
2355 N#11566 make password dialog customizable (messages)
2356 * hildon-widgets/hildon-get-password-dialog.c
2357 (hildon_get_password_dialog_set_title): typo in gtkdoc function
2359 * doc/tmpl/xxx.sgml: updated.
2361 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2363 N#19369 TRUE Scketch does not show colour change when using white color
2365 Color button needs inner border white, and outer border black.
2366 * hildon-widgets/hildon-color-button.c
2367 (hildon_color_button_draw_pixbuf_borders): new function. Paint the
2369 * hildon-widgets/hildon-color-button.c (hildon_color_button_init):
2370 (hildon_color_button_realize): call the above function
2372 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2374 N#21063 hildon_note_new_confirmation_add_buttons has misleading docs
2375 * hildon-widgets/hildon-note.c:
2376 (hildon_note_new_confirmation_add_buttons): updated doc
2377 (hildon_note_set_button_texts): likewise.
2379 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2381 N#21884 Cannot select read-only by using the center of the scroll key
2382 * hildon-widgets/hildon-file-details-dialog.c
2383 (hildon_file_details_dialog_init): Removed dialog default response.
2385 2006-01-11 Luc Pionchon <luc.pionchon@nokia.com>
2387 N#8094 5-bit color selector: wrong margins and pixel measurements
2388 M#59 HildonColorSelector needs more space
2389 * hildon-widgets/hildon-color-popup.c (HILDON_COLOR_COL_SPACING)
2390 (hildon_color_popup_new): add space between the control bars and
2391 the color preview area.
2393 2006-01-03 Luc Pionchon <luc.pionchon@nokia.com>
2395 * hildon-widgets/hildon-calendar-popup.c
2396 * hildon-widgets/hildon-color-button.c
2397 * hildon-widgets/hildon-color-popup.c
2398 * hildon-widgets/hildon-color-selector.c
2399 * hildon-widgets/hildon-composite-widget.c
2400 * hildon-widgets/hildon-controlbar.c
2401 * hildon-widgets/hildon-date-editor.c
2402 * hildon-widgets/hildon-dialoghelp.c
2403 * hildon-widgets/hildon-file-details-dialog.c
2404 * hildon-widgets/hildon-font-selection-dialog.c
2405 * hildon-widgets/hildon-get-password-dialog.c
2406 * hildon-widgets/hildon-grid-item.c
2407 * hildon-widgets/hildon-grid.c
2408 * hildon-widgets/hildon-hvolumebar.c
2409 * hildon-widgets/hildon-name-password-dialog.c
2410 * hildon-widgets/hildon-note.c
2411 * hildon-widgets/hildon-number-editor.c
2412 * hildon-widgets/hildon-range-editor.c
2413 * hildon-widgets/hildon-scroll-area.c
2414 * hildon-widgets/hildon-seekbar.c
2415 * hildon-widgets/hildon-set-password-dialog.c
2416 * hildon-widgets/hildon-sort-dialog.c
2417 * hildon-widgets/hildon-time-editor.c
2418 * hildon-widgets/hildon-time-picker.c
2419 * hildon-widgets/hildon-volumebar-private.h
2420 * hildon-widgets/hildon-volumebar-range.c
2421 * hildon-widgets/hildon-volumebar.c
2422 * hildon-widgets/hildon-vvolumebar.c
2423 * hildon-widgets/hildon-weekday-picker.c
2424 * hildon-widgets/hildon-wizard-dialog.c
2427 2005-12-28 Luc Pionchon <luc.pionchon@nokia.com>
2429 * configure.ac: 0.10.0
2431 2005-12-12 Luc Pionchon <luc.pionchon@nokia.com>
2433 Some more properties for Gazpacho support,
2435 * hildon-widgets/hildon-calendar-popup.c: "day", "month", "year"
2436 * hildon-widgets/hildon-color-selector.c: "color"
2439 * hildon-widgets/hildon-color-selector.[ch]
2440 (hildon_color_selector_get_color): return const pointer to the
2443 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2446 Gazpacho support, added the following properties:
2448 * hildon-widgets/hildon-insert-object-dialog.c: "name", "mimetype"
2449 * hildon-widgets/hildon-seekbar.c: "position", "fraction"
2450 * hildon-widgets/hildon-grid-item.c: "emblem-type"
2451 * hildon-widgets/hildon-sort-dialog.c: "sort-key", "sort-order"
2452 * hildon-widgets/hildon-grid.c: "style", "scrollbar-pos"
2453 * hildon-widgets/hildon-font-selection-dialog.c: "preview-text"
2454 * hildon-widgets/hildon-get-password-dialog.c: "caption-label", "max-characters"
2455 * hildon-widgets/hildon-telephone-editor.c: "border", "plus" (obsolet widget)
2456 * hildon-widgets/hildon-number-editor.c: "value"
2458 * hildon-widgets/hildon-color-button.c: minor cleanup
2461 2005-11-18 Luc Pionchon <luc.pionchon@nokia.com>
2463 Started new development
2464 (branche for maintenance continues with versions 0.9.x)
2466 2005-11-03 Luc Pionchon <luc.pionchon@nokia.com>
2468 * configure.ac: 0.9.53
2470 2005-10-31 Luc Pionchon <luc.pionchon@nokia.com>
2473 N#19283 Control panel - The values entered are not saved.
2474 N#19648 Hildon Date Editor widget detects values too high
2475 (note: complete fix include also fixes in GTk+)
2477 * hildon-widgets/hildon-calendar-popup.c
2478 (hildon_calendar_popup_set_property),
2479 (hildon_calendar_popup_class_init),
2480 (init_dmy): Added 'min-year', 'max-year' properties for passing
2481 the information through from HildonDateEditor to GtkCalendar
2483 * hildon-widgets/hildon-date-editor.c:
2484 (hildon_date_editor_class_init),
2485 (hildon_date_editor_init),
2486 (hildon_date_editor_set_property),
2487 (hildon_date_editor_get_property),
2489 (hildon_date_editor_entry_validate),
2490 (hildon_date_editor_date_error): Added 'min-year', 'max-year'
2491 properties and replaced hardcoded constants with them
2493 * hildon-widgets/hildon-date-editor.c
2494 (hildon_date_editor_d_entry_changed),
2495 (hildon_date_editor_m_entry_changed),
2496 (hildon_date_editor_d_entry_changed): new functions to ensure that
2497 the fields are validated and the focus is moved when maximum
2498 number of characters has been entered.
2500 2005-10-13 Luc Pionchon <luc.pionchon@nokia.com>
2502 * configure.ac: 0.9.52
2504 2005-10-12 Luc Pionchon <luc.pionchon@nokia.com>
2506 N#19140 System alerts still audible despite being turned off
2508 * hildon-widgets/hildon-note.c (sound_handling):
2510 * hildon-system-sound.[ch]: New files, implements hildon_play_system_sound.
2512 * hildon-note.c (sound_handling): Changed to use new
2513 hildon_play_system_sound.
2514 (hildon_note_init): Signal handler id is changed to be in private
2515 structure, not in global variable.
2517 * hildon-note.c: Removed unused defines etc.
2519 * Makefile.am: Appended new files to build rules.
2521 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2523 * configure.ac: 0.9.51
2525 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2527 N#20027 PDF Reader crashes on selecting read only option in the
2530 * hildon-widgets/hildon-file-details-dialog.c:
2531 (change_state): Fixed assertion that was causing problems
2532 (check_validity): New function: We now automatically close the
2533 dialog if the displayed file is removed.
2534 (handle_focus): Callback removed:
2535 (init): Now using correct gtk way to bind container and adjustment
2536 together. Not the previous callback.
2537 (set_property): Connecting/disconnecting new handlers (for
2539 (finalize): disconnecting new handler.
2541 2005-10-05 Luc Pionchon <luc.pionchon@nokia.com>
2543 N#17918 Volumebar widget background image doesn't change when
2544 widget goes into mute state,
2546 * hildon-vvolumebar.c (hildon_volumebar_set_mute): queued widget
2549 * hildon-hvolumebar.c (hildon_hvolumebar_expose): paint background
2550 using the state of the internal volumebar, not the whole container
2552 * hildon-vvolumebar.c (hildon_vvolumebar_expose): paint background
2553 using the state of the internal volumebar, not the whole container
2555 2005-09-19 Tapani Palli <tapani.palli@nokia.com>
2557 * hildon-widgets/hildon-dialoghelp.[ch]: added
2558 gtk_dialog_help_disable and fixed bug N#19468
2560 2005-09-14 Luc Pionchon <luc.pionchon@nokia.com>
2562 * configure.ac: Release 0.9.50
2564 2005-09-13 Luc Pionchon <luc.pionchon@nokia.com>
2568 * po/en_GB.po: Added "Ckct_wi_grid_no_items"
2570 * hildon-widgets/hildon-grid.c
2571 (hildon_grid_class_init, hildon_grid_init): Replaced default empty
2572 label by logical name "Ckct_wi_grid_no_items"
2575 2005-08-31 Luc Pionchon <luc.pionchon@nokia.com>
2577 * po/en_GB.po (ecdg_ti_verify_password): translation update.
2579 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2581 * configure.ac: Release 0.9.49
2583 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2585 * hildon-widgets/hildon-number-editor.c (add_select_all_idle,
2586 hildon_number_editor_finalize, hildon_number_editor_entry_changed):
2587 Save the id of the idle callback and remove it when the widget is
2588 destroyed to avoid crashing. N#18096
2590 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2592 * hildon-widgets/hildon-number-editor.c (button_event_id): GSource
2593 id's are unsigned and undefined at zero (instead of signed and -1)
2595 2005-08-30 Tommi Komulainen <tommi.komulainen@nokia.com>
2597 * hildon-widgets/hildon-time-editor.c (convert_to_12h): Removed a hack
2598 that was not working. N#16805
2600 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2602 * configure.ac: Release 0.9.48
2604 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2606 * hildon-widgets/hildon-grid.c (hildon_grid_set_num_columns): Never
2607 allow area_rows to be 0 (ie. before widget is visible), otherwise the
2608 initial jump_scrollbar_to_focused() scrolls wrong. N#17152
2610 2005-08-22 Tommi Komulainen <tommi.komulainen@nokia.com>
2612 * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
2613 Do not override the week-start property of GtkCalendar according to
2614 the hildon-libs PO file, it is automatically determined from locale
2617 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2619 * configure.ac: Release 0.9.47
2621 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2623 * hildon-widgets/hildon-get-password-dialog.c: Add "numbers_only"
2624 property for setting the password entry accept only numeric values.
2627 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2629 * hildon-widgets/hildon-calendar-popup.c (MAX_YEAR, MIN_YEAR):
2630 * hildon-widgets/hildon-note.c (ELLIPSATION_STRING, BOX_SPAXING):
2631 * hildon-widgets/hildon-volumebar-range.c (CHANGE_THRESHOLD):
2632 Use defines rather than magic numbers in the code.
2634 2005-08-17 Tommi Komulainen <tommi.komulainen@nokia.com>
2636 Update to new l10n packaging style. po-files (inside this package)
2637 are not used for now, the message catalogs come from separate packages
2638 and including them here would conflict.
2640 * Makefile.am (SUBDIRS): stop including po-files
2641 * Makefile.am (EXTRA_DIST):
2642 * debian/hildon-libs-l10n-engb.install:
2643 * debian/hildon-libs-l10n-src.install:
2644 * po/debian/*: Removed
2646 2005-08-09 Luc Pionchon <luc.pionchon@nokia.com>
2648 * hildon-widgets/hildon-file-details-dialog.c: Added read only
2649 checks to cover gateway content as well.
2651 * hildon-widgets/hildon-time-editor.c:
2652 (hildon_time_editor_validate): Replace solid numbers with defined
2654 (convert_to_12h): Remove "work-around" for the broken 12h timespec
2657 2005-08-05 Luc Pionchon <luc.pionchon@nokia.com>
2659 * hildon-widgets/hildon-color-selector.c (modify_selected): fix
2660 invalid cast from `GdkWindow' to `GtkWindow'
2662 * hildon-widgets/hildon-color-popup.c
2663 (hildon_popup_palette_expose): removed debug printing
2665 2005-08-03 Luc Pionchon <luc.pionchon@nokia.com>
2667 * doc/tmpl/hildon-note.sgml: code example, use slightly less funny
2670 * hildon-widgets/hildon-scroll-area.c
2671 (hildon_scroll_area_destroy): one-instruction function:
2672 removed. Call g_free directly.
2674 (hildon_scroll_area_size_allocate):When a scrollbar appears to the
2675 right edge of window, size of the child is also shrinked. 'fixed'
2676 does not automatically update this data -> Doing it manually.
2678 * hildon-widgets/hildon-date-editor.h: added
2679 HildonDateEditorErrorType error enumeration type, removed signal
2680 "validate-date" virtual function, added signal "date-error"
2683 * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
2684 added custom info prints.
2685 (hildon_date_editor_validate_date): removed
2686 (hildon_date_editor_entry_validate): validate maximum and minimum
2687 limits on each field.
2688 (hildon_date_editor_entry_focus_out): check the date validation
2689 in simpler manner, don't put content if field is empty (spec
2690 doesn't say if there should be anything placed in the entry if
2692 (hildon_date_editor_get_date),
2693 (hildon_date_editor_get_month),
2694 (hildon_date_editor_get_year),
2695 (hildon_date_editor_get_day): use direct entry content, so that 0
2696 indicates empty entry, and information is more accurate.
2698 2005-08-01 Luc Pionchon <luc.pionchon@nokia.com>
2700 * configure.ac: Adjusted CFLAGS and removed -Werror due to the
2702 http://bugzilla.gnome.org/show_bug.cgi?id=310175 and
2703 http://bugzilla.gnome.org/show_bug.cgi?id=310216
2705 2005-07-29 Luc Pionchon <luc.pionchon@nokia.com>
2707 * hildon-widgets/hildon-controlbar.h: added missing signal when end reached
2709 2005-07-26 Luc Pionchon <luc.pionchon@nokia.com>
2711 * hildon-widgets/hildon-number-editor.c:
2712 (hildon_number_editor_select_all): new function, selects all
2713 the text in the entry.
2714 * hildon-widgets/hildon-number-editor.c: added several calls to
2715 hildon_number_editor_select_all with g_idle_add.
2717 * hildon-controlbar.c : add signal when end reached
2719 * hildon-time-editor.c : fixed: Time chooser widget displays am/pm and time separator indicators badly alligned.
2721 * hildon-time-picker.c : displays valid date at 12:00 am/pm.
2723 2005-07-25 Luc Pionchon <luc.pionchon@nokia.com>
2725 Fixed incorrect values in <Filetype> Details Dialog
2727 Fixed help button usage in dialogs
2729 * hildon-dialoghelp.c: Added more documentation about the
2732 * hildon-file-details-dialog.c: Updated to match
2733 'File Management in OSSO' version 3.0
2735 * Fixed application hang after calling gtk_main_quit
2737 * hildon-date-editor.c: Fixed HildonDateEditor that caught
2738 ESC presses needlessly
2740 * hildon-time-editor.c: Fixed memory corruption