]>
Pileus Git - ~andy/gtk/log
Benjamin Otte [Wed, 20 Jul 2011 00:26:50 +0000 (02:26 +0200)]
tests: Move stylecontext CSS tests
Use the new CSS infrastructure for part of the old CSS tests. This way
we can probably check for warning messages such as deprecations.
Benjamin Otte [Wed, 20 Jul 2011 00:11:51 +0000 (02:11 +0200)]
cssprovider: Emit an error when parsing a binding fails
Benjamin Otte [Wed, 20 Jul 2011 00:01:34 +0000 (02:01 +0200)]
cssprovider: Get the location right for semicolon warnings
Benjamin Otte [Tue, 19 Jul 2011 23:19:59 +0000 (01:19 +0200)]
cssprovider: @import <string> is valid CSS
The parser rewrite insisted on @import url(<string>) syntax, but CSS
xplicitly allows omitting the url string.
Benjamin Otte [Tue, 19 Jul 2011 13:54:09 +0000 (15:54 +0200)]
css: Use the correct free function
Benjamin Otte [Tue, 19 Jul 2011 11:25:02 +0000 (13:25 +0200)]
notebook: Remove unused private member variable
Matej Urbančič [Tue, 19 Jul 2011 20:28:46 +0000 (22:28 +0200)]
Updated Slovenian translation
Benjamin Otte [Tue, 19 Jul 2011 10:53:06 +0000 (12:53 +0200)]
notebook: Remove the homogenous private member variable
It's unused and therefor always FALSE, so we can remove the parts of the
code that branch based on it.
Benjamin Otte [Tue, 19 Jul 2011 09:57:27 +0000 (11:57 +0200)]
reftests: Add test for recent fix
https://bugzilla.gnome.org/show_bug.cgi?id=654678
Benjamin Otte [Tue, 19 Jul 2011 09:42:31 +0000 (11:42 +0200)]
styleproperties: Add unset functions for shorthands
This fixes calls to gtk_style_properties_unset_property() for
shorthand properties.
https://bugzilla.gnome.org/show_bug.cgi?id=654678
Benjamin Otte [Tue, 19 Jul 2011 09:11:12 +0000 (11:11 +0200)]
styleproperties: Add an unset vfunc to style properties
This makes unsetting work for shorthands.
Philip Withnall [Fri, 15 Jul 2011 16:36:45 +0000 (17:36 +0100)]
progressbar: Fix a signed/unsigned comparison
Benjamin Otte [Mon, 18 Jul 2011 17:41:07 +0000 (19:41 +0200)]
a11y: Merge gtksubmenuitem into gtkmenuitem
The reason why they were separate is historic, it's not useful to keep
the distinction.
Benjamin Otte [Mon, 18 Jul 2011 17:21:17 +0000 (19:21 +0200)]
a11y: Rename checksubmenuitem to checkmenuitem
Benjamin Otte [Mon, 18 Jul 2011 17:05:28 +0000 (19:05 +0200)]
a11y: Remove gtkcheckmneuitemaccessible.[ch]
COde uses gtkchecksubmenuitemaccessible exclusively now. And I totally
dig these long finger-twisting names.
Benjamin Otte [Mon, 18 Jul 2011 16:58:15 +0000 (18:58 +0200)]
a11y: Rename radiosubmenuitem to radiomenuitem
Benjamin Otte [Mon, 18 Jul 2011 16:46:30 +0000 (18:46 +0200)]
a11y: Remove gtkradiomenuitemaccessible.[ch]
We use gtkradiosubmenuitemaccessible exclusively these days.
Benjamin Otte [Mon, 18 Jul 2011 16:18:05 +0000 (18:18 +0200)]
checkbutton: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:15:47 +0000 (18:15 +0200)]
accellabel: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:14:00 +0000 (18:14 +0200)]
menubar: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:12:06 +0000 (18:12 +0200)]
toolbar: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:11:10 +0000 (18:11 +0200)]
viewport: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:07:43 +0000 (18:07 +0200)]
tearoffmenuitem: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 16:02:37 +0000 (18:02 +0200)]
plug: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:58:17 +0000 (17:58 +0200)]
fontsel: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:55:30 +0000 (17:55 +0200)]
messagedialog: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:54:40 +0000 (17:54 +0200)]
dialog: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:52:24 +0000 (17:52 +0200)]
colorsel: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:50:04 +0000 (17:50 +0200)]
filechooserdialog: Use gtk_widget_class_set_accessible_role()
Benjamin Otte [Mon, 18 Jul 2011 15:41:01 +0000 (17:41 +0200)]
widget: Reset the accessible role when a new accessible type is set
We want the role to be kept in the accessible object. Using
gtk_widget_class_set_accessible_role() is only meant as a quick
workaround to requiring subclassing of the accessibles in the quite
common case where a subclass does not change the accessible
implementation at all and only has a different role.
Benjamin Otte [Mon, 18 Jul 2011 12:23:31 +0000 (14:23 +0200)]
separatormenuitem: Use gtk_widget_class_accessible_set_role()
Benjamin Otte [Mon, 18 Jul 2011 12:23:19 +0000 (14:23 +0200)]
separator: Use gtk_widget_class_accessible_set_role()
Benjamin Otte [Mon, 18 Jul 2011 12:22:51 +0000 (14:22 +0200)]
hsv: Use gtk_widget_class_accessible_set_role()
Benjamin Otte [Mon, 18 Jul 2011 12:22:03 +0000 (14:22 +0200)]
calendar: Use gtk_widget_class_accessible_set_role()
Benjamin Otte [Mon, 18 Jul 2011 11:06:52 +0000 (13:06 +0200)]
API: Add gtk_widget_class_set_accessible_role()
Easy access to modifying the roles of subclasses, as this is a thing
that commonly changes for various subclasses.
Benjamin Otte [Mon, 18 Jul 2011 16:28:58 +0000 (18:28 +0200)]
menushell: Use GtkMenuShellAccessible as a11y object
Previously it was only used by GtkMenuBar, and that's a naming mismatch.
Benjamin Otte [Mon, 18 Jul 2011 16:05:00 +0000 (18:05 +0200)]
a11y: Remove separator menu item special case
gtkseparator.c already takes care of this case.
Benjamin Otte [Thu, 14 Jul 2011 09:36:29 +0000 (11:36 +0200)]
assistant: Use gtk_container_remove() when removing pages
Ensures that we properly emit the "remove" signal.
Matthias Clasen [Mon, 18 Jul 2011 03:17:38 +0000 (23:17 -0400)]
Don't use object data for layer
Just add a regular member in GtkWidgetAccessible for it.
Matthias Clasen [Mon, 18 Jul 2011 03:04:00 +0000 (23:04 -0400)]
Get rid of the focus_gtk vfunc
Only GtkWidgetAccessible and GtkWindowAccessible had implementations,
and they could easily be converted to focus_event handlers.
Matthias Clasen [Mon, 18 Jul 2011 03:03:34 +0000 (23:03 -0400)]
Avoid a compiler warning
Matthias Clasen [Sun, 17 Jul 2011 23:38:23 +0000 (19:38 -0400)]
Update expected test output
There was some stipple left there, still.
Matthias Clasen [Sun, 17 Jul 2011 23:37:39 +0000 (19:37 -0400)]
Don't run testfocus in 'make check'
It is not meant for that.
Matthias Clasen [Sun, 17 Jul 2011 23:35:37 +0000 (19:35 -0400)]
Make destroying assistants work again
During destruction, we need to be careful to not ask the content
notebook to remove itself from itself.
Matthias Clasen [Sun, 17 Jul 2011 22:47:19 +0000 (18:47 -0400)]
Use canonical names
Use canonical names for both signals and properties.
Matthias Clasen [Sun, 17 Jul 2011 22:45:46 +0000 (18:45 -0400)]
Don't emit a nonexisting signal
The signal is called "popdown", not "podown".
Matthias Clasen [Sun, 17 Jul 2011 22:05:17 +0000 (18:05 -0400)]
Don't return a value from a void function
Reported in bug 654720, patch by Brian Cameron.
Aurimas Černius [Sat, 16 Jul 2011 14:23:39 +0000 (17:23 +0300)]
Updated Lithuanian translation.
Aurimas Černius [Sat, 16 Jul 2011 14:09:54 +0000 (17:09 +0300)]
Updated Lithuanian translation.
Matthias Clasen [Sat, 16 Jul 2011 14:03:20 +0000 (10:03 -0400)]
Add an initial focus testbed
This is an attempt to explore differences in GTK+'s and gails
notions of which widget currently has the focus. Since gail
does all its focus updates in an idle, we cannot do the
comparisons synchronously, so just check ever so often in
a timeout.
Matthias Clasen [Sat, 16 Jul 2011 13:44:02 +0000 (09:44 -0400)]
GtkLabelAccessible: avoid extra selection-changed emissions
This copies the same code that the entry accessible uses
to check for selection changes.
https://bugzilla.gnome.org/show_bug.cgi?id=654428
Florian Müllner [Fri, 15 Jul 2011 18:45:59 +0000 (20:45 +0200)]
theming-engine: Adjust register_property() to recent glib change
GParamSpec now uses an intern'ed string for 'name', so the code
in gtk_theming_engine_register_property() which prefixes the name
with a namespace has to be adjusted.
https://bugzilla.gnome.org/show_bug.cgi?id=654695
Carlos Garnacho [Fri, 15 Jul 2011 16:33:44 +0000 (18:33 +0200)]
x11: Skip GenericEvents with no cookie data in the xi2 device manager
https://bugzilla.gnome.org/show_bug.cgi?id=653947
It could happen that a cookie event has been already allocated/freed
in an event filter, as it can't be allocated a second time, all GDK
can do is skipping the event. Spotted by Guillaume Desmottes.
Carlos Garnacho [Thu, 14 Jul 2011 15:49:44 +0000 (17:49 +0200)]
gdk/x11: Add gdk_x11_device_manager_lookup()
This function can be used to find the GdkDevice wrapping
an XInput2 device ID. For core devices, the Virtual Core
Pointer/Keyboard IDs (2/3) may be used.
Carlos Garnacho [Thu, 14 Jul 2011 15:43:59 +0000 (17:43 +0200)]
gdk/x11: Add gdk_x11_device_get_id()
This function can be used to find out the XInput2 device ID
behind a GdkDevice, mostly useful when you need to interact
with say Clutter, or raw libXi calls.
Matthias Clasen [Fri, 15 Jul 2011 15:07:38 +0000 (11:07 -0400)]
Don't use deprecated style api
gtk_widget_modify_font() has been superseded by
gtk_widget_override_font(), so use that in GtkMessageDialog.
Yaron Shahrabani [Fri, 15 Jul 2011 08:03:43 +0000 (11:03 +0300)]
Updated Hebrew translation.
Matthias Clasen [Thu, 14 Jul 2011 23:50:21 +0000 (19:50 -0400)]
Add some GtkAccessible documentation
Describe the current thinking about how to provide
3rd party accessible implementations.
Matthias Clasen [Thu, 14 Jul 2011 23:42:12 +0000 (19:42 -0400)]
Drop private GtkAccessible api
We no longer use factories anywhere.
Matthias Clasen [Thu, 14 Jul 2011 23:38:17 +0000 (19:38 -0400)]
Drop unneeded includes
We no longer use the private GtkAccessible api here.
Matthias Clasen [Thu, 14 Jul 2011 23:28:07 +0000 (19:28 -0400)]
Revert "Add a getter for the accessible type of a widget class"
This reverts commit
9a212b31205e5c2566f2fc946812609b688c19ce .
Kristian Rietveld [Thu, 14 Jul 2011 12:22:38 +0000 (14:22 +0200)]
quartz: Remove call to deprecated gdk_pointer_ungrab
John Ralls [Sun, 3 Jul 2011 23:40:03 +0000 (16:40 -0700)]
Bug 653450 - gtkfilechooser crashes when added favorite
Ensure that display is set during drag-and-drop, and that string lists'
memory is zeroed after allocation to prevent g_strfreev() from
over-running.
Chun-wei Fan [Thu, 14 Jul 2011 03:57:22 +0000 (11:57 +0800)]
Dist the VS 2008 a11y/libgail-util projects
Accidently left out this item in my last commit...
Chun-wei Fan [Thu, 14 Jul 2011 03:52:58 +0000 (11:52 +0800)]
Added VS projects for a11y and libgail-util
-Added projects to compile the a11y portion of GTK+. This is now necessary
as a11y/GAIL is now integrated into the main GTK+ library, and it must
be built before compiling/linking GTK+. This project is done like the
GDK/GTK+ projects, where the source file listings for the VS2008/2010
projects are fed into templates (.vcprojin, .vcxprojin and
.vcxproj.filtersin) during 'make dist'
-Added projects to compile the libgail-util DLL (no templates for this
as this does not have source files added/removed often)
-Added the new projects into distribution, and headers, DLLs and .LIB files
into the "install" stage
Matthias Clasen [Thu, 14 Jul 2011 02:46:13 +0000 (22:46 -0400)]
Add a getter for the accessible type of a widget class
This will be necessary to port out-of-tree a11y implementations
from the atk object factory approach to this new way of doing
things.
Federico Mena Quintero [Wed, 13 Jul 2011 21:04:54 +0000 (16:04 -0500)]
Save selection to recent-files in the asynchronous Save cases
Various paths in SAVE or CREATE_FOLDER return from ::should_respond() but
leave an asynchronous process running. This process checks some things
in the user's selection, for example, 'does the file exist, and if so
do we need to bring up an overwrite-confirmation dialog?'. When these
async processes complete *and* it is indeed time for the dialog to
be terminated (via the response-requested signal), we also need to
save the selection to the recently-used list - as ::should_respond() does
by itself in the cases when it can request a response immediately.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Mario Blättermann [Wed, 13 Jul 2011 18:25:15 +0000 (20:25 +0200)]
[l10n] Updated German translation
Mario Blättermann [Wed, 13 Jul 2011 18:14:27 +0000 (20:14 +0200)]
[l10n] Updated German translation
Chun-wei Fan [Wed, 13 Jul 2011 08:05:20 +0000 (16:05 +0800)]
Update VS 2010 property sheet
The output folder of the .def files needs to be updated as well
Chun-wei Fan [Wed, 13 Jul 2011 07:27:28 +0000 (15:27 +0800)]
Don't include unistd.h unconditionally
Piotr Drąg [Wed, 13 Jul 2011 06:46:37 +0000 (08:46 +0200)]
Updated Polish translation
Rudolfs Mazurs [Tue, 12 Jul 2011 18:15:39 +0000 (21:15 +0300)]
Updated Latvian translation.
Rudolfs Mazurs [Tue, 12 Jul 2011 18:04:31 +0000 (21:04 +0300)]
Updated Latvian translation.
Federico Mena Quintero [Tue, 12 Jul 2011 16:35:57 +0000 (11:35 -0500)]
Log to recent-files when confirming the file chooser
To make life easier for users, when apps don't properly update the recently-used list
after choosing a file, we now do that directly from the file chooser.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Kjartan Maraas [Tue, 12 Jul 2011 10:45:42 +0000 (12:45 +0200)]
Updated Norwegian bokmål translation
Matthias Clasen [Tue, 12 Jul 2011 03:57:56 +0000 (23:57 -0400)]
Add a test for atk_get_root()
Matthias Clasen [Tue, 12 Jul 2011 03:52:22 +0000 (23:52 -0400)]
Don't install any gail headers
There is no public API here.
Matthias Clasen [Tue, 12 Jul 2011 02:13:39 +0000 (22:13 -0400)]
Make gtk_container_remove work for assistants
Matthias Clasen [Tue, 12 Jul 2011 01:47:23 +0000 (21:47 -0400)]
Drop an unneeded include
Matthias Clasen [Tue, 12 Jul 2011 01:46:38 +0000 (21:46 -0400)]
Add gtk_assistant_remove_page
This was suspiciously missing, considering we have the usual
append/prepend/insert_page methods.
Jonathan Matthew [Fri, 8 Jul 2011 00:24:32 +0000 (10:24 +1000)]
GMountOperation::show-processes support for OpenBSD using kvm(3)
Benjamin Otte [Mon, 11 Jul 2011 01:10:04 +0000 (03:10 +0200)]
tests: Add a test for menus
Benjamin Otte [Mon, 11 Jul 2011 01:08:32 +0000 (03:08 +0200)]
a11y: Only advertise action if menuitems are selectable
There's no "click" action for separatormenuitems, for example.
Benjamin Otte [Mon, 11 Jul 2011 00:24:08 +0000 (02:24 +0200)]
a11y: Don't advertise ROLE_MENU in submenuitems
We use submenuitems for all menuitems now. So they shouldn't be all
advertised as menus. For the ones that do have submenus, we still
advertise ROLE_MENU per the last patch.
Benjamin Otte [Mon, 11 Jul 2011 00:21:34 +0000 (02:21 +0200)]
a11y: Make menuitem accessible return ROLE_MENU when it has a submenu
Otherwise keep using the role set via atk_object_set_role().
Fran Dieguez [Sun, 10 Jul 2011 22:12:43 +0000 (00:12 +0200)]
Updated Galician translations
Daniel Mustieles [Sun, 10 Jul 2011 19:05:37 +0000 (21:05 +0200)]
Updated Spanish translation
Daniel Mustieles [Sun, 10 Jul 2011 19:05:06 +0000 (21:05 +0200)]
Updated Spanish translation
Piotr Drąg [Sun, 10 Jul 2011 12:44:49 +0000 (14:44 +0200)]
Updated POTFILES.in
Daniel Mustieles [Sun, 10 Jul 2011 08:55:50 +0000 (10:55 +0200)]
Updated Spanish translation
Matthias Clasen [Sun, 10 Jul 2011 04:24:26 +0000 (00:24 -0400)]
Make all of a11y/ compile with -Wshadow
Matthias Clasen [Sun, 10 Jul 2011 04:20:17 +0000 (00:20 -0400)]
Avoid more shadowing warnings
Matthias Clasen [Sun, 10 Jul 2011 04:16:53 +0000 (00:16 -0400)]
Avoid more compiler warnings
Turns out link is a shadow-happy name, too.
Matthias Clasen [Sun, 10 Jul 2011 04:10:54 +0000 (00:10 -0400)]
Avoid compiler warnings
The text variable in gtk_label_accessible_get_selection was
shadowing a parameter of the same name.
Matthias Clasen [Sun, 10 Jul 2011 04:04:25 +0000 (00:04 -0400)]
Avoid compiler warnings
The obj variable in gtk_notebook_accessible_notify_gtk was shadowing
the parameter of the same name.
Matthias Clasen [Sun, 10 Jul 2011 04:02:02 +0000 (00:02 -0400)]
Avoid unnecessary includes
Including string.h makes the compiler complain about parameters
and variables called index, which is not nice.
Matthias Clasen [Sun, 10 Jul 2011 03:56:42 +0000 (23:56 -0400)]
Convert GailCellParent to GtkCellAccessibleParent
Matthias Clasen [Sun, 10 Jul 2011 03:26:59 +0000 (23:26 -0400)]
Convert GailTextCell to GtkTextCellAccessible
Matthias Clasen [Sun, 10 Jul 2011 02:59:15 +0000 (22:59 -0400)]
Convert GailImageCell to GtkImageCellAccessible