]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years ago[broadway] Add configure event for browser-side geometry changes
Alexander Larsson [Wed, 6 Apr 2011 14:39:07 +0000 (16:39 +0200)]
[broadway] Add configure event for browser-side geometry changes

Atm this only works for the useToplevelWindows case, but we can add
a browser wm to make use of it inside the browser too.

13 years ago[broadway] Add experimental toplevel window mode
Alexander Larsson [Wed, 6 Apr 2011 09:40:40 +0000 (11:40 +0200)]
[broadway] Add experimental toplevel window mode

This mode makes each toplevel window get its own browser window, with
popup windows using the browser window of their transient parent.

Its not idea, as you can't get rid of all browser chrome by default, and
it means popups (like menus) can't extend outside the toplevels. But, it is
kinda cool.

13 years ago[broadway] Fixup ungrab reference to old time variable
Alexander Larsson [Wed, 6 Apr 2011 09:00:32 +0000 (11:00 +0200)]
[broadway] Fixup ungrab reference to old time variable

13 years ago[broadway] Break out document setup into its own function
Alexander Larsson [Wed, 6 Apr 2011 08:03:42 +0000 (10:03 +0200)]
[broadway] Break out document setup into its own function

In the future we might have more documents (one per toplevel browser
window).

13 years ago[broadway] Remove unused grab.time on browser side
Alexander Larsson [Wed, 6 Apr 2011 08:01:53 +0000 (10:01 +0200)]
[broadway] Remove unused grab.time on browser side

13 years ago[broadway] Break out all command handling to separate functions
Alexander Larsson [Wed, 6 Apr 2011 07:57:31 +0000 (09:57 +0200)]
[broadway] Break out all command handling to separate functions

We don't want to mix up the argument parsing with the actual implementation.

13 years ago[broadway] Make the surface object a plain js object, not the context
Alexander Larsson [Wed, 6 Apr 2011 07:46:49 +0000 (09:46 +0200)]
[broadway] Make the surface object a plain js object, not the context

13 years ago[broadway] Centralize surface creation code in js
Alexander Larsson [Wed, 6 Apr 2011 07:32:15 +0000 (09:32 +0200)]
[broadway] Centralize surface creation code in js

13 years ago[broadway] Track window type in browser
Alexander Larsson [Tue, 5 Apr 2011 10:27:43 +0000 (12:27 +0200)]
[broadway] Track window type in browser

13 years ago[broadway] Track transient_for
Alexander Larsson [Tue, 5 Apr 2011 10:02:46 +0000 (12:02 +0200)]
[broadway] Track transient_for

13 years ago[broadway] Remove unused query pointer message
Alexander Larsson [Tue, 5 Apr 2011 08:52:40 +0000 (10:52 +0200)]
[broadway] Remove unused query pointer message

13 years ago[broadway] Don't roundtrip for getting current pointer location
Alexander Larsson [Tue, 5 Apr 2011 08:45:51 +0000 (10:45 +0200)]
[broadway] Don't roundtrip for getting current pointer location

Roundtrips are bad, and this gets called a lot, so we use all currently
availible future info to "emulate" a full roundtrip, but with much lower
cost.

13 years ago[broadway] Add _gdk_broadway_display_consume_all_input
Alexander Larsson [Tue, 5 Apr 2011 08:44:53 +0000 (10:44 +0200)]
[broadway] Add _gdk_broadway_display_consume_all_input

This parses and queues all currently availible input data non-blockingly.
Useful to ensure the latest up-to-date future info.

13 years ago[broadway] Track future pointer events locations during parsing
Alexander Larsson [Tue, 5 Apr 2011 08:43:52 +0000 (10:43 +0200)]
[broadway] Track future pointer events locations during parsing

We want this info so that we can avoid roundtrips and still get
a somewhat better querying for pointer locations.

13 years ago[broadway] Add helper for processing input at idle
Alexander Larsson [Tue, 5 Apr 2011 08:43:04 +0000 (10:43 +0200)]
[broadway] Add helper for processing input at idle

13 years ago[broadway] Keep track of current real cursor window (sans grabs)
Alexander Larsson [Tue, 5 Apr 2011 08:03:14 +0000 (10:03 +0200)]
[broadway] Keep track of current real cursor window (sans grabs)

We need this to be able to do a non-roundtripping get-window.

13 years ago[broadway] Break out _gdk_broadway_display_read_all_input_nonblocking
Alexander Larsson [Fri, 1 Apr 2011 15:07:17 +0000 (17:07 +0200)]
[broadway] Break out _gdk_broadway_display_read_all_input_nonblocking

This is useful in other places, like when we want to iterate over
all messages recieved so far.

13 years ago[broadway] Make pointer grabs not roundtrip
Alexander Larsson [Fri, 1 Apr 2011 14:29:03 +0000 (16:29 +0200)]
[broadway] Make pointer grabs not roundtrip

Since we're really only initializing grabs (except for implicit
grabs at least) from the client side we might as well do all the grab
time checks on the client side to avoid unnecassary roundtrips.

13 years ago[broadway] Save last event time seen
Alexander Larsson [Fri, 1 Apr 2011 13:46:01 +0000 (15:46 +0200)]
[broadway] Save last event time seen

13 years ago[broadway] Parse broadway input messages earlier
Alexander Larsson [Fri, 1 Apr 2011 13:08:28 +0000 (15:08 +0200)]
[broadway] Parse broadway input messages earlier

We now parse the broadway messages as soon as they are read from the wire.
This will let us sanely do lookahead in the message queue later.

13 years agoGtkColorButton: Don't leak references
Matthias Clasen [Wed, 6 Apr 2011 04:56:37 +0000 (00:56 -0400)]
GtkColorButton: Don't leak references

https://bugzilla.gnome.org/show_bug.cgi?id=646815

13 years agoUpdate Czech translation
Petr Kovar [Wed, 6 Apr 2011 01:43:06 +0000 (03:43 +0200)]
Update Czech translation

13 years ago[l10n]Fixes on Catalan translation
Jordi Serratosa [Mon, 4 Apr 2011 19:29:22 +0000 (21:29 +0200)]
[l10n]Fixes on Catalan translation

13 years ago[l10n]Fixes on Catalan translation
Jordi Serratosa [Mon, 4 Apr 2011 19:20:32 +0000 (21:20 +0200)]
[l10n]Fixes on Catalan translation

13 years agoFixed bug in GtkSizeRequest code where the cache is not reset properly
Tristan Van Berkom [Mon, 4 Apr 2011 04:58:05 +0000 (13:58 +0900)]
Fixed bug in GtkSizeRequest code where the cache is not reset properly

Fixes this bug https://bugzilla.gnome.org/show_bug.cgi?id=646500

13 years agoUpdated Brazilian Portuguese translation
Rodolfo Ribeiro Gomes [Mon, 4 Apr 2011 14:11:26 +0000 (11:11 -0300)]
Updated Brazilian Portuguese translation

13 years agoUpdated Traditional Chinese translation (Hong Kong and Taiwan)
Chao-Hsiung Liao [Mon, 4 Apr 2011 12:27:38 +0000 (20:27 +0800)]
Updated Traditional Chinese translation (Hong Kong and Taiwan)

13 years agoUpdated Bengali translation
Jamil Ahmed [Mon, 4 Apr 2011 10:40:12 +0000 (16:40 +0600)]
Updated Bengali translation

13 years ago[l10n]Updated Catalan translation
Gil Forcada [Sun, 3 Apr 2011 23:07:15 +0000 (01:07 +0200)]
[l10n]Updated Catalan translation

13 years agoMake gdk_x11_window_set_theme_variant do nothing for non-toplevels
Matthias Clasen [Sun, 3 Apr 2011 21:40:37 +0000 (17:40 -0400)]
Make gdk_x11_window_set_theme_variant do nothing for non-toplevels

This avoids problems when calling this e.g. on offscreen windows.

13 years agoKeymap: properly initialize lock state
Matthias Clasen [Sat, 2 Apr 2011 22:39:28 +0000 (18:39 -0400)]
Keymap: properly initialize lock state

We need to get explicitly lock state initially, before we can
rely on state changed events to track it.
https://bugzilla.gnome.org/show_bug.cgi?id=645341

13 years agoFixed warning catch in gtk_window_compute_hints().
Tristan Van Berkom [Sun, 3 Apr 2011 09:09:22 +0000 (18:09 +0900)]
Fixed warning catch in gtk_window_compute_hints().

13 years agoUpdated Russian translation
Yuri Kozlov [Sun, 3 Apr 2011 16:15:51 +0000 (20:15 +0400)]
Updated Russian translation

13 years agotheme: Fix prelight on selected rows' expanders
Carlos Garnacho [Sun, 3 Apr 2011 10:21:57 +0000 (12:21 +0200)]
theme: Fix prelight on selected rows' expanders

There was no prelight effect on selected rows' expanders with the
builtin theme, noticed by Kris Rietveld.

13 years agoUpdated Romanian translation
Lucian Adrian Grijincu [Fri, 11 Mar 2011 10:15:38 +0000 (11:15 +0100)]
Updated Romanian translation

13 years agoUpdated Danish translation
Ask H. Larsen [Sat, 2 Apr 2011 17:45:07 +0000 (19:45 +0200)]
Updated Danish translation

13 years agol10n: Updated Greek translation for gtk+
George Stefanakis [Sat, 2 Apr 2011 14:57:50 +0000 (17:57 +0300)]
l10n: Updated Greek translation for gtk+

13 years agoUploaded Ukranian
Daniel Korostil [Sat, 2 Apr 2011 13:38:07 +0000 (16:38 +0300)]
Uploaded Ukranian

13 years agoGtkAppChooserButton: avoid some leaks
Matthias Clasen [Sat, 2 Apr 2011 03:52:46 +0000 (23:52 -0400)]
GtkAppChooserButton: avoid some leaks

gtk_tree_model_get() returns a reference for objects.
https://bugzilla.gnome.org/show_bug.cgi?id=646462

13 years agoFix some refcounting issues in the print dialog
Matthias Clasen [Sat, 2 Apr 2011 02:02:38 +0000 (22:02 -0400)]
Fix some refcounting issues in the print dialog

gtk_tree_model_get returns a reference for objects, but the
printers in the model can be NULL,
https://bugzilla.gnome.org/show_bug.cgi?id=646446

13 years ago[filechooser] Free things which got duplicated or reffed by gtk_tree_model_get()
Federico Mena Quintero [Fri, 1 Apr 2011 22:16:17 +0000 (16:16 -0600)]
[filechooser] Free things which got duplicated or reffed by gtk_tree_model_get()

We had forgotten to do that in a few places; this is a systematic search for those.

https://bugzilla.gnome.org/show_bug.cgi?id=646461

13 years ago[filechooser] Unref cancellables we got from the model, not the ones that come into...
Federico Mena Quintero [Fri, 1 Apr 2011 22:06:51 +0000 (16:06 -0600)]
[filechooser] Unref cancellables we got from the model, not the ones that come into the callback

The model_cancellables have an extra ref when we get them from gtk_tree_model_get().
So, we need to unref them always.  On the other hand, the cancellables that get
passed as arguments to the callbacks in question are memory-managed by
GtkFileSystemModel.

Reported by Morten Welinder <mortenw@gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=646460

13 years ago[filechooser] Don't leak a GFile
Federico Mena Quintero [Fri, 1 Apr 2011 19:25:24 +0000 (13:25 -0600)]
[filechooser] Don't leak a GFile

Reported by Morten Welinder <mortenw@gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=646458

13 years ago[filechooser] Don't add extra ref to file, as it it comes from gtk_tree_model_get()
Federico Mena Quintero [Fri, 1 Apr 2011 18:44:10 +0000 (12:44 -0600)]
[filechooser] Don't add extra ref to file, as it it comes from gtk_tree_model_get()

Leak kindly reported by leak finder extraordinaire Morten Welinder <mortenw@gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=646457

13 years agoAdded GtkEntry:completion property
Juan Pablo Ugarte [Fri, 1 Apr 2011 22:35:32 +0000 (19:35 -0300)]
Added GtkEntry:completion property

13 years agoUpdated Hungarian translation
Gabor Kelemen [Fri, 1 Apr 2011 13:12:56 +0000 (15:12 +0200)]
Updated Hungarian translation

13 years agoUpdated Hungarian translation
Gabor Kelemen [Fri, 1 Apr 2011 13:16:57 +0000 (15:16 +0200)]
Updated Hungarian translation

13 years agoUpdated Brazilian Portuguese translation
Gabriel F. Vilar [Fri, 1 Apr 2011 12:11:15 +0000 (09:11 -0300)]
Updated Brazilian Portuguese translation

13 years agohindi updated
Rajesh Ranjan [Fri, 1 Apr 2011 09:26:12 +0000 (14:56 +0530)]
hindi updated

13 years agohindi updated
Rajesh Ranjan [Fri, 1 Apr 2011 09:24:43 +0000 (14:54 +0530)]
hindi updated

13 years agoCall _exit instead of exit from X error handlers
Matthias Clasen [Thu, 31 Mar 2011 23:59:00 +0000 (19:59 -0400)]
Call _exit instead of exit from X error handlers

This is because running atexit() handlers from there is
usually bad news.
https://bugzilla.gnome.org/show_bug.cgi?id=646338

13 years ago * gtk/gtktreeselection.c:
Juan Pablo Ugarte [Thu, 31 Mar 2011 22:03:52 +0000 (19:03 -0300)]
 * gtk/gtktreeselection.c:
   Added missing GtkTreeSelection:mode property.
   Closes bug #645960 "GtkTreeSelection has no property to set mode"

13 years agoUpdated Portuguese translation
Duarte Loreto [Thu, 31 Mar 2011 22:19:39 +0000 (23:19 +0100)]
Updated Portuguese translation

13 years ago[l10n] Updated German translation
Mario Blättermann [Thu, 31 Mar 2011 19:30:57 +0000 (21:30 +0200)]
[l10n] Updated German translation

13 years agoUpdated Brazilian Portuguese translation
Djavan Fagundes [Thu, 31 Mar 2011 14:42:31 +0000 (11:42 -0300)]
Updated Brazilian Portuguese translation

13 years ago[l10n] Updated German translation
Mario Blättermann [Thu, 31 Mar 2011 07:41:05 +0000 (09:41 +0200)]
[l10n] Updated German translation

13 years agoUpdated Bulgarian translation
Alexander Shopov [Thu, 31 Mar 2011 03:36:40 +0000 (06:36 +0300)]
Updated Bulgarian translation

13 years agoUpdated Serbian translation
Miroslav Nikolić [Wed, 30 Mar 2011 23:11:14 +0000 (01:11 +0200)]
Updated Serbian translation

13 years agoUploaded Ukranian
Daniel Korostil [Wed, 30 Mar 2011 14:54:43 +0000 (17:54 +0300)]
Uploaded Ukranian

13 years agowidget: Propagate the right states to the widget when setting the parent
Benjamin Otte [Wed, 30 Mar 2011 14:38:45 +0000 (16:38 +0200)]
widget: Propagate the right states to the widget when setting the parent

13 years agowidget: Get rid of parent_sensitive flag
Benjamin Otte [Wed, 30 Mar 2011 14:15:21 +0000 (16:15 +0200)]
widget: Get rid of parent_sensitive flag

Instead rely on state_flags & GTK_STATE_FLAG_INSENSITIVE to tell us if a
widget is sensitive.
This has the huge benefit that the way the widget is actually rendered
corresponds to the return value of gtk_widget_is_sensitive().

As a side effect, we do not ever allow unsetting the
GTK_STATE_FLAG_INSENSITIVE for a widget the is set to not be sensitive
(via gtk_widget_set_sensitive()). This way we stop propagation of making
stuff sensitive at insensitive widgets.

https://bugzilla.gnome.org/show_bug.cgi?id=642918

13 years agoMake GtkWidget::halign RTL-save
Matthias Clasen [Wed, 30 Mar 2011 06:25:12 +0000 (02:25 -0400)]
Make GtkWidget::halign RTL-save

This commit makes GTK_ALIGN_START/_END pay attention to
the text direction when used in horizontal context.

This is how similar parameters in GtkMisc and GtkAlignment work,
and is generally expected of GTK+ positioning parameters. And this
is new GTK+ 3 api, so it is basically still unused at this point.

If explicit right/left turn out to be needed at some point, we
can expand the enumeration with new values.

13 years agoUpdated British English translation
Bruce Cowan [Wed, 30 Mar 2011 14:25:09 +0000 (15:25 +0100)]
Updated British English translation

13 years agoGtkGrid: Add forgotten RTL flipping
Matthias Clasen [Wed, 30 Mar 2011 06:24:00 +0000 (02:24 -0400)]
GtkGrid: Add forgotten RTL flipping

How did we manage to add a non-RTL savy container in GTK+ 3.0 ?

13 years agolabel: Remove dead code
Benjamin Otte [Wed, 30 Mar 2011 11:14:47 +0000 (13:14 +0200)]
label: Remove dead code

This code has been useless for a while, and now it's breaking things.
Moving the paned in tests/testheightforwidth's wrapping label shows that
bug.

Broken since 9992efdb0e7d0cf52e47817fe049b97967400731

13 years agoUpdated Danish translation
Ask H. Larsen [Tue, 29 Mar 2011 21:41:18 +0000 (23:41 +0200)]
Updated Danish translation

13 years agoUpdated Danish translation
Ask H. Larsen [Tue, 29 Mar 2011 21:39:16 +0000 (23:39 +0200)]
Updated Danish translation

13 years agoGtkStatusIcon: support fixed-sized icons
Ryan Lortie [Tue, 29 Mar 2011 18:14:21 +0000 (23:44 +0530)]
GtkStatusIcon: support fixed-sized icons

Use the _NET_SYSTEM_TRAY_ICON_SIZE property set by the tray mananger as
a hint that we should use a specific icon size.  This allows the tray to
instruct us that it expects 16x16 icons, for example.

Bug #645232

13 years agotheming: Implement non-uniform border-width in the theming engine.
Carlos Garnacho [Mon, 28 Mar 2011 22:59:49 +0000 (00:59 +0200)]
theming: Implement non-uniform border-width in the theming engine.

The border-width CSS parameter takes up to 4 values, but it was
being ignored by the theming engine until now.

13 years agotheming: Avoid boxed struct copies throughout the default engine
Carlos Garnacho [Mon, 28 Mar 2011 17:34:40 +0000 (19:34 +0200)]
theming: Avoid boxed struct copies throughout the default engine

13 years agolabel: Add another special case for measuring
Benjamin Otte [Tue, 29 Mar 2011 11:33:47 +0000 (13:33 +0200)]
label: Add another special case for measuring

13 years agolabel: Don't create the layout in size_allocate() if not needed
Benjamin Otte [Tue, 29 Mar 2011 11:24:34 +0000 (13:24 +0200)]
label: Don't create the layout in size_allocate() if not needed

Just update its size if it already exists.

13 years agolabel: Move ellipsized layout width computation
Benjamin Otte [Tue, 29 Mar 2011 11:21:48 +0000 (13:21 +0200)]
label: Move ellipsized layout width computation

... from size_allocate() to update_layout_width().

13 years agolabel: Factor out layout size measuring into its own function
Benjamin Otte [Tue, 29 Mar 2011 13:12:30 +0000 (15:12 +0200)]
label: Factor out layout size measuring into its own function

Instead of doing half of it in get_preferred_size() and the other half
in get_label_width(), put it all in one place.

13 years agolabel: Move function to a better location
Benjamin Otte [Tue, 29 Mar 2011 13:05:27 +0000 (15:05 +0200)]
label: Move function to a better location

This patch does not change anything, it just moves the get_label_width
function.

13 years agolabel: Factor out layout size setting into a separate function
Benjamin Otte [Tue, 29 Mar 2011 11:10:43 +0000 (13:10 +0200)]
label: Factor out layout size setting into a separate function

13 years agolabel: Only get font metrics if we have to
Benjamin Otte [Tue, 29 Mar 2011 01:31:09 +0000 (03:31 +0200)]
label: Only get font metrics if we have to

Getting these metrics is expensive, so avoid it if possible.

13 years agolabel: Add optimization for a common special case
Benjamin Otte [Tue, 29 Mar 2011 01:16:34 +0000 (03:16 +0200)]
label: Add optimization for a common special case

Oftentimes we want to measure a layout that is as wide or wider than the
current layout's maximal width. In that case we can safely reuse the
current layout.

13 years agolabel: Remove unused boolean argument from ensure_layout()
Benjamin Otte [Tue, 29 Mar 2011 00:53:28 +0000 (02:53 +0200)]
label: Remove unused boolean argument from ensure_layout()

It's always FALSE.

Note that this patch changes the layout for allocations that are
smaller than 1px, but that's just the default layout that is never
rendered.

13 years agolabel: Don't recreate the layout just for measuring
Benjamin Otte [Tue, 29 Mar 2011 00:49:19 +0000 (02:49 +0200)]
label: Don't recreate the layout just for measuring

Instead, create a custom one.

13 years agolabel: Add internal gtk_label_get_measuring_layout() and use it
Benjamin Otte [Tue, 29 Mar 2011 00:27:26 +0000 (02:27 +0200)]
label: Add internal gtk_label_get_measuring_layout() and use it

Avoids useless pango_layout_copy() calls and invalidations of an
existing layout when measuring sizes for a given label.

13 years agotests: Make test_init() not check for gdk-pixbuf anymore
Benjamin Otte [Tue, 29 Mar 2011 13:26:03 +0000 (15:26 +0200)]
tests: Make test_init() not check for gdk-pixbuf anymore

gdk-pixbuf is system-installed these days.

13 years agoprogressbar: remove needless is_drawable() check before queue_resize()
Benjamin Otte [Tue, 29 Mar 2011 11:55:06 +0000 (13:55 +0200)]
progressbar: remove needless is_drawable() check before queue_resize()

13 years agotracker: Include gdk.h
Benjamin Otte [Tue, 29 Mar 2011 00:27:16 +0000 (02:27 +0200)]
tracker: Include gdk.h

13 years agoUpdate Simplified Chinese po-properties translation.
Aron Xu [Tue, 29 Mar 2011 11:02:06 +0000 (11:02 +0000)]
Update Simplified Chinese po-properties translation.

13 years agoRevert "Update Simplified Chinese translation." it commits po-properties translations...
Aron Xu [Tue, 29 Mar 2011 10:52:13 +0000 (10:52 +0000)]
Revert "Update Simplified Chinese translation." it commits po-properties translations to po.

This reverts commit bd058d4ba36a166776c88cae9a2a541dae5decca.

13 years agoUpdate Simplified Chinese translation.
Aron Xu [Tue, 29 Mar 2011 10:48:33 +0000 (10:48 +0000)]
Update Simplified Chinese translation.

13 years agodocs: Update the drawing model description for GTK 3
Benjamin Otte [Mon, 28 Mar 2011 13:03:38 +0000 (14:03 +0100)]
docs: Update the drawing model description for GTK 3

https://bugzilla.gnome.org/show_bug.cgi?id=645937

13 years agodocs: Fixes for icon renaming
Benjamin Otte [Mon, 28 Mar 2011 21:54:00 +0000 (23:54 +0200)]
docs: Fixes for icon renaming

Fixes up breakage from 39d4207ab7ecedc0fce2e65478dbd5d152e23b65

13 years agoEnsure we always grab the gdk lock in async callbacks
Alexander Larsson [Fri, 25 Mar 2011 09:53:05 +0000 (10:53 +0100)]
Ensure we always grab the gdk lock in async callbacks

Async callbacks are delivered in idles, so we need to make sure
we get the gdk lock before calling any gdk/gtk stuff. This was
missing in a few places.

13 years agoAdded UG translation
Abduxukur Abdurixit [Sun, 27 Mar 2011 19:24:20 +0000 (21:24 +0200)]
Added UG translation

13 years agogtk: add "Since: 3.2" to gtk_widget_path_to_string()
Michael Natterer [Sun, 27 Mar 2011 13:43:31 +0000 (15:43 +0200)]
gtk: add "Since: 3.2" to gtk_widget_path_to_string()

13 years agoUpdated Russian translation
Yuri Kozlov [Sun, 27 Mar 2011 10:27:45 +0000 (14:27 +0400)]
Updated Russian translation

13 years agoRevert "Updated Russian translation"
Yuri Myasoedov [Sun, 27 Mar 2011 10:25:19 +0000 (14:25 +0400)]
Revert "Updated Russian translation"

This reverts commit e082ac5ab5cdb9d3fb16b5e69819b34ebb30fe6a.

13 years agoUpdated Russian translation
Yuri Kozlov [Sun, 27 Mar 2011 10:23:01 +0000 (14:23 +0400)]
Updated Russian translation

13 years agowidget: Only reemit style-set signal after gtk_widget_get_style()
Benjamin Otte [Sun, 27 Mar 2011 01:43:07 +0000 (03:43 +0200)]
widget: Only reemit style-set signal after gtk_widget_get_style()

If the widget does not care about the compat code, just ignore it.

13 years agowidget: Don't invalidate style context in its invalidate callback
Benjamin Otte [Sun, 27 Mar 2011 01:39:43 +0000 (03:39 +0200)]
widget: Don't invalidate style context in its invalidate callback

13 years agowidget: Update path unconditionally in gtk_widget_reset_style()
Benjamin Otte [Sun, 27 Mar 2011 00:53:04 +0000 (01:53 +0100)]
widget: Update path unconditionally in gtk_widget_reset_style()

Also, don't set the new path twice on the style context.

13 years agowidget: Don't duplicate style context updates
Benjamin Otte [Sun, 27 Mar 2011 00:52:16 +0000 (01:52 +0100)]
widget: Don't duplicate style context updates

The screen changes are done in do_screen_change(), the widget path is
updated in gtk_widget_reset_style().

13 years agowidget: Call the non-deprecated function
Benjamin Otte [Sun, 27 Mar 2011 00:51:20 +0000 (01:51 +0100)]
widget: Call the non-deprecated function

Both functions are identical, just that one isn't deprecated.