]>
Pileus Git - ~andy/gtk/log
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
Benjamin Otte [Thu, 26 May 2011 01:50:53 +0000 (03:50 +0200)]
css: Add all border-radius properties
Implement all border-radisu properties as specified by
http://www.w3.org/TR/css3-background/#the-border-radius
The end goal here is to get joined buttons to really look joined.
Benjamin Otte [Thu, 26 May 2011 01:44:09 +0000 (03:44 +0200)]
styleproperty: Add a helper function for printing doubles
We will want to print doubles more often, so add a little helper
function for it. We cannot use printf() here, because we want English
locale output.
Benjamin Otte [Wed, 25 May 2011 23:50:41 +0000 (01:50 +0200)]
styleproperty: Make keybindings use custom parse/print functions
We don't want to use it for GPtrArray.
Benjamin Otte [Wed, 25 May 2011 23:46:49 +0000 (01:46 +0200)]
styleproperty: Allow passing in a parse func and a print func
It's not used yet, but it's now possible to specify a custom read or
write func.
Benjamin Otte [Wed, 25 May 2011 23:32:01 +0000 (01:32 +0200)]
styleproperty: Rename ParseFunc and PrintFunc typedefs
Rename them to GtkStyleParseFunc and GtkStylePrintFunc, so we can export
them.
Benjamin Otte [Wed, 25 May 2011 23:25:00 +0000 (01:25 +0200)]
css: Move property parsing into styleproperty file
Just shuffles code around for parsing properties.
Benjamin Otte [Wed, 25 May 2011 23:01:44 +0000 (01:01 +0200)]
css: Rename function to _gtk_style_property_parse_value()
... and take an optional style property as argument. This way, we can
allow custom parse functions for properties. The style property needs to
be optional so that we can use it for widget style properties, too.
Benjamin Otte [Wed, 25 May 2011 22:09:26 +0000 (00:09 +0200)]
css: Rename struct variable
I want to add parse_func as something different soon.
Benjamin Otte [Mon, 23 May 2011 05:16:17 +0000 (07:16 +0200)]
styleproperty: Change _css_value_to_string()
Name it _gtk_style_property_print_value() and actually pass it the style
property. This way, we can later change it to use custom print functions
for different style properties.
Benjamin Otte [Mon, 23 May 2011 05:02:36 +0000 (07:02 +0200)]
css: Change to_string() to print()
It's preferrable to print to an existing GString instead of returning a
char* everywhere that needs to be freed later.
Benjamin Otte [Wed, 25 May 2011 21:52:48 +0000 (23:52 +0200)]
reftests: Test new pseudo-class support in GtkBox
Benjamin Otte [Wed, 25 May 2011 20:21:15 +0000 (22:21 +0200)]
API: Change semantics of gtk_container_get_child_path()
Include the child widget path in the returned path now. This allows
customizing the path of the current widgets - like adding flags to child
widgets (and maybe siblings in the future).
Benjamin Otte [Wed, 25 May 2011 18:42:27 +0000 (20:42 +0200)]
API: Add gtk_widget_path_append_for_widget()
Includes a bunch of header shuffling so we can use GtkWidget* in
gtkwidgetpath.h
Matthias Clasen [Wed, 1 Jun 2011 22:40:11 +0000 (18:40 -0400)]
Silence a theme parser error
Benjamin Otte [Wed, 1 Jun 2011 21:37:21 +0000 (23:37 +0200)]
notebook: Implement height_for_width and width_for_height getters
Benjamin Otte [Wed, 1 Jun 2011 21:31:04 +0000 (23:31 +0200)]
notebook: Rewrite size request function for wfh
Benjamin Otte [Wed, 1 Jun 2011 21:20:58 +0000 (23:20 +0200)]
notebook: Split out tabs size computation into its own function
Benjamin Otte [Wed, 1 Jun 2011 19:56:13 +0000 (21:56 +0200)]
notebook: Compute tab width in a simpler way
This code should be more obvious: The check only needs to check for
scrollable widgets, and only needs to compare to tab_width.
As a side note, for vis_pages == 1, tab_width will be smaller than
tab_max + stuff, so this code will not behave differently.
Benjamin Otte [Wed, 1 Jun 2011 19:45:21 +0000 (21:45 +0200)]
notebook: Remove uneeded function declaration
Benjamin Otte [Wed, 1 Jun 2011 15:45:14 +0000 (17:45 +0200)]
notebook: Include arrow size in tab size computation
We don't want tabs to resize when a 2nd page is added, just because the
scroll arrows are now visible. And we do want the arrow size to be
included.
Note: Previosuly this code was never run, as the check
requisition->width < tab_width
was only run when tab_width wasn't computed, so was still equal to 0
(same for the height). So what this patch essentially does it add the
functionality of the if switch.
Benjamin Otte [Wed, 1 Jun 2011 14:52:34 +0000 (16:52 +0200)]
tests: Make variable const to silence gcc
Javier Jardón [Mon, 16 May 2011 11:28:56 +0000 (12:28 +0100)]
configure.ac: Use AS_HELP_STRING instead deprecated AC_HELP_STRING
Matthias Clasen [Wed, 1 Jun 2011 05:08:13 +0000 (01:08 -0400)]
GtkLabel: Make selection behave more similar to GtkEntry
For shift-clicks inside the selection, shrink the selection.
https://bugzilla.gnome.org/show_bug.cgi?id=353712
Matthias Clasen [Wed, 1 Jun 2011 04:05:06 +0000 (00:05 -0400)]
Trivial NULL vs 0 confusion
Matthias Clasen [Wed, 1 Jun 2011 03:50:13 +0000 (23:50 -0400)]
Fix an example
Matthias Clasen [Wed, 1 Jun 2011 02:10:58 +0000 (22:10 -0400)]
Change GtkTreePath to grow exponentially
To avoid quadratic behaviour when building up
paths by repeated appending indices. Bug 634491.
Matthias Clasen [Wed, 1 Jun 2011 02:10:40 +0000 (22:10 -0400)]
Add tests for GtkTreePath
Matthias Clasen [Wed, 1 Jun 2011 01:26:40 +0000 (21:26 -0400)]
GtkSearchEngineTracker: avoid an unused variable warning
Matthias Clasen [Wed, 1 Jun 2011 00:50:42 +0000 (20:50 -0400)]
Make tracker search engine less verbose
Patch by Vincent Untz,
https://bugzilla.gnome.org/show_bug.cgi?id=642768