]>
Pileus Git - ~andy/gtk/log
Daniel Mustieles [Sat, 5 Mar 2011 12:16:06 +0000 (13:16 +0100)]
Added Spanish translation
Duarte Loreto [Fri, 4 Mar 2011 23:34:51 +0000 (23:34 +0000)]
Updated Portuguese translation
Duarte Loreto [Fri, 4 Mar 2011 23:33:55 +0000 (23:33 +0000)]
Updated Portuguese translation
Duarte Loreto [Fri, 4 Mar 2011 23:32:59 +0000 (23:32 +0000)]
Updated Portuguese translation
Xan Lopez [Fri, 4 Mar 2011 20:43:08 +0000 (21:43 +0100)]
spinbutton: remove unused variable
Matthias Clasen [Fri, 4 Mar 2011 18:55:06 +0000 (13:55 -0500)]
Prime NEWS for 3.0.2
Cosimo Cecchi [Mon, 28 Feb 2011 20:44:53 +0000 (15:44 -0500)]
spinbutton: rework GtkSpinButton drawing handler
Make the arrows bigger, and position them according to the mockups.
Cosimo Cecchi [Fri, 4 Mar 2011 16:12:32 +0000 (11:12 -0500)]
Revert "spinbutton: center-align by default"
This reverts commit
64ef11985bb11de3e1369cfa3d187d274096cf6e .
Abduxukur Abdurixit [Fri, 4 Mar 2011 15:36:06 +0000 (16:36 +0100)]
Added UG translation
Abduxukur Abdurixit [Fri, 4 Mar 2011 15:29:30 +0000 (16:29 +0100)]
Added UG translation
Abduxukur Abdurixit [Fri, 4 Mar 2011 15:27:22 +0000 (16:27 +0100)]
Added UG translation
Daniel Korostil [Fri, 4 Mar 2011 08:58:08 +0000 (10:58 +0200)]
Uploaded Ukranian
Piotr Drąg [Fri, 4 Mar 2011 08:54:03 +0000 (09:54 +0100)]
Updated Polish translation
Matthias Clasen [Fri, 4 Mar 2011 00:24:02 +0000 (19:24 -0500)]
Bump the Pango requirement to 1.24
This avoids warnings in some situations. 1.24 is 2 years old,
so should not cause any problems.
https://bugzilla.gnome.org/show_bug.cgi?id=643370
Matthias Clasen [Thu, 3 Mar 2011 23:26:09 +0000 (18:26 -0500)]
GtkNotebooks: fix regressions from tab-pack removal
Matthias Clasen [Thu, 3 Mar 2011 23:24:58 +0000 (18:24 -0500)]
GtkNotebook: Don't let tab allocation go negative
Cosimo Cecchi [Thu, 3 Mar 2011 22:47:50 +0000 (17:47 -0500)]
Cleanup unused variables
Cosimo Cecchi [Thu, 3 Mar 2011 15:13:29 +0000 (10:13 -0500)]
docs: update to include the new style classes
Cosimo Cecchi [Thu, 3 Mar 2011 15:13:10 +0000 (10:13 -0500)]
stylecontext: add a primary toolbar style class
Cosimo Cecchi [Thu, 3 Mar 2011 03:55:25 +0000 (22:55 -0500)]
all: add a "separator" style class
Cosimo Cecchi [Wed, 2 Mar 2011 23:41:24 +0000 (18:41 -0500)]
menuitem: set the menubar style class for menu items on a bar
So that themes can distinguish them from the other menu items.
Cosimo Cecchi [Wed, 2 Mar 2011 21:06:09 +0000 (16:06 -0500)]
window: don't confuse priv->type_hint with priv->gdk_type_hint
This broke, among the others, menu rendering.
Cosimo Cecchi [Wed, 2 Mar 2011 03:33:15 +0000 (22:33 -0500)]
menuitem: mark with the GTK_STYLE_CLASS_MENUITEM style class
Cosimo Cecchi [Wed, 2 Mar 2011 03:31:13 +0000 (22:31 -0500)]
Use 16 as default size for checkbutton indicator
So that 16x16 icons can be used from themes such as Adwaita in their
natural size.
Cosimo Cecchi [Tue, 1 Mar 2011 14:00:19 +0000 (09:00 -0500)]
switch: remove slider padding from available allocation when drawing
This also simplifies the code a bit, and makes previous workarounds
useless.
Cosimo Cecchi [Tue, 1 Mar 2011 13:59:02 +0000 (08:59 -0500)]
switch: fetch the padding values from the slider
It's the slider which acts as a child inside the container through, so
we should fetch the slider padding when computing height/width.
Cosimo Cecchi [Mon, 28 Feb 2011 23:46:46 +0000 (18:46 -0500)]
switch: propagate the active state to the slider
Cosimo Cecchi [Mon, 28 Feb 2011 21:37:52 +0000 (16:37 -0500)]
combobox: add an arrow-scaling property to GtkComboBox
Cosimo Cecchi [Mon, 28 Feb 2011 20:45:51 +0000 (15:45 -0500)]
spinbutton: center-align by default
Cosimo Cecchi [Sun, 27 Feb 2011 00:29:44 +0000 (19:29 -0500)]
arrow: x and y coordinates of the arrow rendering should be double
To prevent off-by-one rounding errors when drawing them later.
Cosimo Cecchi [Sun, 27 Feb 2011 00:29:08 +0000 (19:29 -0500)]
range: x and y coordinates of the arrow rendering should be double
To prevent off-by-one rounding errors when drawing them later.
Cosimo Cecchi [Sun, 27 Feb 2011 00:28:33 +0000 (19:28 -0500)]
range: don't set junction sides on scrollbar steppers
Matthias Clasen [Thu, 3 Mar 2011 21:47:55 +0000 (16:47 -0500)]
GtkScale: Add style classes for marks
This enables better styling of the slider in the presence of
marks. Based on a patch by Bastien Nocera,
https://bugzilla.gnome.org/show_bug.cgi?id=643685
Matthias Clasen [Thu, 3 Mar 2011 21:30:21 +0000 (16:30 -0500)]
GtkScale: Normalize mark positions
This is in preparation for making scale marks styling better.
As a side-effect, TOP and LEFT position are treated the same now,
as well as BOTTOM and RIGHT.
Based on a patch by Bastien Nocera,
https://bugzilla.gnome.org/show_bug.cgi?id=643685
John (J5) Palmieri [Thu, 3 Mar 2011 21:06:28 +0000 (16:06 -0500)]
[gi] don't skip gtk_menu_attach_to_widget, correctly annotate the async callback
John (J5) Palmieri [Thu, 3 Mar 2011 21:05:28 +0000 (16:05 -0500)]
[gi] add missing annotations for signals that emit Gdk.Events
Matthias Clasen [Thu, 3 Mar 2011 18:48:34 +0000 (13:48 -0500)]
Add a test for interpretation of mark positions
Matthias Clasen [Thu, 3 Mar 2011 03:17:02 +0000 (22:17 -0500)]
Don't distribute gdkconfig.h
https://bugzilla.gnome.org/show_bug.cgi?id=643440
Matthias Clasen [Thu, 3 Mar 2011 01:07:36 +0000 (20:07 -0500)]
Add GtkBuilder custom attributes for style classes
GtkWidget now parses custom attributes like
<style>
<class name="dark-label"/>
<class name="big-heading"/>
</style>
to add style classes to widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=643347
Duarte Loreto [Wed, 2 Mar 2011 23:48:34 +0000 (23:48 +0000)]
Updated Portuguese translation
Benjamin Otte [Wed, 2 Mar 2011 16:29:21 +0000 (17:29 +0100)]
window: Add check for X11 window when calling x11 function
Benjamin Otte [Wed, 2 Mar 2011 16:18:49 +0000 (17:18 +0100)]
settings: Always use the same default values
Set the Mac key theme when creating a Quartz settings object instead of
having it the default when quartz is enabled.
This keeps compatibility with the GTK2 behavior that the Mac key theme
is not used for the X11 backend, which could now happen for a
multi-backend build.
Benjamin Otte [Wed, 2 Mar 2011 16:02:51 +0000 (17:02 +0100)]
settings: Keep the GtkSettings object identical no matter the backend
Previously we were enabling some settings properties only if the X11
backend was enabled. This worked fine with GTK2 where only one backend
was enabled at a time, but now when multiple backends can be enabled,
this does not make sense.
Benjamin Otte [Wed, 2 Mar 2011 15:21:44 +0000 (16:21 +0100)]
settings: Avoid a segfault when loading keyfile
When the keyfile is loaded, no screen exists yet, so we need to vheck
for that.
Tristan Van Berkom [Tue, 1 Mar 2011 10:41:15 +0000 (19:41 +0900)]
Allow GtkAppChooser classes to be instantiated with content-type=NULL.
Mostly for corner cases such as Glade that treats objects generically
and needs to have an object that doesnt crash out of g_object_new().
Leonid Kanter [Tue, 1 Mar 2011 14:20:21 +0000 (16:20 +0200)]
update Russian translation
Matthias Clasen [Tue, 1 Mar 2011 00:24:29 +0000 (19:24 -0500)]
Don't use GDK_NONE when GDK_SELECTION_CLIPBOARD is meant
Patricia Santana Cruz [Mon, 28 Feb 2011 16:54:31 +0000 (17:54 +0100)]
Removed incorrect description's sentence.
Description was wrong when it explained: "The two areas are separated
by a GtkHSeparator.". These separators are not used any more.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=643496
Michael Natterer [Mon, 28 Feb 2011 16:34:52 +0000 (17:34 +0100)]
gdk: add precondition checks to many GdkDisplay functions
instead of crashing in GDK_DISPLAY_GET_CLASS(NULL)->foo(NULL);
Matthias Clasen [Mon, 28 Feb 2011 12:52:59 +0000 (07:52 -0500)]
Don't assert on zero width/height in render functions
We can just silently ignore those rendering calls.
https://bugzilla.gnome.org/show_bug.cgi?id=643041
Michael Natterer [Sun, 27 Feb 2011 14:06:41 +0000 (15:06 +0100)]
gdk: gdk_x11_device_xi2_get_state(): move stuff to local scope
Daniel Korostil [Sun, 27 Feb 2011 10:20:37 +0000 (12:20 +0200)]
Uploaded Ukranian
Matthias Clasen [Sun, 27 Feb 2011 03:13:06 +0000 (22:13 -0500)]
Drop _gdk_x11_set_input_focus_safe
All that this function did was to asynchronously catch errors.
Since we have asynchronous error traps now, we can just use
XSetInputFocus().
Daniel Korostil [Sat, 26 Feb 2011 20:01:32 +0000 (22:01 +0200)]
Uploaded Ukranian
Matthias Clasen [Sat, 26 Feb 2011 05:23:47 +0000 (00:23 -0500)]
List all available icons in Makefile.am
This mismatch was causing e.g. gtk-caps-lock-warning.png to show
up as missing image in entries.
Matthias Clasen [Fri, 25 Feb 2011 20:47:03 +0000 (15:47 -0500)]
GtkSwitch: use regular activation
GtkSwitch was listening for Space/Enter keyreleases itself, instead
of providing an 'activate' action signal, like e.g GtkButton. As a
side-effect, this fixes
https://bugzilla.gnome.org/show_bug.cgi?id=643321
Matthias Clasen [Fri, 25 Feb 2011 19:37:57 +0000 (14:37 -0500)]
GtkTrayIcon: chain up in dispose
Pointed out in bug 643131
Tristan Van Berkom [Fri, 25 Feb 2011 07:00:20 +0000 (16:00 +0900)]
More patchwork for icon view subclasses that access the icon view api prematurely.
In this patch we adress rows_reordered() and row_deleted() callbacks
(since some icon view subclasses manipulate the connected treemodel
from _init()).
Tristan Van Berkom [Fri, 25 Feb 2011 05:53:12 +0000 (14:53 +0900)]
More patchwork to ensure GtkIconView subclasses can use the icon view api
from the subclass's instance structure initializer
Carlos Garcia Campos [Thu, 24 Feb 2011 16:38:40 +0000 (17:38 +0100)]
Copy event axes for double/triple click events in gdk_event_copy()
Button event axes for double/triple click events are freed by
gdk_event_free(), so copy them to avoid an invalid free when releasing a
copied event.
Federico Mena Quintero [Thu, 24 Feb 2011 20:53:09 +0000 (14:53 -0600)]
[GtkFileChooser] Fix initial selection when hidden files are shown
We were breaking prematurely out of the loop that goes through
each file that is pending selection; not only does that loop
disable filtering and show hidden files if needed, but it also
selects the files themselves. So we need to walk the whole
list of files.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=643170
Tristan Van Berkom [Thu, 24 Feb 2011 07:05:41 +0000 (16:05 +0900)]
Added documentation to "cell-area" construct-only properties.
Indicate what kind of area will be used by default if none is
provided by the user.
Alexander Larsson [Thu, 24 Feb 2011 18:44:16 +0000 (19:44 +0100)]
Avoid spurious emissions of monitors-changed
The monitor change detection code in _gdk_x11_screen_size_changed() and
process_monitors_change() goes to some length to make sure its only emitted
when there is an actual change to the data visible via the GdkScreen monitors
api.
However, commit
662e69ad added some code that always emits "monitors-changed"
in _gdk_x11_screen_size_changed when we have randr13 and get a ConfigureNotify
on the root window (even though we may already have emitted it in the
RRScreenChangesNotify event!).
As far as I can tell this is due to a comment in the bug referenced by the
commit (https://bugzilla.gnome.org/show_bug.cgi?id=601712#c4) where it says:
This version of the patch changes GdkDisplay to emit "monitors-changed" when
the primary monitor changes (see the change in _gdk_x11_screen_size_changed).
And, if you remove this part of the change the signal is not emitted when just
the primary is changed. However, this is not really the right approach. We
should just also check for if the primary changes in process_monitors_change()
to avoid spurious signal emissions.
https://bugzilla.gnome.org/show_bug.cgi?id=643216
Klemen Košir [Thu, 24 Feb 2011 16:23:23 +0000 (17:23 +0100)]
Updated Slovenian translation
Tristan Van Berkom [Wed, 23 Feb 2011 13:07:27 +0000 (22:07 +0900)]
Removed unused EXPOSE_EVENT enumeration from the GtkWidget signals.
Tristan Van Berkom [Wed, 23 Feb 2011 12:58:48 +0000 (21:58 +0900)]
Remove mention of GtkWidget::expose-event from docs in gtkwidget.c
Tristan Van Berkom [Wed, 23 Feb 2011 11:50:50 +0000 (20:50 +0900)]
Add more defensive code to avoid accessing GtkIconView's cell area before it exists.
Adding these cases here to cater to icon view subclasses that want to
access icon view APIs from the instance structure initializer instead
of properly waiting for the super class to initialize and adding renderers
from the ->constructor() vfunc.
Christian Kirbach [Wed, 23 Feb 2011 22:08:02 +0000 (23:08 +0100)]
[l10n] Updated German translation
Aron Xu [Wed, 23 Feb 2011 17:19:35 +0000 (17:19 +0000)]
Update Simplified Chinese translation.
Murray Cumming [Wed, 23 Feb 2011 10:09:20 +0000 (11:09 +0100)]
More tiny documentation typo fixes.
Murray Cumming [Wed, 23 Feb 2011 09:26:21 +0000 (10:26 +0100)]
Minor documentation improvements
Mostly correcting it's to its and changing some , to .
Murray Cumming [Wed, 23 Feb 2011 08:37:06 +0000 (09:37 +0100)]
GdkDevice: Minor improvement to the overview documentation.
The last paragraph still seems to be out of place though, as if it
was a previous attempt at an overview or part of some older text
elsewhere.
This overuses the passive too.
Matthias Clasen [Mon, 21 Feb 2011 23:58:22 +0000 (18:58 -0500)]
Post-release version bump to 3.0.2
Matthias Clasen [Mon, 21 Feb 2011 23:52:27 +0000 (18:52 -0500)]
Remove more unwanted garbage
Matthias Clasen [Mon, 21 Feb 2011 23:41:46 +0000 (18:41 -0500)]
Remove some unwanted garbage
Matthias Clasen [Mon, 21 Feb 2011 23:34:09 +0000 (18:34 -0500)]
Fix distcheck
Matthias Clasen [Mon, 21 Feb 2011 23:09:57 +0000 (18:09 -0500)]
Update NEWS
Matthias Clasen [Mon, 21 Feb 2011 22:31:37 +0000 (17:31 -0500)]
Don't export extra symbols for accessibility
Alexander Shopov [Sun, 23 Jan 2011 08:00:53 +0000 (10:00 +0200)]
Updated Bulgarian translation
A S Alam [Mon, 21 Feb 2011 01:32:22 +0000 (07:02 +0530)]
update Punjabi Translation by A S Alam
Marc-André Lureau [Mon, 21 Feb 2011 00:44:35 +0000 (01:44 +0100)]
gdk_cursor_new_from_pixmap: Fix gdk_display_is_closed call
This was typoed in commit
dfe6ba932ca798c53121f90b7d696b5d2231a179
https://bugzilla.gnome.org/show_bug.cgi?id=642843
Benjamin Otte [Sun, 20 Feb 2011 23:06:08 +0000 (00:06 +0100)]
docs: Fix typo
Benjamin Otte [Sun, 20 Feb 2011 22:42:43 +0000 (23:42 +0100)]
docs: Replace pixmap use in migration guide with cairo surfaces
Merge my patch for this with Matthias' previous patch and keep the best
of both.
https://bugzilla.gnome.org/show_bug.cgi?id=642677
Benjamin Otte [Sun, 20 Feb 2011 22:35:16 +0000 (23:35 +0100)]
textview: Remove x/y arguments from render_para() func
We were only passing 0 anyway and it's easy to translate the cairo
context in use instead of passing x/y coordinates.
Benjamin Otte [Sun, 20 Feb 2011 22:29:49 +0000 (23:29 +0100)]
textview: Translate the cairo context instead of keeping y value
This avoids overflow when transforming a large value to a pango unit.
To reproduce the problem:
seq 200000 > test.txt && tets/print-editor test.txt
Then scroll to around line 140.000 to see it (depends on font size of
course).
Matthias Clasen [Sun, 20 Feb 2011 22:03:45 +0000 (17:03 -0500)]
Remove no-longer existing API from the migration guide
Some parts of the migration guide were written before the demise
of pixmaps, and still referred to pixmap API in their replacements.
Tor Lillqvist [Sun, 20 Feb 2011 21:54:57 +0000 (23:54 +0200)]
Tweak include order a bit to get around compilation errors
wintab.h defines an INT() macro that interfers with some lines in
commctrl.h.
Matthias Clasen [Sun, 20 Feb 2011 21:46:27 +0000 (16:46 -0500)]
Fix spelling
It is 'accessible', not 'accesible'.
Matthias Clasen [Sun, 20 Feb 2011 21:44:26 +0000 (16:44 -0500)]
React to is-focus change, not ignore it
A very old bug, noticed in
https://bugzilla.gnome.org/show_bug.cgi?id=642791
Jorge González [Sun, 20 Feb 2011 17:48:11 +0000 (18:48 +0100)]
Updated Spanish translation
Jorge González [Sun, 20 Feb 2011 17:47:10 +0000 (18:47 +0100)]
Updated Spanish translation
Jorge González [Sun, 20 Feb 2011 17:22:59 +0000 (18:22 +0100)]
Updated Spanish translation
Bruce Cowan [Sun, 20 Feb 2011 17:02:13 +0000 (17:02 +0000)]
Updated British English translation
Gabor Kelemen [Sun, 20 Feb 2011 14:55:58 +0000 (15:55 +0100)]
Updated Hungarian translation
Matthias Clasen [Sun, 20 Feb 2011 14:46:42 +0000 (09:46 -0500)]
Correctly treat GdkColor properties
Noticed by Daniel Garcia,
https://bugzilla.gnome.org/show_bug.cgi?id=642782
Daniel Mustieles [Sun, 20 Feb 2011 13:02:24 +0000 (14:02 +0100)]
Updated Spanish translation
Tor Lillqvist [Sat, 19 Feb 2011 23:39:13 +0000 (01:39 +0200)]
Handle emulated keyboard input that arrives as VK_PACKET
Fixes bug #642772. Thanks to the anonymous bug reporter for providing
a test program.
Matthias Clasen [Sat, 19 Feb 2011 18:47:43 +0000 (13:47 -0500)]
Replace GtkStyle uses from migration guide examples
Part of https://bugzilla.gnome.org/show_bug.cgi?id=642677
Matthias Clasen [Sat, 19 Feb 2011 18:34:42 +0000 (13:34 -0500)]
Fix a typo
https://bugzilla.gnome.org/show_bug.cgi?id=642751
Andre Klapper [Sat, 19 Feb 2011 18:33:21 +0000 (19:33 +0100)]
Fix typo