]>
Pileus Git - ~andy/gtk/log
Javier Jardón [Wed, 15 Dec 2010 23:56:28 +0000 (23:56 +0000)]
gtk/gtkclipboard.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:56:14 +0000 (23:56 +0000)]
gtk/gtkcolorbutton.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:55:59 +0000 (23:55 +0000)]
gtk/gtkcolorsel.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:55:45 +0000 (23:55 +0000)]
gtk/gtkdnd.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:55:31 +0000 (23:55 +0000)]
gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:55:18 +0000 (23:55 +0000)]
gtk/gtkfilechooserdefault.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:55:04 +0000 (23:55 +0000)]
gtk/gtkiconview.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:54:49 +0000 (23:54 +0000)]
gtk/gtklinkbutton.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:54:22 +0000 (23:54 +0000)]
gtk/gtknotebook.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:53:00 +0000 (23:53 +0000)]
gtk/gtktextbuffer: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:52:40 +0000 (23:52 +0000)]
gtk/gtktextview.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:52:26 +0000 (23:52 +0000)]
gtk/gtktoolpalette.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:52:02 +0000 (23:52 +0000)]
gtk/gtktreednd.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:51:23 +0000 (23:51 +0000)]
gtk/gtktreeview.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:57:13 +0000 (23:57 +0000)]
demos/gtk-demo/clipboard.c: Use accessor functions to access GtkSelectionData
Javier Jardón [Wed, 15 Dec 2010 23:47:45 +0000 (23:47 +0000)]
tests: Use accessor functions to access GtkSelectionData
Jorge González [Wed, 15 Dec 2010 21:00:00 +0000 (22:00 +0100)]
Updated Spanish translation
Carlos Garnacho [Wed, 15 Dec 2010 14:27:49 +0000 (15:27 +0100)]
Remove debug messages from GdkDevice
Benjamin Otte [Wed, 15 Dec 2010 13:29:37 +0000 (14:29 +0100)]
tests: Hardcode testinput colors instead of trying to use GtkStyle
Makes it work with new themeing APIs.
Benjamin Otte [Wed, 15 Dec 2010 13:29:04 +0000 (14:29 +0100)]
tests: Make testiconview-keynav set its custom style using CSS.
Benjamin Otte [Wed, 15 Dec 2010 13:25:19 +0000 (14:25 +0100)]
cssprovider: Explode if we fail to parse the default CSS
This can only happen if somebody really messed up with a checkin, and in
that case we want to explode early.
Benjamin Otte [Wed, 15 Dec 2010 11:44:26 +0000 (12:44 +0100)]
gail: Fix for new style code
Benjamin Otte [Wed, 15 Dec 2010 11:44:16 +0000 (12:44 +0100)]
xim: Fix for new style code
Benjamin Otte [Wed, 15 Dec 2010 11:28:14 +0000 (12:28 +0100)]
gtkrc: Remove unused code
Makes gcc happy.
Benjamin Otte [Wed, 15 Dec 2010 11:14:51 +0000 (12:14 +0100)]
gtk-demo: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
Benjamin Otte [Wed, 15 Dec 2010 11:08:01 +0000 (12:08 +0100)]
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
Benjamin Otte [Wed, 15 Dec 2010 11:04:52 +0000 (12:04 +0100)]
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
Benjamin Otte [Wed, 15 Dec 2010 11:04:15 +0000 (12:04 +0100)]
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
Benjamin Otte [Wed, 15 Dec 2010 11:03:46 +0000 (12:03 +0100)]
tests: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
Benjamin Otte [Wed, 15 Dec 2010 11:03:04 +0000 (12:03 +0100)]
dnd-quartz: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()
Benjamin Otte [Wed, 15 Dec 2010 10:52:33 +0000 (11:52 +0100)]
gdk: Don't use NULL for integers
Florian Müllner [Wed, 15 Dec 2010 11:52:16 +0000 (12:52 +0100)]
Complete renaming of gdk_enable_multidevice()
The function was renamed in commit
c4a5c2ed4 , but some places were
missed, most notably the public header.
Benjamin Otte [Wed, 15 Dec 2010 09:33:02 +0000 (10:33 +0100)]
size-request: Clamp size requests to screen size
Size requests should only ever need to return the screen's width/height
and max. This way, potentially large widgets (tree view or icon view)
don't need to do so many computations, but can stop when their computed
size has reached the screen size.
Matthias Clasen [Wed, 15 Dec 2010 03:21:39 +0000 (22:21 -0500)]
Optimize gdk_window_set_shape_combine_region
When setting no shape on an unshaped window, nothing changes,
so return early instead of recomputing lots of visibility
information.
Pointed out by Owen Taylor in bug 637156.
Matthias Clasen [Wed, 15 Dec 2010 03:15:33 +0000 (22:15 -0500)]
Remove gtk_widget_reset_shapes
See bug 637155.
Carlos Garnacho [Wed, 15 Dec 2010 02:33:01 +0000 (03:33 +0100)]
Improve docs for gtk_widget_reset_style().
Document that it may be needed in containers when
children are reordered.
Carlos Garnacho [Mon, 13 Dec 2010 11:28:18 +0000 (12:28 +0100)]
Add gdk_window_[gs]et_source_events()
This function will enable events for all devices of a given
GdkInputSource, either these available at the time of the call,
or these that are connected in the future.
Carlos Garnacho [Mon, 13 Dec 2010 11:20:34 +0000 (12:20 +0100)]
xi2: Improve device hierarchy handling
The xi2 device manager now handles slaves being detached and/or
attached to a master.
gdk_device_list_slaves() has been added so it is possible to
know how slaves relate with masters. The other backends (X11 and not)
don't neeed to to anything special here since their hierarchy is
fully flat.
Carlos Garnacho [Wed, 15 Dec 2010 01:34:42 +0000 (02:34 +0100)]
Emit GdkDevice::changed when the slave device being used changes
When the slave device changes, the master takes the shape of the
new one, modifying its axes, this signal is more useful to catch
this situation than the n-axes property
Carlos Garnacho [Mon, 13 Dec 2010 01:12:43 +0000 (02:12 +0100)]
Add gdk_event_[gs]et_source_device().
This function may be used to know the hardware device that triggered
an event, it could resort to the master device in the few cases there's
not a direct hardware device to relate to the event (i.e.: crossing events
due to grabs)
Carlos Garnacho [Sun, 12 Dec 2010 23:55:19 +0000 (00:55 +0100)]
Enable XI2 by default
gdk_enable_multidevice() has been replaced with gdk_disable_multidevice(),
so applications may call that function if they want to go back at the
previous behavior.
There would be usually little reasons to call that function, unless the
application is doing X calls itself that count on old fashioned core
devices.
Carlos Garnacho [Tue, 14 Dec 2010 19:26:52 +0000 (20:26 +0100)]
Make GtkTextView use GtkStyleContext
GtkTextAppearance still uses GdkColors, even though it could
switch to GdkRGBA with little hassle as it seems sheldomly used
out there.
Diego Escalante Urrelo [Tue, 14 Dec 2010 17:22:35 +0000 (12:22 -0500)]
docs: fix link failure on gtk-doc scanner binaries
Bug #637243
Diego Escalante Urrelo [Tue, 14 Dec 2010 20:46:51 +0000 (15:46 -0500)]
gtkstylecontext: fix typos in annotations
Fixes Bug #637256
Benjamin Otte [Tue, 14 Dec 2010 20:10:22 +0000 (21:10 +0100)]
docs: Redo drawing area drawing docs
They don't seem to have been updated for a long time...
William Jon McCann [Fri, 10 Dec 2010 06:27:55 +0000 (01:27 -0500)]
Update about dialog design to not use a swarm of dialogs
This is a modernization of the GtkAboutDialog look done
by William Jon McCann. The most noteworthy changes are:
- no more subdialogs
- show license short text in the main dialog
- less verbose email link formatting
- the dialog is modal to its transient parent
Carlos Garnacho [Tue, 14 Dec 2010 01:29:57 +0000 (02:29 +0100)]
Make GtkInfoBar use GtkStyleContext
All colors are defined now in the default css, and classes have
been added so the bars are fully themeable (as opposed to
gtk_widget_override_*, which require changing the color map itself)
Carlos Garnacho [Mon, 13 Dec 2010 21:42:05 +0000 (22:42 +0100)]
Add headers/docs changes for gtk_theming_engine_get_font()
Apparently I didn't git add enough...
Carlos Garnacho [Mon, 13 Dec 2010 20:36:49 +0000 (21:36 +0100)]
Add getter for font description in GtkThemingEngine
This function is analogous to gtk_style_context_get_font().
Carlos Garnacho [Mon, 13 Dec 2010 19:04:40 +0000 (20:04 +0100)]
Make GtkExpander use GtkStyleContext
Carlos Garnacho [Mon, 13 Dec 2010 12:46:21 +0000 (13:46 +0100)]
GtkSpinButton: Use GtkStyleContext
Carlos Garnacho [Mon, 13 Dec 2010 12:43:52 +0000 (13:43 +0100)]
Port GtkRange widgets to GtkStyleContext
Carlos Garnacho [Mon, 13 Dec 2010 12:39:53 +0000 (13:39 +0100)]
GtkNotebook: Use GtkStyleContext.
Carlos Garnacho [Mon, 13 Dec 2010 12:37:40 +0000 (13:37 +0100)]
GtkEntry: Use GtkStyleContext.
Carlos Garnacho [Mon, 13 Dec 2010 11:44:29 +0000 (12:44 +0100)]
GtkCssProvider: Make selectors applying from the topmost widget rank higher
For example, for an entry within a notebook, previously these 2 rules would
have the same weight:
.entry {}
.notebook {}
Now ".entry" will rank higher than ".notebook" for the GtkEntry, further
specific selectors such as:
.notebook .entry {}
still get a higher score than the previous ones.
Carlos Garnacho [Mon, 13 Dec 2010 11:38:37 +0000 (12:38 +0100)]
GtkThemingEngine: Render tabs background in the correct direction.
The cairo context has been already rotated, so using GTK_JUNCTION_BOTTOM
is expected to be used there.
Carlos Garnacho [Mon, 13 Dec 2010 11:37:40 +0000 (12:37 +0100)]
GtkThemingEngine: handle expander transitions to active, and rtl
Carlos Garnacho [Mon, 13 Dec 2010 11:36:42 +0000 (12:36 +0100)]
GtkThemingEngine: remove unused variable
Carlos Garnacho [Sun, 12 Dec 2010 23:27:24 +0000 (00:27 +0100)]
Fix coalescing of state animation areas for multiple window widgets.
Coordinates needed to be translated relative to the window position
in within the widget.
Paolo Borelli [Sun, 5 Dec 2010 18:40:13 +0000 (19:40 +0100)]
Add convenience function for the font description.
Milan Bouchet-Valat [Sat, 11 Dec 2010 14:12:47 +0000 (15:12 +0100)]
[GtkComboBoxText] Add checks for id-column/entry-text-column >= 0
If the GtkComboBoxText doesn't have id-column or entry-text-column
set for some reason (value -1), better warn and return. Else, unrelated
assertions fail, and warnings from gtk_tree_model_get_column_type()
are printed, which are not really obvious.
https://bugzilla.gnome.org/show_bug.cgi?id=637018
Matthias Clasen [Sat, 11 Dec 2010 04:39:10 +0000 (23:39 -0500)]
Remove unused header
Matthias Clasen [Fri, 10 Dec 2010 07:32:18 +0000 (02:32 -0500)]
Don't access GdkVisual fields directly
Use accessors instead.
Matthias Clasen [Fri, 10 Dec 2010 05:59:07 +0000 (00:59 -0500)]
Don't access GdkDragContext fields directly
Instead use the accessors.
Matthias Clasen [Fri, 10 Dec 2010 05:58:33 +0000 (00:58 -0500)]
Add some forgotten accessors for GdkDragContext
These fields are accessed in gtk.
Martyn Russell [Tue, 7 Dec 2010 12:15:42 +0000 (12:15 +0000)]
gtksearchenginetracker: Update to work with libtracker-sparql
libtracker-sparql is available in Tracker 0.9/0.10
Benjamin Otte [Thu, 9 Dec 2010 22:56:25 +0000 (23:56 +0100)]
docs: Reinstate pixbufs section in GDK docs
It was accidentally removed in
0775b0a85818e14d12087f33977e14efec6a058a
Benjamin Otte [Thu, 9 Dec 2010 22:55:33 +0000 (23:55 +0100)]
Revert "docs: Reinstate pixbufs section in GDK docs"
I committed my whole working tee instead of just one file. Ooops.
This reverts commit
ded14b256202d8792629b88874d934638762cee3 .
Benjamin Otte [Thu, 9 Dec 2010 10:13:41 +0000 (11:13 +0100)]
docs: Reinstate pixbufs section in GDK docs
It was accidentally removed in
0775b0a85818e14d12087f33977e14efec6a058a
Guillaume Desmottes [Wed, 8 Dec 2010 14:13:21 +0000 (15:13 +0100)]
gtk_css_provider_get_named: don't leak subpath (#636777)
Matthias Clasen [Wed, 8 Dec 2010 16:35:06 +0000 (11:35 -0500)]
Add missing include
See bug 636732
Marek Kasik [Tue, 7 Dec 2010 17:25:37 +0000 (18:25 +0100)]
Mark conflicts when printer has changed
Schedule marking of conflicts when printer has changed.
Map conflict warning immediately. (#635401)
Carlos Garcia Campos [Wed, 8 Dec 2010 16:16:02 +0000 (17:16 +0100)]
GtkCellRendererPixbuf: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:15:25 +0000 (17:15 +0100)]
GtkIconFactory: mention gtk_widget_render_icon_pixbuf() in docs
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:14:48 +0000 (17:14 +0100)]
GtkStatusIcon: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:13:43 +0000 (17:13 +0100)]
GtkImage: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:12:59 +0000 (17:12 +0100)]
GtkFileChooser: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:12:14 +0000 (17:12 +0100)]
GtkEntry: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:10:34 +0000 (17:10 +0100)]
dnd: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 15:46:57 +0000 (16:46 +0100)]
Add gtk_widget_render_icon_pixbuf() prototype to gtkwidget.h
And move gtk_widget_render_icon() to deprecation guards block
Paolo Borelli [Wed, 8 Dec 2010 14:30:42 +0000 (15:30 +0100)]
Annotate ColorButton get_color and get_rgba.
Paolo Borelli [Wed, 8 Dec 2010 14:14:29 +0000 (15:14 +0100)]
Fix gtk_builder_add_objects_from_file g-i annotation
Use the same annotation already used for add_objects_from_string
Robert Ancell [Wed, 8 Dec 2010 07:44:20 +0000 (18:44 +1100)]
Add missing X11/Xlib.h include required for X11/extensions/sync.h
Milan Bouchet-Valat [Tue, 7 Dec 2010 18:03:55 +0000 (19:03 +0100)]
More annotations for GdkDisplay
Mostly (out), and a few (allow-none) for parameters.
Matthias Clasen [Tue, 7 Dec 2010 17:59:17 +0000 (12:59 -0500)]
GtkStyleContext migration guide tweaks
Move the guide into the 2-to-3 guide, since it is something
you have to do when porting from 2 to 3. Also add an example
for handling of temporary state changes and some more text
about color handling.
Matthias Clasen [Tue, 7 Dec 2010 14:55:18 +0000 (09:55 -0500)]
Some doc additions
Tristan Van Berkom [Tue, 7 Dec 2010 14:45:48 +0000 (23:45 +0900)]
Added minimum size parameter to GtkWidgetClass->adjust_size_allocation.
This allows us to add a check before executing
->get_preferred_height_for_width() to ensure we always
request for at least the minimum required size (and lets
us remove the warning in gtkcontainer.c telling implementors
to do this check manually from thier container implementations).
Cosimo Cecchi [Tue, 7 Dec 2010 09:13:32 +0000 (10:13 +0100)]
label: plug a memory leak
Cosimo Cecchi [Tue, 7 Dec 2010 09:08:47 +0000 (10:08 +0100)]
app-chooser-widget: plug a memory leak
Matthias Clasen [Tue, 7 Dec 2010 01:37:30 +0000 (20:37 -0500)]
Bump version
Matthias Clasen [Tue, 7 Dec 2010 00:05:18 +0000 (19:05 -0500)]
More !srcdir fixes for the stylecontext test
Matthias Clasen [Mon, 6 Dec 2010 22:44:12 +0000 (17:44 -0500)]
Update for the removal of gtk_decorated_window_ apis
Matthias Clasen [Mon, 6 Dec 2010 19:35:13 +0000 (14:35 -0500)]
Fix POTFILES for recent changes
Matthias Clasen [Mon, 6 Dec 2010 19:11:46 +0000 (14:11 -0500)]
Prepare the stylecontext test to run out-of-srcdir
This is necessary to make distcheck work.
Matthias Clasen [Mon, 6 Dec 2010 19:10:42 +0000 (14:10 -0500)]
Allow + in identifiers
This is necessary since we treat paths as identifiers in
@import rules, and it is common to have a + in there (at least
when distchecking gtk+ ...)
Benjamin Otte [Mon, 6 Dec 2010 17:56:11 +0000 (18:56 +0100)]
gdk: Add section docs for GdkRGBA
Benjamin Otte [Mon, 6 Dec 2010 16:20:13 +0000 (17:20 +0100)]
gtk: Remove old DirectFB code for drawing window decorations
I'm not sure it'd even compile.
Benjamin Otte [Mon, 6 Dec 2010 16:19:56 +0000 (17:19 +0100)]
gdk: Remove GdkWindowObject typedef
It's unused by now.
Kjartan Maraas [Mon, 6 Dec 2010 17:13:24 +0000 (18:13 +0100)]
Updated Norwegian bokmål translation
Colin Walters [Mon, 6 Dec 2010 16:42:47 +0000 (11:42 -0500)]
introspection: Fix (out) for gdk_screen_get_monitor_geometry
Scanner doesn't detect this case correctly because it's a typedef;
work around it here by explicitly specifying that it's caller
allocates. See bug 636393 for the scanner issue.