hildon:gtk.git
10 years agoCreated gtk+ diablo branch for osso 2.0 osso-2.0
Karl Lattimer [Mon, 5 May 2008 06:36:04 +0000 (06:36 +0000)]
Created gtk+ diablo branch for osso 2.0

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/branches/gtk+/osso-2.0@15508 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoFix typo in changelog
Natalia Dobrovolskaya [Mon, 28 Apr 2008 09:36:54 +0000 (09:36 +0000)]
Fix typo in changelog

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15490 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian/changelog
Natalia Dobrovolskaya [Mon, 28 Apr 2008 09:35:22 +0000 (09:35 +0000)]
Update debian/changelog

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15489 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-04-21 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Mon, 21 Apr 2008 15:30:28 +0000 (15:30 +0000)]
2008-04-21  Kristian Rietveld  <kris@imendio.com>

Fixes NB79639: Display is freezed when file location combobox is
tapped while opening a page:

* gtk/gtkwindow.c (gtk_window_map): add explanatory comment,
(gtk_window_close_other_temporaries): after sending the client
message, iterate over all toplevels and send delete-events immediately
to temporary windows that are currently mapped.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15462 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agodebian/rules, generate documentaion only for i386 target
Natalia Dobrovolskaya [Wed, 16 Apr 2008 11:02:40 +0000 (11:02 +0000)]
debian/rules, generate documentaion only for i386 target

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15445 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoNew release 2:2.10.12-0osso34
Natalia Dobrovolskaya [Wed, 16 Apr 2008 09:40:29 +0000 (09:40 +0000)]
New release 2:2.10.12-0osso34

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15443 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-04-15 Michael Natterer <mitch@imendio.com>
Michael Natterer [Tue, 15 Apr 2008 08:39:50 +0000 (08:39 +0000)]
2008-04-15  Michael Natterer  <mitch@imendio.com>

Fixes NB#80760: context sensitive menu disappears after stylus
releasing:

* gtk/gtkmenu.c (gtk_menu_button_release): use the same conditions
as gtk_menu_motion_notify() for checking whether the context menu
needs to be closed because the pointer has been moved too far out
of the menu.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15392 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-04-08 Michael Natterer <mitch@imendio.com>
Michael Natterer [Tue, 8 Apr 2008 11:05:54 +0000 (11:05 +0000)]
2008-04-08  Michael Natterer  <mitch@imendio.com>

Fixes NB#77057: two submenus are closed in web plugin menu when
last submenu is empty or has no focus set.

(same patch was applied to upstream trunk)

* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
touchscreen-mode keynav corner case: when navigating to the parent
menu, make sure we don't close two menus at the same time in case
the deepest open menu has no selectable items.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15361 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-04-04 Michael Natterer <mitch@imendio.com>
Michael Natterer [Fri, 4 Apr 2008 10:31:45 +0000 (10:31 +0000)]
2008-04-04  Michael Natterer  <mitch@imendio.com>

Change how GtkMenu's "context_menu" flag gets set.

Should fix NB#80760 (context sensitive menu disappears after
stylus releasing):

* gtk/gtkmenu.[ch]: replace _gtk_menu_enable_context_menu_behavior()
by _gtk_menu_push/pop_context_menu_behavior() which increase/decrease
an internal counter.

(gtk_menu_popup): set the "context_menu" flag to TRUE if the
counter is > 0 and this is not a submenu.

(gtk_menu_popdown): set the flag to FALSE again.

* gtk/gtkwidget.c (gtk_widget_real_tap_and_hold_setup): don't
call the removed _gtk_menu_enable_context_menu_behavior().

(gtk_widget_tap_and_hold_timeout): call the new push/pop API
around emitting the tap-and-hold signal, so all menus popped up by
that signal behave as context menus, not only the ones correctly
registered with tap_and_hold_setup().

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15349 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoForgot MAEMO_CHANGES defines ...
Kristian Rietveld [Mon, 31 Mar 2008 18:37:26 +0000 (18:37 +0000)]
Forgot MAEMO_CHANGES defines ...

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15329 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-03-31 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Mon, 31 Mar 2008 18:22:10 +0000 (18:22 +0000)]
2008-03-31  Kristian Rietveld  <kris@imendio.com>

Introduce a changed signal for GtkCellRendererCombo to be
able to fix NB#80708.

* gtk/gtkmarshalers.list: add VOID:STRING,BOXED marshaler.

* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init):
add changed signal,
(gtk_cell_renderer_combo_editing_done),
(gtk_cell_renderer_combo_changed): emit the changed signal after
the embedded combo box has emitted changed.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15328 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog.
Xan Lopez [Wed, 5 Mar 2008 14:57:46 +0000 (14:57 +0000)]
Update debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15259 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-03-05 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Wed, 5 Mar 2008 14:54:52 +0000 (14:54 +0000)]
2008-03-05  Kristian Rietveld  <kris@imendio.com>

Introduce CellDataFunc hint functionality for NB#78800.

* gtk/gtktreeviewcolumn.[ch]
(gtk_tree_view_column_set_cell_data_with_hint),
(gtk_tree_view_column_get_cell_data_hint): new functions,
(gtk_tree_view_column_set_cell_data): always set hint to ALL.

* gtk/gtktreeprivate.h: add cell_data_hint field.

* gtk/gtktreeview.c (gtk_tree_view_bin_expose),
(gtk_tree_view_move_cursor_left_right): set cell data with hint
where it makes sense.

* gtk/gtktreeselection.c (tree_column_is_sensitive): likewise.

* gtk/gtk.symbols: updated.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15258 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-03-05 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Wed, 5 Mar 2008 14:02:33 +0000 (14:02 +0000)]
2008-03-05  Kristian Rietveld  <kris@imendio.com>

* gtk/makegtkalias.pl: update the regexp handling #ifdef to be
able to handle the MAEMO_CHANGES defines.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15257 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoAdd debian changelog.
Xan Lopez [Wed, 5 Mar 2008 12:08:11 +0000 (12:08 +0000)]
Add debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15251 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-03-05 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Wed, 5 Mar 2008 10:48:17 +0000 (10:48 +0000)]
2008-03-05  Kristian Rietveld  <kris@imendio.com>

Also committed upstream.  Fixes NB#78691.

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
short-circuit in case an empty root level would be build (and thus
directly destroyed) if no virtual root has been set.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15247 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-02-26 Michael Natterer <mitch@imendio.com>
Michael Natterer [Tue, 26 Feb 2008 14:40:46 +0000 (14:40 +0000)]
2008-02-26  Michael Natterer  <mitch@imendio.com>

Merged from upstream, fixes the crash in NB#77296:

* gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
the members of info->tag_stack since they are a) gobjects and b)
not even owned by us, ugh... Fixes crash when deserializing fails.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15231 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-02-13 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Wed, 13 Feb 2008 12:00:39 +0000 (12:00 +0000)]
2008-02-13  Kristian Rietveld  <kris@imendio.com>

Merge from upstream, fixes NB#75384:

* gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
queue a redraw if the rubber banding has actually been active.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15180 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-02-11 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Mon, 11 Feb 2008 15:20:27 +0000 (15:20 +0000)]
2008-02-11  Kristian Rietveld  <kris@imendio.com>

Merge from upstream, fixes NB#78606:

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):

        Plug leak: When reordering the info in the list the old node is
        removed but not freed. (#503569)

        * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
        * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
        wrt. link deletion from list; contination of fix for #503569.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15167 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2008-02-11 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Mon, 11 Feb 2008 13:35:27 +0000 (13:35 +0000)]
2008-02-11  Kristian Rietveld  <kris@imendio.com>

* gdk/gdk.h
* gdk/gdkdisplay.c (gdk_close_all_temporary_windows): fix prototypes,
silences gcc when compiling with -Wstrict-prototypes. (MB#2493,
Santty Lakkala).

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15166 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

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

        * gtk/gtktoolbutton.c (gtk_tool_button_init): proxy tap-and-hold
        signals for the GtkButton inside the GtkToolButton.

        Patch by Sergio Villar (NB#79312)

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15101 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRemove whitespace.
Xan Lopez [Thu, 17 Jan 2008 15:58:37 +0000 (15:58 +0000)]
Remove whitespace.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@15100 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoNew release.
Xan Lopez [Tue, 27 Nov 2007 11:08:07 +0000 (11:08 +0000)]
New release.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14833 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRemove debug output in GtkMenu.
Xan Lopez [Thu, 22 Nov 2007 16:22:50 +0000 (16:22 +0000)]
Remove debug output in GtkMenu.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14823 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog.
Xan Lopez [Thu, 22 Nov 2007 16:10:03 +0000 (16:10 +0000)]
Update debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14820 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-11-22 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Thu, 22 Nov 2007 16:10:00 +0000 (16:10 +0000)]
2007-11-22  Xan Lopez  <xan.lopez@nokia.com>

* gtk/gtkmenu.c (gtk_menu_init): remove visibility-notify-event hack,
it's useless now that we have temporary windows management in place.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14819 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-11-22 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Thu, 22 Nov 2007 16:09:56 +0000 (16:09 +0000)]
2007-11-22  Xan Lopez  <xan.lopez@nokia.com>

* gtk/gtkmenu.c (gtk_menu_popup): revert using show_now for the menu
toplevel, it breaks submenu opening for some reason. The grab failure
this fixed is apparently harmless anyway.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14818 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRevert last commit.
Xan Lopez [Thu, 22 Nov 2007 16:09:53 +0000 (16:09 +0000)]
Revert last commit.

It breaks in some situations (menus opened on release,
or opened on press with button = 0 on gtk_menu_popup).

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14817 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoDo not store activate_time in menu_shell for menus popped up with
Xan Lopez [Wed, 21 Nov 2007 12:17:48 +0000 (12:17 +0000)]
Do not store activate_time in menu_shell for menus popped up with
button == 0.

Storing this is only useful for menus opened on press (for the "close on long
press" functionality), and it confuses the code responsible of the gtk-menu-popup-click-time,
which expects activate_time to be set only for menus opened on button press.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14804 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRevert last change, Core fixed it in their side.
Xan Lopez [Tue, 13 Nov 2007 13:54:51 +0000 (13:54 +0000)]
Revert last change, Core fixed it in their side.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14780 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog
Xan Lopez [Tue, 13 Nov 2007 13:20:22 +0000 (13:20 +0000)]
Update debian changelog

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14777 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate changelog.
Xan Lopez [Tue, 13 Nov 2007 13:20:14 +0000 (13:20 +0000)]
Update changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14776 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoIgnore N810 motion noise in GtkRange.
Xan Lopez [Tue, 13 Nov 2007 13:20:08 +0000 (13:20 +0000)]
Ignore N810 motion noise in GtkRange.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14775 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog.
Xan Lopez [Thu, 8 Nov 2007 14:24:09 +0000 (14:24 +0000)]
Update debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14748 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate changelog.
Xan Lopez [Thu, 8 Nov 2007 11:37:54 +0000 (11:37 +0000)]
Update changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14740 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoSet the TAH cursor in the root window.
Xan Lopez [Thu, 8 Nov 2007 11:37:50 +0000 (11:37 +0000)]
Set the TAH cursor in the root window.

HildonDesktop covers the applets in home with a GdkWindow used to
filter events and ease drag-and-drop, reordering, etc of those applets.
When an event passes the filtering a complex hack is used to set as the
event window the window that should have received the event if the covering
window were not there. GTK TAH will use that window to set the cursor
animation, but as the window is always covered it will never have the chance
to actually show the cursor.

This patch sets the cursor in the root window. As every window defaults to its
parent's cursor, it should make the TAH animation always visible.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14739 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-11-08 Michael Natterer <mitch@imendio.com>
Michael Natterer [Thu, 8 Nov 2007 11:21:21 +0000 (11:21 +0000)]
2007-11-08  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenu.c: add back warnings about failed grabs, they were
for another bug.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14737 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-11-07 Michael Natterer <mitch@imendio.com>
Michael Natterer [Wed, 7 Nov 2007 14:43:02 +0000 (14:43 +0000)]
2007-11-07  Michael Natterer  <mitch@imendio.com>

Merge from upstream:

* gtk/gtkmenu.c (gtk_menu_popup): call gdk_flush() after showing
the menu so we can definitely grab on it. Grab failure found by
Xan Lopez.

Change above merge to use gtk_widget_show_now() instead because
maemo menus are toplevels not popups. Remove debugging output
about failed grabs.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14733 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog.
Xan Lopez [Fri, 2 Nov 2007 13:41:19 +0000 (13:41 +0000)]
Update debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14713 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoPut bug number in ChangeLog
Xan Lopez [Fri, 2 Nov 2007 13:36:15 +0000 (13:36 +0000)]
Put bug number in ChangeLog

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14712 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUse "Since: maemo 4.0" instead of "Since: gtk 2.12" where appropriate.
Xan Lopez [Fri, 2 Nov 2007 13:33:25 +0000 (13:33 +0000)]
Use "Since: maemo 4.0" instead of "Since: gtk 2.12" where appropriate.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14711 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate changelog.
Xan Lopez [Fri, 2 Nov 2007 13:17:23 +0000 (13:17 +0000)]
Update changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14710 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoApply GtkBuilder parser fix from upstream, bug #461945
Xan Lopez [Fri, 2 Nov 2007 13:13:57 +0000 (13:13 +0000)]
Apply GtkBuilder parser fix from upstream, bug #461945

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14709 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoAdd temporary debug to help tracking bug NB#72418
Xan Lopez [Fri, 2 Nov 2007 13:12:49 +0000 (13:12 +0000)]
Add temporary debug to help tracking bug NB#72418

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14708 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoDo not recalculate state on notify::{gtk-enable-accels,gtk-enable-mnemonics} uncondit...
Xan Lopez [Wed, 31 Oct 2007 15:36:33 +0000 (15:36 +0000)]
Do not recalculate state on notify::{gtk-enable-accels,gtk-enable-mnemonics} unconditionally.

Instead of doing it for all GtkLabels only do it for those that are GtkAccelLabel or those
using mnemonics. Fixes NB#74392.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14689 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRe-format ChangeLog
Xan Lopez [Tue, 16 Oct 2007 11:38:23 +0000 (11:38 +0000)]
Re-format ChangeLog

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14459 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate changelogs.
Xan Lopez [Tue, 16 Oct 2007 11:34:37 +0000 (11:34 +0000)]
Update changelogs.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14455 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoOnly add toplevels to the size_allocated_containers list.
Xan Lopez [Tue, 16 Oct 2007 11:34:33 +0000 (11:34 +0000)]
Only add toplevels to the size_allocated_containers list.

It seems that we only *really* want to make focused children visible after
a toplevel is resized (see NB#57886) but not after every container is resized,
as it might break the logic of some widgets (eg, ModestScrollArea). At this
point it might not make much sense to have this in GtkContainer anymore  and
maybe we should move it to GtkWindow size_allocate (Tommi's suggestion).

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14454 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog.
Xan Lopez [Tue, 9 Oct 2007 07:03:54 +0000 (07:03 +0000)]
Update debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14365 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-10-09 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Tue, 9 Oct 2007 07:01:36 +0000 (07:01 +0000)]
2007-10-09  Xan Lopez  <xan.lopez@nokia.com>

* gtk/gtkcontainer.c (gtk_container_destroy): remove all instances
of the container from the size_allocated_containers, not only the
first one. Follow up to bug #71770.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14364 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog.
Xan Lopez [Mon, 8 Oct 2007 15:21:12 +0000 (15:21 +0000)]
Update debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14359 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago007-10-08 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Mon, 8 Oct 2007 14:12:26 +0000 (14:12 +0000)]
007-10-08  Xan Lopez  <xan.lopez@nokia.com>

Patch by Tommi.

* gtk/gtkcontainer.c: When updating the adjustments as a result of
container resize (resize_update=TRUE) force the focused widget
visible only if it is smaller than the viewport. Otherwise the
updates starts to oscillate between two values (possibly
HildonScrollArea is causing that.) That should be enough for vkb
resized dialogs.

Fixes: NB#71902

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14357 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-10-08 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Mon, 8 Oct 2007 13:39:10 +0000 (13:39 +0000)]
2007-10-08  Xan Lopez  <xan.lopez@nokia.com>

Patch by Tommi.

* gtk/gtktreeview.c (gtk_tree_view_row_deleted): stop rubberbanding
when a row is deleted. It avoids certain crashers when rows inside the
selection are deleted and gtk_tree_view_stop_rubber_band is then called.

The correct fix would probably be to correctly maintain the state of
the rubber band data on row_delete.

Fixes: NB#71834

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14356 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog.
Xan Lopez [Mon, 8 Oct 2007 09:13:01 +0000 (09:13 +0000)]
Update debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14342 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRemove destroyed containers from size_allocated_containers list.
Xan Lopez [Thu, 4 Oct 2007 11:52:10 +0000 (11:52 +0000)]
Remove destroyed containers from size_allocated_containers list.

Otherwise the idle_sizer function will crash accessing unavailable data if the
container was destroyed before the handler is called.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14317 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoDo not set homogeneous property in GtkNotebook to TRUE.
Xan Lopez [Wed, 3 Oct 2007 14:53:29 +0000 (14:53 +0000)]
Do not set homogeneous property in GtkNotebook to TRUE.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14302 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog.
Xan Lopez [Fri, 28 Sep 2007 13:35:00 +0000 (13:35 +0000)]
Update debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14194 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog.
Xan Lopez [Fri, 28 Sep 2007 13:34:57 +0000 (13:34 +0000)]
Update debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14193 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoImprove submenu cascading a bit
Tommi Komulainen [Fri, 28 Sep 2007 13:22:26 +0000 (13:22 +0000)]
Improve submenu cascading a bit

2007-09-28  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkmenuitem.c (get_minimum_width): (MAEMO_CHANGES) reduce the
minimum width of menuitems with submenus to improve cascading a bit.
NB#66036

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14190 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoHide GtkMessageDialog titlebar
Tommi Komulainen [Fri, 28 Sep 2007 12:59:38 +0000 (12:59 +0000)]
Hide GtkMessageDialog titlebar

2007-09-28  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkmessagedialog.c (gtk_message_class_init,
gtk_message_class_realize): (MAEMO_CHANGES) since message dialogs
don't have titles, it makes little sense to show the title bar.
NB#70820

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14183 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoDon't paint focus rectangle around cells when there's only one
Tommi Komulainen [Fri, 28 Sep 2007 12:42:33 +0000 (12:42 +0000)]
Don't paint focus rectangle around cells when there's only one

2007-09-28  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtktreeview.c (gtk_tree_view_has_special_cell): (MAEMO_CHANGES)
Return TRUE when there's more than one special cell as we don't want
the focus rectangle around cells when there's only one. In such case
Select key is expected to activate the cell so there's no ambiguity.
NB#70703

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14178 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-28 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Fri, 28 Sep 2007 11:51:43 +0000 (11:51 +0000)]
2007-09-28  Xan Lopez  <xan.lopez@nokia.com>

* gtk/gtknotebook.c (gtk_notebook_paint): paint the box_gap with the
notebook_show_arrow detail when arrows are shown to get correct theming.

Fixes: MB#1084

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14171 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate debian changelog.
Xan Lopez [Fri, 28 Sep 2007 10:38:22 +0000 (10:38 +0000)]
Update debian changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14163 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoUpdate changelog.
Xan Lopez [Wed, 26 Sep 2007 14:49:17 +0000 (14:49 +0000)]
Update changelog.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14128 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoChain insensitive press from arrow_button to the main widget.
Xan Lopez [Wed, 26 Sep 2007 14:49:14 +0000 (14:49 +0000)]
Chain insensitive press from arrow_button to the main widget.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14127 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-26 Xan Lopez <xan.lopez@nokia.com>
Xan Lopez [Wed, 26 Sep 2007 13:37:04 +0000 (13:37 +0000)]
2007-09-26  Xan Lopez  <xan.lopez@nokia.com>

Patch by Michael Kostrzewa.

* gtk/gtkiconview.c (gtk_icon_view_paint_item): use gtk_paint_flat_box
instead of cairo to get theming right. Fixes: NB#70554

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14121 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoMake the entry truncate multiline pastes if MAEMO_CHANGES is defined.
Tommi Komulainen [Tue, 25 Sep 2007 14:02:19 +0000 (14:02 +0000)]
Make the entry truncate multiline pastes if MAEMO_CHANGES is defined.

2007-09-25  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkentry.c (gtk_entry_class_init, gtk_entry_init): Make the
entry truncate multiline pastes if MAEMO_CHANGES is defined.
NB#70531

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14082 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agogtk+2.0 (2:2.10.12-0osso19) unstable; urgency=low
Fernando Herrera [Tue, 25 Sep 2007 08:48:48 +0000 (08:48 +0000)]
gtk+2.0 (2:2.10.12-0osso19) unstable; urgency=low

  * debian/rules: updated shlibs to osso15 because the introduction of
    GtkBuilder API.

 -- Fernando Herrera <fernando.herrera-de-las-heras@nokia.com>  Tue, 25 Sep 2007 11:53:55 +0300

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14056 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago * debian/control: Bump Build-Depends to libglib2.0-dev (>= 2.12.12-1osso9)
Tommi Komulainen [Mon, 24 Sep 2007 08:12:14 +0000 (08:12 +0000)]
  * debian/control: Bump Build-Depends to libglib2.0-dev (>= 2.12.12-1osso9)
    due to the GScanner cache addition

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14020 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoAdd bug references
Tommi Komulainen [Mon, 24 Sep 2007 07:56:17 +0000 (07:56 +0000)]
Add bug references

  * Fixes: NB#57886 adjustment that was bound to a container with
    gtk_container_set_focus_vadjustment () needs update when container is
    resized due to vkb popping up
  * Fixes: NB#59117 Drag'n'Drop in gtk_tree_view with multiple selection
    broken
  * Fixes: NB#63578 GtkButtonBox can't handle allocation < requisition
  * Fixes: NB#66723 Heterogeneous button size for GtkButtonBox
  * Fixes: NB#68792 [Regression] GtkTreeView: Initial focus is on column
    headers
  * Fixes: NB#68989 Menu scroll arrows appear in mini size
  * Fixes: NB#69051 Unable to move the focus out of textview with no visible
    cursor
  * Fixes: NB#69655 Full screen, Zoom in, Zoom out functionalities does not
    work when entry completion popup is open

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14017 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRemove gtk grab from entrycompletion popup
Tommi Komulainen [Fri, 21 Sep 2007 14:54:22 +0000 (14:54 +0000)]
Remove gtk grab from entrycompletion popup

2007-09-21  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup,
_gtk_entry_completion_popdown): Revert NB#66055 and remove the gtk
grab again. We want the user to be able use hardkeys and press toolbar
buttons while the popup is open. The application needs to ensure the
popup gets closed. NB#69655

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14007 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-21 Michael Natterer <mitch@imendio.com>
Michael Natterer [Fri, 21 Sep 2007 14:36:50 +0000 (14:36 +0000)]
2007-09-21  Michael Natterer  <mitch@imendio.com>

Merged from upstream:

* gtk/gtktextview.c (gtk_text_view_move_cursor_internal)
(gtk_text_view_move_viewport): merged patch from maemo-gtk which
handles failed keynav correctly also when the cursor is invisible.
(Tommi Komulainen, fixes NB#69051)

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@14006 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoadd bug#
Tommi Komulainen [Fri, 21 Sep 2007 09:24:26 +0000 (09:24 +0000)]
add bug#

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13973 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago * debian/control: Add gtk20-l10n to dependencies. (Fixes: NB#63541)
Tommi Komulainen [Thu, 20 Sep 2007 16:42:37 +0000 (16:42 +0000)]
  * debian/control: Add gtk20-l10n to dependencies. (Fixes: NB#63541)

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13957 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoMake use of child widget sizing related style properties
Tommi Komulainen [Thu, 20 Sep 2007 11:51:08 +0000 (11:51 +0000)]
Make use of child widget sizing related style properties

2007-09-20  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkbbox.h
* gtk/gtkbbox.c (_gtk_button_box_child_size_props): Export for hbox.
* gtk/gtkhbbox.c (gtk_hbutton_box_get_children_sizes): Make use of
child widget sizing related style properties to improve the way
heterogeneous allocation looks.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13936 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRefactor getting of style properties into a separate function
Tommi Komulainen [Thu, 20 Sep 2007 11:51:05 +0000 (11:51 +0000)]
Refactor getting of style properties into a separate function

2007-09-20  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkbbox.c (_gtk_button_box_child_size_props,
_gtk_button_box_child_requisition): Refactor getting of style
properties into a separate function.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13935 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRespect GtkBox::homogeneous property in hbbox
Tommi Komulainen [Thu, 20 Sep 2007 11:51:01 +0000 (11:51 +0000)]
Respect GtkBox::homogeneous property in hbbox

2007-09-20  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkhbbox.c (gtk_hbutton_box_get_children_sizes): Respect
GtkBox::homogeneous property for size requisition and allocation.
NB#66723

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13934 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRefactor size requisition wit gtk_hbutton_box_get_children_sizes
Tommi Komulainen [Thu, 20 Sep 2007 11:50:58 +0000 (11:50 +0000)]
Refactor size requisition wit gtk_hbutton_box_get_children_sizes

2007-09-20  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkhbbox.c (gtk_hbutton_box_get_children_sizes,
gtk_hbutton_box_size_allocate): Call get_children_sizes with optional
allocation parameter so that we can use it for size requisition as
well.
* gtk/gtkhbbox.c (gtk_hbutton_box_size_request): Rewrite to use
gtk_hbutton_box_get_children_sizes

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13933 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-20 Tommi Komulainen <tommi.komulainen@nokia.com>
Tommi Komulainen [Thu, 20 Sep 2007 11:07:37 +0000 (11:07 +0000)]
2007-09-20  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate): Replace somewhat
obscure defines with real variables.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13931 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-19 13:58:27 Tim Janik <timj@imendio.com>
Tim Janik [Wed, 19 Sep 2007 12:04:03 +0000 (12:04 +0000)]
2007-09-19 13:58:27  Tim Janik  <timj@imendio.com>

        * gtk/gtkcontainer.h, gtk/gtkcontainer.c: added _gtk_container_post_size_allocate()
        for gtkwidget.c to notify containers about size allocation.
        adjust scroll area around focussed widget for every window after any container
        got resized.

        * gtk/gtkwidget.c: call _gtk_container_post_size_allocate() at the
        end of gtk_widget_size_allocate() to allow containers to adjust to size allocation.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13915 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-19 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Wed, 19 Sep 2007 11:53:51 +0000 (11:53 +0000)]
2007-09-19  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row): add
Maemo specific code to clear all pending actions on a row (pending
select, activation or expand) if we decide to begin a drag here.
This avoids clearing the selection when a multiple item drag has
been finished or cancelled.
NB#59117.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13914 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-19 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Wed, 19 Sep 2007 10:05:17 +0000 (10:05 +0000)]
2007-09-19  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_header_focus): add Maemo specific
code to immediately return FALSE; this way the headers will always be
skipped when the tree view gets focus and it behaves exactly how it
a tree view without visible headers would behave.
NB#68792.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13911 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoReturn quickly when there are zero visible children.
Tommi Komulainen [Tue, 18 Sep 2007 15:33:50 +0000 (15:33 +0000)]
Return quickly when there are zero visible children.

2007-09-18  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkhbbox.c (gtk_hbutton_box_get_children_sizes,
gtk_hbutton_box_size_allocate): Return quickly when there are zero
visible children.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13903 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoFix spacings in GTK_BUTTONBOX_EDGE case which got broken by NB#63578.
Tommi Komulainen [Tue, 18 Sep 2007 13:36:27 +0000 (13:36 +0000)]
Fix spacings in GTK_BUTTONBOX_EDGE case which got broken by NB#63578.

2007-09-18  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate): Fix spacings in
GTK_BUTTONBOX_EDGE case which got broken by NB#63578.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13898 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRemember to return the array.
Tommi Komulainen [Tue, 18 Sep 2007 13:10:16 +0000 (13:10 +0000)]
Remember to return the array.

2007-09-18  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkhbbox.c (gtk_hbutton_box_get_children_sizes): Remember to
return the array.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13894 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoAdd maemo-arrow-scaling style property
Tommi Komulainen [Tue, 18 Sep 2007 12:37:30 +0000 (12:37 +0000)]
Add maemo-arrow-scaling style property

2007-09-18  Tommi Komulainen  <tommi.komulainen@nokia.com>

* gtk/gtkmenu.c (gtk_menu_class_init, gtk_menu_paint): Add
maemo-arrow-scaling style property. NB#68989

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13890 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoMake GtkHButtonBox better handle allocation < requisition
Tommi Komulainen [Tue, 18 Sep 2007 12:10:27 +0000 (12:10 +0000)]
Make GtkHButtonBox better handle allocation < requisition

2007-09-18  Tommi Komulainen  <tommi.komulainen@nokia.com>

Patch from Xan Lopez, with small cleanups.

* gtk/gtkhbbox.c (gtk_hbutton_box_get_children_sizes): New function to
calculate the widths for all visible child widgets, and primary and
secondary button groups. If there is not enough space for the buttons
to have homogeneous width, each button gets their size requisition +
any extra space evenly divided between the children.
(gtk_hbutton_box_size_allocate): Refactored to not assume homogeneous
layout and deal with heterogeneous layout.
NB#63578

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13889 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoFix bogus date on my commit from 14th
Fernando Herrera [Tue, 18 Sep 2007 11:48:05 +0000 (11:48 +0000)]
Fix bogus date on my commit from 14th

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13888 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago--enable-gtk-doc
Tommi Komulainen [Tue, 18 Sep 2007 11:26:51 +0000 (11:26 +0000)]
--enable-gtk-doc

  * debian/control.in:
  * debian/control: Add glib, atk, pango and cairo doc packages to build
    dependencies to get gtk-doc crossreferences right
  * debian/rules: --enable-gtk-doc (with nodocs DEB_BUILD_OPTIONS support)
    (Fixes: NB#69304)

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13886 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agogtk+2.0 (2:2.10.12-0osso16) unstable; urgency=low
Fernando Herrera [Mon, 17 Sep 2007 14:53:16 +0000 (14:53 +0000)]
gtk+2.0 (2:2.10.12-0osso16) unstable; urgency=low

  * Use the reintroduced GScanner cache. Addresses NB#61907
  * Constrain wrap width by 85% of the screen width instead of 50% for
    labels. Fixes: NB#63754.
  * Repaints GtkRange at 5Hz on scrolling. Fixes: NB#59279
  * Notebook and TreeView fixes.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13861 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-17 Michael Natterer <mitch@imendio.com>
Michael Natterer [Mon, 17 Sep 2007 14:25:49 +0000 (14:25 +0000)]
2007-09-17  Michael Natterer  <mitch@imendio.com>

Reintroduce GScanner cache. Addresses NB#61907:

* gtk/gtkrc.c (gtk_rc_parse_any): call the reintroduced
hildon_g_scanner_cache_open()

(is_c_identifier): speed up by replacing strchr() by an if()
construct. See upstream bug #476903.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13856 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-14 13:24:14 Tim Janik <timj@imendio.com>
Tim Janik [Fri, 14 Sep 2007 11:33:43 +0000 (11:33 +0000)]
2007-09-14 13:24:14  Tim Janik  <timj@imendio.com>

        * gtk/gtklabel.c (gtk_label_ensure_layout): constrain wrap width by 85%
        of the screen width instead of 50%, which is more suitable on the maemo
        desktop. fixes NB#63754.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13816 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-07-26 Fernando Herrera <fernando.herrera-de-las-heras@nokia.com>
Fernando Herrera [Fri, 14 Sep 2007 09:12:09 +0000 (09:12 +0000)]
2007-07-26  Fernando Herrera  <fernando.herrera-de-las-heras@nokia.com>

        * docs/reference/gtk/Makefile.am: fix GtkBuilder documentation build.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13812 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoThu Sep 13 13:40:50 2007 Tim Janik <timj@imendio.com>
Kristian Rietveld [Thu, 13 Sep 2007 11:45:21 +0000 (11:45 +0000)]
Thu Sep 13 13:40:50 2007  Tim Janik  <timj@imendio.com>

Fix for NB#59279.

* gtk/gtkrange.c (gtk_range_adjustment_value_changed): removed code
that forced range repaints upon every motion event, because these tend
to stall other repaints on slower devices.
added a timer to still force repaints every once in a while (roughly
5Hz atm) to avoid leaving the user without feedback on the range.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13787 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-12 13:14:34 Tim Janik <timj@imendio.com>
Tim Janik [Wed, 12 Sep 2007 11:24:16 +0000 (11:24 +0000)]
2007-09-12 13:14:34  Tim Janik  <timj@imendio.com>

        * gtk/gtknotebook.c: make tabs scrollable and homogeneous by default
        if MAEMO_CHANGES is defined.
        (gtk_notebook_real_insert_page): expand notebook pages by default for
        the homogeneous setting to take effect.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13777 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years agoRelease 2.10.12-0osso15
Fernando Herrera [Tue, 11 Sep 2007 11:20:44 +0000 (11:20 +0000)]
Release 2.10.12-0osso15

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13742 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-10 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Mon, 10 Sep 2007 09:46:43 +0000 (09:46 +0000)]
2007-09-10  Kristian Rietveld  <kris@imendio.com>

Merge from upstream:

* gtk/gtktreeview.c (gtk_tree_view_key_press): only start
typeahead search if tree_view has focus (and not one of the column
buttons).

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13691 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-06 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Thu, 6 Sep 2007 15:12:09 +0000 (15:12 +0000)]
2007-09-06  Kristian Rietveld  <kris@imendio.com>

* gtk/gtkwidget.c (gtk_widget_tap_and_hold_button_press): set
event->window as tah_window instead of widget->window.  (Fixes
NB#66174).

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13650 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-06 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Thu, 6 Sep 2007 14:53:44 +0000 (14:53 +0000)]
2007-09-06  Kristian Rietveld  <kris@imendio.com>

Delay vertical auto scrolling until an additional row has been
selected via pen dragging. (Fixes NB#60326).

* gtk/gtktreeview.c (gtk_tree_view_update_rubber_band_selection):
start scrolling after an additional row has been selected via
pen dragging,
(gtk_tree_view_motion_bin_window): don't edge scrolling as soon as
we receive a motion event.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13649 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

10 years ago2007-09-06 Kristian Rietveld <kris@imendio.com>
Kristian Rietveld [Thu, 6 Sep 2007 13:51:59 +0000 (13:51 +0000)]
2007-09-06  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_focus): bail out if can-focus is
FALSE. (NB#65181).

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@13646 50eb543b-83fa-0310-9bb7-f7cbbee4ab39