0ca07a6df7
Add a GtkSwitch
2010-11-29 10:14:21 -05:00
134e74177e
app-chooser-button: tabs to spaces
2010-11-29 16:10:58 +01:00
232a5c7b3b
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.
2010-11-29 16:04:59 +01:00
1f71d641e8
switch: Use ATK macros to reduce the amount of code
...
And the insanity.
Reviewed-by: Christian Persch <chpe@gnome.org >
2010-11-29 14:06:02 +00:00
9ad31a5a21
switch: Use the right value for comparison
2010-11-29 13:23:28 +00:00
ae95cdf8fc
switch: Add accessibility implementation
...
Modelled on GailToggleButton.
https://bugzilla.gnome.org/show_bug.cgi?id=634987
2010-11-29 12:52:10 +00:00
044040dfd1
docs: Add GtkSwitch to the API reference
...
https://bugzilla.gnome.org/show_bug.cgi?id=634987
2010-11-29 12:52:10 +00:00
0cd0e4091f
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
2010-11-29 12:52:10 +00:00
7d0e356946
Updated Thai translation.
2010-11-29 18:56:35 +07:00
8ae7993397
app-chooser-button: include gtk-docs for show-dialog-item
2010-11-29 12:25:52 +01:00
06f501fa07
app-chooser-button: rename GtkAppChooserComboBox -> GtkAppChooserButton
2010-11-29 12:19:18 +01:00
1779ae79a1
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
2010-11-28 19:01:51 +00:00
b0bf2b5202
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
2010-11-27 23:12:09 -05:00
289ad41bd1
Fix recursion in the GtkIconView accessible initialization
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634474
2010-11-27 20:56:09 -05:00
ec78fb1821
Updated Romanian translation
2010-11-26 16:03:14 +02:00
7c4f20f4e3
Updated Romanian translation
2010-11-26 16:02:41 +02:00
4df1214483
Updated Indonesian translation
2010-11-26 12:08:00 +07:00
b850f8bf18
docs: Make docs build after GtkRuler removal
2010-11-26 00:47:55 +00:00
24862a5f60
Updated Romanian translation
2010-11-26 01:29:50 +02:00
d588f85cc8
Updated Romanian translation (remove windows line endings)
2010-11-26 01:25:14 +02:00
e2e05e8bf3
Updated Romanian translation
2010-11-26 01:24:15 +02:00
e2f6cf4561
Updated Romanian translation
2010-11-26 01:22:40 +02:00
ef9543e978
tests: fix indentation
2010-11-25 17:32:13 +01:00
67e842be87
app-chooser-combobox: add a method to trigger the GtkAppChooserDialog
...
It's an optional special item in the combobox, turned off by default.
2010-11-25 17:30:01 +01:00
eb5a500495
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.
2010-11-25 14:37:02 +09:00
6716e7c3f1
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.
2010-11-25 14:08:55 +09:00
a498d9a9ba
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
2010-11-24 18:32:05 -05:00
f64448473e
Coding style fixes
2010-11-24 16:50:00 -05:00
964b684455
Improve packing in testappchooser
2010-11-24 16:47:15 -05:00
47308db2ba
Fix reference counting for icons
2010-11-24 16:09:55 -05:00
2e3935ba9d
Fix missing (transfer) annotations in GDK
...
Mostly missing (transfer none).
2010-11-24 21:37:20 +01:00
c00b85bf3f
Bug 565665 - GtkTargetEntry member target should be const char *
2010-11-24 21:01:45 +01:00
aaf8530177
gdk: remove GdkDeviceKey and GdkDeviceAxis from the public API
...
move GdkDeviceKey to gdkdevice.c because it's still used there, remove
GdkDeviceAxis entirely.
2010-11-24 20:28:19 +01:00
bdf18500ec
gdk: gdk_device_get_n_keys() is now Since: 2.24
2010-11-24 20:16:25 +01:00
183d75b812
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.
2010-11-24 19:08:17 +01:00
2a95707b4c
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.
2010-11-24 18:45:42 +01:00
627f9b70a7
app-chooser-dialog: add a 'Forget Association' context menu item
2010-11-24 17:12:08 +01:00
6b900cf276
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.
2010-11-24 17:12:04 +01:00
e0fb7a86e5
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
2010-11-24 16:56:10 +01:00
c5e25b1532
gtk: Remove unused variables from build scripts
...
ALL_FILES and INCLUDE_VARIABLES are unused
2010-11-24 16:40:40 +01:00
0c0b1c3a46
gtk: Uncruftify gtk.symbols
2010-11-24 16:39:32 +01:00
fd96b16c15
gdk: Remove unused macros from build
...
Both ALL_FILES and INCLUDE_VARIABLES don't exist anymore
2010-11-24 16:18:46 +01:00
cca530070e
gdk: Clean up gdk.symbols file
...
Remove all the macro madness and sort it alphabetically.
2010-11-24 16:15:47 +01:00
783b36398e
tests: remove radio mode from the test
2010-11-24 15:50:08 +01:00
067b4ccb33
Revert "open-with-dialog: remove automatic setting of support-for-type"
...
This reverts commit 4cfe121296
.
Conflicts:
gtk/gtkappchooserdialog.c
2010-11-24 15:49:47 +01:00
4e59750ac0
No fsync on Windows
2010-11-24 14:36:29 +02:00
290ecb0aba
Fix compilation breakage in gdk/win32
2010-11-24 14:26:53 +02:00
c0aae6644a
Replace references to sealed GdkDevice private variables with accessor calls in quartz.
2010-11-23 16:53:45 -08:00
38b8ab3002
[l10n] Updated German translation
2010-11-23 21:14:15 +01:00
fb5dd9f72f
Move all GdkDevice members to private and add one missing accessor
2010-11-23 20:25:13 +01:00