]>
Pileus Git - ~andy/gtk/log
Bastien Nocera [Wed, 30 May 2012 16:45:39 +0000 (17:45 +0100)]
gtkmenutoolbutton: Use GtkMenuButton
To implement the drop-down menu.
https://bugzilla.gnome.org/show_bug.cgi?id=668013
Matthias Clasen [Sat, 26 May 2012 20:12:59 +0000 (20:12 +0000)]
Trivial: remove a bit of obfuscation
Cosimo Cecchi [Wed, 30 May 2012 17:11:11 +0000 (13:11 -0400)]
gtk-demo: unify Theming and CSS theming sections
Cosimo Cecchi [Wed, 30 May 2012 16:56:22 +0000 (12:56 -0400)]
gtk-demo: display tabs for CSS files in theming demos
Cosimo Cecchi [Wed, 30 May 2012 16:55:51 +0000 (12:55 -0400)]
gtk-demo: don't try to add tabs for empty filenames
Cosimo Cecchi [Thu, 24 May 2012 18:17:25 +0000 (14:17 -0400)]
gtk-demo: add a demo for CSS multiple backgrounds
Cosimo Cecchi [Thu, 24 May 2012 18:16:06 +0000 (14:16 -0400)]
gtk-demo: move styling for the CSS editor to a separate file
So it can be shared by multiple demos
Cosimo Cecchi [Thu, 24 May 2012 18:14:17 +0000 (14:14 -0400)]
gtk-demo: add a test for a CSS accordion
Benjamin Otte [Wed, 23 May 2012 17:39:47 +0000 (19:39 +0200)]
main: Don't overrun the file that's read
Benjamin Otte [Sun, 13 May 2012 19:23:41 +0000 (21:23 +0200)]
gtk-demo: Make CSS a resource
Also, improve the CSS to give you that basic feel.
Benjamin Otte [Sun, 13 May 2012 18:54:42 +0000 (20:54 +0200)]
gtk-demo: Include resources in main app
This is necessary for future changes
Benjamin Otte [Sun, 13 May 2012 18:00:27 +0000 (20:00 +0200)]
gtk-demo: Rename resources file
More tests want to use resources, so make that possible.
Benjamin Otte [Sun, 13 May 2012 17:53:43 +0000 (19:53 +0200)]
gtk-demo move application demo resources into a namespace
Benjamin Otte [Sun, 13 May 2012 17:51:15 +0000 (19:51 +0200)]
gtk-demo: Add a name property to the demos
Benjamin Otte [Sun, 13 May 2012 17:10:55 +0000 (19:10 +0200)]
gtk-demo: Add a simple example for theming
Bastien Nocera [Tue, 29 May 2012 18:06:40 +0000 (19:06 +0100)]
gtkmenutoolbutton: Fix show-menu API docs
It's "set" not "get" that one needs to call to set the menu.
https://bugzilla.gnome.org/show_bug.cgi?id=677055
Bastien Nocera [Tue, 29 May 2012 17:27:42 +0000 (18:27 +0100)]
gtkmenutoolbutton: Remove unused variable
Set but unused.
https://bugzilla.gnome.org/show_bug.cgi?id=677055
Cosimo Cecchi [Wed, 30 May 2012 15:56:09 +0000 (11:56 -0400)]
themingbackground: fix drawing for repeating positioned images
When we determine the fill rectangle for an image layer, and the image
is not repeating, we should also position the rectangle according to the
values of background-position, or we will always fill a tiny slice at
the top/left of the clip box.
https://bugzilla.gnome.org/show_bug.cgi?id=677109
Cosimo Cecchi [Wed, 30 May 2012 15:30:02 +0000 (11:30 -0400)]
reftests: add a reftest for repeating/positioned background patterns
This currently fails.
https://bugzilla.gnome.org/show_bug.cgi?id=677109
Benjamin Otte [Wed, 30 May 2012 15:33:27 +0000 (11:33 -0400)]
reftests: Add a simple reftest for background-position
This is mostly to ensure that the background-positioning feature keeps
working and to demonstrate it.
https://bugzilla.gnome.org/show_bug.cgi?id=677109
Murray Cumming [Mon, 28 May 2012 08:59:56 +0000 (10:59 +0200)]
gtk_application_new(): Docs: application_id may now be null.
https://bugzilla.gnome.org/show_bug.cgi?id=671249
Matej Urbančič [Mon, 28 May 2012 13:31:13 +0000 (15:31 +0200)]
Updated Slovenian translation
Matej Urbančič [Mon, 28 May 2012 12:58:14 +0000 (14:58 +0200)]
Updated Slovenian translation
Daniel Mustieles [Sun, 27 May 2012 10:33:56 +0000 (12:33 +0200)]
Updated Spanish translation
Daniel Mustieles [Sun, 27 May 2012 10:29:55 +0000 (12:29 +0200)]
Updated Spanish translation
Matthias Clasen [Sat, 26 May 2012 19:16:04 +0000 (15:16 -0400)]
Remove gtk_accel_group_query from the docs
It is marked as "internal" in the headers, and the struct it
returns is not documented either.
Matthias Clasen [Sat, 26 May 2012 19:11:49 +0000 (15:11 -0400)]
Link to the 2.x deprecated index in the migration guide
Matthias Clasen [Sat, 26 May 2012 19:06:00 +0000 (15:06 -0400)]
Document "set" properties a bit
Both GtkTextTag and GtkCellRenderer make use of "set" properties
which are a bit special. Document this.
https://bugzilla.gnome.org/show_bug.cgi?id=531319
Matthias Clasen [Sat, 26 May 2012 18:40:12 +0000 (14:40 -0400)]
Correct the docs for GDK_MSB_FIRST
https://bugzilla.gnome.org/show_bug.cgi?id=571254
Matthias Clasen [Sat, 26 May 2012 17:45:06 +0000 (13:45 -0400)]
Mention cairo_save/restore in the ::draw migration docs
https://bugzilla.gnome.org/show_bug.cgi?id=646798
Matthias Clasen [Sat, 26 May 2012 17:29:48 +0000 (13:29 -0400)]
Reword lockbutton docs
https://bugzilla.gnome.org/show_bug.cgi?id=659613
Matthias Clasen [Sat, 26 May 2012 16:24:13 +0000 (12:24 -0400)]
Clarify the gtk_style_context_add_provider docs
https://bugzilla.gnome.org/show_bug.cgi?id=643490
Matthias Clasen [Sat, 26 May 2012 16:19:51 +0000 (12:19 -0400)]
Mention GTK_DIALOG_NO_SEPARATOR in migration docs
http://bugzilla.gnome.org/show_bug.cgi?id=647779
Matthias Clasen [Sat, 26 May 2012 16:09:13 +0000 (12:09 -0400)]
Change the stock help accel to F1
https://bugzilla.gnome.org/show_bug.cgi?id=162865
Matthias Clasen [Sat, 26 May 2012 16:08:52 +0000 (12:08 -0400)]
gtk-demo: Add a help stock menuitem
Matthias Clasen [Sat, 26 May 2012 03:17:43 +0000 (23:17 -0400)]
GtkToolbar: Prevent accidental drag starts
We don't want to start drags on double- or triple clicks, and
doing so causes problems for embedded range widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=675535
Matthias Clasen [Sat, 26 May 2012 03:14:02 +0000 (23:14 -0400)]
fix the build
Matthias Clasen [Sat, 26 May 2012 03:13:42 +0000 (23:13 -0400)]
Fix the build on Solaris
http://bugzilla.gnome.org/show_bug.cgi?id=663991
Matthias Clasen [Sat, 26 May 2012 02:58:55 +0000 (22:58 -0400)]
Fix doc comment
The introspection annotation for gtk_im_context_get_surrounding
was missing a :.
Matthias Clasen [Sat, 26 May 2012 02:03:47 +0000 (22:03 -0400)]
Add a custom css example
Matthias Clasen [Sat, 26 May 2012 00:50:35 +0000 (20:50 -0400)]
Update window title
Matthias Clasen [Sat, 26 May 2012 00:39:59 +0000 (20:39 -0400)]
gtk-demo: Move Theming to Theming/Style Classes
And make the title :: parsing work for nested titles too,
so this works.
Matthias Clasen [Sat, 26 May 2012 00:25:43 +0000 (20:25 -0400)]
Forgotten file
This change to geninclude.pl.in is needed to make my commit
91d01434bc77b454d1f59ab72d8dbed97c7269f1 work.
Cosimo Cecchi [Fri, 25 May 2012 17:13:04 +0000 (13:13 -0400)]
visuals: add a testbed for OSD toolbars
Cosimo Cecchi [Thu, 24 May 2012 19:10:19 +0000 (15:10 -0400)]
themingbackground: don't clear the window bg cairo surface
This is not needed anymore now that windows are transparent by default.
Bruno Brouard [Wed, 23 May 2012 21:39:44 +0000 (23:39 +0200)]
Updated French translation
Bruno Brouard [Wed, 23 May 2012 21:27:38 +0000 (23:27 +0200)]
Updated French translation
Cosimo Cecchi [Mon, 21 May 2012 21:26:43 +0000 (17:26 -0400)]
button: fix variable name in function declaration
Or gtk-doc/introspection scanners will complain.
William Jon McCann [Sun, 20 May 2012 15:58:45 +0000 (11:58 -0400)]
Provide a way to force showing icons in buttons
https://bugzilla.gnome.org/show_bug.cgi?id=676429
Fran Diéguez [Sun, 20 May 2012 16:01:06 +0000 (18:01 +0200)]
Updated Galician translations
Emmanuele Bassi [Sun, 20 May 2012 12:45:05 +0000 (13:45 +0100)]
docs: Escape bare '#' in GdkRGBA string definitions
GTK-Doc does not like bare '#', so let's turn them into #.
Руслан Ижбулатов [Sat, 19 May 2012 19:44:13 +0000 (23:44 +0400)]
docs: libgailutil is now called libgailutil-3
Matthias Clasen [Sat, 19 May 2012 16:19:44 +0000 (12:19 -0400)]
Add since annotations to some enum values
The things related to touch and smooth scrolling were 3.4 additions,
so mark them as such.
https://bugzilla.gnome.org/show_bug.cgi?id=676329
Christian Kirbach [Sat, 19 May 2012 09:38:46 +0000 (11:38 +0200)]
[l10n] Updated German translation
Juan Pablo Ugarte [Fri, 18 May 2012 19:05:16 +0000 (16:05 -0300)]
Chain up custom_tag_start() propertly.
Fixes bug #675899 "Infobar not loadable by GTKBuilder (using python gi introspection)"
John Ralls [Fri, 18 May 2012 20:58:24 +0000 (13:58 -0700)]
Disable documentation of gtk_plug_get_type and gtk_socket_get_type for
quartz
They're not built for quartz and consequently can't be introspected.
John Ralls [Fri, 18 May 2012 19:25:41 +0000 (12:25 -0700)]
Don't include gtkplug.h in gtkdnd-quartz.c
Gtkplug is X11-only.
Piotr Drąg [Fri, 18 May 2012 16:25:03 +0000 (18:25 +0200)]
Mark strings in embedded XML code in plugman.c as translatable
Just like bloadpad's. Also add plugman.c to POTFILES.skip
to *not* actually translate it.
Piotr Drąg [Fri, 18 May 2012 14:51:35 +0000 (16:51 +0200)]
Updated POTFILES.skip
Holger Berndt [Thu, 17 May 2012 14:12:55 +0000 (16:12 +0200)]
Document removing of accelerators
https://bugzilla.gnome.org/show_bug.cgi?id=676243
Matthias Clasen [Fri, 18 May 2012 05:23:45 +0000 (01:23 -0400)]
gtk-demo: Add a theming example
Matthias Clasen [Fri, 18 May 2012 04:48:57 +0000 (00:48 -0400)]
gtk-demo: Show data files as well
Several demos use .ui files and the like. The demos are much
more useful if these files can be inspected in the ui as well.
Matthias Clasen [Thu, 17 May 2012 12:18:19 +0000 (08:18 -0400)]
gtk-demo: Update language in colorsel demo
We're no longer demoing GtkColorSelection, it is GtkColorChooser now.
Florian Müllner [Tue, 8 May 2012 11:48:48 +0000 (13:48 +0200)]
plugman: Update GtkBuilder markup
The markup for menus was changed in commit
eed307713b8ef , update
the plugman example to use the new format.
Cosimo Cecchi [Wed, 16 May 2012 21:01:33 +0000 (17:01 -0400)]
range: read and use CSS margin values for the trough component
Many themes want to render the trough background/stroke thinner than the
full height/width (which is constructed around the value of the
'slider-width' style property).
Read and apply the CSS margin from the theme on the trough component, so
that themes can make it smaller at their will without the need to
override the render_background, render_frame and render_activity methods
of GtkThemingEngine.
https://bugzilla.gnome.org/show_bug.cgi?id=676196
Cosimo Cecchi [Wed, 16 May 2012 21:00:12 +0000 (17:00 -0400)]
range: remove commented out code
We wouldn't need any detail anyway, since we use a progressbar style
class for the progress part of GtkRange.
https://bugzilla.gnome.org/show_bug.cgi?id=676196
Matthias Clasen [Thu, 17 May 2012 04:11:15 +0000 (00:11 -0400)]
file printbackend: Protect a callback by GDK_THREADS_ENTER
https://bugzilla.gnome.org/show_bug.cgi?id=649569
Руслан Ижбулатов [Sat, 12 May 2012 16:37:56 +0000 (20:37 +0400)]
Make certain gtk3 types conditional (GST-style)
https://bugzilla.gnome.org/show_bug.cgi?id=675895
Volker Sobek [Fri, 4 May 2012 00:08:21 +0000 (02:08 +0200)]
doc: Add missing CDATA around a XML programlisting
https://bugzilla.gnome.org/show_bug.cgi?id=675423
Руслан Ижбулатов [Sat, 12 May 2012 16:27:41 +0000 (20:27 +0400)]
Fix gdkx include path
Fixes #675951
Natanael Copa [Tue, 15 May 2012 11:09:24 +0000 (13:09 +0200)]
Bug 676087-configure.ac: isnan() and isinf() are macros, not functions
The isnan() and isinf() are C99 macros not functions so use
AC_CHECK_DECL instead of AC_CHECK_FUNCS for those.
Hiroyuki Ito [Thu, 17 May 2012 03:45:48 +0000 (23:45 -0400)]
Improve GtkColorButton behaviour
Select the current color of a GtkColorButton should be selected in the
GtkColoroChooserDialog which is shown when the color button is clicked.
https://bugzilla.gnome.org/show_bug.cgi?id=676198
Cosimo Cecchi [Wed, 16 May 2012 22:27:21 +0000 (18:27 -0400)]
themingengine: don't use gtk_theming_engine_get()
This also avoids some useless GdkRGBA heap allocations when drawing a
border.
Cosimo Cecchi [Wed, 16 May 2012 22:13:31 +0000 (18:13 -0400)]
themingengine: add missing deprecation annotation
gtk_theming_engine_state_is_running() is deprecated for 3.6.
Cosimo Cecchi [Wed, 16 May 2012 22:13:02 +0000 (18:13 -0400)]
themingengine: don't use gtk_theming_engine_state_is_running()
It's deprecated, and always returns FALSE. This allows us to simplify a
bunch of code.
Matthias Clasen [Wed, 16 May 2012 21:18:51 +0000 (17:18 -0400)]
Fix a case of 'stuck grab'
This was showing up when using a combo box in list mode. After popping
up the list, the keyboard grab appeared stuck. What was stuck here is
only the client-side grab, since we forgot to clean up our grabs
when receiving an UnmapNotify.
This bug was introduced in
1c970036648bffd5d58499bb7c8e2439b84d4397 .
Martin Pitt [Wed, 16 May 2012 16:00:04 +0000 (18:00 +0200)]
grid: add missing transfer annotation
gtk_grid_get_child_at() is missing a transfer annotation for the returned
widget, making it not introspectable.
Cosimo Cecchi [Wed, 16 May 2012 14:29:05 +0000 (10:29 -0400)]
testscale: add a scale with a fill level to the test
Matthias Clasen [Wed, 16 May 2012 01:49:24 +0000 (21:49 -0400)]
Be more careful when freeing ui manager nodes
https://bugzilla.redhat.com//show_bug.cgi?id=812035 has
a stacktrace that shows recursion via
free_node -> unref -> dispose -> ui manager api
which ends in a crash, since we run free_node over the entire
tree and it leaves lots of dangling pointers behind.
So, better be careful by setting all pointers to NULL after
freeing them.
Wouter Bolsterlee [Tue, 15 May 2012 20:20:12 +0000 (22:20 +0200)]
Updated Dutch translation
Rachid BM [Tue, 15 May 2012 20:18:56 +0000 (22:18 +0200)]
Updated Dutch translation
Cosimo Cecchi [Tue, 15 May 2012 17:27:21 +0000 (13:27 -0400)]
gdk: fix the build
Regression from commit
861c57e3043229e769a45d7349b6e71d99c752de
Cosimo Cecchi [Mon, 14 May 2012 13:20:56 +0000 (09:20 -0400)]
themingengine: render pane-separator grip only if we have no bg-image
So that it's possible to implement this with an SVG asset if we want.
Cosimo Cecchi [Sat, 12 May 2012 00:43:09 +0000 (20:43 -0400)]
tests: add background-shorthand parser test for multiple backgrounds
These CSS files test the background shorthand property when it's used
with multiple background layers.
Cosimo Cecchi [Tue, 15 May 2012 16:45:39 +0000 (12:45 -0400)]
tests: move background-shorthand test to background-shorthand-single
And update/fix it for the new shorthand parsing, since the old test did
a couple of things wrong:
- it erroneously flipped background-clip and background-origin when
testing
- it was missing default initial values for background-size and
background-position from the generated test output
Cosimo Cecchi [Sat, 12 May 2012 00:38:36 +0000 (20:38 -0400)]
shorthand: implement multiple backgrounds for the background shorthand
Cosimo Cecchi [Sat, 12 May 2012 00:46:18 +0000 (20:46 -0400)]
csspositionvalue: make empty error value non fatal
If there's just no value to parse (e.g. because we're parsing a
shorthand property), don't error out while trying to parse a number.
Cosimo Cecchi [Fri, 11 May 2012 20:33:13 +0000 (16:33 -0400)]
shorthand: add background-position and background-size to bg shorthand
Cosimo Cecchi [Fri, 11 May 2012 18:30:07 +0000 (14:30 -0400)]
shorthand: use array values for shorthand properties parsing
Right now, just parse the first value in the array.
Cosimo Cecchi [Fri, 11 May 2012 18:29:50 +0000 (14:29 -0400)]
tests: add trailing commas to background-shorthand.css test file
Cosimo Cecchi [Fri, 11 May 2012 14:30:46 +0000 (10:30 -0400)]
reftests: add a reftest for multiple background layers
Cosimo Cecchi [Fri, 11 May 2012 14:25:55 +0000 (10:25 -0400)]
themingbackgorund: render all background layers
Now that background properties are arrays, use them in
GtkThemingBackground when rendering.
Cosimo Cecchi [Fri, 11 May 2012 14:22:24 +0000 (10:22 -0400)]
colorswatch: don't use the clip box directly
We can render our checkboard pattern on the padding box instead. This is
in preparation for GtkThemingBackground supporting multiple layers.
Cosimo Cecchi [Thu, 10 May 2012 15:18:29 +0000 (11:18 -0400)]
styleproperty: make background-image an array value
This also requires having the GtkCssArrayValue parse func forward the
base GFile from the style property parse implementation.
Cosimo Cecchi [Thu, 10 May 2012 14:43:43 +0000 (10:43 -0400)]
styleproperty: make background-size an array property
Cosimo Cecchi [Thu, 10 May 2012 14:39:25 +0000 (10:39 -0400)]
styleproperty: make background-position an array property
Cosimo Cecchi [Thu, 10 May 2012 14:31:06 +0000 (10:31 -0400)]
styleproperty: make background-repeat an array property
Cosimo Cecchi [Thu, 10 May 2012 14:25:33 +0000 (10:25 -0400)]
styleproperty: make background-clip and background-area array properties
Right now just make them arrays, but don't consider values after the
first.
Bastien Nocera [Thu, 10 May 2012 14:23:57 +0000 (15:23 +0100)]
gdkoffscreenwindow: Don't crash when resetting cursor
When the toplevel is a GdkOffscreenWindow which doesn't
implement the set_device_cursor() vfunc, we would have
crashed. Implement a dummy ->set_device_cursor vfunc.
https://bugzilla.gnome.org/show_bug.cgi?id=675809
Bastien Nocera [Tue, 15 May 2012 16:57:33 +0000 (17:57 +0100)]
Revert "gdk: Don't crash when resetting cursor"
Patch didn't get reviewed yet.
This reverts commit
779591b62fbc5ee4ebf9912a4416b655cdcf4e32 .