]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Mon, 31 Jan 2011 02:50:54 +0000 (21:50 -0500)]
Add a gtkbindingsprivate.h header
Matthias Clasen [Sat, 29 Jan 2011 00:36:24 +0000 (19:36 -0500)]
Improve binding-set parser
Make gtk_binding_entry_add_signal_from_string() return the expected
token in case of parsing error, so that we can return a GError
instead of spewing. Also, add a separate scope for binding-set,
since allowing {} in identifiers in SCOPE_VALUE breaks the fact
that the ; after the last assignment in a rule is optional.
Matthias Clasen [Sat, 29 Jan 2011 00:35:54 +0000 (19:35 -0500)]
Add binding-set tests
Matthias Clasen [Fri, 28 Jan 2011 23:42:15 +0000 (18:42 -0500)]
Convert remaining rc files to css
Matthias Clasen [Fri, 28 Jan 2011 23:35:21 +0000 (18:35 -0500)]
Convert the mac key theme to css
Matthias Clasen [Fri, 28 Jan 2011 23:16:56 +0000 (18:16 -0500)]
Convert the Emacs key theme to css
Matthias Clasen [Fri, 28 Jan 2011 23:08:57 +0000 (18:08 -0500)]
Make documentation match behaviour
Carlos Garnacho [Fri, 28 Jan 2011 19:19:30 +0000 (20:19 +0100)]
Move key/theme CSS providers to GtkSettingsPrivate
Carlos Garnacho [Fri, 28 Jan 2011 18:34:36 +0000 (19:34 +0100)]
Parse the gtk-keys.css file in the GtkSettings::gtk-key-theme-name theme path
Carlos Garnacho [Fri, 28 Jan 2011 10:05:01 +0000 (11:05 +0100)]
Add some bindings to testgtk.css for testing
Carlos Garnacho [Fri, 28 Jan 2011 09:25:17 +0000 (10:25 +0100)]
Document @binding-set and the gtk-key-bindings css parser property
Carlos Garnacho [Fri, 28 Jan 2011 09:25:00 +0000 (10:25 +0100)]
Remove unneeded code from GtkBindingSet
Carlos Garnacho [Fri, 28 Jan 2011 09:06:42 +0000 (10:06 +0100)]
Hook up key bindings in CSS with key propagation.
This is done in the same place than it was done before the switch
to GtkStyleContext, the GtkBindingEntry has been slightly simplified
since it's now the GtkStyleContext which hands us the list
of binding sets applying to a widget, so no need to use the older
matching mechanisms.
Carlos Garnacho [Fri, 28 Jan 2011 08:59:02 +0000 (09:59 +0100)]
Add the gtk-key-bindings CSS parser property.
This property takes a list of binding set names to have these
stored as a GPtrArray containing GtkBindingSets. this property
is handled so merging GtkStyleProperties will merge both
GtkBindingSet lists.
Carlos Garnacho [Fri, 28 Jan 2011 00:52:03 +0000 (01:52 +0100)]
Add @binding-set rules to the CSS parser
these custom rules can be used to define key themes
as in the RC files, a series of bind/unbind rules
may be added then:
@binding foo-bar {
bind "<alt>1" { "move-cursor" (visual-positions, 1, 0) };
unbind "<ctl>d"
}
Carlos Garnacho [Fri, 28 Jan 2011 00:50:14 +0000 (01:50 +0100)]
Add gtk_binding_entry_add_signal_from_string()
This function rescues part of the old parser (which
is now standalone) to load a bind/unbind definition
string into a GtkBindingSet.
Bastien Nocera [Mon, 31 Jan 2011 00:30:00 +0000 (00:30 +0000)]
GtkCssProvider: Take into account variant
When loading a theme, make sure we take into account the variant
so we don't use the plain version when the theme changes.
Also make sure to fallback to the plain theme when loading a variant
fails.
https://bugzilla.gnome.org/show_bug.cgi?id=640983
Bastien Nocera [Mon, 31 Jan 2011 00:28:46 +0000 (00:28 +0000)]
GtkSettings: Fix theme not updating for dark theme
The theme was not updated when the "gtk-application-prefer-dark-theme"
GtkSettings property changed.
https://bugzilla.gnome.org/show_bug.cgi?id=640983
Jakob Kramer [Sun, 30 Jan 2011 19:49:34 +0000 (20:49 +0100)]
[l10n] Updated German translation
David Planella [Sun, 30 Jan 2011 10:27:40 +0000 (11:27 +0100)]
Updated Catalan translation
Matthias Clasen [Sun, 30 Jan 2011 08:17:05 +0000 (03:17 -0500)]
Add a gtkscaleprivate.h header
Matthias Clasen [Sun, 30 Jan 2011 08:12:49 +0000 (03:12 -0500)]
Add gtkorientableprivate.h header
Matthias Clasen [Sun, 30 Jan 2011 07:57:59 +0000 (02:57 -0500)]
Some updates
Matthias Clasen [Sun, 30 Jan 2011 07:52:55 +0000 (02:52 -0500)]
Drop 2.x release notes
Matthias Clasen [Sun, 30 Jan 2011 07:49:31 +0000 (02:49 -0500)]
Fix build
We must build gtk before gtk/tests
Matthias Clasen [Sun, 30 Jan 2011 07:46:59 +0000 (02:46 -0500)]
Drop unused theme-bits
Matthias Clasen [Sun, 30 Jan 2011 07:45:01 +0000 (02:45 -0500)]
Drop unused file circles.xml
Matthias Clasen [Sun, 30 Jan 2011 07:43:38 +0000 (02:43 -0500)]
Remove GTK+ 1 era xbm icons
Matthias Clasen [Sun, 30 Jan 2011 07:38:59 +0000 (02:38 -0500)]
Remove some dead templates
Matthias Clasen [Sun, 30 Jan 2011 07:36:17 +0000 (02:36 -0500)]
Whitespace fixes
Matthias Clasen [Sun, 30 Jan 2011 07:34:59 +0000 (02:34 -0500)]
Move GtkPrintOperation docs inline
Matthias Clasen [Sun, 30 Jan 2011 07:21:16 +0000 (02:21 -0500)]
Nicer configure summary
Matthias Clasen [Sun, 30 Jan 2011 07:16:18 +0000 (02:16 -0500)]
Silence unused variable warnings in the cups printbackend
Matthias Clasen [Sun, 30 Jan 2011 07:14:08 +0000 (02:14 -0500)]
Silence unused variable warnings in gail
Matthias Clasen [Sun, 30 Jan 2011 06:59:12 +0000 (01:59 -0500)]
More compiler warnings silenced
Matthias Clasen [Sun, 30 Jan 2011 06:53:49 +0000 (01:53 -0500)]
Fix another compiler warning about unused variables
Matthias Clasen [Sun, 30 Jan 2011 06:52:55 +0000 (01:52 -0500)]
Silence more compiler warnings
Matthias Clasen [Sun, 30 Jan 2011 06:50:58 +0000 (01:50 -0500)]
Fix compiler warnings about unused variables
Matthias Clasen [Sun, 30 Jan 2011 06:45:18 +0000 (01:45 -0500)]
Include gtkx.h here
When building under X11, gtktypefuncs.c includes references to gdk
X11 backend functions, so we need to include the header.
Matthias Clasen [Sun, 30 Jan 2011 06:40:51 +0000 (01:40 -0500)]
Silence compiler warnings
Matthias Clasen [Sun, 30 Jan 2011 04:26:34 +0000 (23:26 -0500)]
Use free() to free XIButtonState.mask
XIQueryPointer() allocates it using malloc() (without any mention
in the documentation...).
Matthias Clasen [Sun, 30 Jan 2011 04:09:51 +0000 (23:09 -0500)]
Improve some deprecation notes
Matthias Clasen [Sun, 30 Jan 2011 03:59:32 +0000 (22:59 -0500)]
Mention theme-specific settings in the migration guide
Matthias Clasen [Sun, 30 Jan 2011 03:52:02 +0000 (22:52 -0500)]
More documentation tweaks
Matthias Clasen [Sun, 30 Jan 2011 03:47:33 +0000 (22:47 -0500)]
Documentation tweaks
Matthias Clasen [Sun, 30 Jan 2011 03:44:29 +0000 (22:44 -0500)]
Minor rewording in the tutorial
Matthias Clasen [Sun, 30 Jan 2011 03:42:14 +0000 (22:42 -0500)]
Go back to using the image/* example
Paolo Borelli [Sat, 29 Jan 2011 20:26:12 +0000 (21:26 +0100)]
Do not use old functions in the docs.
Matthias Clasen [Sat, 29 Jan 2011 19:16:47 +0000 (14:16 -0500)]
Add a gtkx.h header for X11-specific GTK+ api
This keeps us from pulling gdkx.h into gtk.h
https://bugzilla.gnome.org/show_bug.cgi?id=640902
Matthias Clasen [Sat, 29 Jan 2011 18:40:19 +0000 (13:40 -0500)]
Add a missing end tag
Luca Ferretti [Sat, 29 Jan 2011 14:55:20 +0000 (15:55 +0100)]
Updated Italian translation
Carlos Garnacho [Sat, 29 Jan 2011 13:10:36 +0000 (14:10 +0100)]
Move "widget/window under device" accounting to be per-widget
This management is better done per-widget rather than per-screen,
as windows being destroyed won't trigger a leave notify for the
devices on top of it, and this information is too transitive
to keep weak refs and such.
This fixes the critical warning seen in gtk/tests/testing.
Paolo Borelli [Sat, 29 Jan 2011 13:34:29 +0000 (14:34 +0100)]
Add padding to the themingengine class.
Paolo Borelli [Sat, 29 Jan 2011 11:47:09 +0000 (12:47 +0100)]
Move the get_cursor_color in GtkStyleContext
Move the private get_cursor_color method belongs to StyleContext. Change
the api so that retrieving both primary and secondary color is possible.
I left the method private for now, though it should probably be public
as all the other getters.
Paolo Borelli [Sat, 29 Jan 2011 11:38:50 +0000 (12:38 +0100)]
Use GtkRGBA for the cursor color priv api.
Paolo Borelli [Sat, 29 Jan 2011 11:24:37 +0000 (12:24 +0100)]
Fix typo in calculating secondary cursor color
A S Alam [Sat, 29 Jan 2011 02:26:20 +0000 (07:56 +0530)]
update Punjabi Translation by A S Alam
A S Alam [Sat, 29 Jan 2011 02:03:39 +0000 (07:33 +0530)]
update Punjabi Translation by A S Alam
William Jon McCann [Fri, 28 Jan 2011 21:59:35 +0000 (16:59 -0500)]
Don't call object notify for something that isn't a property
Krzesimir Nowak [Fri, 12 Nov 2010 12:14:12 +0000 (13:14 +0100)]
Check if buffer is NULL after setting it to NULL, not before.
This catches cases when "notify::buffer" handler does not recreate
the buffer again, which could end in reference leak.
https://bugzilla.gnome.org/show_bug.cgi?id=634677
Daniel Mustieles [Fri, 28 Jan 2011 19:04:18 +0000 (20:04 +0100)]
Updated Spanish translation
Matthias Clasen [Fri, 28 Jan 2011 16:08:26 +0000 (11:08 -0500)]
Fix a doc typo
Matthias Clasen [Fri, 28 Jan 2011 15:47:36 +0000 (10:47 -0500)]
Mention GtkEntryCompletion signal parameter change
Benjamin Otte [Fri, 28 Jan 2011 15:42:40 +0000 (16:42 +0100)]
recentfilter: Fix gcc warnings
gtkrecentfilter.c:37:47: error: "/*" within comment
gtkrecentfilter.c:61:24: error: "/*" within comment
Benjamin Otte [Fri, 28 Jan 2011 15:32:06 +0000 (16:32 +0100)]
gtk: gtkfilefilter.c:57:24: error: "/*" within comment
Benjamin Otte [Fri, 28 Jan 2011 14:45:16 +0000 (15:45 +0100)]
x11: Use Window instead of GdkNativeWindow
Benjamin Otte [Fri, 28 Jan 2011 14:39:11 +0000 (15:39 +0100)]
plug: Move private functions to gtksocketprivate.h
Benjamin Otte [Fri, 28 Jan 2011 14:37:57 +0000 (15:37 +0100)]
tests: Use Window instead of GdkNativeWindow in testsocket example
Benjamin Otte [Fri, 28 Jan 2011 14:34:28 +0000 (15:34 +0100)]
plug: Use Window instead of GdkNativeWindow
Benjamin Otte [Fri, 28 Jan 2011 14:20:54 +0000 (15:20 +0100)]
socket: Use Window instead of GdkNativeWindow
Benjamin Otte [Fri, 28 Jan 2011 14:16:27 +0000 (15:16 +0100)]
win32: Make GtkWin32EmbedWidget use HWND instead of GdkNativeWindow
Benjamin Otte [Fri, 28 Jan 2011 14:12:47 +0000 (15:12 +0100)]
window: Get rid of GdkNativeWindow usage
Make _gtk_window_add_embedded_xid() and
_gtk_window_remove_embedded_xid() take a Window.
Benjamin Otte [Fri, 28 Jan 2011 14:11:44 +0000 (15:11 +0100)]
API: x11: Add GDK_POINTER_TO_XID() and GDK_XID_TO_POINTER()
Previously people used GDK_GPOINTER_TO_NATIVE_WINDOW() for this, but
native windows are going away, so we need a replacement.
Benjamin Otte [Fri, 28 Jan 2011 13:35:49 +0000 (14:35 +0100)]
window: Make embedded xid specific to the X11 backend
Benjamin Otte [Fri, 28 Jan 2011 13:28:36 +0000 (14:28 +0100)]
gtk: Prefix gtk_window_add_embedded_xid() with underscore
It's a private API after all.
Same thing for gtk_window_remove_embedded_xid().
Benjamin Otte [Fri, 28 Jan 2011 13:01:46 +0000 (14:01 +0100)]
API: Don't export gtk_window_add_embedded_xid()
Same thing for gtk_window_remove_embedded_xid()
Benjamin Otte [Fri, 28 Jan 2011 12:02:52 +0000 (13:02 +0100)]
socket: Merge gtksocket-x11.c back into gtksocket.c
Benjamin Otte [Fri, 28 Jan 2011 11:06:24 +0000 (12:06 +0100)]
plug: Merge gtkplug-x11.c back into gtkplug.c
Benjamin Otte [Fri, 28 Jan 2011 10:13:06 +0000 (11:13 +0100)]
plug/socket: Remove x11 checks and non-x11 code
Benjamin Otte [Fri, 28 Jan 2011 09:56:40 +0000 (10:56 +0100)]
plug/socket: Clarify docs about availablility of widgets
Benjamin Otte [Fri, 28 Jan 2011 09:53:32 +0000 (10:53 +0100)]
win32: Fix Makefile for plug/socket removal.
Benjamin Otte [Fri, 28 Jan 2011 09:52:29 +0000 (10:52 +0100)]
plug/socket: Remove plug/socket backend implementations for win32 and stub
Benjamin Otte [Fri, 28 Jan 2011 09:47:34 +0000 (10:47 +0100)]
plug/socket: Make GtkPlug and GtkSocket X11-specific
People agreed that it doesn't make sense to make an xembed
implementation like plug/socket does not make sense on anything but X11.
And as GdkNativeWindow is going away for multibackend portability
reasons, we'd either need API fixes in the plug-socket codee or
constrain the widgets to a single backend. We chose the latter.
Cosimo Cecchi [Thu, 27 Jan 2011 18:09:56 +0000 (13:09 -0500)]
mount-operation: don't show the dialog until the tree is populated
Otherwise it won't show up properly, and GTK+ will trigger a warning.
Don't know why this did not show up before.
https://bugzilla.gnome.org/show_bug.cgi?id=640744
Ignacio Casal Quinteiro [Fri, 28 Jan 2011 12:24:26 +0000 (13:24 +0100)]
Remove gtk_paste_point_override mark if we don't insert any text.
This patch fixes bug #590459.
Murray Cumming [Fri, 28 Jan 2011 09:17:06 +0000 (10:17 +0100)]
Move gtk_widget_reset_style() out of the deprecation ifdef.
This new function was not apparently meant to be inside the deprecation
guards.
Murray Cumming [Fri, 28 Jan 2011 09:10:23 +0000 (10:10 +0100)]
Tiny typo fix.
Tristan Van Berkom [Fri, 28 Jan 2011 06:54:50 +0000 (15:54 +0900)]
Add default class implementation of gtk_widget_get_request_mode().
Instead of checking if klass->get_request_mode is != NULL from
the gtk_widget_get_request_mode() api, this allows classes to
trust that there is a default implementation and chain up (specifically
added this for gtkmm wrapper objects).
Matthias Clasen [Fri, 28 Jan 2011 04:23:43 +0000 (23:23 -0500)]
Protect against giant title fonts
We don't want repeated calls to set_title_font to blow up the
font size ever more, so reset the font each time.
https://bugzilla.gnome.org/show_bug.cgi?id=640712
Matthias Clasen [Fri, 28 Jan 2011 02:50:00 +0000 (21:50 -0500)]
Make the places in the file chooser come up with a reasonable size
Matthias Clasen [Fri, 28 Jan 2011 02:04:32 +0000 (21:04 -0500)]
Fix the new filechooser buttons to work without symbolic icons
William Jon McCann [Thu, 27 Jan 2011 20:21:10 +0000 (15:21 -0500)]
Use a toolbar with symbolic icons under scrolled lists
Daniel Mustieles [Thu, 27 Jan 2011 20:21:53 +0000 (21:21 +0100)]
Updated Spanish translation
Carlos Garnacho [Sun, 23 Jan 2011 13:34:14 +0000 (14:34 +0100)]
Remove GTK_RBNODE_IS_SEMI_[COLLAPSED|EXPANDED] flags.
These aren't used anymore.
Carlos Garnacho [Sun, 23 Jan 2011 13:31:19 +0000 (14:31 +0100)]
Set "cell" class and state before rendering a cellrenderer.
Carlos Garnacho [Wed, 12 Jan 2011 20:29:41 +0000 (21:29 +0100)]
Make GtkCellRendererAccel use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:29:11 +0000 (21:29 +0100)]
Make GtkCellRendererPixbuf use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:28:44 +0000 (21:28 +0100)]
Make GtkCellRendererProgress use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:27:25 +0000 (21:27 +0100)]
Make GtkCellRendererToggle use GtkStyleContext
Carlos Garnacho [Wed, 12 Jan 2011 20:26:52 +0000 (21:26 +0100)]
Make GtkCellRendererText use GtkStyleContext