hildon
18 years agoN#27000 (additional fixes to patch from 2006-05-01)
Luc Pionchon [Wed, 3 May 2006 19:29:13 +0000 (19:29 +0000)]
N#27000 (additional fixes to patch from 2006-05-01)

* hildon-widgets/hildon-banner.c (force_to_wrap_truncated): do not
        hardcode pixel scaling factor ("/1000"), use PANGO_PIXELS instead
        which deals with rounding (and uses the right factor: 1024).
        Thanks Michael Natterer <mitch@imendio.com>

        Force label size also when width_text == width_max.

18 years agoreleased and packaged 0.12.13-1
Luc Pionchon [Wed, 3 May 2006 12:45:27 +0000 (12:45 +0000)]
released and packaged 0.12.13-1

18 years ago* hildon-widgets/hildon-font-selection-dialog.c: (is_internal_font): new function...
Luc Pionchon [Wed, 3 May 2006 12:31:59 +0000 (12:31 +0000)]
* hildon-widgets/hildon-font-selection-dialog.c: (is_internal_font): new function. Tells if a font family is internal. (filter_out_internal_fonts): new function. Filters out inernal fonts. (hildon_font_selection_dialog_show_available_fonts): call filter_out_internal_fonts Fixes N#21854

18 years agoindent paramters
Luc Pionchon [Mon, 1 May 2006 23:57:48 +0000 (23:57 +0000)]
indent paramters

18 years ago* hildon-libs/hildon-widgets/hildon-time-editor.c * hildon-libs/hildon-widgets/hildon...
Luc Pionchon [Mon, 1 May 2006 20:03:58 +0000 (20:03 +0000)]
* hildon-libs/hildon-widgets/hildon-time-editor.c * hildon-libs/hildon-widgets/hildon-time-picker.c * hildon-libs/hildon-widgets/hildon-wizard-dialog.h added comments to anonymous enums

18 years agoHildon banner truncations, * hildon-widgets/hildon-banner.c (force_to_wrap_truncated...
Luc Pionchon [Mon, 1 May 2006 14:05:52 +0000 (14:05 +0000)]
Hildon banner truncations, * hildon-widgets/hildon-banner.c (force_to_wrap_truncated): new function. Force to wrap truncated label by setting explicit size request. See N#27000 and G#329646 (hildon_banner_check_position): call force_to_wrap_truncated() fixes N#27000, N#25305, N#26203

* hildon-widgets/hildon-banner.c
        (HILDON_BANNER_LABEL_MAX_PROGRESS): increase value 265 -> 320 to
        satisfy N#26624, N#26161, N#27875

        * ut/tc_banner_truncate.c: new file. Test cases for banner truncations.

18 years ago* hildon-widgets/hildon-banner.[ch]: code cleanup.
Luc Pionchon [Mon, 1 May 2006 10:43:01 +0000 (10:43 +0000)]
* hildon-widgets/hildon-banner.[ch]: code cleanup.

18 years ago2006-04-29 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Sat, 29 Apr 2006 12:22:38 +0000 (12:22 +0000)]
2006-04-29 Johan Bilien <johan.bilien@nokia.com>

* hildon-widgets/hildon-window.c:
  - removed connection to self, replaced with overridding virtual
    methods
  - removed gtk_widget_set_event in init, legacy from HildonApp
  - use gtk_widget_get_child_requisition() instead of
    gtk_widget_size_request() in _allocation
  - don't allocate space for the child if it is not visible

18 years ago2006-04-28 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Fri, 28 Apr 2006 15:05:15 +0000 (15:05 +0000)]
2006-04-28 Johan Bilien <johan.bilien@nokia.com>

* hildon-widgets/hildon-window.c:
  - forgot to reinitialize convenience pointers to borders after they
    are reinitialised
  - replaced a g_return_if_fail with a g_return_val_if_fail now
    that toggle_menu returns a g_boolean

18 years ago2006-04-28 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Fri, 28 Apr 2006 13:52:06 +0000 (13:52 +0000)]
2006-04-28 Johan Bilien <johan.bilien@nokia.com>

N#28176
* hildon-widgets/hildon-window.c: Free the borders structure
  when the window is destroyed.

18 years agocheck if ancestor widget still exists in set-focus handler
Tapani Palli [Thu, 27 Apr 2006 10:12:46 +0000 (10:12 +0000)]
check if ancestor widget still exists in set-focus handler

18 years ago* hildon-widgets/hildon-time-editor.c (hildon_time_editor_check_locale): do not force...
Luc Pionchon [Wed, 26 Apr 2006 21:04:04 +0000 (21:04 +0000)]
* hildon-widgets/hildon-time-editor.c (hildon_time_editor_check_locale): do not force lower case for AM/PM symbols. Use the string as it is given by the locale. Makes it coherent with hildon time picker. Fixes N#27963

18 years ago* hildon-widgets/hildon-set-password-dialog.c (c_): new macro, calls dgettext on...
Luc Pionchon [Wed, 26 Apr 2006 20:12:02 +0000 (20:12 +0000)]
* hildon-widgets/hildon-set-password-dialog.c (c_): new macro, calls dgettext on "hildon-common-strings" domain. (hildon_set_password_response_set): use c_ for common strings (hildon_set_password_response_change): likewise. Fixes N#27749

* hildon-widgets/hildon-set-password-dialog.h: indent cleanup

18 years ago* hildon-widgets/hildon-file-handling-note.c (gettext macro): use "hildon-fm" as...
Luc Pionchon [Wed, 26 Apr 2006 19:36:53 +0000 (19:36 +0000)]
* hildon-widgets/hildon-file-handling-note.c (gettext macro): use "hildon-fm" as textual domain. Fixes N#27702

18 years agoreleased and packaged 0.12.12-1
Luc Pionchon [Wed, 26 Apr 2006 13:17:38 +0000 (13:17 +0000)]
released and packaged 0.12.12-1

18 years agodebian/control: Build-Depends, added 'gtk-doc-tools'
Luc Pionchon [Wed, 26 Apr 2006 13:05:48 +0000 (13:05 +0000)]
debian/control: Build-Depends, added 'gtk-doc-tools'

18 years ago* doc/Makefile.am: use "-include" for gtk-doc.make (ignore included Makefile if missing).
Luc Pionchon [Wed, 26 Apr 2006 13:05:05 +0000 (13:05 +0000)]
* doc/Makefile.am: use "-include" for gtk-doc.make (ignore included Makefile if missing).

* configure.ac: temporarily disable GTK_DOC_CHECK (problem in
integration environement)

* configure.ac: print configuration summary after processing

18 years ago* hildon-widgets/hildon-grid-item.c (hildon_grid_item_set_property), (hildon_grid_ite...
Marius Vollmer [Mon, 24 Apr 2006 17:26:08 +0000 (17:26 +0000)]
* hildon-widgets/hildon-grid-item.c (hildon_grid_item_set_property), (hildon_grid_item_get_property), (hildon_grid_item_class_init): Add icon-basename property. (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code from here to hildon_grid_item_init(), so we can just call g_object_new(). (hildon_grid_item_set_label): Convert NULL label to empty string. Bug fix: don't cast the label widget to a string and compare it against the new label text, use gtk_label_get_label instead. Expect priv->label to always be non-NULL. (update_icon): Don't pass NULL icon name to gtk_icon_theme_load_icon, use default icon instead in that case. * hildon-widgets/hildon-grid-item.h: Make _hildon_grid_item_set_label into public hildon_grid_item_set_label(), so that language bindings can use it. * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon. (test33a2, test33b4, test33b4): Expect them to succeed now that a HildonGridItem can handle NULL icons.

18 years ago* hildon-widgets/hildon-add-home-dialog.c: (hildon_add_home_dialog_new): Move code...
Marius Vollmer [Mon, 24 Apr 2006 14:56:08 +0000 (14:56 +0000)]
* hildon-widgets/hildon-add-home-dialog.c: (hildon_add_home_dialog_new): Move code into hildon_add_home_dialog_init(), hildon_add_home_dialog_set_old_name(), and hildon_add_home_dialog_set_new_name(). Supply parameters as properties values to g_object_new() instead, so that language bindings can do the same. (hildon_add_home_dialog_class_init): Added name and new_name properties. (hildon_add_home_dialog_init): Create always-needed widgets. (hildon_add_home_dialog_get_property), (hildon_add_home_dialog_set_property): Get/Set the name and new_name properties, recreating widgets if necessary, using new static helper function. * ut/hildon-widgets_tests.c (test46): New.

18 years agoList bug number.
Marius Vollmer [Mon, 24 Apr 2006 13:45:22 +0000 (13:45 +0000)]
List bug number.

18 years agoFrom Murray Cumming <murrayc@murrayc.com>.
Marius Vollmer [Mon, 24 Apr 2006 13:24:46 +0000 (13:24 +0000)]
From Murray Cumming <murrayc@murrayc.com>.

* hildon-widgets/hildon-calendar-popup.c:
(hildon_calendar_popup_new): Use only g_object_new(), passing
it properties, so that language bindings can do the same.
(hildon_calendar_popup_set_date): Veryify the date here,
instead of only in the _new() function.
(hildon_calendar_popup_set_property): Use get/set_date() to
verify the new date and to select it.
(hildon_calendar_popup_get_property): Remove unused variables.
* ut/hildon-widgets_tests.c (test45): New.

18 years agoreleased and packaged 0.12.11-1
Luc Pionchon [Fri, 21 Apr 2006 12:43:57 +0000 (12:43 +0000)]
released and packaged 0.12.11-1

18 years ago[PATCH 0243/1475] ooops
Luc Pionchon [Fri, 21 Apr 2006 12:37:31 +0000 (12:37 +0000)]
[PATCH 0243/1475] ooops

18 years agodo not exit if gtkdocize fails (gtk-doc disbled by default, and his missing in our...
Luc Pionchon [Fri, 21 Apr 2006 07:15:29 +0000 (07:15 +0000)]
do not exit if gtkdocize fails (gtk-doc disbled by default, and his missing in our current autobuild enironment)

18 years agothread safety
Tapani Palli [Wed, 19 Apr 2006 15:21:18 +0000 (15:21 +0000)]
thread safety

18 years agoupdated changelogs
Luc Pionchon [Wed, 19 Apr 2006 14:35:27 +0000 (14:35 +0000)]
updated changelogs

18 years agochanges...
Tapani Palli [Wed, 19 Apr 2006 14:20:49 +0000 (14:20 +0000)]
changes...

18 years agofix to send correct state for fullscreen in hildon-app.c
Tapani Palli [Wed, 19 Apr 2006 14:16:03 +0000 (14:16 +0000)]
fix to send correct state for fullscreen in hildon-app.c

18 years ago2006-04-19 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Wed, 19 Apr 2006 14:06:32 +0000 (14:06 +0000)]
2006-04-19 Johan Bilien <johan.bilien@nokia.com>

N#22909
* hildon-widgets/hildon-window.c:
  - hildon_window_toggle_menu now returns whether or not something was
    done
  - hildon_window_key_press_event(): when handling the menu hard key,
    return TRUE if we actually handled it
* hildon-widgets/hildon-appview.c: _hildon_appview_toggle_menu()
  now returns if something was done
* hildon-widgets/hildon-app.c: hildon_app_key_snooper(): return TRUE
  if we actually handled the menu hard key.

18 years agoadded thumb flag for compilation
Tapani Palli [Wed, 19 Apr 2006 11:31:38 +0000 (11:31 +0000)]
added thumb flag for compilation

18 years ago2006-04-19 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Wed, 19 Apr 2006 11:22:55 +0000 (11:22 +0000)]
2006-04-19 Johan Bilien <johan.bilien@nokia.com>

* hildon-widgets/hildon-window.c: Fixed a bug in child size allocation
  in fullscreen.

18 years agoreleased and packages 0.12.10-1
Luc Pionchon [Wed, 19 Apr 2006 11:18:02 +0000 (11:18 +0000)]
released and packages 0.12.10-1

18 years agocleanup
Luc Pionchon [Mon, 17 Apr 2006 11:52:02 +0000 (11:52 +0000)]
cleanup

18 years agoremoved auto-genarated files
Luc Pionchon [Mon, 17 Apr 2006 11:45:11 +0000 (11:45 +0000)]
removed auto-genarated files

18 years ago* debian/rules: tell ./autogen.sh to not launch ./configure * debian/rules: install...
Luc Pionchon [Mon, 17 Apr 2006 11:38:57 +0000 (11:38 +0000)]
* debian/rules: tell ./autogen.sh to not launch ./configure * debian/rules: install docs only if ENABLE_GTK_DOC is set

18 years agoupdate gtk dependency (everywhere)
Luc Pionchon [Mon, 17 Apr 2006 10:34:49 +0000 (10:34 +0000)]
update gtk dependency (everywhere)

18 years ago* debian/rules: ./configure call, put one argument per line for clarity. * debian...
Luc Pionchon [Mon, 17 Apr 2006 10:33:17 +0000 (10:33 +0000)]
* debian/rules: ./configure call, put one argument per line for clarity. * debian/rules: call ./autogen.sh to create ./configure

18 years agominor coding style change
Luc Pionchon [Mon, 17 Apr 2006 09:20:01 +0000 (09:20 +0000)]
minor coding style change

18 years ago* doc/hildon-libs-docs.sgml: added index for new symbols.
Luc Pionchon [Mon, 17 Apr 2006 08:52:08 +0000 (08:52 +0000)]
* doc/hildon-libs-docs.sgml: added index for new symbols.

18 years ago* doc/Makefile.am (version.xml): generates version.xml * doc/hildon-libs-docs.sgml...
Luc Pionchon [Mon, 17 Apr 2006 08:46:07 +0000 (08:46 +0000)]
* doc/Makefile.am (version.xml): generates version.xml * doc/hildon-libs-docs.sgml: added &version; entity, and display the version number in the doc title.

18 years agodon't use debian release number for gtk-doc Since tag...
Luc Pionchon [Mon, 17 Apr 2006 07:40:59 +0000 (07:40 +0000)]
don't use debian release number for gtk-doc Since tag...

18 years agoMinor changes for gtk-doc * hildon-note.c * hildon-weekday-picker.h * hildon-name...
Luc Pionchon [Sun, 16 Apr 2006 23:50:03 +0000 (23:50 +0000)]
Minor changes for gtk-doc * hildon-note.c * hildon-weekday-picker.h * hildon-name-password-dialog.c * hildon-calendar-popup.h * hildon-range-editor.h * hildon-volumebar-range.h * hildon-banner.c * hildon-app.c * hildon-time-editor.c * gtk-infoprint.c * hildon-date-editor.h

18 years ago* hildon-widgets/hildon-time-editor.c (hildon_time_editor_set_show_hours) (hildon_tim...
Luc Pionchon [Sun, 16 Apr 2006 14:54:13 +0000 (14:54 +0000)]
* hildon-widgets/hildon-time-editor.c (hildon_time_editor_set_show_hours) (hildon_time_editor_get_show_hours): added gtk-doc tag 'Since:'

18 years agoupdate
Luc Pionchon [Sun, 16 Apr 2006 14:51:26 +0000 (14:51 +0000)]
update

18 years agoupdated dependency to GTK+
Luc Pionchon [Sat, 15 Apr 2006 16:19:10 +0000 (16:19 +0000)]
updated dependency to GTK+

18 years ago* hildon-widgets/hildon-time-editor.c (hildon_time_editor_entry_keypress): use hildon...
Luc Pionchon [Sat, 15 Apr 2006 16:12:31 +0000 (16:12 +0000)]
* hildon-widgets/hildon-time-editor.c (hildon_time_editor_entry_keypress): use hildon_gtk_widget_set_logical_font, provided by osso-GTK, since 2.6.10-1.osso4, instead of GTK private symbol _gtk_widget_set_logical_font

18 years agoadded "FIXME"
Luc Pionchon [Sat, 15 Apr 2006 16:11:57 +0000 (16:11 +0000)]
added "FIXME"

18 years agoFrom Murray Cummings (M#185 M#283), with slight changes:
Luc Pionchon [Sat, 15 Apr 2006 10:48:38 +0000 (10:48 +0000)]
From Murray Cummings (M#185 M#283), with slight changes:

* configure.ac: Add a --rebuilds option, defaulting to yes, so we
        can disable the regeneration of hildon-libs-enum-types.[h|c], also
        based on the gnome-vfs build.

        * hildon-widgets/Makefile.am: Use glib-mkenums to generate
        hildon-libs-enum-types.[h|c], and build them, based on the
        gnome-vfs build. This adds GTypes for the enums, needed for
        accurate signal registration, needed by bindings.

        * hildon-widgets/hildon-number-editor.h: Rename the error_handler
        default signal handler to range_error, so it has the same name as
        the signal, as expected by bindings.

        * hildon-widgets/hildon-marshalers.list: Change to the now-used
        marshallers.

        * hildon-widgets/hildon-note.h (HildonNodeType): Marked as 'skip'.
        since hildon_note_type_get_type is defined manually and
        glib-mkenums should ignore this enum.

        * hildon-widgets/hildon-app.h (HildonZoomLevel): Likewise.
        * hildon-widgets/hildon-caption.h (HildonCaptionStatus): Likewise.

        Correct the signal registration for:

        * hildon-widgets/hildon-app.c
        (hildon_app_class_init):
        "switch_to",
        "clipboard_copy",
        "clipboard_cut",
        "clipboard_paste"

        * hildon-widgets/hildon-date-editor.c
        (hildon_date_editor_class_init):
        "date_error"

        * hildon-widgets/hildon-find-toolbar.c
        (hildon_find_toolbar_class_init):
        "search",
        "close",
        "invalid_input",
        "history_append signals"

        * hildon-widgets/hildon-grid.c
        (hildon_grid_class_init):
        "popup_context_menu"

        * hildon-widgets/hildon-number-editor.c
        (hildon_number_editor_class_init):
        "range_error".

18 years agoM#90 - Use standard GLib macro names. Based on a patch from Osvaldo Santana <osvaldo...
Luc Pionchon [Thu, 13 Apr 2006 20:21:25 +0000 (20:21 +0000)]
M#90 - Use standard GLib macro names. Based on a patch from Osvaldo Santana <osvaldo.santana@indt.org.br>

Deprecate HILDON_*_TYPE, replace by HILDON_TYPE_*,
        * hildon-widgets/hildon-calendar-popup.h:
        * hildon-widgets/hildon-date-editor.h:
        * hildon-widgets/hildon-range-editor.h:
        * hildon-widgets/hildon-weekday-picker.h:
        * hildon-widgets/hildon-volumebar-range.h:

        Updated macro name,
        * hildon-widgets/hildon-calendar-popup.c:
        * hildon-widgets/hildon-date-editor.c:
        * hildon-widgets/hildon-range-editor.c:
        * hildon-widgets/hildon-volumebar-range.c:
        * hildon-widgets/hildon-weekday-picker.c:

18 years agoreleased and packaged 0.12.9
Luc Pionchon [Thu, 13 Apr 2006 19:25:39 +0000 (19:25 +0000)]
released and packaged 0.12.9

18 years ago2006-04-13 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Thu, 13 Apr 2006 12:26:52 +0000 (12:26 +0000)]
2006-04-13 Johan Bilien <johan.bilien@nokia.com>

* hildon-widgets/hildon-code-dialog.c: Fixed L10n logical ids
  for Ok and Cancel buttons.

18 years agoadded /* FIXME */ about mandatory/optional logic (dead code?)
Luc Pionchon [Thu, 13 Apr 2006 11:03:36 +0000 (11:03 +0000)]
added /* FIXME */ about mandatory/optional logic (dead code?)

18 years ago* hildon-widgets/hildon-color-button.c (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH...
Luc Pionchon [Thu, 13 Apr 2006 10:43:40 +0000 (10:43 +0000)]
* hildon-widgets/hildon-color-button.c (INNER_BORDER_THICKNESS, COLOR_BUTTON_WIDTH, COLOR_BUTTON_HEIGHT): updated dimensions.

18 years ago2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>
Luc Pionchon [Thu, 13 Apr 2006 10:26:29 +0000 (10:26 +0000)]
2006-04-13 Luc Pionchon <luc.pionchon@nokia.com>

* hildon-widgets/hildon-time-editor.c
        (convert_to_12h): removed m and s paramters (useless)
        (convert_to_24h): likewise.

18 years agoAutomatic focus movement for HildonTimeEditor (IMP-13)
Luc Pionchon [Thu, 13 Apr 2006 10:11:36 +0000 (10:11 +0000)]
focus movement for HildonTimeEditor (IMP-13)

* hildon-widgets/hildon-time-editor.c
        (hildon_time_editor_init): connect after signal "insert_text"
        (hildon_time_editor_inserted_text): new function.
        On inserted text, if entry has two digits, jumps to the next field.

18 years agoPops up the color selector on 'selecte' hardkey (IMP-15)
Luc Pionchon [Thu, 13 Apr 2006 09:39:39 +0000 (09:39 +0000)]
Pops up the color selector on 'selecte' hardkey (IMP-15)

* hildon-widgets/hildon-color-button.c
        (hildon_color_button_init): connect "key-release-event"
        (hildon_color_button_key_released): new function.
        Pops up the color selector on 'select' hardkey release

18 years agoHildon grid, set items to be focus-and-activate instead of single tap activation...
Luc Pionchon [Thu, 13 Apr 2006 09:20:33 +0000 (09:20 +0000)]
Hildon grid, set items to be focus-and-activate instead of single tap activation (IMP-14)

* hildon-widgets/hildon-grid.c (hildon_grid_button_pressed): do not set focus.
        * hildon-widgets/hildon-grid.c (hildon_grid_button_released): activate selected item.

18 years agoFetch hours/minutes/seconds separators from current locale (IMP-8)
Luc Pionchon [Thu, 13 Apr 2006 08:44:51 +0000 (08:44 +0000)]
Fetch hours/minutes/seconds separators from current locale (IMP-8)

* hildon-widgets/hildon-time-editor.c
        (struct _HildonTimeEditorPrivate): added 'hm_sep_symbol' and 'ms_sep_symbol'
        (hildon_time_editor_init): do not get separator labels from i18n, but from locale
        (hildon_time_editor_finalize): free separator symbols
        (get_time_separators): new function. Get time separators from locale.
        (hildon_time_editor_check_locale): call get_time_separators.

18 years agoRemoved icon for mandatory fields. Note: the logic and API to specify mandatory field...
Luc Pionchon [Thu, 13 Apr 2006 07:58:40 +0000 (07:58 +0000)]
Removed icon for mandatory fields. Note: the logic and API to specify mandatory fields is preserved.

* hildon-widgets/hildon-caption.c (HILDON_CAPTION_MANDATORY_ICON): removed.
        (struct _HildonCaptionPrivate): removed 'mandatory_icon' field.
        (hildon_caption_set_property): case PROP_STATUS, removed related code.
        (hildon_caption_set_label_alignment): removed related code.

18 years ago'configure' update
Luc Pionchon [Wed, 12 Apr 2006 21:04:17 +0000 (21:04 +0000)]
'configure' update

18 years agoupdate
Luc Pionchon [Fri, 7 Apr 2006 18:36:21 +0000 (18:36 +0000)]
update

18 years agoreleased and packaged 0.12.8
Luc Pionchon [Fri, 7 Apr 2006 18:24:26 +0000 (18:24 +0000)]
released and packaged 0.12.8

18 years ago- correct version for gtk-doc "Since" markers - moved implementation comment into...
Luc Pionchon [Fri, 7 Apr 2006 18:22:42 +0000 (18:22 +0000)]
- correct version for gtk-doc "Since" markers - moved implementation comment into function

18 years ago* hildon-widgets/hildon-banner.c: added gtk-doc Since markers.
Luc Pionchon [Fri, 7 Apr 2006 18:10:14 +0000 (18:10 +0000)]
* hildon-widgets/hildon-banner.c: added gtk-doc Since markers.

18 years agoupdate
Luc Pionchon [Fri, 7 Apr 2006 18:08:03 +0000 (18:08 +0000)]
update

18 years ago2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>
Luc Pionchon [Fri, 7 Apr 2006 18:05:07 +0000 (18:05 +0000)]
2006-04-07 Tomas Junnonen <tomas.junnonen@nokia.com>

- Added support for Pango markup
          Added   hildon_banner_show_information_with_markup
        - Removed hildon_banner_show_confirmation
        - Re-position the banner when its content changes
        - Banner now doesn't truncate strings nor insert linebreaks
        - fixes N#24339 - Information banners do not resize

        * hildon-widgets/hildon-banner.[ch]
        (hildon_banner_show_information_with_markup): new function. Adds
        pango markup support for information banners.

        (hildon_banner_show_confirmation): removed. 'confirmation' was
        used only for the taask navigator (at most). It should use
        _show_information_with_markup with appropriate markup.

        (hildon_banner_set_markup): new function.

        (hildon_banner_check_position): new function. Factor code from
        hildon_banner_realize(), and update position calculation.

        (struct _HildonBannerPrivate): removed max_lines.
        Uses as much lines as needed.

        (hildon_banner_init): set banner label to wrap lines.

        (hildon_banner_set_text): do not truncate. Update banner's position.

        (hildon_banner_set_markup): new function.
                                    Set banner's text with Pango markup.

        (_hildon_gtk_label_set_text_n_lines): marked as deprecated.

        * hildon-widgets/gtk-infoprint.c
        (gtk_confirmation_banner): use hildon_banner_show_information
        instead of _show_confirmation.
        (gtk_confirmation_banner_with_icon_name): likewise.

18 years ago* hildon-widgets/hildon-color-button.c (hildon_color_field_expose_event): correct...
Luc Pionchon [Fri, 7 Apr 2006 14:00:09 +0000 (14:00 +0000)]
* hildon-widgets/hildon-color-button.c (hildon_color_field_expose_event): correct parameter order.

18 years ago2006-04-07 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Fri, 7 Apr 2006 11:46:21 +0000 (11:46 +0000)]
2006-04-07 Johan Bilien <johan.bilien@nokia.com>

* hildon-widgets/hildon-window.c:
  - Fixed a potential infinite loop when detaching the menus
    from the window widget (Closes N#26033)

18 years ago2006-04-06 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Thu, 6 Apr 2006 14:09:53 +0000 (14:09 +0000)]
2006-04-06 Johan Bilien <johan.bilien@nokia.com>

* hildon-widgets/hildon-window.c:
  - Fixed a bug that made window fullscreen state tracking fail
  - Apply correct theming to menus so that they get placed
    correctly (Fixes N#24325)
  - Redraw the window borders if the size of the toolbar vbox changes
  - Reset the program to NULL in hildon_window_destroy
  - Stop the ESC key-press timeout when the window loses the focus
  - Small cleanups
* hildon-widgets/hildon-program.c:
  - Reset the common toolbar to NULL when the program is finalised

18 years ago* hildon-widgets/hildon-get-password-dialog.h, hildon-widgets/hildon-get-password...
Marius Vollmer [Tue, 4 Apr 2006 06:49:12 +0000 (06:49 +0000)]
* hildon-widgets/hildon-get-password-dialog.h, hildon-widgets/hildon-get-password-dialog.c (hildon_get_password_dialog_new, hildon_get_password_dialog_new_with_default): Renamed get_old_password_title parameter to "get_old" to correspond with the property name. This helps the C++ bindings. * ut/hildon-widgets_tests.c (test43, test44): New.

18 years agogit-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-libs@3307...
Marius Vollmer [Mon, 3 Apr 2006 14:33:06 +0000 (14:33 +0000)]
git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-libs@3307 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

18 years agoFrom Murray Cumming.
Marius Vollmer [Mon, 3 Apr 2006 14:32:49 +0000 (14:32 +0000)]
From Murray Cumming.

* hildon-lgpl/hildon-caption.c:
(hildon_caption_init): Do the hildon_caption_set_child_expand()
here.
(hildon_caption_new): Use the child property from GtkContainer
instead of calling gtk_container_add(), because _new() functions
should just use g_object_new(), so that language-bindings can do
the same.

* ut/hildon-widgets_tests.c: Added test42 for hildon_caption_new.

18 years ago* ut/hildon-widgets_tests.c: Disabled unimplemented testcases: test20a, test20b,...
Marius Vollmer [Mon, 3 Apr 2006 14:25:57 +0000 (14:25 +0000)]
* ut/hildon-widgets_tests.c: Disabled unimplemented testcases: test20a, test20b, test20c, test20d, test36a, test36b, test36c, test36d.

18 years agoFix typo in debian/changelog
Natalia Dobrovolskaya [Fri, 31 Mar 2006 11:43:08 +0000 (11:43 +0000)]
Fix typo in debian/changelog

18 years agoCommit config.*
Natalia Dobrovolskaya [Fri, 31 Mar 2006 11:32:52 +0000 (11:32 +0000)]
Commit config.*

18 years agodebian/control: removed -l10n-english dependency (does not exist (yet))
Natalia Dobrovolskaya [Fri, 31 Mar 2006 11:30:20 +0000 (11:30 +0000)]
debian/control: removed -l10n-english dependency (does not exist (yet))

18 years agoreleased and packaged 0.12.7
Luc Pionchon [Thu, 30 Mar 2006 17:02:49 +0000 (17:02 +0000)]
released and packaged 0.12.7

18 years agoupdate
Luc Pionchon [Wed, 29 Mar 2006 15:18:20 +0000 (15:18 +0000)]
update

18 years agoFixes N#20917 * hildon-widgets/hildon-font-selection-dialog.c (REFERENCE_LINE): remov...
Luc Pionchon [Wed, 29 Mar 2006 15:16:43 +0000 (15:16 +0000)]
Fixes N#20917 * hildon-widgets/hildon-font-selection-dialog.c (REFERENCE_LINE): removed (hildon_font_selection_dialog_show_preview): added l10n support for the reference string (use to differentiate sub/super script in font preview) (hildon_font_selection_dialog_show_preview): likewise

18 years ago* po/en_GB.po: update
Luc Pionchon [Tue, 28 Mar 2006 16:11:39 +0000 (16:11 +0000)]
* po/en_GB.po: update

18 years ago* debian/control (Depends): changed l10n dependency according to the new process...
Luc Pionchon [Tue, 28 Mar 2006 16:03:58 +0000 (16:03 +0000)]
* debian/control (Depends): changed l10n dependency according to the new process (marketing releases 'mr')

18 years ago* hildon-widgets/hildon-add-home-dialog.c (hildon_add_home_dialog_init): removed...
Luc Pionchon [Tue, 28 Mar 2006 09:59:49 +0000 (09:59 +0000)]
* hildon-widgets/hildon-add-home-dialog.c (hildon_add_home_dialog_init): removed i18n support (deprecated widget. Hinder logical ID processing) (hildon_add_home_dialog_new): likewise.

* hildon-widgets/hildon-insert-object-dialog.c
        (hildon_insert_object_dialog_init): likewise.

18 years ago2006-03-27 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Mon, 27 Mar 2006 07:25:43 +0000 (07:25 +0000)]
2006-03-27 Johan Bilien <johan.bilien@nokia.com>

* hildon-widgets/hildon-window.[ch]:
  - update the title when the window is realized
  - added support for long press on the ESC key. Fixes N#24620

18 years ago* hildon-widgets/hildon-time-editor.h: indent, improve readability.
Luc Pionchon [Sun, 26 Mar 2006 00:18:35 +0000 (00:18 +0000)]
* hildon-widgets/hildon-time-editor.h: indent, improve readability.

18 years ago* hildon-widgets/hildon-seekbar.c (hildon_seekbar_button_press_event): use if stateme...
Luc Pionchon [Sat, 25 Mar 2006 23:58:42 +0000 (23:58 +0000)]
* hildon-widgets/hildon-seekbar.c (hildon_seekbar_button_press_event): use if statement instead of 's?a:b'

18 years agoadded note to explain what this file is
Luc Pionchon [Sat, 25 Mar 2006 18:53:54 +0000 (18:53 +0000)]
added note to explain what this file is

18 years agoreleased and packaged 0.12.6
Luc Pionchon [Fri, 24 Mar 2006 10:01:15 +0000 (10:01 +0000)]
released and packaged 0.12.6

18 years ago* hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT): fixed typo GKD_Left -> GDK_Left
Luc Pionchon [Thu, 23 Mar 2006 18:14:54 +0000 (18:14 +0000)]
* hildon-widgets/hildon-defines.h (HILDON_HARDKEY_LEFT): fixed typo GKD_Left -> GDK_Left

18 years agoFixed i18n issues:
Luc Pionchon [Wed, 22 Mar 2006 16:21:50 +0000 (16:21 +0000)]
Fixed i18n issues:

Updated logical id to lower case: Ckct_ -> ckct_
        * hildon-widgets/hildon-date-editor.c (hildon_date_editor_date_error):
        * hildon-widgets/hildon-number-editor.c (hildon_number_editor_error_handler):
        * hildon-widgets/hildon-range-editor.c (hildon_range_editor_class_init)
        (hildon_range_editor_init, hildon_range_editor_entry_validate)
        (hildon_range_editor_entry_validate):
        * hildon-widgets/hildon-time-editor.c (validated_conversion)
        (validated_conversion, hildon_time_editor_real_validate):
        * hildon-widgets/hildon-grid.c (hildon_grid_class_init)
        (hildon_grid_init):

        Updated logical id to lower case: Ecdg_ -> ecdg_
        * hildon-widgets/hildon-time-editor.c (hildon_time_editor_init):
        * hildon-widgets/hildon-time-picker.c (hildon_time_picker_init):
        * hildon-widgets/hildon-calendar-popup.c (hildon_calendar_popup_init):
        * hildon-widgets/hildon-color-popup.c (hildon_color_popup_new)
        * hildon-widgets/hildon-wizard-dialog.c (hildon_wizard_dialog_init)
        (hildon_wizard_dialog_create_title):
        * hildon-widgets/hildon-find-toolbar.c (hildon_find_toolbar_class_init):
        (hildon_find_toolbar_init):
        * hildon-widgets/hildon-note.c (hildon_note_rebuild)
        (hildon_note_rebuild, hildon_note_set_button_text):

        Removed i18n support for property description,
        * hildon-widgets/hildon-time-picker.c (hildon_time_picker_class_init):

18 years agoupdate autotools generated files...
Luc Pionchon [Tue, 21 Mar 2006 17:03:36 +0000 (17:03 +0000)]
update autotools generated files...

18 years agoreleased and packaged 0.12.5-1
Luc Pionchon [Tue, 21 Mar 2006 17:02:58 +0000 (17:02 +0000)]
released and packaged 0.12.5-1

18 years agocleanup ChangeLog
Luc Pionchon [Tue, 21 Mar 2006 16:50:49 +0000 (16:50 +0000)]
cleanup ChangeLog

18 years agoMinor documentation fixes.
Tommi Komulainen [Tue, 21 Mar 2006 16:09:08 +0000 (16:09 +0000)]
Minor documentation fixes.

2006-03-21  Tommi Komulainen  <tommi.komulainen@nokia.com>

* doc/hildon-libs-docs.sgml: Move HildonWizardDialog in Dialogs
* hildon-widgets/hildon-caption.c: Fix erroneous gtk-doc comment
blocks, again.

18 years ago2006-03-20 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Mon, 20 Mar 2006 17:56:34 +0000 (17:56 +0000)]
2006-03-20 Johan Bilien <johan.bilien@nokia.com>

* hildon-widgets/hildon-grid.c: added missing include hildon-app.h for
  HILDON_IS_APP

18 years ago2006-03-20 Johan Bilien <johan.bilien@nokia.com>
Johan Bilien [Mon, 20 Mar 2006 15:47:33 +0000 (15:47 +0000)]
2006-03-20 Johan Bilien <johan.bilien@nokia.com>

Cleanup wizard dialog
* hildon-widgets/hildon-wizard-dialog.c
  (HildonWizardDialogPrivate?): Removed the previous_button and
  next_button members of the structure (they are no longer needed).
  (hildon_wizard_dialog_response): This new private function handles the
  'response' signal and replaces the funtion direction_button_clicked()
  in taking care of notebook page changes and button dimming. Much of the
  old code in direction_button_clicked() was rewritten and simplified.
  (hildon_wizard_dialog_init): 'previous' and 'next' buttons are now added
  to the dialog as response buttons. This enables the
  usage of GtkDialog? API for setting their sensitiveness
  (dimming/undimming). Connected hildon_wizard_dialog_response to
  "resonse" signal. Removed useless title creation because it depends
  on the notebook which is not yet created.
  (hildon_wizard_dialog_set_property): Minor indentation and comments
  changes.
  (hildon_wizard_dialog_create_title): Removed useless else-if statement.
* hildon-widgets/hildon-wizard-dialog.h
  (hildon_wizard_dialog_get_type): added G_GNUC_CONST at end of declaration

* hildon-widgets/hildon-wizard-dialog.{c,h}: Reverted the patch
  adding the page_change signal, as the application can now
  track the response signal instead.

18 years agoreleased and packaged 0.12.4-1
Luc Pionchon [Fri, 17 Mar 2006 16:58:09 +0000 (16:58 +0000)]
released and packaged 0.12.4-1

18 years agoFIXME: should be moved to hildon-fm (file handling, depends on gnome-vfs) FIXME:...
Luc Pionchon [Thu, 16 Mar 2006 15:30:41 +0000 (15:30 +0000)]
FIXME: should be moved to hildon-fm (file handling, depends on gnome-vfs) FIXME: deprecated widget. Shall not be used anywhere.

18 years agominor doc update
Luc Pionchon [Thu, 16 Mar 2006 15:30:17 +0000 (15:30 +0000)]
minor doc update

18 years ago* doc/tmpl/* * hildon-widgets/* moved widget descriptions to respective source file...
Luc Pionchon [Thu, 16 Mar 2006 15:29:44 +0000 (15:29 +0000)]
* doc/tmpl/* * hildon-widgets/* moved widget descriptions to respective source file (*.c) + minor doc updates

18 years agoCleanup color button
Luc Pionchon [Thu, 16 Mar 2006 15:18:33 +0000 (15:18 +0000)]
Cleanup color button

* hildon-widgets/hildon-color-button.c:
        - removed unused #include
        - removed unused gettext macro

        (COLOR_FIELD_WIDTH) : renamed to COLOR_FILLED_WIDTH
        (COLOR_FIELD_HEIGHT): renamed to COLOR_FILLED_HEIGHT
        + value updated to match specifications

        (struct _HildonColorButtonPrivate):
        removed 'drawing_area' and 'pixbuf' members (unused)

        (hildon_color_button_init):
        use drawing_area directly, update COLOR_FILLED_ macro names

        (hildon_color_button_unrealize): new function.
        (hildon_color_button_class_init): register unrealize function
        (hildon_color_button_finalize): free allocated GC in unrealize
        handler instead of in finalize.

        (hildon_color_button_recolor_pixbuf): removed. (use
        gdk_draw_rectangle() instead)
        (hildon_color_button_draw_pixbuf_borders): likewise

        (hildon_color_field_expose_event): use gdk_draw_rectangle() to
        draw the button
        (hildon_color_button_set_property): queue the drawing - instead of
        calling recolor_pixbuf

        (hildon_color_button_clicked): renamed variable 'csd' to 'cs_dialog'