]>
Pileus Git - ~andy/gtk/log
Benjamin Otte [Tue, 5 Oct 2010 22:56:22 +0000 (00:56 +0200)]
im-xim: Use window macros instead of drawable macros
Benjamin Otte [Tue, 5 Oct 2010 22:19:36 +0000 (00:19 +0200)]
API: x11: Remove gdk_x11_window_get_drawable_impl()
It's not used anymore
Benjamin Otte [Tue, 5 Oct 2010 22:13:49 +0000 (00:13 +0200)]
API: x11: Change GDK_WINDOW_XDISPLAY() macro
Instead of lots of magic, we can go the usual way of requesting the
XDisplay of the window's display. So we do that.
Benjamin Otte [Tue, 5 Oct 2010 22:08:25 +0000 (00:08 +0200)]
API: x11: gdk_drawable_get_xid => gdk_window_get_xid
Also moves the function implementations to gtkwindow-x11.c.
Jorge González [Thu, 2 Dec 2010 18:28:16 +0000 (19:28 +0100)]
Updated Spanish translation
Jorge González [Thu, 2 Dec 2010 18:28:12 +0000 (19:28 +0100)]
Updated Spanish translation
Bastien Nocera [Thu, 2 Dec 2010 14:52:22 +0000 (14:52 +0000)]
gtk: Centre the text under the icon in GtkIconView
No point in setting the alignment to centre if we don't center it
within the cell itself.
Matthias Clasen [Thu, 2 Dec 2010 04:32:35 +0000 (23:32 -0500)]
Avoid a warning when finalizing toolbars
Recent changes cause disposing menus to emit ::deactivate. So better
disconnect the deactivate handler first.
Cosimo Cecchi [Wed, 1 Dec 2010 19:18:12 +0000 (20:18 +0100)]
app-chooser-button: don't insert empty rows in the combobox
Cosimo Cecchi [Wed, 1 Dec 2010 15:33:34 +0000 (16:33 +0100)]
app-chooser-button: add a note in the docs
Cosimo Cecchi [Wed, 1 Dec 2010 13:29:57 +0000 (14:29 +0100)]
app-chooser: add docs and symbols coverage for new API
Cosimo Cecchi [Wed, 1 Dec 2010 11:12:03 +0000 (12:12 +0100)]
app-chooser-button: add gtk_app_chooser_button_set_active_custom_item()
This allows to pre-select a custom item.
Cosimo Cecchi [Wed, 1 Dec 2010 15:29:57 +0000 (16:29 +0100)]
app-chooser-button: make sure to always get a valid iter
Even in case there are no installed applications for our content type.
Bastien Nocera [Mon, 22 Nov 2010 17:46:25 +0000 (17:46 +0000)]
gtk: Allow hiding the trough/slider in GtkScale
When setting a GtkRange's upper and lower values to the same
value, the slider will not be drawn any more.
https://bugzilla.gnome.org/show_bug.cgi?id=549720
Ivar Smolin [Wed, 1 Dec 2010 11:17:39 +0000 (13:17 +0200)]
[l10n] Updated Estonian translation
Mahyar Moghimi [Wed, 1 Dec 2010 10:49:46 +0000 (14:19 +0330)]
Updating Persian translation
Mahyar Moghimi [Wed, 1 Dec 2010 10:46:19 +0000 (14:16 +0330)]
Updating Persian translation
Emmanuele Bassi [Tue, 30 Nov 2010 21:54:48 +0000 (21:54 +0000)]
switch: Fix the attribution line
Thomas Wood pointed out that the original MxGtkLightSwitch widget upon
which I based the behaviour of GtkSwitch was not written by him; the
original authors are:
Joshua Lock
Robert Staudinger
Jussi Kukkonen
My apologies to all of them.
Matthias Clasen [Tue, 30 Nov 2010 03:08:09 +0000 (22:08 -0500)]
Update checkmenuitem docs slightly
Cosimo Cecchi [Tue, 30 Nov 2010 16:31:59 +0000 (17:31 +0100)]
Merge branch 'open-with-dialog'
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
Guillaume Desmottes [Tue, 30 Nov 2010 14:59:49 +0000 (15:59 +0100)]
gtkspinner: don't setup the timeout twice (#636129)
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