hildon
15 years ago* src/hildon-app-menu.c (hildon_app_menu_class_init): New inner-border style property...
Alberto Garcia [Thu, 12 Jun 2008 10:05:54 +0000 (10:05 +0000)]
* src/hildon-app-menu.c (hildon_app_menu_class_init): New inner-border style property. Set all default spacings to 16 (hildon_app_menu_init): Use vertical-spacing to set the space between filter buttons and regular menu buttons. Set the default container border using the inner-border value.

* examples/hildon-app-menu-example.c
(create_menu):
Don't set the menu border explicitly, now we have the inner-border
style property for that.

15 years ago* src/hildon-app-menu.c (hildon_app_menu_init): Make the window modal
Alberto Garcia [Wed, 11 Jun 2008 18:20:06 +0000 (18:20 +0000)]
* src/hildon-app-menu.c (hildon_app_menu_init): Make the window modal

* src/hildon-note.c (hildon_note_map)
* src/hildon-app-menu.c (hildon_app_menu_map):
Destroy the grab window if we're unable to grab the pointer

15 years ago* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_init, hildon...
Alberto Garcia [Wed, 11 Jun 2008 17:49:15 +0000 (17:49 +0000)]
* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_init, hildon_app_menu_finalize) (hildon_app_menu_map, hildon_app_menu_unmap) (hildon_app_menu_button_release) (grab_transfer_window_get): Bring back the grab window (hildon_app_menu_realize): Decorate the window, set WM hint for Matchbox

15 years ago* src/hildon-note.c (hildon_note_realize): * src/hildon-banner.c (hildon_banner_reali...
Alberto Garcia [Wed, 11 Jun 2008 14:57:48 +0000 (14:57 +0000)]
* src/hildon-note.c (hildon_note_realize): * src/hildon-banner.c (hildon_banner_realize): Add WM hints for Matchbox

15 years ago* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_init, hildon...
Alberto Garcia [Tue, 10 Jun 2008 19:24:12 +0000 (19:24 +0000)]
* src/hildon-app-menu-private.h * src/hildon-app-menu.c (hildon_app_menu_init, hildon_app_menu_finalize) (hildon_app_menu_map, hildon_app_menu_unmap) (hildon_app_menu_button_release): Remove the grab window, it's not needed anymore

15 years ago* src/hildon-program.c Fixed typo in documentation
Alberto Garcia [Tue, 10 Jun 2008 16:33:06 +0000 (16:33 +0000)]
* src/hildon-program.c Fixed typo in documentation

15 years ago* src/hildon-app-menu.h * src/hildon-app-menu.c * examples/hildon-app-menu-example...
Alberto Garcia [Tue, 10 Jun 2008 11:24:32 +0000 (11:24 +0000)]
* src/hildon-app-menu.h * src/hildon-app-menu.c * examples/hildon-app-menu-example.c Remove hildon_app_menu_popup(), use gtk_widget_show() instead

15 years ago* src/hildon-note.c Remove the comment about the OK button in the documentation
Alberto Garcia [Mon, 9 Jun 2008 17:11:25 +0000 (17:11 +0000)]
* src/hildon-note.c Remove the comment about the OK button in the documentation

15 years ago* src/hildon-note.c Added new transfer_window and close_if_pressed_outside private...
Alberto Garcia [Mon, 9 Jun 2008 17:06:29 +0000 (17:06 +0000)]
* src/hildon-note.c Added new transfer_window and close_if_pressed_outside private attributes. (hildon_note_rebuild): Don't add a cancel button to the information note. It will be closed when tapping outside (hildon_note_realize): Set the notification type hint (hildon_note_map, hildon_note_unmap, grab_transfer_window_get): Grab/ungrab pointer and keyboard if the note has to be closed when tapping outside (hildon_note_button_release): Close the note when tapping outside (if applicable)

* src/hildon-app-menu.c
(hildon_app_menu_button_release, hildon_app_menu_class_init):
Close the menu on button release, not button press

15 years ago* src/hildon-app-menu.c Grab/ungrab pointer and keyboard on map/unmap
Alberto Garcia [Mon, 9 Jun 2008 14:36:03 +0000 (14:36 +0000)]
* src/hildon-app-menu.c Grab/ungrab pointer and keyboard on map/unmap

15 years ago* src/hildon-banner.c (hildon_banner_set_property) (hildon_banner_check_position...
Alberto Garcia [Mon, 9 Jun 2008 13:46:59 +0000 (13:46 +0000)]
* src/hildon-banner.c (hildon_banner_set_property) (hildon_banner_check_position): Make the banner use the full width of the screen (hildon_banner_show_information) (hildon_banner_show_information_with_markup): Don't display an icon by default

15 years agoAdded fading scrollbars and adapted all the overshooting code to horizontal scrolling...
Alejandro G. Castro [Mon, 9 Jun 2008 12:40:56 +0000 (12:40 +0000)]
Added fading scrollbars and adapted all the overshooting code to horizontal scrolling. We have also fixed bugs with overshooting and current fading implementation.

* src/hildon-pannable-area.c
(hildon_pannable_area_scroll_indicator_fade): Time out function
used to change the transparency of the scrollbars.

(hildon_pannable_area_button_press_cb): Added horizontal overshot
control and fixed a problem with fading, we now remove the fade
timeout before adding a new one.

(hildon_pannable_axis_scroll):
(hildon_pannable_area_scroll):
(hildon_pannable_area_timeout): Added this functions so we can use
the scroll code both for vertical and horizontal.

(hildon_pannable_area_motion_notify_cb):
(hildon_pannable_area_button_release_cb): Added the horizontal
scrolling control, fixed a problem with the overshooting timeout.

(rgb_from_gdkcolor): Added this function, it is used in the cairo
painting of the scrolls.

(hildon_pannable_draw_vscroll):
(hildon_pannable_draw_hscroll):
(hildon_pannable_area_expose_event):
Draw both scrollbars and rectangles in the overshooting area.

(hildon_pannable_area_get_property):
(hildon_pannable_area_set_property):
Modified the overshoot property to overshoot_max

(hildon_pannable_area_map):
Replaced the comments symbols.

(hildon_pannable_area_size_allocate):
(hildon_pannable_area_class_init):
(hildon_pannable_area_init): Added horizontal scroll, fading
effect properties, fixed a problem when overshooting in the bottom
of the widget.

* examples/hildon-pannable-area-example.c:
(get_sawtooth_label): Now we use smaller sawtooths, the effect
looks better in the example.

16 years ago* src/hildon-window.c * src/hildon-window.h (hildon_window_class_init) (hildon_window...
Alberto Garcia [Tue, 3 Jun 2008 12:07:46 +0000 (12:07 +0000)]
* src/hildon-window.c * src/hildon-window.h (hildon_window_class_init) (hildon_window_unset_program) (hildon_window_unset_program_real): Make unset_program a virtual function

* src/hildon-stackable-window.c
* src/hildon-stackable-window.h
Added hildon_stackable_window_go_home()

* examples/Makefile.am
* examples/hildon-stackable-window-example.c
HildonStackableWindow example

16 years ago* hildon-pannable-area.c: Added the overshoot property and removed the OVERSHOOT...
Alejandro G. Castro [Tue, 3 Jun 2008 10:26:38 +0000 (10:26 +0000)]
* hildon-pannable-area.c: Added the overshoot property and removed the OVERSHOOT define. Fixed an indent style error. (hildon_pannable_area_motion_notify_cb): (hildon_pannable_area_get_property): (hildon_pannable_area_set_property): Add overshoot property.

(hildon_pannable_area_scroll): replaced OVERSHOOT define with
overshoot property.

(hildon_pannable_area_class_init): Installed the new property.

* hildon-pannable-area-example.c: Added a sawtooth function, this
way it is easier to check the movement in the pannable.
(get_sawtooth_label): Added this function.
(main): Now we get the labels from the new get_sawtooth_label
function.

16 years agoDirty commit, adding the new hildon-pannable-area into hildon-widgets, dirty because...
Karl Lattimer [Mon, 2 Jun 2008 09:36:41 +0000 (09:36 +0000)]
Dirty commit, adding the new hildon-pannable-area into hildon-widgets, dirty because it has been put through indent to clean up the code indentation, we should do this with all hildon-widgets once we work out an indentation standard

16 years ago* src/hildon-app-menu.c (hildon_app_menu_init, hildon_app_menu_class_init): New exter...
Alberto Garcia [Mon, 26 May 2008 13:56:10 +0000 (13:56 +0000)]
* src/hildon-app-menu.c (hildon_app_menu_init, hildon_app_menu_class_init): New external-border style property

16 years ago* src/hildon-app-menu.c (hildon_app_menu_popup): Use also the default window size...
Alberto Garcia [Mon, 26 May 2008 13:05:50 +0000 (13:05 +0000)]
* src/hildon-app-menu.c (hildon_app_menu_popup): Use also the default window size to decide where to place the menu

16 years ago* src/hildon-app-menu.h * src/hildon-app-menu.c Renamed API variables for consistency
Alberto Garcia [Mon, 26 May 2008 11:21:32 +0000 (11:21 +0000)]
* src/hildon-app-menu.h * src/hildon-app-menu.c Renamed API variables for consistency

16 years agofix typo
Michael Natterer [Mon, 26 May 2008 09:27:31 +0000 (09:27 +0000)]
fix typo

16 years ago2008-05-26 Michael Natterer <mitch@imendio.com>
Michael Natterer [Mon, 26 May 2008 09:26:43 +0000 (09:26 +0000)]
2008-05-26 Michael Natterer <mitch@imendio.com>

* src/hildon-time-editor.c (hildon_time_editor_class_init): The
widget_class->tap_and_hold_setup signal slot doesn't exist any
longer, stop overriding it.

(hildon_time_editor_init): g_signal_connect() to the
tap-and-hold-setup signal instead.

(hildon_time_editor_entry_keypress): add case to fix warning.

16 years ago* doc/hildon-docs.sgml * doc/hildon.types * examples/Makefile.am * examples/hildon...
Alberto Garcia [Fri, 23 May 2008 18:05:59 +0000 (18:05 +0000)]
* doc/hildon-docs.sgml * doc/hildon.types * examples/Makefile.am * examples/hildon-app-menu-example.c * src/Makefile.am * src/hildon-app-menu-private.h * src/hildon-app-menu.c * src/hildon-app-menu.h * src/hildon.h New HildonAppMenu widget

16 years agoSimple change to make hildon-widgets compileable with gtk+2.12
Karl Lattimer [Fri, 23 May 2008 14:05:09 +0000 (14:05 +0000)]
Simple change to make hildon-widgets compileable with gtk+2.12

16 years agoRearranged the inheritance of the pannable area, now it inherits from GtkBin. This...
Alejandro G. Castro [Wed, 21 May 2008 11:57:55 +0000 (11:57 +0000)]
Rearranged the inheritance of the pannable area, now it inherits from GtkBin. This will allow us to control the event_window and the allocation process of the widget, required for some effects.

* src/hildon-pannable-area.h: Replaced GtkEventBox structures with
GtkBin structures.  * src/hildon-pannable-area.c: Added the
event_window variable.
(hildon_pannable_area_button_press_cb):
(hildon_pannable_area_button_release_cb):
(hildon_pannable_area_motion_notify_cb):
Changed the signature of the method, now we override the event
callback instead of connecting to the signal.

(hildon_pannable_area_realize):
(hildon_pannable_area_unrealize):
(hildon_pannable_area_map):
(hildon_pannable_area_unmap):
(hildon_pannable_area_size_allocate):
Added functions to control the widget construction. We add a
INPUT_ONLY window and we put it over the widgets inside the
container, this event_window handles the events.

(hildon_pannable_area_class_init):
Replaced the signal connections with overrides of the event
callbacks.

16 years ago2008-05-20 Alejandro G. Castro <alex@igalia.com>
Alejandro G. Castro [Tue, 20 May 2008 12:32:03 +0000 (12:32 +0000)]
2008-05-20 Alejandro G. Castro <alex@igalia.com>

Bouncing effect added when touching the borders, you can change
the elasticity of the border changing the ELASTICITY define.

* src/hildon-pannable-area.c: Added ELASTICITY define.
(hildon_pannable_area_timeout): Added inverse velocity when
touching the border of the child widget, that causes a bounce.

16 years agoImproved performance, we now do not go to the X server in order to get the list of...
Alejandro G. Castro [Tue, 20 May 2008 12:18:46 +0000 (12:18 +0000)]
Improved performance, we now do not go to the X server in order to get the list of window children. Apparently the effect is the same, we have to be careful and check if this breaks something in any corner case.

* src/hildon-pannable-area.c:
(get_ordered_children): Removed this function.
(hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
the children windows function with gdk_window_get_children.

16 years ago* src/hildon-pannable-area.c: (hildon_pannable_area_dispose): Fixed a crash when...
Alejandro G. Castro [Tue, 20 May 2008 09:27:12 +0000 (09:27 +0000)]
* src/hildon-pannable-area.c: (hildon_pannable_area_dispose): Fixed a crash when closing the window and kinetics is activated.

16 years ago* src/hildon-pannable-area.h * src/hildon-pannable-area.c Changed indentation style...
Alberto Garcia [Mon, 19 May 2008 16:22:33 +0000 (16:22 +0000)]
* src/hildon-pannable-area.h * src/hildon-pannable-area.c Changed indentation style to meet the one used in Hildon

16 years agoReviewed the interaction of the AUTO mode, now we use the time attribute of the event...
Alejandro G. Castro [Mon, 19 May 2008 15:34:51 +0000 (15:34 +0000)]
Reviewed the interaction of the AUTO mode, now we use the time attribute of the events and calculate the velocity in the motion, doing a gimp like calculation. The velocity is calculated in each motion event using the last velocity and the current one, the SMOOTH_FACTOR controls the percentage of the new velocity we use.

* src/hildon-pannable-area.c: Replaced the time based algorithm
for the AUTO mode.
(hildon_pannable_area_motion_notify_cb): now we do not launch the
timeout for the AUTO mode when we are still moving the cursor. We
added also the velocity calculation in this function.
(hildon_pannable_area_button_release_cb): launch the timeout in
case we are in AUTO mode. There are still some constants here that
come from the old implementation that should be reviewed and
handled properly.

16 years ago* doc/hildon-docs.sgml * doc/hildon.types * src/Makefile.am * src/hildon-stackable...
Alberto Garcia [Thu, 15 May 2008 18:45:43 +0000 (18:45 +0000)]
* doc/hildon-docs.sgml * doc/hildon.types * src/Makefile.am * src/hildon-stackable-window.c * src/hildon-stackable-window.h * src/hildon.h New HildonStackableWindow widget

16 years ago* examples/hildon-dialog-example.c * examples/hildon-pannable-area-example.c Updated...
Alberto Garcia [Thu, 15 May 2008 09:35:56 +0000 (09:35 +0000)]
* examples/hildon-dialog-example.c * examples/hildon-pannable-area-example.c Updated copyright

16 years ago* src/hildon-dialog.c * src/hildon-dialog.h (hildon_dialog_new_with_buttons): New...
Alberto Garcia [Wed, 14 May 2008 10:41:30 +0000 (10:41 +0000)]
* src/hildon-dialog.c * src/hildon-dialog.h (hildon_dialog_new_with_buttons): New constructor.

* examples/hildon-dialog-example.c
(main): Update the example to use the new
hildon_dialog_new_with_buttons().

* examples/hildon-pannable-area-example.c
(main): Update example.

16 years ago* doc/hildon-docs.sgml * doc/hildon.types Added HildonPannableArea to the documentation.
Alberto Garcia [Tue, 13 May 2008 17:47:22 +0000 (17:47 +0000)]
* doc/hildon-docs.sgml * doc/hildon.types Added HildonPannableArea to the documentation.

16 years ago* doc/visual_index.xml Fix reference to HildonLoginDialog in documentation
Alberto Garcia [Tue, 13 May 2008 17:34:34 +0000 (17:34 +0000)]
* doc/visual_index.xml Fix reference to HildonLoginDialog in documentation

* doc/hildon-docs.sgml
* doc/hildon.types
* examples/Makefile.am
* examples/hildon-dialog-example.c
* src/Makefile.am
* src/hildon-dialog.c
* src/hildon-dialog.h
* src/hildon.h
New HildonDialog widget.

16 years ago* src/hildon-pannable-area.c Merge latest changes (r4318, r4342) from libmokoui trunk
Alberto Garcia [Fri, 9 May 2008 17:28:19 +0000 (17:28 +0000)]
* src/hildon-pannable-area.c Merge latest changes (r4318, r4342) from libmokoui trunk

16 years agoNew HildonPannableArea widget
Alberto Garcia [Fri, 9 May 2008 16:02:18 +0000 (16:02 +0000)]
New HildonPannableArea widget

16 years agoNew release 2.0.4-1
Natalia Dobrovolskaya [Wed, 16 Apr 2008 07:45:27 +0000 (07:45 +0000)]
New release 2.0.4-1

16 years ago2008-04-15 18:05:19 <timj@imendio.com>
Tim Janik [Tue, 15 Apr 2008 16:06:44 +0000 (16:06 +0000)]
2008-04-15 18:05:19 <timj@imendio.com>

* src/hildon-banner.c: revert the recent change, that introduced
        gtk_window_present() calls. this reopens:
          Bug 78481 - [freetest] information banners are hidden under browser menu
        But resolves another variant of:
          Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash

16 years agorelease libhildon (2.0.3-1)
Natalia Dobrovolskaya [Tue, 15 Apr 2008 12:09:48 +0000 (12:09 +0000)]
release libhildon (2.0.3-1)

16 years ago2008-04-15 13:21:13 <timj@imendio.com>
Tim Janik [Tue, 15 Apr 2008 11:24:10 +0000 (11:24 +0000)]
2008-04-15 13:21:13 <timj@imendio.com>

* src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
        recreated its layout, spotted by Kris. this fixes all remaining
        artefacts and stability issues with the banner code. in particular:
        Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash

16 years ago2008-04-14 16:52:59 <timj@imendio.com>
Tim Janik [Mon, 14 Apr 2008 14:57:44 +0000 (14:57 +0000)]
2008-04-14 16:52:59 <timj@imendio.com>

* src/hildon-banner.c: guard force_to_wrap_truncated() against
        operating on unrealized widgets, fixes:
        Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash

        * src/hildon-banner-private.h: coalesce boolean fields into bitfield.

16 years ago2008-04-09 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Wed, 9 Apr 2008 09:16:58 +0000 (09:16 +0000)]
2008-04-09 Kristian Rietveld <kris@imendio.com>

Fixes: NB#77775: Media Player, Save Now playing list, too long name
makes banner disappear.
Fixes: NB#79182: info banner flickering with certain message lengts.

* src/hildon-banner.c (hildon_banner_constructor),
(hildon_banner_init), (hildon_banner_set_text),
(hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
(hildon_banner_reset_wrap_state): new function: reset wrap flags to
FALSE, reset size requests of label and banner,
(force_to_wrap_truncated): when the text is too wide, always enforce
the maximum possible width instead of recalculating it from the
layout; enforce the maximum banner height of 3 lines,
(hildon_banner_init): set WORD_CHAR wrapping, this will result in
nicer wrapping and no truncated chars if space gets tight.

* src/hildon-banner-private.h: add has_been_wrapped and
has_been_truncated fields.

16 years ago2008-04-07 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Mon, 7 Apr 2008 11:33:29 +0000 (11:33 +0000)]
2008-04-07 Sven Herzberg <sven@imendio.com>

Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
local values in hildon_date_editor_size_allocate

* src/hildon-date-editor.c: moved the real allocation code into the
if() branch

16 years ago2008-04-07 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Mon, 7 Apr 2008 11:33:24 +0000 (11:33 +0000)]
2008-04-07 Sven Herzberg <sven@imendio.com>

Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
local values in hildon_date_editor_size_allocate

* src/hildon-date-editor.c: merged the two if() branches together

16 years ago2008-04-07 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Mon, 7 Apr 2008 11:33:19 +0000 (11:33 +0000)]
2008-04-07 Sven Herzberg <sven@imendio.com>

Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
local values in hildon_date_editor_size_allocate

* src/hildon-date-editor.c: changed the arguments of the if()
conditions

16 years ago2008-04-07 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Mon, 7 Apr 2008 11:33:15 +0000 (11:33 +0000)]
2008-04-07 Sven Herzberg <sven@imendio.com>

Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
local values in hildon_date_editor_size_allocate

* src/hildon-date-editor.c: split the calculation of the allocation
from the real allocation

16 years agoNew release
Natalia Dobrovolskaya [Thu, 3 Apr 2008 14:11:55 +0000 (14:11 +0000)]
New release

16 years ago2008-03-27 Michael Natterer <mitch@imendio.com>
Michael Natterer [Thu, 27 Mar 2008 12:21:47 +0000 (12:21 +0000)]
2008-03-27 Michael Natterer <mitch@imendio.com>

Fixes: NB#81696: The passcode is not overwritten even after
selecting

* src/hildon-code-dialog.c
(hildon_code_dialog_button_clicked)
(hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
because that doesn't overwrite selected text. Instead, emit the
"commit" signal on the entry's im_context so the entry's normal
insert logic is triggered. Set the cursor to the end of the entry
after each insert operation so that we *only* insert in the middle
of the text if something was selected.

16 years ago2008-03-27 Michael Natterer <mitch@imendio.com>
Michael Natterer [Thu, 27 Mar 2008 10:52:14 +0000 (10:52 +0000)]
2008-03-27 Michael Natterer <mitch@imendio.com>

Enable fixing: NB#79916 and NB#79918: The help topic for Color
selector cannot be opened

* src/hildon-color-button.c: add signal "setup-dialog" and emit it
when the popup color selector is created. Please connect to this
signal in order to set the dialog's help ID.

16 years ago2008-03-25 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Tue, 25 Mar 2008 09:52:06 +0000 (09:52 +0000)]
2008-03-25 Sven Herzberg <sven@imendio.com>

Fixes: MB#1212: Hide info banners (infoprints) on click

* src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
extracted the close event simulation into an extra function
(hildon_banner_button_press_event): simulate a close event and destroy
the widget if the event wasn't handled
(hildon_banner_class_init): added the button_press_event handler
(hildon_banner_init): added button-press events to the widget

16 years ago2008-03-25 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Tue, 25 Mar 2008 08:02:17 +0000 (08:02 +0000)]
2008-03-25 Sven Herzberg <sven@imendio.com>

Fixes: MB:#924: Hildon widgets doesn't support RTL mode
Patch from: Mohammad Anwari  <mdamt@maemo.org>

* src/hildon-banner.c: let the HildonBanners pop up on the left side
instead of the right in RTL mode
* src/hildon-bread-crumb-trail.c: mirror the appearance of the
breadcrumb button list in RTL mode
* src/hildon-caption.c: mirror the appearance of the caption widget in
RTL mode
* src/hildon-date-editor.c: mirror appearance of the date editor in
RTL mode
* src/hildon-time-editor.c: mirror appearance of the time editor in
RTL mode
* src/hildon-window.c: fix the position of the popup in RTL mode

16 years ago2008-03-25 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Tue, 25 Mar 2008 07:28:23 +0000 (07:28 +0000)]
2008-03-25 Sven Herzberg <sven@imendio.com>

Amendment to the fix of NB#22072. Fix compilation.

* src/hildon-banner.c: (hildon_banner_timeout): fix compilation

16 years ago2008-03-19 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Wed, 19 Mar 2008 16:05:18 +0000 (16:05 +0000)]
2008-03-19 Sven Herzberg <sven@imendio.com>

Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
in Info Banner" bug

* src/hildon-banner.c: (hildon_banner_timeout): reset the current
timeout id properly when the timeout will disappear this leaves no
artifacts around in the destroy(); there will only be the timeout
created by hildon_banner_ensure_timeout() and adding a new timeout
will also work if the timeout gets removed because the timeout_handler
returned FALSE

16 years ago2008-03-19 Michael Natterer <mitch@imendio.com>
Michael Natterer [Wed, 19 Mar 2008 15:56:58 +0000 (15:56 +0000)]
2008-03-19 Michael Natterer <mitch@imendio.com>

Fixes: NB#79791: Cannot set focus to Master volume using stylus

* src/hildon-volumebar.c
* src/hildon-vvolumebar.c
* src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
the widget becomes focussable at all.

* src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
set the focus to wither the mute button or the volumebar.

Remove own "can-focus" property and instead listen to
notify::can-focus in order to update the widget's state.

Implement GtkWidget::focus() and make sure we can also *leave* the
widget, not only enter it, depending on volumebar orientation and
requested focus direction.

Clean up set_mute() to cooperate nicely with all the above.

16 years ago2008-03-04 Michael Natterer <mitch@imendio.com>
Michael Natterer [Tue, 4 Mar 2008 13:53:48 +0000 (13:53 +0000)]
2008-03-04 Michael Natterer <mitch@imendio.com>

Fixes: NB#78481: information banners are hidden under browser menu

* src/hildon-banner.c: call gtk_window_present() on the banners so
they are risen if they are already visible.

16 years ago2008-03-03 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Mon, 3 Mar 2008 08:00:31 +0000 (08:00 +0000)]
2008-03-03 Sven Herzberg <sven@imendio.com>

Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account

* examples/hildon-window-menu-example.c: (main): extended the window
menu example to serve as a testcase for automatically added
accelerator groups, too
* src/hildon-window.c: (hildon_window_add_accel_group),
(hildon_window_set_menu): added patch by Tommi Komulainen

16 years ago2008-03-03 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Mon, 3 Mar 2008 07:22:36 +0000 (07:22 +0000)]
2008-03-03 Sven Herzberg <sven@imendio.com>

Fixes: MB#1276: wrong allocators used in hildon_window_get_borders

* src/hildon-window.c: (hildon_window_get_borders): don't imply any
knowledge about the border allocators used within GTK+

16 years ago2008-02-26 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Tue, 26 Feb 2008 12:50:31 +0000 (12:50 +0000)]
2008-02-26 Sven Herzberg <sven@imendio.com>

Fixes: MB#2981: Build with asserts broken

* src/hildon-date-editor.c,
* src/hildon-number-editor.c,
* src/hildon-time-editor.c,
* src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
the proper GType instance check

16 years ago2008-02-25 Sven Herzberg <sven@imendio.com>
Sven Herzberg [Mon, 25 Feb 2008 20:30:17 +0000 (20:30 +0000)]
2008-02-25 Sven Herzberg <sven@imendio.com>

Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu

* doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
* examples/hildon-window-menu-example.c: (main): explicitly show
the menu item
* src/hildon-window.c:
(hildon_window_set_main_menu): moved most of the code from set_menu()
to this place; skipped the call to gtk_widget_show_all(); also didn't
introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
(hildon_window_set_menu): removed most of the code, just keep the
questionable gtk_widget_show_all()
* src/hildon-window.h: added the new function and deprecate the old
one

16 years ago2.0.1 release.
Xan Lopez [Thu, 10 Jan 2008 14:38:00 +0000 (14:38 +0000)]
2.0.1 release.

16 years ago2008-01-10 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Thu, 10 Jan 2008 14:37:58 +0000 (14:37 +0000)]
2008-01-10 Xan Lopez <xan.lopez@nokia.com>

* configure.ac:
* pkgconfig/Makefile.am:
* pkgconfig/hildon.pc.in:
* src/Makefile.am:

Do not use PACKAGE_VERSION_MAJOR as the API revision,
use newly created API_MAJOR_VERSION.

16 years ago2.0.0 release.
Xan Lopez [Wed, 9 Jan 2008 12:45:52 +0000 (12:45 +0000)]
2.0.0 release.

16 years ago2008-01-09 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Wed, 9 Jan 2008 10:07:30 +0000 (10:07 +0000)]
2008-01-09 Xan Lopez <xan.lopez@nokia.com>

* src/hildon-color-chooser.c (hildon_color_chooser_class_init):

Add outer_border style property, we use it but don't define it (!).

Fixes NB#75310

16 years agoAdd "Clear" button to the bct example. Add ChangeLog.
Xan Lopez [Fri, 21 Dec 2007 13:57:32 +0000 (13:57 +0000)]
Add "Clear" button to the bct example. Add ChangeLog.

16 years agoAssign next pointer before freeing list node!
Xan Lopez [Fri, 21 Dec 2007 13:57:18 +0000 (13:57 +0000)]
Assign next pointer before freeing list node!

16 years ago[1.99.1-1 release]
Michael Dominic Kostrzewa [Fri, 14 Dec 2007 09:33:08 +0000 (09:33 +0000)]
[1.99.1-1 release]

16 years agoPatch by Alejandro to get/set passwords dialogs accesibility. Set atk_set_name to...
Michael Dominic Kostrzewa [Fri, 14 Dec 2007 09:29:31 +0000 (09:29 +0000)]
Patch by Alejandro to get/set passwords dialogs accesibility. Set atk_set_name to the passwd entries in order to allow accessibility by name on this entries.

16 years ago[1.99.0-2 release]
Michael Dominic Kostrzewa [Thu, 11 Oct 2007 13:19:51 +0000 (13:19 +0000)]
[1.99.0-2 release]

16 years ago2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
Xan Lopez [Wed, 10 Oct 2007 13:44:49 +0000 (13:44 +0000)]
2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>

* configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
USE_MAEMO_GTK is enabled.

16 years agoYou didn't see anything there, use the proper macro.
Xan Lopez [Wed, 10 Oct 2007 12:49:04 +0000 (12:49 +0000)]
You didn't see anything there, use the proper macro.

16 years ago2007-10-10 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Wed, 10 Oct 2007 12:45:19 +0000 (12:45 +0000)]
2007-10-10 Xan Lopez <xan.lopez@nokia.com>

* src/hildon-code-dialog.c (hildon_code_dialog_init): check for
MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.

16 years ago[1.99.0-1 release]
Michael Dominic Kostrzewa [Wed, 10 Oct 2007 11:53:21 +0000 (11:53 +0000)]
[1.99.0-1 release]

16 years ago[2.0.0-1 release]
Michael Dominic Kostrzewa [Wed, 10 Oct 2007 11:21:37 +0000 (11:21 +0000)]
[2.0.0-1 release]

16 years agoFixing the way logical colors/fonts are being applied + adding a test case. Fixes...
Michael Dominic Kostrzewa [Wed, 10 Oct 2007 11:14:17 +0000 (11:14 +0000)]
Fixing the way logical colors/fonts are being applied + adding a test case. Fixes: NB#71660.

16 years agoRemove HILDON_ENABLE_UNSTABLE_API.
Xan Lopez [Tue, 9 Oct 2007 08:38:44 +0000 (08:38 +0000)]
Remove HILDON_ENABLE_UNSTABLE_API.

16 years agoOnly map the HildonWindow vbox if it's supposed to be visible.
Xan Lopez [Mon, 8 Oct 2007 14:32:06 +0000 (14:32 +0000)]
Only map the HildonWindow vbox if it's supposed to be visible.

Fixes warning when mapping HildonWindows without toolbars.

16 years ago2007-10-02 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Tue, 2 Oct 2007 12:06:14 +0000 (12:06 +0000)]
2007-10-02 Xan Lopez <xan.lopez@nokia.com>

* src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2.11.0, add a check for that besides the MAEMO_GTK check.

16 years agoUpdate README file with info about building with stock GTK+.
Xan Lopez [Tue, 2 Oct 2007 11:14:30 +0000 (11:14 +0000)]
Update README file with info about building with stock GTK+.

16 years ago[1.0.17-1 release]
Michael Dominic Kostrzewa [Fri, 28 Sep 2007 12:10:29 +0000 (12:10 +0000)]
[1.0.17-1 release]

16 years agoApplying patches by Xan to fix the toolbar visibility. Fixes: NB#70842 and MB#615.
Michael Dominic Kostrzewa [Fri, 28 Sep 2007 10:10:52 +0000 (10:10 +0000)]
Applying patches by Xan to fix the toolbar visibility. Fixes: NB#70842 and MB#615.

16 years ago2007-09-25 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Tue, 25 Sep 2007 13:16:27 +0000 (13:16 +0000)]
2007-09-25 Xan Lopez <xan.lopez@nokia.com>

* src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
set the separator as no-show-all so it doesn't unintentionally appear when
someone does a show_all.

16 years ago2007-09-25 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Tue, 25 Sep 2007 08:31:56 +0000 (08:31 +0000)]
2007-09-25 Xan Lopez <xan.lopez@nokia.com>

* src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
(hildon_bread_crumb_trail_push_icon): Do not show the separator for the
toplevel item. Fixes: NB#62031

16 years agoPut function name in the changelog.
Xan Lopez [Mon, 24 Sep 2007 13:13:41 +0000 (13:13 +0000)]
Put function name in the changelog.

16 years ago2007-09-24 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Mon, 24 Sep 2007 13:08:45 +0000 (13:08 +0000)]
2007-09-24 Xan Lopez <xan.lopez@nokia.com>

* src/hildon-bread-crumb-trail.c: fix the name of the function in the docs.

16 years ago[1.0.16-1 release]
Michael Dominic Kostrzewa [Fri, 21 Sep 2007 11:47:17 +0000 (11:47 +0000)]
[1.0.16-1 release]

16 years agoAdding a test-case for long hildon banner. Fixing the get_last_index function.
Michael Dominic Kostrzewa [Fri, 21 Sep 2007 11:42:26 +0000 (11:42 +0000)]
Adding a test-case for long hildon banner. Fixing the get_last_index function.

16 years agoAdding two patches by Tommi to fix memory leaks in font selector and color selector...
Michael Dominic Kostrzewa [Fri, 21 Sep 2007 09:10:48 +0000 (09:10 +0000)]
Adding two patches by Tommi to fix memory leaks in font selector and color selector. Fixes: NB#70499 and NB#70474.

16 years agoFixed the leak of the a GList. Fixes: NB#70273.
Michael Dominic Kostrzewa [Thu, 20 Sep 2007 10:50:28 +0000 (10:50 +0000)]
Fixed the leak of the a GList. Fixes: NB#70273.

16 years agoMaking the hardcoded WIDTH/HEIGHT values a little bit bigger. Fixes: #NB63694.
Michael Dominic Kostrzewa [Tue, 18 Sep 2007 13:33:51 +0000 (13:33 +0000)]
Making the hardcoded WIDTH/HEIGHT values a little bit bigger. Fixes: #NB63694.

16 years ago[1.0.15-1 release]
Michael Dominic Kostrzewa [Mon, 17 Sep 2007 11:13:08 +0000 (11:13 +0000)]
[1.0.15-1 release]

16 years agoAdding the new generated widget shots. Adding the bread-crumb-trial and helpers to...
Michael Dominic Kostrzewa [Fri, 14 Sep 2007 14:11:07 +0000 (14:11 +0000)]
Adding the new generated widget shots. Adding the bread-crumb-trial and helpers to the documentation.

16 years ago--enable-gtk-doc
Tommi Komulainen [Fri, 14 Sep 2007 13:53:10 +0000 (13:53 +0000)]
--enable-gtk-doc

* debian/control: Add glib and gtk+ doc packages to build dependencies to
    get gtk-doc crossreferences right
  * debian/rules: --enable-gtk-doc (with nodocs DEB_BUILD_OPTIONS support)
    (Fixes: NB#69306)

16 years agoFIxing the default history-append handler to actually continue firing the other handl...
Michael Dominic Kostrzewa [Fri, 14 Sep 2007 11:48:48 +0000 (11:48 +0000)]
FIxing the default history-append handler to actually continue firing the other handlers if connected. Adding a new function: hildon_find_toolbar_get_last_index that gets the index of the most recently added (last) item. Fixes: NB#52301.

16 years agoApplying a patch by Tommi to fix the focus behaviour. Fixes: NB#68610.
Michael Dominic Kostrzewa [Mon, 10 Sep 2007 13:19:23 +0000 (13:19 +0000)]
Applying a patch by Tommi to fix the focus behaviour. Fixes: NB#68610.

16 years agoActually reverting the previous change. It somehow looks a bit worse.
Michael Dominic Kostrzewa [Mon, 10 Sep 2007 13:11:15 +0000 (13:11 +0000)]
Actually reverting the previous change. It somehow looks a bit worse.

16 years agoChanging the infobanner background pixmap to NULL when realizing the banner. Should...
Michael Dominic Kostrzewa [Thu, 6 Sep 2007 12:04:21 +0000 (12:04 +0000)]
Changing the infobanner background pixmap to NULL when realizing the banner. Should make the infonbanner effect a bit more bearable.

16 years agoChanging the GtkWidget to HildonVolumebar in hildon_volumebar_set_range_insensitive_m...
Michael Dominic Kostrzewa [Wed, 5 Sep 2007 12:01:02 +0000 (12:01 +0000)]
Changing the GtkWidget to HildonVolumebar in hildon_volumebar_set_range_insensitive_message and hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.

16 years agoFixing the border freeing on destroy.
Michael Dominic Kostrzewa [Wed, 5 Sep 2007 11:48:33 +0000 (11:48 +0000)]
Fixing the border freeing on destroy.

16 years agoAdding a patch by Tomas Junnonen to fix the kw keyboard support in HildonCodeDialog.
Michael Dominic Kostrzewa [Wed, 5 Sep 2007 11:26:50 +0000 (11:26 +0000)]
Adding a patch by Tomas Junnonen to fix the kw keyboard support in HildonCodeDialog.

16 years ago[1.0.14-1 release]
Michael Dominic Kostrzewa [Fri, 24 Aug 2007 13:21:32 +0000 (13:21 +0000)]
[1.0.14-1 release]

16 years agoA patch by Xan Lopez to fix focus handling in subclassed composite widgets. Fixes...
Michael Dominic Kostrzewa [Fri, 24 Aug 2007 13:00:44 +0000 (13:00 +0000)]
A patch by Xan Lopez to fix focus handling in subclassed composite widgets. Fixes: NB#66628.