]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoDeprecate h/v subclasses of GtkScrollbar
Matthias Clasen [Wed, 8 Jun 2011 01:38:15 +0000 (21:38 -0400)]
Deprecate h/v subclasses of GtkScrollbar

This has been discussed in bug 541009.

13 years agoDeprecate h/v subclasses of GtkSeparator
Matthias Clasen [Wed, 8 Jun 2011 01:35:57 +0000 (21:35 -0400)]
Deprecate h/v subclasses of GtkSeparator

This has been discussed in bug 541009.

13 years agoDeprecate h/v buttonbox subclasses
Matthias Clasen [Wed, 8 Jun 2011 01:32:49 +0000 (21:32 -0400)]
Deprecate h/v buttonbox subclasses

This has been discussed in bug 541009.

13 years agoUse separators instead of hseparators
Matthias Clasen [Wed, 8 Jun 2011 01:29:01 +0000 (21:29 -0400)]
Use separators instead of hseparators

13 years agoMore include cleanups
Matthias Clasen [Wed, 8 Jun 2011 01:25:20 +0000 (21:25 -0400)]
More include cleanups

13 years agoMore include cleanups
Matthias Clasen [Wed, 8 Jun 2011 01:23:07 +0000 (21:23 -0400)]
More include cleanups

13 years agoMore include cleanups
Matthias Clasen [Wed, 8 Jun 2011 01:16:00 +0000 (21:16 -0400)]
More include cleanups

13 years agoMore include cleanups
Matthias Clasen [Wed, 8 Jun 2011 01:12:00 +0000 (21:12 -0400)]
More include cleanups

13 years agoClean up more includes
Matthias Clasen [Wed, 8 Jun 2011 00:54:23 +0000 (20:54 -0400)]
Clean up more includes

Mainly removing unused h/v includes, but also adding some that
will be necessary as replacements.

13 years agoUse boxes instead of hboxes
Matthias Clasen [Tue, 7 Jun 2011 23:56:27 +0000 (19:56 -0400)]
Use boxes instead of hboxes

13 years agoUse boxes instead of hboxes
Matthias Clasen [Tue, 7 Jun 2011 23:56:12 +0000 (19:56 -0400)]
Use boxes instead of hboxes

13 years agoGtkStatusbar: derive from GtkBox, not GtkHBox
Matthias Clasen [Tue, 7 Jun 2011 23:55:46 +0000 (19:55 -0400)]
GtkStatusbar: derive from GtkBox, not GtkHBox

13 years agoGtkPrinterOptionWidget: derive from GtkBox, not GtkHBox
Matthias Clasen [Tue, 7 Jun 2011 23:55:24 +0000 (19:55 -0400)]
GtkPrinterOptionWidget: derive from GtkBox, not GtkHBox

13 years agoGtkInfoBar: derive from GtkBox, not GtkHBox
Matthias Clasen [Tue, 7 Jun 2011 23:55:03 +0000 (19:55 -0400)]
GtkInfoBar: derive from GtkBox, not GtkHBox

13 years agoGtkFileChooserButton: derive from GtkBox, not GtkHBox
Matthias Clasen [Tue, 7 Jun 2011 23:54:40 +0000 (19:54 -0400)]
GtkFileChooserButton: derive from GtkBox, not GtkHBox

13 years agodocs: fix parameter name mismatches
Matthias Clasen [Tue, 7 Jun 2011 23:30:51 +0000 (19:30 -0400)]
docs: fix parameter name mismatches

13 years agotests: Use boxes instead of vboxes
Matthias Clasen [Tue, 7 Jun 2011 22:39:15 +0000 (18:39 -0400)]
tests: Use boxes instead of vboxes

13 years agoUse boxes instead of vboxes
Matthias Clasen [Tue, 7 Jun 2011 22:38:46 +0000 (18:38 -0400)]
Use boxes instead of vboxes

13 years agoUse boxes instead of vboxes
Matthias Clasen [Tue, 7 Jun 2011 22:38:28 +0000 (18:38 -0400)]
Use boxes instead of vboxes

13 years agoUse boxes instead of vboxes
Matthias Clasen [Tue, 7 Jun 2011 22:38:01 +0000 (18:38 -0400)]
Use boxes instead of vboxes

13 years agoAdd a missing include
Matthias Clasen [Tue, 7 Jun 2011 22:37:36 +0000 (18:37 -0400)]
Add a missing include

13 years agoGtkFileChooserDefault: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:36:57 +0000 (18:36 -0400)]
GtkFileChooserDefault: derive from GtkBox, not GtkVBox

13 years agoGtkFileChooserWidget: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:36:22 +0000 (18:36 -0400)]
GtkFileChooserWidget: derive from GtkBox, not GtkVBox

13 years agoGtkRecentChooserDefault: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:35:46 +0000 (18:35 -0400)]
GtkRecentChooserDefault: derive from GtkBox, not GtkVBox

13 years agoGtkRecentChooserWidget: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:35:28 +0000 (18:35 -0400)]
GtkRecentChooserWidget: derive from GtkBox, not GtkVBox

13 years agoGtkFontSelection: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:34:57 +0000 (18:34 -0400)]
GtkFontSelection: derive from GtkBox, not GtkVBox

13 years agoGtkColorSel: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:34:34 +0000 (18:34 -0400)]
GtkColorSel: derive from GtkBox, not GtkVBox

13 years agoDon't include gtk.h here
Matthias Clasen [Tue, 7 Jun 2011 22:32:48 +0000 (18:32 -0400)]
Don't include gtk.h here

13 years agoRemove an unneeded include
Matthias Clasen [Tue, 7 Jun 2011 22:32:24 +0000 (18:32 -0400)]
Remove an unneeded include

13 years agoGtkPageSetupUnixPrintDialog: remove an unneeded include
Matthias Clasen [Tue, 7 Jun 2011 17:16:58 +0000 (13:16 -0400)]
GtkPageSetupUnixPrintDialog: remove an unneeded include

13 years agoGtkPrintUnixDialog: remove an unneeded include
Matthias Clasen [Tue, 7 Jun 2011 17:14:42 +0000 (13:14 -0400)]
GtkPrintUnixDialog: remove an unneeded include

13 years agoRemove an unneeded include
Matthias Clasen [Tue, 7 Jun 2011 17:04:22 +0000 (13:04 -0400)]
Remove an unneeded include

13 years agoGtkPathBar: don't use a GtkAlignment
Matthias Clasen [Tue, 7 Jun 2011 16:59:11 +0000 (12:59 -0400)]
GtkPathBar: don't use a GtkAlignment

13 years agogail: Use GdkRGBA instead GdkColor
Javier Jardón [Mon, 6 Jun 2011 15:47:10 +0000 (16:47 +0100)]
gail: Use GdkRGBA instead GdkColor

13 years agoGtkMountOperation: don't use a GtkAlignment
Matthias Clasen [Tue, 7 Jun 2011 16:39:30 +0000 (12:39 -0400)]
GtkMountOperation: don't use a GtkAlignment

13 years agodocs: Make "migrating to GtkStyleContext" a separate chapter
Javier Jardón [Tue, 7 Jun 2011 15:47:33 +0000 (16:47 +0100)]
docs: Make "migrating to GtkStyleContext" a separate chapter

13 years agoGtkGrid: Fix a size allocation problem
Matthias Clasen [Tue, 7 Jun 2011 15:05:50 +0000 (11:05 -0400)]
GtkGrid: Fix a size allocation problem

We need pay attention the the request mode when doing size allocation.
The code was using request mode for requisition, but orientation
for allocation.

Also add a reftest that exhibits the issue, courtesy of
Benjamin Otte.

13 years agoGtkAboutDialog: Don't use an alignment
Matthias Clasen [Tue, 7 Jun 2011 13:51:35 +0000 (09:51 -0400)]
GtkAboutDialog: Don't use an alignment

Use align and margin widget properties instead.

13 years agogail/tests: Use const instead G_CONST_RETURN
Javier Jardón [Mon, 6 Jun 2011 18:03:23 +0000 (19:03 +0100)]
gail/tests: Use const instead G_CONST_RETURN

13 years agogail: use const instead G_CONST_RETURN
Javier Jardón [Mon, 6 Jun 2011 18:02:06 +0000 (19:02 +0100)]
gail: use const instead G_CONST_RETURN

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 7 Jun 2011 06:21:30 +0000 (08:21 +0200)]
Updated Norwegian bokmål translation

13 years agoUpdate Windows Resource template information
Chun-wei Fan [Tue, 7 Jun 2011 03:16:57 +0000 (11:16 +0800)]
Update Windows Resource template information

13 years agoGtkUnixPrintDialog: Don't use GtkAlignment
Matthias Clasen [Tue, 7 Jun 2011 02:36:39 +0000 (22:36 -0400)]
GtkUnixPrintDialog: Don't use GtkAlignment

It is going to be deprecated soon. Instead, use
widget align and margin properties.

13 years agoGtkCustomUnixPaperDialog: don't use a GtkAlignment
Matthias Clasen [Tue, 7 Jun 2011 02:31:31 +0000 (22:31 -0400)]
GtkCustomUnixPaperDialog: don't use a GtkAlignment

Those are going to be deprecated sometime soon.
Instead, use widget align and margin properties.

13 years agogdk: Update keysyms list from latest X.org headers
Bastien Nocera [Tue, 7 Jun 2011 01:15:53 +0000 (21:15 -0400)]
gdk: Update keysyms list from latest X.org headers

Fixed the touchpad on/off keybindings in gnome-settings-daemon.
https://bugzilla.gnome.org/show_bug.cgi?id=651706

13 years agoAvoid a crash in gtk_im_context_ime_reset
Kazuki Iwamoto [Mon, 6 Jun 2011 23:33:23 +0000 (19:33 -0400)]
Avoid a crash in gtk_im_context_ime_reset

When GTK+ runs with inputim-ime.dll module, there is NULL
pointer reference. Because "context_ime->client_window" may
be NULL in gtk_im_context_ime_reset.

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

13 years agolockbutton: ensure the lock symbolic icon is rendered 16x16px
Cosimo Cecchi [Thu, 2 Jun 2011 19:16:41 +0000 (15:16 -0400)]
lockbutton: ensure the lock symbolic icon is rendered 16x16px

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

13 years agoHacky support for combo boxes
Matthias Clasen [Mon, 16 May 2011 23:03:23 +0000 (19:03 -0400)]
Hacky support for combo boxes

This extends the current hacks in gailmenuitem to not only
recognize menuitems with labels in them, but also menuitems
which contain a GtkCellView, since those are used by GtkComboBox
nowadays.

Some of the AtkText apis are not fully supported.

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

13 years agogtksearchenginetracker: Use non-case sensitive search for non-fts search
Vincent Untz [Sat, 19 Feb 2011 18:08:10 +0000 (19:08 +0100)]
gtksearchenginetracker: Use non-case sensitive search for non-fts search

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

13 years agodocs: building: Fix links to the location of tarballs
Javier Jardón [Mon, 6 Jun 2011 13:30:47 +0000 (14:30 +0100)]
docs: building: Fix links to the location of tarballs

13 years agodocs: building: Update links to the location of tarballs
Javier Jardón [Mon, 6 Jun 2011 13:26:28 +0000 (14:26 +0100)]
docs: building: Update links to the location of tarballs

Mention ftp.gtk.org for glib and use download.gnome.org instead
ftp.gnome.org

13 years agodocs: building: Update links to the location of tarballs
Javier Jardón [Mon, 6 Jun 2011 12:49:43 +0000 (13:49 +0100)]
docs: building: Update links to the location of tarballs

Nowadays the tarballs are uploaded to ftp.gnome.org instead ftp.gtk.org

13 years agodocs: dependencies: Split the list of dependencies
Javier Jardón [Mon, 6 Jun 2011 11:39:13 +0000 (12:39 +0100)]
docs: dependencies: Split the list of dependencies

External and non-external

13 years agodocs:building: re-order list of dependencies
Javier Jardón [Mon, 6 Jun 2011 11:34:46 +0000 (12:34 +0100)]
docs:building: re-order list of dependencies

Libraries that GTK+ depends on maintained by the GTK+ team first

13 years agodocs: building: gz is not used anymore, but xz instead
Javier Jardón [Mon, 6 Jun 2011 11:27:17 +0000 (12:27 +0100)]
docs: building: gz is not used anymore, but xz instead

13 years agogtkcontainer: Move private functions to private header
Javier Jardón [Sun, 5 Jun 2011 23:31:59 +0000 (00:31 +0100)]
gtkcontainer: Move private functions to private header

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

13 years agogtkbutton: Move private functions to private header
Javier Jardón [Sun, 5 Jun 2011 23:17:30 +0000 (01:17 +0200)]
gtkbutton: Move private functions to private header

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

13 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 5 Jun 2011 20:39:59 +0000 (22:39 +0200)]
Updated Slovenian translation

13 years agowidget: Update the font at the right place
Benjamin Otte [Sat, 4 Jun 2011 19:13:19 +0000 (21:13 +0200)]
widget: Update the font at the right place

Doing it unconditionally is not useful when the subclasses actually
using them can only ever do it in the style_updated signal. So do it in
the style_updated handler instead.

13 years agopaned: Properly hide panes that were set to invisible
Benjamin Otte [Thu, 2 Jun 2011 20:06:15 +0000 (22:06 +0200)]
paned: Properly hide panes that were set to invisible

Gets rid of random windows when hiding the Totem statusbar.

13 years agogtkwidget: Move private functions to private header
Javier Jardón [Thu, 2 Jun 2011 13:25:12 +0000 (15:25 +0200)]
gtkwidget: Move private functions to private header

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

13 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 3 Jun 2011 20:17:38 +0000 (22:17 +0200)]
Updated Slovenian translation

13 years agoUpdated Slovenian translation
Klemen Košir [Fri, 3 Jun 2011 20:15:46 +0000 (22:15 +0200)]
Updated Slovenian translation

13 years agoFixed bug #576492 "GtkBuilder does not respect G_PARAM_CONSTRUCT properties"
Juan Pablo Ugarte [Fri, 3 Jun 2011 17:38:59 +0000 (14:38 -0300)]
Fixed bug #576492 "GtkBuilder does not respect G_PARAM_CONSTRUCT properties"

Added G_PARAM_CONSTRUCT flag in gtk_builder_get_parameters() checks as suggested by Johan Dahlin.

13 years agogail: Add back get_name for menu items
Matthias Clasen [Fri, 3 Jun 2011 03:26:09 +0000 (23:26 -0400)]
gail: Add back get_name for menu items

This was lost when GailItem was nuked. Not having it is leading
to problems, even though randomly poking strings out of your children
seems to be a less than perfect approach to naming...

13 years agoReplace gtk_misc_set_padding() with GtkWidget:margin properties
Javier Jardón [Thu, 2 Jun 2011 11:37:43 +0000 (13:37 +0200)]
Replace gtk_misc_set_padding() with GtkWidget:margin properties

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

13 years agogtkaccellabel: Do not use GET_PRIV macro
Javier Jardón [Thu, 2 Jun 2011 13:10:25 +0000 (15:10 +0200)]
gtkaccellabel: Do not use GET_PRIV macro

13 years agogtkaccelgroup.c: Do not use GET_PRIV macro
Javier Jardón [Thu, 2 Jun 2011 13:09:26 +0000 (15:09 +0200)]
gtkaccelgroup.c: Do not use GET_PRIV macro

13 years agogtk-demo: Add an app chooser button demo
Matthias Clasen [Thu, 2 Jun 2011 01:44:22 +0000 (21:44 -0400)]
gtk-demo: Add an app chooser button demo

Add a 'Mail' app chooser to the 'Pickers' example.

13 years agoGtkCustomUnixPaperDialog: use an inline toolbar
Matthias Clasen [Thu, 2 Jun 2011 01:36:50 +0000 (21:36 -0400)]
GtkCustomUnixPaperDialog: use an inline toolbar

This makes the dialog more similar to similar patterns,
e.g. in the file chooser.

13 years agoRevert "css: Make font property a shorthand"
Benjamin Otte [Thu, 2 Jun 2011 00:31:44 +0000 (02:31 +0200)]
Revert "css: Make font property a shorthand"

The hack in gtk_style_context_get_font() was causing segfaults in
combobox code. This is not acceptable and I'm not awake enough to fix
it, so just reverting until it's fixed sanely is easiest.

This reverts commit cf6bfbdb17412a48c72b53aa1ad6d141114c48bc.

13 years agodocs: There is no font-name style property
Benjamin Otte [Wed, 1 Jun 2011 23:55:45 +0000 (01:55 +0200)]
docs: There is no font-name style property

It's "font"

13 years agostyleproperty: Move resolving code
Benjamin Otte [Tue, 31 May 2011 14:51:38 +0000 (16:51 +0200)]
styleproperty: Move resolving code

Also, resolving now always succeeds - if it doesn't we fall back to the
default value right here, instead of later.

13 years agoRevert "API: Add API to set style properties to be inherit"
Benjamin Otte [Tue, 31 May 2011 10:42:30 +0000 (12:42 +0200)]
Revert "API: Add API to set style properties to be inherit"

Inheritance is now done using style property flags, so thereis no ned
anymore to clobber the pspec flags namespace.
Also, there is no need to expose this functionality in the public API
without exposing more of the styleproperty API.

This essentially reverts commit 9bfd3d2eec96cba146fc9f5e1ab972584672e3d5.

13 years agostyleproperty: Use the new flags for inheritance
Benjamin Otte [Tue, 31 May 2011 10:35:42 +0000 (12:35 +0200)]
styleproperty: Use the new flags for inheritance

Instead of gtk_style_param_set_inherit()

13 years agostyleproperty: Add flags
Benjamin Otte [Tue, 31 May 2011 10:20:47 +0000 (12:20 +0200)]
styleproperty: Add flags

This allows to set a bunch of specific features, like inheritance in
here, without having to molest the psec.

13 years agostyleproperties: Rename enum value
Benjamin Otte [Tue, 31 May 2011 10:18:55 +0000 (12:18 +0200)]
styleproperties: Rename enum value

I want to use that same enum value elsewhere.

13 years agostyleproperty: Add _gtk_style_property_is_inherit()
Benjamin Otte [Tue, 31 May 2011 10:05:43 +0000 (12:05 +0200)]
styleproperty: Add _gtk_style_property_is_inherit()

And use it instead of gtk_style_param_get_inherit()

13 years agostylecontext: Implement the color getters using the regular API
Benjamin Otte [Mon, 30 May 2011 21:32:09 +0000 (23:32 +0200)]
stylecontext: Implement the color getters using the regular API

Has two benefits:
1) Less code
2) I can refactor things

13 years agothemingengine: Improve junction handling code
Benjamin Otte [Mon, 30 May 2011 18:25:41 +0000 (20:25 +0200)]
themingengine: Improve junction handling code

As junctions just modify the border radius and we now have a per-corner
border-radius, we can just set the border-radius to 0 for those corners
and get the same effect.

13 years agocss: Make font property a shorthand
Benjamin Otte [Sun, 29 May 2011 05:03:59 +0000 (07:03 +0200)]
css: Make font property a shorthand

... and implement the CSS font properties:
- font-size
- font-style
- font-family
- font-weight
- font-variant

13 years agostyleproperty: Factor out the string print function
Benjamin Otte [Sun, 29 May 2011 03:25:05 +0000 (05:25 +0200)]
styleproperty: Factor out the string print function

We print strings in lots of places.

13 years agotests: Add tests for font-family
Benjamin Otte [Sun, 29 May 2011 03:24:28 +0000 (05:24 +0200)]
tests: Add tests for font-family

13 years agostyleproperty: Move default value setting to styleproperty.c
Benjamin Otte [Sat, 28 May 2011 03:43:07 +0000 (05:43 +0200)]
styleproperty: Move default value setting to styleproperty.c

13 years agostyleproperties: use property, not pspec as key
Benjamin Otte [Sat, 28 May 2011 02:36:48 +0000 (04:36 +0200)]
styleproperties: use property, not pspec as key

This allows calling functions on the style property from more places.

13 years agotests: Add a test for border-radius handling
Benjamin Otte [Sat, 28 May 2011 02:30:45 +0000 (04:30 +0200)]
tests: Add a test for border-radius handling

13 years agocssprovider: Remove colors when resetting
Benjamin Otte [Fri, 27 May 2011 23:01:42 +0000 (01:01 +0200)]
cssprovider: Remove colors when resetting

13 years agotests: Add a cute demo and test app for the new box css
Benjamin Otte [Fri, 27 May 2011 22:54:56 +0000 (00:54 +0200)]
tests: Add a cute demo and test app for the new box css

It contains a live editor for CSS, that thing finds lots of bugs...

13 years agobox: Add RTL support for sibling paths
Benjamin Otte [Fri, 27 May 2011 22:17:01 +0000 (00:17 +0200)]
box: Add RTL support for sibling paths

We want the reverse path when the box is right-to-left.

13 years agoreftests: Add a reftest setting all colors to "none"
Benjamin Otte [Fri, 27 May 2011 22:16:31 +0000 (00:16 +0200)]
reftests: Add a reftest setting all colors to "none"

13 years agotests: Add CSS test for the last two bugs
Benjamin Otte [Fri, 27 May 2011 22:09:20 +0000 (00:09 +0200)]
tests: Add CSS test for the last two bugs

And it's a 1-byte file, too!

13 years agocss: Don't infloop when resyncing over a slash
Benjamin Otte [Fri, 27 May 2011 22:07:10 +0000 (00:07 +0200)]
css: Don't infloop when resyncing over a slash

13 years agocss: We want to unescape backslashes, not slashes
Benjamin Otte [Fri, 27 May 2011 22:06:46 +0000 (00:06 +0200)]
css: We want to unescape backslashes, not slashes

13 years agostylecontext: Don't crash when colors are "none"
Benjamin Otte [Fri, 27 May 2011 21:58:10 +0000 (23:58 +0200)]
stylecontext: Don't crash when colors are "none"

Instead, use their default value (pink).

13 years agocss: Match pseudo-classes for siblings
Benjamin Otte [Wed, 25 May 2011 18:05:55 +0000 (20:05 +0200)]
css: Match pseudo-classes for siblings

13 years agobox: Add support for siblings in widget paths of box children
Benjamin Otte [Wed, 25 May 2011 21:38:59 +0000 (23:38 +0200)]
box: Add support for siblings in widget paths of box children

13 years agobox: Only emit pack-type notify if the pack type really changed
Benjamin Otte [Fri, 27 May 2011 16:52:02 +0000 (18:52 +0200)]
box: Only emit pack-type notify if the pack type really changed

This is not very useful in itself, but the code reorg will be useful
once we do style invalidation.

13 years agoAPI: Add support for siblings to widget paths
Benjamin Otte [Fri, 27 May 2011 16:22:09 +0000 (18:22 +0200)]
API: Add support for siblings to widget paths

13 years agodocs: Fix typo
Benjamin Otte [Fri, 27 May 2011 16:01:11 +0000 (18:01 +0200)]
docs: Fix typo

13 years agowidgetpath: Factor out the element copy function
Benjamin Otte [Fri, 27 May 2011 15:51:40 +0000 (17:51 +0200)]
widgetpath: Factor out the element copy function

I'll need that function soon.