]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agoSave selection to recent-files in the asynchronous Save cases
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>
12 years ago[l10n] Updated German translation
Mario Blättermann [Wed, 13 Jul 2011 18:25:15 +0000 (20:25 +0200)]
[l10n] Updated German translation

12 years ago[l10n] Updated German translation
Mario Blättermann [Wed, 13 Jul 2011 18:14:27 +0000 (20:14 +0200)]
[l10n] Updated German translation

12 years agoUpdate VS 2010 property sheet
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

12 years agoDon't include unistd.h unconditionally
Chun-wei Fan [Wed, 13 Jul 2011 07:27:28 +0000 (15:27 +0800)]
Don't include unistd.h unconditionally

12 years agoUpdated Polish translation
Piotr Drąg [Wed, 13 Jul 2011 06:46:37 +0000 (08:46 +0200)]
Updated Polish translation

12 years agoUpdated Latvian translation.
Rudolfs Mazurs [Tue, 12 Jul 2011 18:15:39 +0000 (21:15 +0300)]
Updated Latvian translation.

12 years agoUpdated Latvian translation.
Rudolfs Mazurs [Tue, 12 Jul 2011 18:04:31 +0000 (21:04 +0300)]
Updated Latvian translation.

12 years agoLog to recent-files when confirming the file chooser
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>
12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 12 Jul 2011 10:45:42 +0000 (12:45 +0200)]
Updated Norwegian bokmål translation

12 years agoAdd a test for atk_get_root()
Matthias Clasen [Tue, 12 Jul 2011 03:57:56 +0000 (23:57 -0400)]
Add a test for atk_get_root()

12 years agoDon't install any gail headers
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.

12 years agoMake gtk_container_remove work for assistants
Matthias Clasen [Tue, 12 Jul 2011 02:13:39 +0000 (22:13 -0400)]
Make gtk_container_remove work for assistants

12 years agoDrop an unneeded include
Matthias Clasen [Tue, 12 Jul 2011 01:47:23 +0000 (21:47 -0400)]
Drop an unneeded include

12 years agoAdd gtk_assistant_remove_page
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.

12 years agoGMountOperation::show-processes support for OpenBSD using kvm(3)
Jonathan Matthew [Fri, 8 Jul 2011 00:24:32 +0000 (10:24 +1000)]
GMountOperation::show-processes support for OpenBSD using kvm(3)

12 years agotests: Add a test for menus
Benjamin Otte [Mon, 11 Jul 2011 01:10:04 +0000 (03:10 +0200)]
tests: Add a test for menus

12 years agoa11y: Only advertise action if menuitems are selectable
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.

12 years agoa11y: Don't advertise ROLE_MENU in submenuitems
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.

12 years agoa11y: Make menuitem accessible return ROLE_MENU when it has a submenu
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().

12 years agoUpdated Galician translations
Fran Dieguez [Sun, 10 Jul 2011 22:12:43 +0000 (00:12 +0200)]
Updated Galician translations

12 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 10 Jul 2011 19:05:37 +0000 (21:05 +0200)]
Updated Spanish translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 10 Jul 2011 19:05:06 +0000 (21:05 +0200)]
Updated Spanish translation

12 years agoUpdated POTFILES.in
Piotr Drąg [Sun, 10 Jul 2011 12:44:49 +0000 (14:44 +0200)]
Updated POTFILES.in

12 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 10 Jul 2011 08:55:50 +0000 (10:55 +0200)]
Updated Spanish translation

12 years agoMake all of a11y/ compile with -Wshadow
Matthias Clasen [Sun, 10 Jul 2011 04:24:26 +0000 (00:24 -0400)]
Make all of a11y/ compile with -Wshadow

12 years agoAvoid more shadowing warnings
Matthias Clasen [Sun, 10 Jul 2011 04:20:17 +0000 (00:20 -0400)]
Avoid more shadowing warnings

12 years agoAvoid more compiler 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.

12 years agoAvoid compiler warnings
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.

12 years agoAvoid compiler warnings
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.

12 years agoAvoid unnecessary includes
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.

12 years agoConvert GailCellParent to GtkCellAccessibleParent
Matthias Clasen [Sun, 10 Jul 2011 03:56:42 +0000 (23:56 -0400)]
Convert GailCellParent to GtkCellAccessibleParent

12 years agoConvert GailTextCell to GtkTextCellAccessible
Matthias Clasen [Sun, 10 Jul 2011 03:26:59 +0000 (23:26 -0400)]
Convert GailTextCell to GtkTextCellAccessible

12 years agoConvert GailImageCell to GtkImageCellAccessible
Matthias Clasen [Sun, 10 Jul 2011 02:59:15 +0000 (22:59 -0400)]
Convert GailImageCell to GtkImageCellAccessible

12 years agoConvert GailRendererCell to GtkRendererCellAccessible
Matthias Clasen [Sat, 9 Jul 2011 23:19:38 +0000 (19:19 -0400)]
Convert GailRendererCell to GtkRendererCellAccessible

12 years agoConvert GailBooleanCell to GtkBooleanCellAccessible
Matthias Clasen [Sat, 9 Jul 2011 23:02:42 +0000 (19:02 -0400)]
Convert GailBooleanCell to GtkBooleanCellAccessible

Including assorted cleanups and _-prefixing of exported API.

12 years agoConvert GailContainerCell to GtkContainerCellAccessible
Matthias Clasen [Sat, 9 Jul 2011 22:51:27 +0000 (18:51 -0400)]
Convert GailContainerCell to GtkContainerCellAccessible

Including assorted cleanups and _-prefixing of exported API.

12 years agoConvert GailCell to GtkCellAccessible
Matthias Clasen [Sat, 9 Jul 2011 22:30:59 +0000 (18:30 -0400)]
Convert GailCell to GtkCellAccessible

Including _-prefixing the API to reduce unwanted exports.

12 years agoGtkAssistant doesn't notice destroyed pages
Matthew Barnes [Sat, 9 Jul 2011 18:48:04 +0000 (14:48 -0400)]
GtkAssistant doesn't notice destroyed pages

Listen for GtkContainer::remove signals from the internal notebook.

https://bugzilla.gnome.org/show_bug.cgi?id=653705

12 years agoDrop a few more unwanted exports
Matthias Clasen [Sat, 9 Jul 2011 20:43:39 +0000 (16:43 -0400)]
Drop a few more unwanted exports

Remaining now are just cell accessibles.

12 years agoReduce the number of unwanted exports
Matthias Clasen [Sat, 9 Jul 2011 20:32:40 +0000 (16:32 -0400)]
Reduce the number of unwanted exports

_-prefix most of the get_type functions in a11y/.
There are still some more symbols left.

12 years agoAnother forgotten static
Matthias Clasen [Sat, 9 Jul 2011 20:04:45 +0000 (16:04 -0400)]
Another forgotten static

12 years agoAnother forgotten static
Matthias Clasen [Sat, 9 Jul 2011 20:04:13 +0000 (16:04 -0400)]
Another forgotten static

12 years agoAdd a forgotten static
Matthias Clasen [Sat, 9 Jul 2011 03:43:31 +0000 (23:43 -0400)]
Add a forgotten static

12 years agoDrop the fake GailUtil subclass
Matthias Clasen [Sat, 9 Jul 2011 03:42:01 +0000 (23:42 -0400)]
Drop the fake GailUtil subclass

Since it is not a subclass at all. Instead, just have a function
that overrides the vfuncs in AtkUtilClass.

12 years agofilechooser: Fix set-but-not-used warning from gcc
Benjamin Otte [Sat, 9 Jul 2011 19:24:41 +0000 (21:24 +0200)]
filechooser: Fix set-but-not-used warning from gcc

12 years agoa11y: Fix warnings when removing widgets that don't have accessibles
Benjamin Otte [Sat, 9 Jul 2011 19:20:39 +0000 (21:20 +0200)]
a11y: Fix warnings when removing widgets that don't have accessibles

The remove handler would not check that removed widgets do indeed have
an accessible associated with them and would happily run all the removal
code with a NULL object. Not good.

12 years agogtkaccelmap: the data gtk_accel_map_foreach needs to be annotated as allow-none
Ignacio Casal Quinteiro [Sat, 9 Jul 2011 10:53:34 +0000 (12:53 +0200)]
gtkaccelmap: the data gtk_accel_map_foreach needs to be annotated as allow-none

12 years agoAdd a test for AtkUtil functions
Matthias Clasen [Sat, 9 Jul 2011 03:21:53 +0000 (23:21 -0400)]
Add a test for AtkUtil functions

This test revealed the horrors commented on in the previous
commit.

12 years agoThis is more horrible than I had realized
Matthias Clasen [Sat, 9 Jul 2011 03:20:06 +0000 (23:20 -0400)]
This is more horrible than I had realized

Due to tragic misunderstandings at the birth of ATK, AtkUtil
can't actually be properly derived. Instead, each implementation
has to poke its vfuncs directly into the AtkUtilClass struct.

So painful to have shipped this stuff for 10 years...

12 years agoClean up gailutil.c a bit
Matthias Clasen [Sat, 9 Jul 2011 03:05:51 +0000 (23:05 -0400)]
Clean up gailutil.c a bit

12 years agoSeparate GailUtil and GailMisc
Matthias Clasen [Sat, 9 Jul 2011 02:52:03 +0000 (22:52 -0400)]
Separate GailUtil and GailMisc

Not sure how these ended up as siamese twins in the same
source file. Of course, separating them doesn't make them
any more beautiful.

12 years agoConvert GailToplevel to GtkToplevelAccessible
Matthias Clasen [Sat, 9 Jul 2011 02:39:00 +0000 (22:39 -0400)]
Convert GailToplevel to GtkToplevelAccessible

12 years agoDrop remaining uses of gail_misc api
Matthias Clasen [Sat, 9 Jul 2011 02:03:13 +0000 (22:03 -0400)]
Drop remaining uses of gail_misc api

Fold them into their last remaining user, in gailtextcell.c

12 years agoDrop now unused gail_misc API
Matthias Clasen [Sat, 9 Jul 2011 00:12:45 +0000 (20:12 -0400)]
Drop now unused gail_misc API

12 years agoDrop gailtextutil from gtk/a11y
Matthias Clasen [Fri, 8 Jul 2011 22:38:05 +0000 (18:38 -0400)]
Drop gailtextutil from gtk/a11y

The last user was GailTextCell, and that can use gtk_pango
api instead.

12 years agoNo longer need to strip the decorations when generating gtk.def, either
Matthias Clasen [Fri, 8 Jul 2011 20:59:30 +0000 (16:59 -0400)]
No longer need to strip the decorations when generating gtk.def, either

12 years agogtk.symbols: remove remaining G_GNUC_ decorations
Matthias Clasen [Fri, 8 Jul 2011 20:55:39 +0000 (16:55 -0400)]
gtk.symbols: remove remaining G_GNUC_ decorations

These are no longer used for anything

12 years agoFixed bug #654125 "gdkoffscreenwindow set any impl handlers to null but adhoc gdk_win...
Juan Pablo Ugarte [Fri, 8 Jul 2011 22:14:41 +0000 (19:14 -0300)]
Fixed bug #654125 "gdkoffscreenwindow set any impl handlers to null but adhoc gdk_window_set_* do not cope"

12 years agoWe're no longer a module
Matthias Clasen [Fri, 8 Jul 2011 20:37:07 +0000 (16:37 -0400)]
We're no longer a module

And we don't support not loading the module anymore, either.
So take out the code that looks at environment variables for
that purpose, and don't print a misleading message about
module loading.

12 years agogail_misc_add_attribute no longer used outside gailmisc.c
Matthias Clasen [Fri, 8 Jul 2011 20:31:48 +0000 (16:31 -0400)]
gail_misc_add_attribute no longer used outside gailmisc.c

This reduces the number of unwanted exported gail symbols
from 90 to 89. Still some way to go...

12 years agoMerge bgo593793-filechooser-recent-folders-master branch.
Federico Mena Quintero [Fri, 8 Jul 2011 16:43:32 +0000 (11:43 -0500)]
Merge bgo593793-filechooser-recent-folders-master branch.

The file chooser now starts up in recent-files mode, or in recent-folders mode,
if the caller didn't set a current_folder on it.  Setting a current_folder is
now discouraged, so that the file chooser can have a chance of presenting
useful locations to the user.

See https://live.gnome.org/DocumentCentricGnome/Help%20the%20user%20choose%20a%20place%20to%20put%20a%20new%20file
for the rationale behind these changes.

12 years agoiconview: make it possible for selected cells to render a border
Cosimo Cecchi [Thu, 7 Jul 2011 17:25:24 +0000 (13:25 -0400)]
iconview: make it possible for selected cells to render a border

Call gtk_render_frame() after gtk_render_background() there.

https://bugzilla.gnome.org/show_bug.cgi?id=654179

12 years agoClarify that gtk_builder_connect_signals can only be connected once
Johan Dahlin [Thu, 7 Jul 2011 18:39:28 +0000 (15:39 -0300)]
Clarify that gtk_builder_connect_signals can only be connected once

12 years agoAdded UG translation
Abduxukur Abdurixit [Thu, 7 Jul 2011 15:06:54 +0000 (17:06 +0200)]
Added UG translation

12 years agotests/a11y/Makefile.am: Use AM_CPPFLAGS instead deprecated INCLUDES
Javier Jardón [Thu, 7 Jul 2011 12:49:26 +0000 (13:49 +0100)]
tests/a11y/Makefile.am: Use AM_CPPFLAGS instead deprecated INCLUDES

12 years agoRevert "asd"
Javier Jardón [Thu, 7 Jul 2011 12:47:59 +0000 (13:47 +0100)]
Revert "asd"

Not appropriate commit message

This reverts commit f02812c0d65ca6c0dc6e6bb845d6be11714f4af6.

12 years agoRevert "docs: fix building for libgail-util"
Javier Jardón [Thu, 7 Jul 2011 12:47:41 +0000 (13:47 +0100)]
Revert "docs: fix building for libgail-util"

libgail-util is going away

This reverts commit 13db79db63ba21a74055e6d83243cd070a4d7665.

12 years agodocs: fix building for libgail-util
Rico Tzschichholz [Thu, 7 Jul 2011 07:05:19 +0000 (09:05 +0200)]
docs: fix building for libgail-util

12 years agoasd
Javier Jardón [Wed, 6 Jul 2011 16:08:34 +0000 (17:08 +0100)]
asd

12 years agoDrop gail_misc_buffer_get_run_attributes
Matthias Clasen [Thu, 7 Jul 2011 03:19:40 +0000 (23:19 -0400)]
Drop gail_misc_buffer_get_run_attributes

Instead fold the code into the sole caller and get rid
of gailmisc usage in the text view accessible altogether.

12 years agoDrop an unneeded include
Matthias Clasen [Thu, 7 Jul 2011 03:18:52 +0000 (23:18 -0400)]
Drop an unneeded include

One step close to dropping gailmisc.

12 years agogtkpango: Count letters properly
Benjamin Otte [Thu, 7 Jul 2011 01:37:52 +0000 (03:37 +0200)]
gtkpango: Count letters properly

The code was using the wrong variable and that then caused assertions

12 years agoa11y: Make submenu code handle non-existing submenus
Benjamin Otte [Wed, 6 Jul 2011 18:55:11 +0000 (20:55 +0200)]
a11y: Make submenu code handle non-existing submenus

As we're going to merge the two accessibles for submenus, we need to
make sure the code that insisted on submenus can handle the case where
no submenu exists.

12 years agoa11y: Fix leaking of state sets
Benjamin Otte [Wed, 6 Jul 2011 18:48:35 +0000 (20:48 +0200)]
a11y: Fix leaking of state sets

12 years agostyleproperty: Fix leak
Benjamin Otte [Wed, 6 Jul 2011 18:41:31 +0000 (20:41 +0200)]
styleproperty: Fix leak

12 years agomenuitems: Use submenuitem accessible exclusively
Benjamin Otte [Wed, 6 Jul 2011 16:43:07 +0000 (18:43 +0200)]
menuitems: Use submenuitem accessible exclusively

Submenus can come and go, so we cannot use an accessible that doesn't
allow for that.

Also, this fixes a rather large refleak.

12 years agoassistant: Use gtk_widget_class_set_accessible_type()
Benjamin Otte [Wed, 6 Jul 2011 16:34:50 +0000 (18:34 +0200)]
assistant: Use gtk_widget_class_set_accessible_type()

Less code and no leaks!

12 years agoUse AM_CPPFLAGS instead the obsolete INCLUDES
Javier Jardón [Mon, 16 May 2011 11:47:17 +0000 (12:47 +0100)]
Use AM_CPPFLAGS instead the obsolete INCLUDES

12 years agoa11y: Redo TextView cursor/selection signal handling
Benjamin Otte [Tue, 5 Jul 2011 21:43:07 +0000 (23:43 +0200)]
a11y: Redo TextView cursor/selection signal handling

As part of the removal of idles, redo how we emit signals on the
accessible. Should work as good or better than before, but with a lot
less code.

12 years agotests: Update text test for textview
Benjamin Otte [Tue, 5 Jul 2011 21:34:13 +0000 (23:34 +0200)]
tests: Update text test for textview

1) Allow inserting text to move the cursor to after the inserted text
2) Implement selecting text for GtkTextView. Also assert if it's an
   unsupported widget type.
3) Select an inside part of the widget, not the end.

12 years agomodules: Blacklist gail
Benjamin Otte [Tue, 5 Jul 2011 20:33:22 +0000 (22:33 +0200)]
modules: Blacklist gail

And print a message when somebody has it enabled that indicates that
something is wrong but doesn't sound too scary.

12 years agoa11y: Use the canonical way to connect to signals
Benjamin Otte [Tue, 5 Jul 2011 15:34:55 +0000 (17:34 +0200)]
a11y: Use the canonical way to connect to signals

No functional changes at all, the generated code should in fact be
identical.

12 years agoa11y: Simplify code
Benjamin Otte [Tue, 5 Jul 2011 15:31:00 +0000 (17:31 +0200)]
a11y: Simplify code

12 years agoa11y: Remove idle handler for switch action handling
Benjamin Otte [Tue, 5 Jul 2011 12:39:12 +0000 (14:39 +0200)]
a11y: Remove idle handler for switch action handling

12 years agoa11y: Remove set_description handling from GtkSwitch
Benjamin Otte [Tue, 5 Jul 2011 12:36:39 +0000 (14:36 +0200)]
a11y: Remove set_description handling from GtkSwitch

The function is unused in AT-SPI.

12 years agorange: Do not use idles to trigger actions
Benjamin Otte [Tue, 5 Jul 2011 12:34:10 +0000 (14:34 +0200)]
range: Do not use idles to trigger actions

12 years agoa11y: Don't use an idle handler for entry actions
Benjamin Otte [Tue, 5 Jul 2011 12:30:49 +0000 (14:30 +0200)]
a11y: Don't use an idle handler for entry actions

12 years agoFix two typos in Makefiles
Rico Tzschichholz [Wed, 6 Jul 2011 14:24:46 +0000 (16:24 +0200)]
Fix two typos in Makefiles

12 years agogtktreeviewaccessible: free the string in the correct position
Javier Jardon [Wed, 6 Jul 2011 13:36:29 +0000 (14:36 +0100)]
gtktreeviewaccessible: free the string in the correct position

12 years agoDo not initialize the priv pointer before check type
Javier Jardon [Wed, 6 Jul 2011 13:25:06 +0000 (14:25 +0100)]
Do not initialize the priv pointer before check type

12 years agoFix few typos in the migration docs
Javier Jardon [Wed, 6 Jul 2011 10:59:56 +0000 (11:59 +0100)]
Fix few typos in the migration docs

gdk_pixbuf_get_from_surface() don't take 8 args but 5

12 years agoFix the build
Matthias Clasen [Tue, 5 Jul 2011 20:57:46 +0000 (16:57 -0400)]
Fix the build

I didn't pay enough attention when merging, it seems.

12 years agoUpdate assistant tests
Matthias Clasen [Tue, 5 Jul 2011 11:19:38 +0000 (07:19 -0400)]
Update assistant tests

12 years agoDrop the factory from the icon view accessible
Matthias Clasen [Mon, 4 Jul 2011 01:46:50 +0000 (21:46 -0400)]
Drop the factory from the icon view accessible

12 years agoDrop the factory from GtkAssistantAccessible
Matthias Clasen [Mon, 4 Jul 2011 01:34:54 +0000 (21:34 -0400)]
Drop the factory from GtkAssistantAccessible

12 years agoUpdate expected test output
Matthias Clasen [Sun, 3 Jul 2011 20:53:41 +0000 (16:53 -0400)]
Update expected test output

The recent change to notebook page parent handling is showing
up in the output of the notebook.ui test.

12 years agoGtkSeparatorMenuItem: Drop the accessible factory
Matthias Clasen [Sun, 3 Jul 2011 20:24:55 +0000 (16:24 -0400)]
GtkSeparatorMenuItem: Drop the accessible factory

12 years agoAdd api for setting the layer
Matthias Clasen [Sun, 3 Jul 2011 19:34:06 +0000 (15:34 -0400)]
Add api for setting the layer

Add api for setting the component layer, instead of open-coding
the object data key, and use it.

12 years agoSilence compiler warnings
Matthias Clasen [Sun, 3 Jul 2011 19:33:27 +0000 (15:33 -0400)]
Silence compiler warnings