]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Wed, 8 Jun 2011 01:29:01 +0000 (21:29 -0400)]
Use separators instead of hseparators
Matthias Clasen [Wed, 8 Jun 2011 01:25:20 +0000 (21:25 -0400)]
More include cleanups
Matthias Clasen [Wed, 8 Jun 2011 01:23:07 +0000 (21:23 -0400)]
More include cleanups
Matthias Clasen [Wed, 8 Jun 2011 01:16:00 +0000 (21:16 -0400)]
More include cleanups
Matthias Clasen [Wed, 8 Jun 2011 01:12:00 +0000 (21:12 -0400)]
More include cleanups
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.
Matthias Clasen [Tue, 7 Jun 2011 23:56:27 +0000 (19:56 -0400)]
Use boxes instead of hboxes
Matthias Clasen [Tue, 7 Jun 2011 23:56:12 +0000 (19:56 -0400)]
Use boxes instead of hboxes
Matthias Clasen [Tue, 7 Jun 2011 23:55:46 +0000 (19:55 -0400)]
GtkStatusbar: derive from GtkBox, not GtkHBox
Matthias Clasen [Tue, 7 Jun 2011 23:55:24 +0000 (19:55 -0400)]
GtkPrinterOptionWidget: derive from GtkBox, not GtkHBox
Matthias Clasen [Tue, 7 Jun 2011 23:55:03 +0000 (19:55 -0400)]
GtkInfoBar: derive from GtkBox, not GtkHBox
Matthias Clasen [Tue, 7 Jun 2011 23:54:40 +0000 (19:54 -0400)]
GtkFileChooserButton: derive from GtkBox, not GtkHBox
Matthias Clasen [Tue, 7 Jun 2011 23:30:51 +0000 (19:30 -0400)]
docs: fix parameter name mismatches
Matthias Clasen [Tue, 7 Jun 2011 22:39:15 +0000 (18:39 -0400)]
tests: Use boxes instead of vboxes
Matthias Clasen [Tue, 7 Jun 2011 22:38:46 +0000 (18:38 -0400)]
Use boxes instead of vboxes
Matthias Clasen [Tue, 7 Jun 2011 22:38:28 +0000 (18:38 -0400)]
Use boxes instead of vboxes
Matthias Clasen [Tue, 7 Jun 2011 22:38:01 +0000 (18:38 -0400)]
Use boxes instead of vboxes
Matthias Clasen [Tue, 7 Jun 2011 22:37:36 +0000 (18:37 -0400)]
Add a missing include
Matthias Clasen [Tue, 7 Jun 2011 22:36:57 +0000 (18:36 -0400)]
GtkFileChooserDefault: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:36:22 +0000 (18:36 -0400)]
GtkFileChooserWidget: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:35:46 +0000 (18:35 -0400)]
GtkRecentChooserDefault: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:35:28 +0000 (18:35 -0400)]
GtkRecentChooserWidget: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:34:57 +0000 (18:34 -0400)]
GtkFontSelection: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:34:34 +0000 (18:34 -0400)]
GtkColorSel: derive from GtkBox, not GtkVBox
Matthias Clasen [Tue, 7 Jun 2011 22:32:48 +0000 (18:32 -0400)]
Don't include gtk.h here
Matthias Clasen [Tue, 7 Jun 2011 22:32:24 +0000 (18:32 -0400)]
Remove an unneeded include
Matthias Clasen [Tue, 7 Jun 2011 17:16:58 +0000 (13:16 -0400)]
GtkPageSetupUnixPrintDialog: remove an unneeded include
Matthias Clasen [Tue, 7 Jun 2011 17:14:42 +0000 (13:14 -0400)]
GtkPrintUnixDialog: remove an unneeded include
Matthias Clasen [Tue, 7 Jun 2011 17:04:22 +0000 (13:04 -0400)]
Remove an unneeded include
Matthias Clasen [Tue, 7 Jun 2011 16:59:11 +0000 (12:59 -0400)]
GtkPathBar: don't use a GtkAlignment
Javier Jardón [Mon, 6 Jun 2011 15:47:10 +0000 (16:47 +0100)]
gail: Use GdkRGBA instead GdkColor
Matthias Clasen [Tue, 7 Jun 2011 16:39:30 +0000 (12:39 -0400)]
GtkMountOperation: don't use a GtkAlignment
Javier Jardón [Tue, 7 Jun 2011 15:47:33 +0000 (16:47 +0100)]
docs: Make "migrating to GtkStyleContext" a separate chapter
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.
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.
Javier Jardón [Mon, 6 Jun 2011 18:03:23 +0000 (19:03 +0100)]
gail/tests: 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
Kjartan Maraas [Tue, 7 Jun 2011 06:21:30 +0000 (08:21 +0200)]
Updated Norwegian bokmål translation
Chun-wei Fan [Tue, 7 Jun 2011 03:16:57 +0000 (11:16 +0800)]
Update Windows Resource template information
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.
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.
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
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
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
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
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
Javier Jardón [Mon, 6 Jun 2011 13:30:47 +0000 (14:30 +0100)]
docs: building: Fix 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
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
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
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
Javier Jardón [Mon, 6 Jun 2011 11:27:17 +0000 (12:27 +0100)]
docs: building: gz is not used anymore, but xz instead
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
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
Matej Urbančič [Sun, 5 Jun 2011 20:39:59 +0000 (22:39 +0200)]
Updated Slovenian translation
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.
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.
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
Matej Urbančič [Fri, 3 Jun 2011 20:17:38 +0000 (22:17 +0200)]
Updated Slovenian translation
Klemen Košir [Fri, 3 Jun 2011 20:15:46 +0000 (22:15 +0200)]
Updated Slovenian translation
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.
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...
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
Javier Jardón [Thu, 2 Jun 2011 13:10:25 +0000 (15:10 +0200)]
gtkaccellabel: 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
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.
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.
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 .
Benjamin Otte [Wed, 1 Jun 2011 23:55:45 +0000 (01:55 +0200)]
docs: There is no font-name style property
It's "font"
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.
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 .
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()
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.
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.
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()
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
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.
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
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.
Benjamin Otte [Sun, 29 May 2011 03:24:28 +0000 (05:24 +0200)]
tests: Add tests for font-family
Benjamin Otte [Sat, 28 May 2011 03:43:07 +0000 (05:43 +0200)]
styleproperty: Move default value setting to styleproperty.c
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.
Benjamin Otte [Sat, 28 May 2011 02:30:45 +0000 (04:30 +0200)]
tests: Add a test for border-radius handling
Benjamin Otte [Fri, 27 May 2011 23:01:42 +0000 (01:01 +0200)]
cssprovider: Remove colors when resetting
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...
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.
Benjamin Otte [Fri, 27 May 2011 22:16:31 +0000 (00:16 +0200)]
reftests: Add a reftest setting all colors to "none"
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!
Benjamin Otte [Fri, 27 May 2011 22:07:10 +0000 (00:07 +0200)]
css: Don't infloop when resyncing over a slash
Benjamin Otte [Fri, 27 May 2011 22:06:46 +0000 (00:06 +0200)]
css: We want to unescape backslashes, not slashes
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).
Benjamin Otte [Wed, 25 May 2011 18:05:55 +0000 (20:05 +0200)]
css: Match pseudo-classes for siblings
Benjamin Otte [Wed, 25 May 2011 21:38:59 +0000 (23:38 +0200)]
box: Add support for siblings in widget paths of box children
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.
Benjamin Otte [Fri, 27 May 2011 16:22:09 +0000 (18:22 +0200)]
API: Add support for siblings to widget paths
Benjamin Otte [Fri, 27 May 2011 16:01:11 +0000 (18:01 +0200)]
docs: Fix typo
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.
Benjamin Otte [Fri, 27 May 2011 14:37:16 +0000 (16:37 +0200)]
widgetpath: Use ref/unref in boxed function
This way we avoid lots of copying when using widget paths as properties.
Keeping this as a separate patch so bugs where people were modifying a
structure they shouldn't are easily visible.
Benjamin Otte [Fri, 27 May 2011 14:36:07 +0000 (16:36 +0200)]
widgetpath: Make structure refcounted
I want to use widget paths in a way that make a lot more sense with a
refcounted structure. See the following patches.
Benjamin Otte [Thu, 26 May 2011 03:09:48 +0000 (05:09 +0200)]
themingengine: Add support for the border-radii