]>
Pileus Git - ~andy/gtk/log
Cosimo Cecchi [Tue, 30 Nov 2010 16:27:53 +0000 (17:27 +0100)]
app-chooser: other misc doc fixes
Cosimo Cecchi [Tue, 30 Nov 2010 15:30:33 +0000 (16:30 +0100)]
app-chooser: add more symbols & docs
Cosimo Cecchi [Tue, 30 Nov 2010 15:27:28 +0000 (16:27 +0100)]
Merge branch 'master' into open-with-dialog
Conflicts:
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols
Cosimo Cecchi [Tue, 30 Nov 2010 14:04:37 +0000 (15:04 +0100)]
app-chooser-button: remove leftover typedef
Cosimo Cecchi [Tue, 30 Nov 2010 14:04:00 +0000 (15:04 +0100)]
build: order new files alphabetically
Cosimo Cecchi [Tue, 30 Nov 2010 14:03:33 +0000 (15:03 +0100)]
app-chooser: update docs
Ryan Lortie [Tue, 30 Nov 2010 05:07:08 +0000 (00:07 -0500)]
Bug 619148 - "active ID" properties (GtkComboBox)
Based on a patch by Matthias, add an "active-id" property for
GtkComboBox and add some convenience API for GtkComboBoxText.
Also, add a test case to gtk-demo.
Emmanuele Bassi [Mon, 29 Nov 2010 15:43:43 +0000 (15:43 +0000)]
a11y: Use ATK macros and clean up/2 - GtkSpinner
ATK provides macros to the same effect as G_DEFINE_TYPE; using these
macros has the advantage of removing tons of duplicated code and
reducing the maintainership burden.
The widgets with inline accessibility implementation should switch to
these macros, and clean up the code.
https://bugzilla.gnome.org/show_bug.cgi?id=636060
Emmanuele Bassi [Mon, 29 Nov 2010 15:40:29 +0000 (15:40 +0000)]
a11y: Use ATK macros and clean up/1 - GtkAssistant
ATK provides macros to the same effect as G_DEFINE_TYPE; using these
macros has the advantage of removing tons of duplicated code and
reducing the maintainership burden.
The widgets with inline accessibility implementation should switch to
these macros, and clean up the code.
https://bugzilla.gnome.org/show_bug.cgi?id=636060
Matthias Clasen [Mon, 29 Nov 2010 21:47:01 +0000 (16:47 -0500)]
Forgotten changes
Javier Jardón [Mon, 29 Nov 2010 20:49:38 +0000 (21:49 +0100)]
GtkSwitch: Add missing "Since: 3.0" tags
Javier Jardón [Mon, 29 Nov 2010 20:31:35 +0000 (21:31 +0100)]
configure: Fix typo
Andrej Žnidaršič [Mon, 29 Nov 2010 20:27:47 +0000 (21:27 +0100)]
Updated Slovenian translation
Matthias Clasen [Mon, 29 Nov 2010 19:48:24 +0000 (14:48 -0500)]
Bump version
Matthias Clasen [Mon, 29 Nov 2010 18:56:27 +0000 (13:56 -0500)]
No more rulers
Matthias Clasen [Mon, 29 Nov 2010 18:29:49 +0000 (13:29 -0500)]
Clean up POTFILES.skip as well
Matthias Clasen [Mon, 29 Nov 2010 18:04:15 +0000 (13:04 -0500)]
Update NEWS
Matthias Clasen [Mon, 29 Nov 2010 18:00:04 +0000 (13:00 -0500)]
Revert
c00b85bf3f9cb1dc77dd22f138eb53048eb355b7
This needs more work, currently we do dupe targets when copying
target entries in various places, and consequently free them
later. To do this correctly, the strings need to be interned
or something like that.
Matthias Clasen [Mon, 29 Nov 2010 17:47:44 +0000 (12:47 -0500)]
Re-add some conditionals to symbols files
We need to keep the ifdefs for platform abi differences.
Cosimo Cecchi [Mon, 29 Nov 2010 17:10:06 +0000 (18:10 +0100)]
app-chooser-online: rework of the online module
- the _get_default() method is now async
- the PackageKit module will return NULL in case PackageKit is not
available in the session bus
- the dummy module doesn't exist anymore
- the dialog won't display the online button in case there's no module
available
Matthias Clasen [Mon, 29 Nov 2010 17:04:38 +0000 (12:04 -0500)]
remove some duplicate symbols
Matthias Clasen [Mon, 29 Nov 2010 16:49:11 +0000 (11:49 -0500)]
Add gdk_device_get_n_keys to symbol list
Matthias Clasen [Mon, 29 Nov 2010 16:46:58 +0000 (11:46 -0500)]
Add GtkSwitch to POTFILES
Matthias Clasen [Mon, 29 Nov 2010 16:43:45 +0000 (11:43 -0500)]
Updates
Matthias Clasen [Mon, 29 Nov 2010 16:25:10 +0000 (11:25 -0500)]
Small doc fixup
Matthias Clasen [Mon, 29 Nov 2010 16:23:07 +0000 (11:23 -0500)]
Add GtkSwitch to the widget gallery
Matthias Clasen [Mon, 29 Nov 2010 15:14:21 +0000 (10:14 -0500)]
Add a GtkSwitch
Cosimo Cecchi [Mon, 29 Nov 2010 15:10:58 +0000 (16:10 +0100)]
app-chooser-button: tabs to spaces
Cosimo Cecchi [Mon, 29 Nov 2010 15:04:59 +0000 (16:04 +0100)]
app-chooser-button: change the API approach for custom items
Introduce a 'custom-item-activated' on the widget, which behaves
similairly to GtkEntryCompletion::action-activated, i.e. is emitted when
a custom item is chosen from the dropdown list.
Clients can use the name provided when adding the item as a detail for
the signal, to get notified when that specific item is activated, or use
the signal without details to get notifications for all custom items.
Emmanuele Bassi [Mon, 29 Nov 2010 13:43:53 +0000 (13:43 +0000)]
switch: Use ATK macros to reduce the amount of code
And the insanity.
Reviewed-by: Christian Persch <chpe@gnome.org>
Emmanuele Bassi [Mon, 29 Nov 2010 13:23:28 +0000 (13:23 +0000)]
switch: Use the right value for comparison
Emmanuele Bassi [Mon, 29 Nov 2010 00:18:56 +0000 (00:18 +0000)]
switch: Add accessibility implementation
Modelled on GailToggleButton.
https://bugzilla.gnome.org/show_bug.cgi?id=634987
Emmanuele Bassi [Sun, 28 Nov 2010 09:46:36 +0000 (09:46 +0000)]
docs: Add GtkSwitch to the API reference
https://bugzilla.gnome.org/show_bug.cgi?id=634987
Emmanuele Bassi [Fri, 26 Nov 2010 13:24:04 +0000 (13:24 +0000)]
Add GtkSwitch, a "light-switch" like widget
The GtkSwitch widget is a simple UI control that has two states: on and
off. Toggling between the states is possible by clicking the widget or
by dragging the handle.
https://bugzilla.gnome.org/show_bug.cgi?id=634987
Theppitak Karoonboonyanan [Mon, 29 Nov 2010 11:56:35 +0000 (18:56 +0700)]
Updated Thai translation.
Cosimo Cecchi [Mon, 29 Nov 2010 11:25:52 +0000 (12:25 +0100)]
app-chooser-button: include gtk-docs for show-dialog-item
Cosimo Cecchi [Mon, 29 Nov 2010 11:19:18 +0000 (12:19 +0100)]
app-chooser-button: rename GtkAppChooserComboBox -> GtkAppChooserButton
Emmanuele Bassi [Sun, 28 Nov 2010 18:49:47 +0000 (18:49 +0000)]
rgba: Invert the arguments and improve bindability
Since parse() is a method of the Gdk.RGBA class, the GdkRGBA pointer
should be the first argument, and the string the second one, to allow a
more natural binding.
https://bugzilla.gnome.org/show_bug.cgi?id=635879
Matthias Clasen [Sun, 28 Nov 2010 04:12:09 +0000 (23:12 -0500)]
Avoid delays in starting applications
Only query file info once, and don't do it for non-native files, since
that may cause sync network IO.
Bug http://bugzilla.gnome.org/show_bug.cgi?id=635588
Matthias Clasen [Sun, 28 Nov 2010 01:56:09 +0000 (20:56 -0500)]
Fix recursion in the GtkIconView accessible initialization
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634474
Spoiala Marian [Fri, 26 Nov 2010 14:01:41 +0000 (16:01 +0200)]
Updated Romanian translation
Lucian Adrian Grijincu [Fri, 26 Nov 2010 13:57:32 +0000 (15:57 +0200)]
Updated Romanian translation
Andika Triwidada [Fri, 26 Nov 2010 05:08:00 +0000 (12:08 +0700)]
Updated Indonesian translation
Bastien Nocera [Thu, 25 Nov 2010 22:42:13 +0000 (22:42 +0000)]
docs: Make docs build after GtkRuler removal
Lucian Adrian Grijincu [Thu, 25 Nov 2010 23:29:50 +0000 (01:29 +0200)]
Updated Romanian translation
Lucian Adrian Grijincu [Thu, 25 Nov 2010 23:25:14 +0000 (01:25 +0200)]
Updated Romanian translation (remove windows line endings)
Spoiala Marian [Thu, 25 Nov 2010 23:24:15 +0000 (01:24 +0200)]
Updated Romanian translation
Spoiala Marian [Thu, 25 Nov 2010 23:22:40 +0000 (01:22 +0200)]
Updated Romanian translation
Cosimo Cecchi [Thu, 25 Nov 2010 16:19:00 +0000 (17:19 +0100)]
tests: fix indentation
Cosimo Cecchi [Thu, 25 Nov 2010 16:17:45 +0000 (17:17 +0100)]
app-chooser-combobox: add a method to trigger the GtkAppChooserDialog
It's an optional special item in the combobox, turned off by default.
Tristan Van Berkom [Thu, 25 Nov 2010 05:37:02 +0000 (14:37 +0900)]
Changing GtkBox:fill child property default back to TRUE.
Since Havoc's patches introducing the GtkWidget halign/valign
properties, fill should always be TRUE. If the widget should
not fill its allocated space then it should set the halign or
valign properties for that purpose.
This also consequently fixes bug 634592.
Tristan Van Berkom [Thu, 25 Nov 2010 05:04:52 +0000 (14:04 +0900)]
Fixed GtkMenuShell to deactivate itself at dispose time
Since GdkDevice stuff, it seems that destroying an active
menu doesnt get rid of all the device grabery, this fixes
bug 635693.
Matthias Clasen [Wed, 24 Nov 2010 23:32:05 +0000 (18:32 -0500)]
Coding style fixups
This commit adjusts the app chooser code to GTK+ coding style:
- line up prototypes
- remove some excess {}
- remove tabs and trailing whitespace
- add docs
Matthias Clasen [Wed, 24 Nov 2010 21:50:00 +0000 (16:50 -0500)]
Coding style fixes
Matthias Clasen [Wed, 24 Nov 2010 21:47:15 +0000 (16:47 -0500)]
Improve packing in testappchooser
Matthias Clasen [Wed, 24 Nov 2010 21:09:55 +0000 (16:09 -0500)]
Fix reference counting for icons
Milan Bouchet-Valat [Wed, 24 Nov 2010 19:13:09 +0000 (20:13 +0100)]
Fix missing (transfer) annotations in GDK
Mostly missing (transfer none).
Michael Natterer [Wed, 24 Nov 2010 20:01:45 +0000 (21:01 +0100)]
Bug 565665 - GtkTargetEntry member target should be const char *
Michael Natterer [Wed, 24 Nov 2010 19:28:19 +0000 (20:28 +0100)]
gdk: remove GdkDeviceKey and GdkDeviceAxis from the public API
move GdkDeviceKey to gdkdevice.c because it's still used there, remove
GdkDeviceAxis entirely.
Michael Natterer [Wed, 24 Nov 2010 19:16:25 +0000 (20:16 +0100)]
gdk: gdk_device_get_n_keys() is now Since: 2.24
Cosimo Cecchi [Wed, 24 Nov 2010 18:08:17 +0000 (19:08 +0100)]
app-chooser-combobox: make refresh properly work with custom items
The refresh implementation leaves the custom items in place, and just
refreshes the recommended applications.
Cosimo Cecchi [Wed, 24 Nov 2010 17:45:42 +0000 (18:45 +0100)]
app-chooser-combobox: add an initial implementation
GtkAppChooserCombobox is an implementation of GtkAppChooser inside a
combobox that shows recommended applications for a given content type.
Cosimo Cecchi [Wed, 24 Nov 2010 16:11:17 +0000 (17:11 +0100)]
app-chooser-dialog: add a 'Forget Association' context menu item
Cosimo Cecchi [Wed, 24 Nov 2010 16:04:38 +0000 (17:04 +0100)]
app-chooser-widget: add a 'populate-popup' signal for context menus
This way applications can append items to the menu, which will
automatically show when there's more than one item in it.
Benjamin Otte [Wed, 24 Nov 2010 15:44:16 +0000 (16:44 +0100)]
gtk: Remove GtkRuler
It is really bad code, mostly unused and no one stepped up to fix it.
Note that Gtk developers do not object to a ruler widget in priciple,
just to the current implementation. If someone wants to propose a sane
version, please don't hesitate.
https://bugzilla.gnome.org/show_bug.cgi?id=613942
Benjamin Otte [Wed, 24 Nov 2010 15:40:40 +0000 (16:40 +0100)]
gtk: Remove unused variables from build scripts
ALL_FILES and INCLUDE_VARIABLES are unused
Benjamin Otte [Wed, 24 Nov 2010 15:39:32 +0000 (16:39 +0100)]
gtk: Uncruftify gtk.symbols
Benjamin Otte [Wed, 24 Nov 2010 15:18:46 +0000 (16:18 +0100)]
gdk: Remove unused macros from build
Both ALL_FILES and INCLUDE_VARIABLES don't exist anymore
Benjamin Otte [Wed, 24 Nov 2010 15:15:47 +0000 (16:15 +0100)]
gdk: Clean up gdk.symbols file
Remove all the macro madness and sort it alphabetically.
Cosimo Cecchi [Wed, 24 Nov 2010 14:50:08 +0000 (15:50 +0100)]
tests: remove radio mode from the test
Cosimo Cecchi [Wed, 24 Nov 2010 14:49:47 +0000 (15:49 +0100)]
Revert "open-with-dialog: remove automatic setting of support-for-type"
This reverts commit
4cfe12129626e8bc1edc87ce9977a1ec71947d7b .
Conflicts:
gtk/gtkappchooserdialog.c
Tor Lillqvist [Wed, 24 Nov 2010 12:36:18 +0000 (14:36 +0200)]
No fsync on Windows
Tor Lillqvist [Wed, 24 Nov 2010 12:26:53 +0000 (14:26 +0200)]
Fix compilation breakage in gdk/win32
John Ralls [Wed, 24 Nov 2010 00:52:24 +0000 (16:52 -0800)]
Replace references to sealed GdkDevice private variables with accessor calls in quartz.
Mario Blättermann [Tue, 23 Nov 2010 20:14:15 +0000 (21:14 +0100)]
[l10n] Updated German translation
Michael Natterer [Tue, 23 Nov 2010 19:25:13 +0000 (20:25 +0100)]
Move all GdkDevice members to private and add one missing accessor
Cosimo Cecchi [Tue, 23 Nov 2010 17:15:28 +0000 (18:15 +0100)]
open-with-widget: make sure to escape the string we use for markup
Cosimo Cecchi [Tue, 23 Nov 2010 17:10:01 +0000 (18:10 +0100)]
Revert "open-with-widget: don't check if the app supports URIs/files"
This reverts commit
b432242078c88b0b8b1762fb5c86424097dd5236 .
Cosimo Cecchi [Tue, 23 Nov 2010 16:23:37 +0000 (17:23 +0100)]
app-chooser: rename GtkOpenWith to GtkAppChooser
Cosimo Cecchi [Tue, 23 Nov 2010 15:50:21 +0000 (16:50 +0100)]
open-with-dialog: don't show the 'Show More...' button in all mode
Cosimo Cecchi [Tue, 23 Nov 2010 15:49:30 +0000 (16:49 +0100)]
open-with-widget: don't check if the app supports URIs/files
Because some apps are broken wrt. this property.
Cosimo Cecchi [Tue, 23 Nov 2010 15:48:48 +0000 (16:48 +0100)]
open-with-widget: add a show-default property
Cosimo Cecchi [Tue, 23 Nov 2010 15:47:24 +0000 (16:47 +0100)]
open-with-widget: remove context menu
The widget should not modify itself the application list in any way.
Cosimo Cecchi [Tue, 23 Nov 2010 15:45:43 +0000 (16:45 +0100)]
open-with-widget: remove radio mode
It's not useful for now.
Cosimo Cecchi [Tue, 23 Nov 2010 11:47:44 +0000 (12:47 +0100)]
open-with-pk: don't show an error if no apps are found
gnome-packagekit already shows a message dialog for us.
Cosimo Cecchi [Tue, 23 Nov 2010 11:47:16 +0000 (12:47 +0100)]
open-with-diaolog: set the default text according to the dialog mode
Cosimo Cecchi [Tue, 23 Nov 2010 11:46:34 +0000 (12:46 +0100)]
open-with-widget: let the default fallback text be customizable
We'll set it from the dialog.
Cosimo Cecchi [Mon, 22 Nov 2010 23:53:03 +0000 (00:53 +0100)]
tests: update to the new API
Cosimo Cecchi [Mon, 22 Nov 2010 22:05:59 +0000 (23:05 +0100)]
open-with: move the "Show more applications" button in the dialog
It doesn't really belong in the widget now that we have the new states.
Cosimo Cecchi [Mon, 22 Nov 2010 22:04:00 +0000 (23:04 +0100)]
open-with-dialog: remove automatic setting of support-for-type
We don't want to hardcode any kind of policy in these widgets/dialogs from
now on.
Cosimo Cecchi [Mon, 22 Nov 2010 22:02:57 +0000 (23:02 +0100)]
open-with: add a public _refresh() method
This can be useful now that we're splitting some items from the widget.
Cosimo Cecchi [Mon, 22 Nov 2010 21:59:05 +0000 (22:59 +0100)]
open-with-widget: move to a property-based state
We can enable on-demand one of the three sections (recommended,
fallback, other apps) or use the special ALL property to display everything
uncategorized.
These properties are also easily bindable from outside.
Cosimo Cecchi [Fri, 19 Nov 2010 18:55:24 +0000 (19:55 +0100)]
open-with-dialog: use misc_set_alignment instead of widget_set_halign
Cosimo Cecchi [Fri, 19 Nov 2010 17:33:05 +0000 (18:33 +0100)]
open-with-pk: don't set error if the user cancelled the installation
Cosimo Cecchi [Fri, 19 Nov 2010 17:05:53 +0000 (18:05 +0100)]
open-with-dialog: integrate the online capability
Cosimo Cecchi [Fri, 19 Nov 2010 17:00:55 +0000 (18:00 +0100)]
open-with: add a PackageKit module for online lookup of applications
It's implemented with a GIOExtensionPoint, which has two
implementations:
- a dummy one, which just errors out
- a PackageKit one, which looks up for the specified content type using
the PK DBus API and GDBus.
The PK module is optional, and can be compiled out at configure time.
TODO: a Win32 implementation of the module.
Cosimo Cecchi [Fri, 19 Nov 2010 12:08:20 +0000 (13:08 +0100)]
open-with-widget: don't forget to set the search column
Otherwise find-as-you-type won't work at all.
Cosimo Cecchi [Fri, 19 Nov 2010 12:07:56 +0000 (13:07 +0100)]
open-with-widget: don't sort by name recommended apps
William Jon McCann [Thu, 18 Nov 2010 23:16:08 +0000 (18:16 -0500)]
Using italics here actually introduces more visual clutter than anything
William Jon McCann [Thu, 18 Nov 2010 22:56:02 +0000 (17:56 -0500)]
Use Related instead of the somewhat jargonny fallback