]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agoAdd a GtkPrinterOptionWidget type of INFO to just show informational text from the...
Richard Hughes [Wed, 8 Jun 2011 11:02:39 +0000 (12:02 +0100)]
Add a GtkPrinterOptionWidget type of INFO to just show informational text from the print backend

This fixes https://bugzilla.gnome.org/show_bug.cgi?id=652103

12 years agogtk: Clean some includes
Javier Jardón [Wed, 8 Jun 2011 14:23:53 +0000 (15:23 +0100)]
gtk: Clean some includes

12 years agogtk[h/v]box: Recommend the use of GtkGrid.
Javier Jardón [Wed, 8 Jun 2011 12:25:54 +0000 (13:25 +0100)]
gtk[h/v]box: Recommend the use of GtkGrid.

12 years agoDon't use GtkAlignments
Matthias Clasen [Wed, 8 Jun 2011 02:31:45 +0000 (22:31 -0400)]
Don't use GtkAlignments

12 years agoDon't use a GtkAlignment
Matthias Clasen [Wed, 8 Jun 2011 02:31:34 +0000 (22:31 -0400)]
Don't use a GtkAlignment

12 years agoGtkFileChooserEntry: don't use a GtkAlignment
Matthias Clasen [Wed, 8 Jun 2011 02:17:06 +0000 (22:17 -0400)]
GtkFileChooserEntry: don't use a GtkAlignment

12 years agoUse buttonboxes instead of hbuttonboxes
Matthias Clasen [Wed, 8 Jun 2011 02:03:19 +0000 (22:03 -0400)]
Use buttonboxes instead of hbuttonboxes

12 years agoDrop unneeded includes: gtkalignment.h
Matthias Clasen [Wed, 8 Jun 2011 01:50:00 +0000 (21:50 -0400)]
Drop unneeded includes: gtkalignment.h

12 years agoDeprecate h/v variants of GtkBox
Matthias Clasen [Wed, 8 Jun 2011 01:44:24 +0000 (21:44 -0400)]
Deprecate h/v variants of GtkBox

This has been discussed in bug 541009.

12 years agoDeprecate h/v variants of GtkScale
Matthias Clasen [Wed, 8 Jun 2011 01:43:32 +0000 (21:43 -0400)]
Deprecate h/v variants of GtkScale

This has been discussed in bug 541009.

12 years agoDeprecate h/v subclasses of GtkPaned
Matthias Clasen [Wed, 8 Jun 2011 01:40:12 +0000 (21:40 -0400)]
Deprecate h/v subclasses of GtkPaned

This has been discussed in bug 541009.

12 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.

12 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.

12 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.

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

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

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

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

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

12 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.

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

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

12 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

12 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

12 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

12 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

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

12 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

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

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

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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

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

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

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

12 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

12 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

12 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

12 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

12 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.

12 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.

12 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

12 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

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

12 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

12 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.

12 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.

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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.

12 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.

12 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

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

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

12 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.

12 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...

12 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

12 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

12 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

12 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.

12 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.

12 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.

12 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"

12 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.

12 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.

12 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()

12 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.

12 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.

12 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()

12 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

12 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.

12 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

12 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.

12 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

12 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

12 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.

12 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

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

12 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...

12 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.