]>
Pileus Git - ~andy/gtk/log
Owen W. Taylor [Tue, 7 Sep 2010 17:58:36 +0000 (13:58 -0400)]
Fix annotations for gdk_window_get_device_position()
Add (out) and (transfer none) as appropriate
John (J5) Palmieri [Tue, 7 Sep 2010 17:50:40 +0000 (13:50 -0400)]
add annotations for tranfer and scope so that methods are exported by GI
John (J5) Palmieri [Tue, 7 Sep 2010 16:06:29 +0000 (12:06 -0400)]
add array annotation to gtk_builder_add_objects_from_string
John (J5) Palmieri [Tue, 7 Sep 2010 02:55:03 +0000 (22:55 -0400)]
add gtk_radio_button_join_group method for bindings
* this mirrors the committed change for gtk_radio_action_join_group in
commit
85b53969b24d318b219663841e678943516f443a
* Due to object ownership issues it is impossible to correctly use
get_group/set_group from a GI binding
* join_group is safer because at the binding level it works with individual
GtkRadioButton objects and not with the list of objects that gets
modified in the library
https://bugzilla.gnome.org/show_bug.cgi?id=628935
Tristan Van Berkom [Tue, 7 Sep 2010 07:21:44 +0000 (16:21 +0900)]
Removed x/y/x_set/y_set from GtkWidgetAuxInfo
These members of GtkWidgetAuxData can no longer be set after
the removal of deprecated gtk_widget_set_uposition(), now removed
these members completely and removed the access to them from
gtk_widget_size_allocate().
Tristan Van Berkom [Tue, 7 Sep 2010 06:45:15 +0000 (15:45 +0900)]
Removed _gtk_window_reposition()
_gtk_window_reposition() was only some extra confusing code, internally
it only calls the public API gtk_window_move()... replaced calls to
_gtk_window_reposition() with direct calls to gtk_window_move() and
removed the redundant internal API (probably there only for some historical
reason).
Havoc Pennington [Mon, 6 Sep 2010 23:15:51 +0000 (19:15 -0400)]
Use a bitfield for Widget::private_flags, ::state, ::saved_state
This recovers 10 bits, since state and saved_state as uint8 both
wasted 5 bits. Now we can add 10 more flags.
Also, a possible future patch could just do 1-bit bitfields
for the private flags instead of using manual bit twiddling.
https://bugzilla.gnome.org/show_bug.cgi?id=628884
Matthias Clasen [Tue, 7 Sep 2010 04:10:26 +0000 (00:10 -0400)]
Avoid segfault on xkbless systems
This was reported in bug 628932 to cause problems on VNC.
Duarte Loreto [Mon, 6 Sep 2010 23:51:47 +0000 (00:51 +0100)]
Updated Portuguese translation
Klemen Košir [Mon, 6 Sep 2010 14:47:25 +0000 (16:47 +0200)]
Updated Slovenian translation
Baurzhan Muftakhidinov [Mon, 6 Sep 2010 04:28:05 +0000 (10:28 +0600)]
Updated Kazakh translation
Matthias Clasen [Mon, 6 Sep 2010 04:26:17 +0000 (00:26 -0400)]
Remove use of ::has-separator property
Matthias Clasen [Mon, 6 Sep 2010 03:55:47 +0000 (23:55 -0400)]
Remove some unused enums
The GtkAnchorType and GtkVisibility enums are not used anywhere,
so remove them.
Havoc Pennington [Mon, 6 Sep 2010 01:46:22 +0000 (21:46 -0400)]
Warn if a widget requests minimum size > natural size
Since this makes no sense and there's no reason we should
have to check for it elsewhere just in case some widget is
busted.
https://bugzilla.gnome.org/show_bug.cgi?id=628808
Havoc Pennington [Mon, 6 Sep 2010 01:42:35 +0000 (21:42 -0400)]
Add more "reserved for expansion" fields to GtkWidgetClass
Only 3 were left. 3.x cycle may need more.
https://bugzilla.gnome.org/show_bug.cgi?id=628807
Claude Paroz [Sat, 4 Sep 2010 21:21:19 +0000 (23:21 +0200)]
Updated French translation
Murray Cumming [Sat, 4 Sep 2010 11:18:09 +0000 (13:18 +0200)]
GtkStatusIcon: Remove get/set_blinking() declarations from header.
This was apparently forgotten in
commit
18b47b6cd03f0f6da777ad3a5e2795cbf458b804 .
Martin Schlemmer [Fri, 3 Sep 2010 20:18:21 +0000 (22:18 +0200)]
MS Windows engine: draw elements in the right place.
Work in progress, still remains to be solved the problem of clipping.
Matej Urbančič [Fri, 3 Sep 2010 17:16:38 +0000 (19:16 +0200)]
Updated Slovenian translation
Matthew Barnes [Fri, 3 Sep 2010 16:48:50 +0000 (12:48 -0400)]
Don't leak display name
Bug 628656 - _gdk_windowing_get_startup_notify_id memory leak
get_display_name() returns a newly allocated string, which was being fed
directory info a g_strdup_printf() call.
Benjamin Otte [Fri, 3 Sep 2010 15:09:00 +0000 (17:09 +0200)]
style: Use gtk_widget_get_state() for the entry background
New code sets the entry background to GTK_STATE_ACTIVE when it has focus
and the active color in the default theme looks rather bad.
Mattias Põldaru [Fri, 3 Sep 2010 15:06:48 +0000 (18:06 +0300)]
[l10n] Updated Estonian translation
Benjamin Otte [Fri, 3 Sep 2010 15:01:06 +0000 (17:01 +0200)]
entry: Use the same state for the flat box of text area and icons
Benjamin Otte [Fri, 3 Sep 2010 11:39:24 +0000 (13:39 +0200)]
x11: Unused variable
Benjamin Otte [Fri, 3 Sep 2010 11:39:10 +0000 (13:39 +0200)]
range: Unused variable
Benjamin Otte [Fri, 3 Sep 2010 11:38:55 +0000 (13:38 +0200)]
window: Use brackets to silence gcc
Benjamin Otte [Fri, 3 Sep 2010 11:38:29 +0000 (13:38 +0200)]
tests: Remove all code relating to the blink menu item
Matthias Clasen [Fri, 3 Sep 2010 02:56:41 +0000 (22:56 -0400)]
Document --disable-Bsymbolic option
Matthias Clasen [Fri, 3 Sep 2010 02:56:15 +0000 (22:56 -0400)]
Remove unused --disable-visibility option
Tor Lillqvist [Thu, 2 Sep 2010 21:13:36 +0000 (00:13 +0300)]
Just use TrackMouseEvent directly
TrackMouseEvent is present in user32.dll in all Windows versions we
support. No need to look it up dynamically. No need to fallback to
_TrackMouseEvent from comctrl32.dll.
Colin Walters [Thu, 2 Sep 2010 20:48:45 +0000 (16:48 -0400)]
gtk-demo: Drop use of GTK_DIALOG_NO_SEPARATOR
Commit
d433a606111d89727530f71d7b956b dropped this API.
Klemen Košir [Thu, 2 Sep 2010 16:24:32 +0000 (18:24 +0200)]
Updated Slovenian translation
Fridrich Štrba [Thu, 2 Sep 2010 13:33:10 +0000 (15:33 +0200)]
Oops, make the MS Windows theme really compile.
Matthias Clasen [Thu, 2 Sep 2010 13:37:06 +0000 (09:37 -0400)]
Remove blinking from status icons
This feature was just a bad idea.
Matthias Clasen [Thu, 2 Sep 2010 13:35:50 +0000 (09:35 -0400)]
Adapt docs to dialog api changes
Matthias Clasen [Thu, 2 Sep 2010 13:31:54 +0000 (09:31 -0400)]
Adapt tests to dialog api change
Matthias Clasen [Thu, 2 Sep 2010 13:11:23 +0000 (09:11 -0400)]
Remove separators from dialogs
It seems more reasonable to remove this feature than to keep fighting
off every separator that pops up by accident in a dialog.
Fridrich Štrba [Thu, 2 Sep 2010 13:02:48 +0000 (15:02 +0200)]
Make the MS Windows engine compile again.
Nevertheless, it is not working and needs a lot of fixing before
it can be useful.
Matthias Clasen [Thu, 2 Sep 2010 12:57:51 +0000 (08:57 -0400)]
Update docs or GtkProgressBar api changes
Matthias Clasen [Thu, 2 Sep 2010 12:56:20 +0000 (08:56 -0400)]
Remove ::state-hint use
This use of the property was overlooked when it was removed.
We now always behave as if state-hint == TRUE.
Matthias Clasen [Thu, 2 Sep 2010 11:59:03 +0000 (07:59 -0400)]
Table gymnastics
Tor Lillqvist [Thu, 2 Sep 2010 11:30:59 +0000 (14:30 +0300)]
Avoid potential DLL hijacking in ms-windows theme engine
Load uxtheme.dll from an absolute path. A proper uxtheme.dll, if
present, will always be in the Windows system directory, so load it
from there.
Fridrich Štrba [Thu, 2 Sep 2010 07:41:55 +0000 (09:41 +0200)]
Adapt to progressbar api change
Fridrich Štrba [Thu, 2 Sep 2010 07:40:44 +0000 (09:40 +0200)]
Export one needed symbol
Tristan Van Berkom [Thu, 2 Sep 2010 06:36:36 +0000 (15:36 +0900)]
Enhanced/Simplified GtkWrapBox api as per Havoc's comments.
Made an enum GtkWrapBoxPacking for the expand/fill horizontal/vertical
boolean options... changed xpadding/ypadding to be horizontal-padding
and vertical-padding for a more consistent api and better readablility.
Tristan Van Berkom [Thu, 2 Sep 2010 05:22:55 +0000 (14:22 +0900)]
Some api changes for GtkWrapBox
Ammended documentation for GTK_WRAP_BOX_SPREAD_EVEN and renamed
GTK_WRAP_BOX_SPREAD_BEGIN -> GTK_WRAP_BOX_SPREAD_START.
Tristan Van Berkom [Thu, 2 Sep 2010 04:42:50 +0000 (13:42 +0900)]
Fixed GtkNotebook to not consult GtkWidget->requisition directly
GtkNotebook was filling widget->requisition directly at "size-request"
time instead of filling in the *requsition argument, also (more importantly)
at size_allocate time GtkNotebook was consulting the action widget's
widget->requisition directly instead of safely calling
gtk_widget_get_child_requisition(). This commit closes bgo #628068.
Matthias Clasen [Thu, 2 Sep 2010 04:05:32 +0000 (00:05 -0400)]
Add information about progressbar migration
Add a section to the migration guide about GtkProgressBar.
Also, actually include the wrap box docs.
Matthias Clasen [Thu, 2 Sep 2010 03:29:53 +0000 (23:29 -0400)]
Remove now unused GtkProgressBarOrientation enum
Matthias Clasen [Thu, 2 Sep 2010 03:27:00 +0000 (23:27 -0400)]
Convert GtkCellRendererProgress to a GtkOrientable
And add an inverted property to it, too.
Matthias Clasen [Thu, 2 Sep 2010 03:26:19 +0000 (23:26 -0400)]
Adapt testgtk progressbar test to api changes
Matthias Clasen [Thu, 2 Sep 2010 03:25:22 +0000 (23:25 -0400)]
Make GtkProgressBar implement GtkOrientable
This also means that gtk_progress_bar_[sg]et_orientation are
gone.
Matthias Clasen [Thu, 2 Sep 2010 03:24:20 +0000 (23:24 -0400)]
Split the GtkProgressBar::orientation property
We splict the orientation property into a GtkOrientation and a
'inverted' boolean, the same way that GtkRange is set up.
Matthias Clasen [Thu, 2 Sep 2010 03:03:48 +0000 (23:03 -0400)]
Rename GtkIconView::orientation property
Rename the ::orientation property of GtkIconView to item-orientation,
which is both clearer and avoids the conflict with the orientation
property of GtkOrientable implementations.
Matthias Clasen [Thu, 2 Sep 2010 02:09:44 +0000 (22:09 -0400)]
Remove GtkRange::activate-slider
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
Matthias Clasen [Thu, 2 Sep 2010 01:48:44 +0000 (21:48 -0400)]
Remove GtkRange::stepper-position-details
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
Matthias Clasen [Thu, 2 Sep 2010 01:30:47 +0000 (21:30 -0400)]
Remove GtkRange::trough-side-details
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
Matthias Clasen [Thu, 2 Sep 2010 00:58:39 +0000 (20:58 -0400)]
Remove GtkTreeView::row-ending-details
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
Matthias Clasen [Thu, 2 Sep 2010 00:21:21 +0000 (20:21 -0400)]
Remove GtkEntry::state-hint
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
Matthias Clasen [Thu, 2 Sep 2010 00:09:10 +0000 (20:09 -0400)]
Update NEWS for 2.90.7
Matthias Clasen [Thu, 2 Sep 2010 00:03:30 +0000 (20:03 -0400)]
Wrap box assimilation
Some coding style cleanups, rename Priv to Private, add docs
Matthias Clasen [Wed, 1 Sep 2010 23:15:59 +0000 (19:15 -0400)]
Update GtkButtonBox docs
Javier Jardón [Wed, 1 Sep 2010 18:18:22 +0000 (20:18 +0200)]
gtkscale: move documentation to inline comments
Javier Jardón [Wed, 1 Sep 2010 17:49:44 +0000 (19:49 +0200)]
gtktexttagtable: move documentation to inline comments
Javier Jardón [Wed, 1 Sep 2010 17:36:19 +0000 (19:36 +0200)]
gtktypeutils: move documentation to inline comments
Javier Jardón [Wed, 1 Sep 2010 17:29:02 +0000 (19:29 +0200)]
gtkimcontextsimple: move documentation to inline comments
Javier Jardón [Wed, 1 Sep 2010 17:23:52 +0000 (19:23 +0200)]
gtkimmulticontext: move documentation to inline comments
Colin Walters [Wed, 1 Sep 2010 17:10:48 +0000 (13:10 -0400)]
Add correct namespace prefix to ColorSelectionPrivate
gobject-introspection is now more strict about garbage in public headers.
Carl-Anton Ingmarsson [Wed, 1 Sep 2010 15:43:06 +0000 (17:43 +0200)]
docs: Further fix GtkStock documentation
Some icons were left out from the
commit
9688665334db1fe451a5141a0b1c241f09fc49d0
https://bugzilla.gnome.org/show_bug.cgi?id=628308
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Stefan Kost [Wed, 1 Sep 2010 14:31:44 +0000 (17:31 +0300)]
container: use priv in last commit
container->focus_child to container->priv->focus_child
Stefan Kost [Wed, 1 Sep 2010 12:13:09 +0000 (15:13 +0300)]
widget: more details on gtk_widget_grab_focus docs
Tell that widget needs to be mapped and realized.
Stefan Kost [Fri, 20 Aug 2010 10:55:41 +0000 (13:55 +0300)]
container: clarify the docs
Hightlight more that focus_child is a container internal thing and suggest
what application developers most likely were looking for instead.
Stefan Kost [Fri, 20 Aug 2010 10:48:17 +0000 (13:48 +0300)]
container: don't leak the focus_child ref count
gtk_conatiner_set_focus_child() takes a ref. Release the ref in _destroy().
Fixes #414712.
Matthias Clasen [Tue, 31 Aug 2010 04:30:59 +0000 (00:30 -0400)]
Fix GtkStock documentation
After the big icon rename, all the links in the docs have to
be updated, and we need to copy the right icons.
Colin Walters [Fri, 27 Aug 2010 21:32:43 +0000 (17:32 -0400)]
introspection: Update to new scanner API
* Add --warn-all
* Drop unnecessary of --strip-prefix; for GdkX11, use --symbol-prefix
https://bugzilla.gnome.org/show_bug.cgi?id=628160
Fridrich Štrba [Tue, 31 Aug 2010 16:02:31 +0000 (18:02 +0200)]
Porting MS Windows theme engine to cairo - Part 1: stippling
Fridrich Štrba [Tue, 31 Aug 2010 16:03:52 +0000 (18:03 +0200)]
Porting the MS Windows theme engine to cairo - Part 2 rectangle and line drawing
Dirgita [Tue, 31 Aug 2010 14:38:52 +0000 (21:38 +0700)]
Updated Indonesian translation
Dirgita [Tue, 31 Aug 2010 14:34:05 +0000 (21:34 +0700)]
Updated Indonesian translation
Javier Jardón [Sun, 15 Aug 2010 14:49:55 +0000 (16:49 +0200)]
gtk/gtkwindow: use accessor functions to access GtkWidget
Javier Jardón [Tue, 17 Aug 2010 13:14:20 +0000 (15:14 +0200)]
gtk/gtkplug.c: Use accessor functions to access GtkWindow
Javier Jardón [Sun, 29 Aug 2010 16:53:39 +0000 (18:53 +0200)]
Added _gtk_widget_get_wmclass() internal function
Needed by GtkPlug
Gabor Kelemen [Tue, 31 Aug 2010 00:28:25 +0000 (02:28 +0200)]
Updated Hungarian translation
Gabor Kelemen [Tue, 31 Aug 2010 00:26:03 +0000 (02:26 +0200)]
Updated Hungarian translation
Javier Jardón [Mon, 30 Aug 2010 23:24:30 +0000 (01:24 +0200)]
GtkScrolledWindow: move public members to private structure
Javier Jardón [Mon, 30 Aug 2010 23:33:15 +0000 (01:33 +0200)]
Gail: use accessor functions to access GtkScrolledWindow
Szilárd Pfeiffer [Mon, 30 Aug 2010 18:15:09 +0000 (20:15 +0200)]
Fixed minimum increment calculation of GailScaleButton.
Also implemented to use the adjustment to determine the current, minimum,
maximum values and mimimum increment just as the other widgets which have
adjustment.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=626710
Martin Schlemmer [Mon, 30 Aug 2010 18:03:04 +0000 (20:03 +0200)]
[win32] Properly draw the menu separator for Windows Vista/7.
Also adds the bits for transparency.
Martin Schlemmer [Mon, 30 Aug 2010 18:00:53 +0000 (20:00 +0200)]
[win32] Use pango_win32_font_description_from_logfontw() to get
the system font, instead of the code duplication.
Martin Schlemmer [Mon, 30 Aug 2010 17:57:42 +0000 (19:57 +0200)]
[win32] Fix some warnings related to type differences and unused variables
Tor Lillqvist [Mon, 30 Aug 2010 11:57:48 +0000 (14:57 +0300)]
Drop Win32 DLL ABI compatibility cruft
No need for that any longer as we are changing DLL name.
Tristan Van Berkom [Mon, 30 Aug 2010 09:25:14 +0000 (18:25 +0900)]
Fixed GtkToolPalette realize() vfunc.
It seems with latest GSEAL work for widget->window access a
call to gtk_widget_set_window() was missed (added the window
assignment and now the palette shows up in Glade again).
Tristan Van Berkom [Mon, 30 Aug 2010 09:24:41 +0000 (18:24 +0900)]
Fixing email address in copyright header for testwrapbox test.
Philip Withnall [Sat, 28 Aug 2010 12:51:41 +0000 (13:51 +0100)]
Miscellaneous property string fixes
Szilárd Pfeiffer [Sun, 29 Aug 2010 17:21:05 +0000 (19:21 +0200)]
modules/other/gail/gailtogglebutton.c: Add/remove indeterminate state
GailToggleButton does not set/unset ATK_STATE_INDETERMINATE according to the
value of GtkToggleButton's inconsistent property.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=626537
Javier Jardón [Sun, 29 Aug 2010 17:14:24 +0000 (19:14 +0200)]
Add gtk_calendar_day_is_marked() function
The marked state of calendar day is not accessible
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=627028
Daiki Ueno [Tue, 27 Jul 2010 08:09:45 +0000 (17:09 +0900)]
Fix typo in GtkIMContextClass doc.
Милош Поповић [Sun, 29 Aug 2010 18:14:16 +0000 (20:14 +0200)]
Updated Serbian translation
Tor Lillqvist [Sun, 29 Aug 2010 09:40:56 +0000 (12:40 +0300)]
Fix Win32 build
Matthias Clasen [Sun, 29 Aug 2010 02:42:59 +0000 (22:42 -0400)]
Remove deprecated GTK_SELECTION_EXTENDED selection mode