]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agogtkmain.h: Used GDK_DEPRECATED
Murray Cumming [Mon, 9 Jan 2012 13:19:21 +0000 (14:19 +0100)]
gtkmain.h: Used GDK_DEPRECATED

If we use just G_GNUC_DEPRECATED then it cannot be disabled by
an ifdef.

12 years agoRevert "GtkWindow: new API to store state in GSettings"
Matthias Clasen [Mon, 9 Jan 2012 05:53:53 +0000 (00:53 -0500)]
Revert "GtkWindow: new API to store state in GSettings"

This reverts commit 730765de9163934d9993b25a87f076f1b36ed271.

This needs more thought, committing it on the same day as filing
the bug was premature.

12 years agoFix up symbol lists
Matthias Clasen [Mon, 9 Jan 2012 05:25:39 +0000 (00:25 -0500)]
Fix up symbol lists

12 years agoAdd more tests for GdkRGBA parsing
Matthias Clasen [Mon, 9 Jan 2012 03:18:46 +0000 (22:18 -0500)]
Add more tests for GdkRGBA parsing

These examples are taken from bug 667485.

12 years agoTighten up GdkRGBA parsing
Matthias Clasen [Mon, 9 Jan 2012 03:16:36 +0000 (22:16 -0500)]
Tighten up GdkRGBA parsing

gdk_rgba_parse was accepting too much nonsense, as pointed out
in bug 667485.

12 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 8 Jan 2012 19:17:36 +0000 (20:17 +0100)]
Updated Spanish translation

12 years agoUpdated Bulgarian translation
Alexander Shopov [Sun, 8 Jan 2012 15:21:05 +0000 (17:21 +0200)]
Updated Bulgarian translation

12 years agoFix the gtk_application_end_session implementation
Matthias Clasen [Sun, 8 Jan 2012 07:16:26 +0000 (02:16 -0500)]
Fix the gtk_application_end_session implementation

We were passing the wrong flags, causing the meaning of
the request_confirmation parameter to be inverted.

12 years agoAdd a test for the new session api
Matthias Clasen [Sun, 8 Jan 2012 07:15:49 +0000 (02:15 -0500)]
Add a test for the new session api

12 years agoFix doc build
Matthias Clasen [Sun, 8 Jan 2012 02:47:42 +0000 (21:47 -0500)]
Fix doc build

12 years agoAdd session management migration chapter
Matthias Clasen [Sun, 8 Jan 2012 02:44:52 +0000 (21:44 -0500)]
Add session management migration chapter

Add some preliminary information about migration from EggSMClient
to GtkApplication.

12 years agoRearrange migration chapter a bit
Matthias Clasen [Sun, 8 Jan 2012 01:44:37 +0000 (20:44 -0500)]
Rearrange migration chapter a bit

The 'checklist' is really just the 'extra credits', so put it
at the end, rather than the beginning.

12 years agoGtkApplication: only allow quit_response when it make sense
Matthias Clasen [Sun, 8 Jan 2012 01:01:23 +0000 (20:01 -0500)]
GtkApplication: only allow quit_response when it make sense

This check was present in the OS X implementation, but it
makes sense in the D-Bus implementation as well.

12 years agoRemove some debug spew
Matthias Clasen [Sun, 8 Jan 2012 00:55:20 +0000 (19:55 -0500)]
Remove some debug spew

12 years agoGtkApplication: Add OS X implementation from EggSMClient
Matthias Clasen [Sun, 8 Jan 2012 00:52:14 +0000 (19:52 -0500)]
GtkApplication: Add OS X implementation from EggSMClient

12 years agoRename rgba test file
Matthias Clasen [Sun, 8 Jan 2012 00:02:48 +0000 (19:02 -0500)]
Rename rgba test file

Not testing GdkColor here, anymore.

12 years agoUse g_slice_dup
Matthias Clasen [Sun, 8 Jan 2012 00:00:47 +0000 (19:00 -0500)]
Use g_slice_dup

This saves some manual copying.
Pointed out in bug 667473.

12 years agoAdd a test for gdk_rgba_copy
Matthias Clasen [Sun, 8 Jan 2012 00:00:32 +0000 (19:00 -0500)]
Add a test for gdk_rgba_copy

12 years agoMissing file in POTFILEs.in
Daniel Mustieles [Sat, 7 Jan 2012 17:53:26 +0000 (18:53 +0100)]
Missing file in POTFILEs.in

12 years agoChange param name to make gtk-doc happy.
Paolo Borelli [Sat, 7 Jan 2012 17:05:59 +0000 (18:05 +0100)]
Change param name to make gtk-doc happy.

12 years agotests: Fix deprecation warnings in prop-editor
Benjamin Otte [Sat, 7 Jan 2012 15:14:31 +0000 (16:14 +0100)]
tests: Fix deprecation warnings in prop-editor

12 years agoapplication: return a value
Benjamin Otte [Sat, 7 Jan 2012 14:56:26 +0000 (15:56 +0100)]
application: return a value

12 years agogtkapplication.c: Fix syntax error
Martin Pitt [Sat, 7 Jan 2012 09:04:18 +0000 (10:04 +0100)]
gtkapplication.c: Fix syntax error

Previous commit accidentally removed the closing } from
gtk_application_end_session(). Add it back to unbreak the build.

12 years agoAdd a trivial implementation of the new apis
Matthias Clasen [Sat, 7 Jan 2012 05:38:57 +0000 (00:38 -0500)]
Add a trivial implementation of the new apis

For non-X11, this is just a placeholder until we get around
to moving the EggSMClient implementations over.

12 years agoDocument the new apis
Matthias Clasen [Sat, 7 Jan 2012 08:15:26 +0000 (03:15 -0500)]
Document the new apis

12 years agoAdd gtk_application_end_session
Matthias Clasen [Sat, 7 Jan 2012 08:04:54 +0000 (03:04 -0500)]
Add gtk_application_end_session

This function allows applications to request that
the user session be ended by logout/shutdown/reboot.

12 years agoGtkApplication: Add an inhibit api
Matthias Clasen [Tue, 3 Jan 2012 20:02:49 +0000 (15:02 -0500)]
GtkApplication: Add an inhibit api

This lets applications block logout and similar actions ahead
of time. Currently only implemented for D-Bus, but Windows has
very similar API since Vista.

12 years agoGtkApplication: Add logout notification
Matthias Clasen [Tue, 3 Jan 2012 19:52:29 +0000 (14:52 -0500)]
GtkApplication: Add logout notification

This is fairly basic, allowing applications to learn when
the session manager is about to end the session, and possibly
block this. The only implementation at this point is using the
org.gnome.SessionManager D-Bus interface of gnome-session. It should
be straightforward to port the EggSMClient implementations for
Windows and OS X.

12 years agoUpdate Visual C++ property sheets
Chun-wei Fan [Sat, 7 Jan 2012 03:21:46 +0000 (11:21 +0800)]
Update Visual C++ property sheets

"Install" (and hence compile with glib-compile-schemas.exe) the new
org.gtk.WindowState.gschema.xml gschema file.

12 years agoGtkWindow: new API to store state in GSettings
Ryan Lortie [Fri, 6 Jan 2012 20:37:05 +0000 (15:37 -0500)]
GtkWindow: new API to store state in GSettings

https://bugzilla.gnome.org/show_bug.cgi?id=667438

12 years agoGtkBuilder: support parsing GVariant properties
Ryan Lortie [Fri, 6 Jan 2012 15:53:57 +0000 (10:53 -0500)]
GtkBuilder: support parsing GVariant properties

https://bugzilla.gnome.org/show_bug.cgi?id=667394

12 years agoUpdated POTFILES.skip
Piotr Drąg [Fri, 6 Jan 2012 20:18:28 +0000 (21:18 +0100)]
Updated POTFILES.skip

12 years agowayland: Break an implicit grab when asking to be resized
Rob Bradford [Fri, 6 Jan 2012 16:49:22 +0000 (16:49 +0000)]
wayland: Break an implicit grab when asking to be resized

An implicit grab is created inside GTK+ when the button is pressed down on a
window. The semantics of wl_shell_surface_resize means that you don't get a
corresponding release event that would ordinarily break the implicit grab. So
we must do it as part of the resize request.

12 years agowayland: Make the event source use _gdk_display_get_next_serial
Rob Bradford [Fri, 6 Jan 2012 16:48:13 +0000 (16:48 +0000)]
wayland: Make the event source use _gdk_display_get_next_serial

12 years agowayland: Implement the get_next_serial vfunc on GdkDisplay
Rob Bradford [Fri, 6 Jan 2012 16:47:53 +0000 (16:47 +0000)]
wayland: Implement the get_next_serial vfunc on GdkDisplay

12 years agogtkspinbutton: Don't hilight buttons when !editable
Zeeshan Ali (Khattak) [Thu, 5 Jan 2012 01:09:27 +0000 (03:09 +0200)]
gtkspinbutton: Don't hilight buttons when !editable

Don't hilight the buttons on mouse over when 'editable' property is set to
'FALSE.

https://bugzilla.gnome.org/show_bug.cgi?id=667229

12 years agowayland: The shared cursors are now installed in the weston directory
Kristian Høgsberg [Fri, 6 Jan 2012 15:10:42 +0000 (15:10 +0000)]
wayland: The shared cursors are now installed in the weston directory

Signed-off-by: Rob Bradford <rob@linux.intel.com>
12 years agoGtkApplication: Rename a member for clarity
Matthias Clasen [Tue, 3 Jan 2012 19:39:26 +0000 (14:39 -0500)]
GtkApplication: Rename a member for clarity

'session' is a bit ambiguous (and GtkApplication may grow session
management support at some point), so rename the bus connection
to 'session_bus'.

12 years agoAnother attempt at fixing menu positioning corner cases
Matthias Clasen [Fri, 6 Jan 2012 04:21:30 +0000 (23:21 -0500)]
Another attempt at fixing menu positioning corner cases

The code for moving the menu into monitor / workarea was duplicated,
once for the push-in scenario and once for without. The problem with
the second case is that we've stored the menu position before adjusting
it. That made us remember an out-of-monitor position that then later
triggered _another_ copy of this code in the size-request implementation.

Unify this to only have one copy of code, and only store the menu
position after adjusting it to be inside the monitor. This fixes both
statusicon menus that get popped up from the panel, outside the workarea,
to not have scroll arrows, and the gedit language menu which was not
placed in the monitor at all after the initial workarea commit.

As a side-effect of this change, we now make large scrolling menus
occupy the full height of the workarea. Before this change, we were
keeping either the top or bottom edge put while shrinking the menu
to fit in the monitor.

https://bugzilla.gnome.org/show_bug.cgi?id=667249

12 years agolabel: Avoid deprecation warning
Benjamin Otte [Fri, 6 Jan 2012 04:23:15 +0000 (05:23 +0100)]
label: Avoid deprecation warning

12 years agolabel: Actually mark visited labels as visited
Benjamin Otte [Fri, 6 Jan 2012 04:17:46 +0000 (05:17 +0100)]
label: Actually mark visited labels as visited

A recalculate will clear the labels and compute them again, which will
clear the information if something was visited...

12 years agoreftests: Add a test for latest commit
Benjamin Otte [Fri, 6 Jan 2012 04:15:18 +0000 (05:15 +0100)]
reftests: Add a test for latest commit

We want to make sure we notice when we mess up label attribute ordering
again...

12 years agolabel: Make attr_list_merge() use sane merging rules
Benjamin Otte [Fri, 6 Jan 2012 04:10:50 +0000 (05:10 +0100)]
label: Make attr_list_merge() use sane merging rules

Instead of "attribute with later start index wins, make sure the
attribute list that is merged from takes precedence. This now gives the
multiple attribute lists we use in the label an order:

1) gtk_label_set_attributes()
  These attributes override everything. It's what the function's there
  for after all.
2) markup of label
  Other user-specified attributes come next.
3) attributes for links
  When we apply custom attributes on parts of the text, we put them
  last. We don't want to mess with what the user does. Also, we change
  color and underline, so we usually have something to show.

12 years agolabel: Rename variable
Benjamin Otte [Fri, 6 Jan 2012 04:07:36 +0000 (05:07 +0100)]
label: Rename variable

The effective attributes aren't that anymore. They're now just the
attributes from the parsed markup.

12 years agolabel: Don't excessively recalculate
Benjamin Otte [Fri, 6 Jan 2012 04:06:29 +0000 (05:06 +0100)]
label: Don't excessively recalculate

We don't merge attributes anymore, so no need to call the function that
used to do this job.

12 years agolabel: Redo attribute application
Benjamin Otte [Fri, 6 Jan 2012 04:04:13 +0000 (05:04 +0100)]
label: Redo attribute application

- Don't compute link color attributes until layout creation
This is useful as a performance enhancement, because we don't have to
lookup the property after setting the text, so multiple markup sets
don't cost style lookups.
- Don't merge attrs into effective_attrs
We do this when applying link colors now. Keeping them separate allows
invalidating them separately.

12 years agoilabel: Redo gtk_label_get_link_colors()
Benjamin Otte [Fri, 6 Jan 2012 03:25:02 +0000 (04:25 +0100)]
ilabel: Redo gtk_label_get_link_colors()

Don't pass out an allocated color, assign it instead. Gets rid of having
to call gdk_color_free() all the time.

12 years agolabel: Split out function that merges attr lists
Benjamin Otte [Fri, 6 Jan 2012 01:53:12 +0000 (02:53 +0100)]
label: Split out function that merges attr lists

12 years agogtk-demo: Prove that links work fine now
Benjamin Otte [Fri, 6 Jan 2012 01:04:01 +0000 (02:04 +0100)]
gtk-demo: Prove that links work fine now

Also, doodling is fun.

12 years agolabel: Redo links parsing
Benjamin Otte [Fri, 6 Jan 2012 00:52:32 +0000 (01:52 +0100)]
label: Redo links parsing

Instead of getting confused by applied underline or color tags in the
regular markup, we store the link start/end when we actually parse the
text. As a bonus, we can avoid rescanning links when creating the
markup.

12 years agolabel: Move function into only caller
Benjamin Otte [Thu, 5 Jan 2012 16:06:00 +0000 (17:06 +0100)]
label: Move function into only caller

12 years agoAPI: Deprecate key snooping
Benjamin Otte [Thu, 5 Jan 2012 15:50:49 +0000 (16:50 +0100)]
API: Deprecate key snooping

You really shouldn't be doing this. If you have to, you can use
gdk_window_add_filter() or listen to raw events on XI2.

12 years agoa11y: Remove keysnooping support
Benjamin Otte [Thu, 5 Jan 2012 15:48:14 +0000 (16:48 +0100)]
a11y: Remove keysnooping support

As previously announced, key snooping is something that we should not
support in GTK. In particular because AT-SPI made every key press a
synchronous DBUS call / spawned a nested main loop with the key
snoopers. This breaks responsiveness, order of key presses and internal
consistency when the AT decides to remove key events.

12 years agogtkspinbutton: Ignore keynav when !editable
Zeeshan Ali (Khattak) [Thu, 5 Jan 2012 01:09:06 +0000 (03:09 +0200)]
gtkspinbutton: Ignore keynav when !editable

Don't allow changing of value through keyboard when 'editable' property is
set to 'FALSE.

https://bugzilla.gnome.org/show_bug.cgi?id=667229

12 years agoImprove PICKONE_* handling in GtkPrinterOptionWidget (bug #543520)
Benjamin Berg [Wed, 28 Dec 2011 00:02:28 +0000 (01:02 +0100)]
Improve PICKONE_* handling in GtkPrinterOptionWidget (bug #543520)

This patch modifies GtkPrinterOptionWidget to support loading them
again. It also allows the user to enter values from the dropdown list
to select the item.

12 years agoSet cups Custom print options correctly (bug #543520, patch by Marek Kašík)
Benjamin Berg [Sat, 24 Dec 2011 16:26:32 +0000 (17:26 +0100)]
Set cups Custom print options correctly (bug #543520, patch by Marek Kašík)

This patch fixes the cups print backend to pass Custom options with
the "Custom." prefix to cups if neccessary.

12 years agoUse the right icon-name for missing images
Matthias Clasen [Thu, 5 Jan 2012 19:05:47 +0000 (14:05 -0500)]
Use the right icon-name for missing images

Patch by Erik van Pienbroek, bug 629878.

12 years agowayland: Set a default cursor when the window cursor is set to NULL
Rob Bradford [Thu, 5 Jan 2012 16:32:09 +0000 (16:32 +0000)]
wayland: Set a default cursor when the window cursor is set to NULL

This change follows on from a change in semantics in Wayland where calling
wl_input_device_attach with nil would make the compositor set the pointer
sprite to it's default cursor sprite.

12 years agoGtkPrintUnixDialog: Hide unused tabs
Marek Kasik [Thu, 5 Jan 2012 12:17:46 +0000 (13:17 +0100)]
GtkPrintUnixDialog: Hide unused tabs

Don't show tabs which are empty. This is related to
the recent GtkTable -> GtkGrid conversion. (#663479)

12 years agoRevert "gtksettings.c: Do not use GdkColor API"
Xan Lopez [Thu, 5 Jan 2012 11:22:05 +0000 (12:22 +0100)]
Revert "gtksettings.c: Do not use GdkColor API"

This reverts commit baef3e5f2470cb727407e45a655cec59ebd4a9e5.

This broke the Adwaita theme pretty severely, so I don't think it can
be right. See: http://i.imgur.com/Rq7wc.png

12 years agogtksettings.c: Do not use GdkColor API
Javier Jardón [Wed, 4 Jan 2012 14:57:54 +0000 (15:57 +0100)]
gtksettings.c: Do not use GdkColor API

12 years agogtkcolorsel.c: Do not use GdkColor API
Javier Jardón [Wed, 4 Jan 2012 14:57:33 +0000 (15:57 +0100)]
gtkcolorsel.c: Do not use GdkColor API

12 years agogtk/*: Use g_list_free_full() convenience function
Javier Jardón [Mon, 2 Jan 2012 03:20:59 +0000 (04:20 +0100)]
gtk/*: Use g_list_free_full() convenience function

12 years agomodules/*: Use g_list_free_full() convenience function
Javier Jardón [Tue, 3 Jan 2012 01:22:10 +0000 (02:22 +0100)]
modules/*: Use g_list_free_full() convenience function

12 years agogdk/*: Use g_list_free_full convenience function
Javier Jardón [Tue, 3 Jan 2012 01:18:50 +0000 (02:18 +0100)]
gdk/*: Use g_list_free_full convenience function

12 years agotests: Use g_list_free_full() convenience function
Javier Jardón [Mon, 2 Jan 2012 03:09:00 +0000 (04:09 +0100)]
tests: Use g_list_free_full() convenience function

12 years agoGtkComboBoxText: allow id='' tag in builder markup
Ryan Lortie [Wed, 4 Jan 2012 21:32:39 +0000 (16:32 -0500)]
GtkComboBoxText: allow id='' tag in builder markup

Presently, GtkComboBoxText lets you list the items for it in the
GtkBuilder markup like so:

<items>
  <item translatable='yes'>Red</item>
  <item translatable='yes'>Blue</item>
</items>

but has no way to set the "id" column for added items.  Add an id='' tag
for that purpose so that you can do:

  <item id='red' translatable='yes'>Red</item>

https://bugzilla.gnome.org/show_bug.cgi?id=667319

12 years agoGtkNotebook: fix crash when DnD tabs between windows
Xan Lopez [Fri, 30 Dec 2011 20:09:21 +0000 (21:09 +0100)]
GtkNotebook: fix crash when DnD tabs between windows

When doing DnD between windows the tab label is set as the child of
the DnD info window. If this is happening the remove method of
GtkNotebook should not unparent the tab label, since it's been already
unparented, belongs to the DnD window and will be properly destroyed
when the DnD is over.

https://bugzilla.gnome.org/show_bug.cgi?id=639875

12 years agogtk/gtkcolorbutton.c: Do not use deprecated GdkColor api
Javier Jardón [Tue, 3 Jan 2012 17:12:15 +0000 (18:12 +0100)]
gtk/gtkcolorbutton.c: Do not use deprecated GdkColor api

12 years agogtkspinbutton: Respect value of inherited 'editable' property
Zeeshan Ali (Khattak) [Tue, 3 Jan 2012 22:44:24 +0000 (00:44 +0200)]
gtkspinbutton: Respect value of inherited 'editable' property

When this property is set to 'FALSE', user's click on the buttons
should not actually update the value but rather result in error bell.

https://bugzilla.gnome.org/show_bug.cgi?id=667229

12 years agotreeview: bgo#666685 - Crash when toggling the selected status of a row
Federico Mena Quintero [Tue, 3 Jan 2012 21:05:39 +0000 (15:05 -0600)]
treeview: bgo#666685 - Crash when toggling the selected status of a row

The refactoring from e01af5c5c seems to have caused this inadvertently.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
12 years agogtkcolorsel: Do not use deprecated GdkColor api
Javier Jardón [Tue, 3 Jan 2012 16:52:34 +0000 (17:52 +0100)]
gtkcolorsel: Do not use deprecated GdkColor api

12 years agogtkcellview: Do not use deprecated GdkColor api
Javier Jardón [Tue, 3 Jan 2012 16:23:38 +0000 (17:23 +0100)]
gtkcellview: Do not use deprecated GdkColor api

12 years agogtk/gtkprivate.c: Include stdlib.h
Chun-wei Fan [Fri, 30 Dec 2011 09:20:22 +0000 (17:20 +0800)]
gtk/gtkprivate.c: Include stdlib.h

Include stdlib.h for getenv to avoid C4013/implicit declaration of ...
warnings

12 years agotest/testgtk.c: Fix compilation warning
Javier Jardón [Tue, 3 Jan 2012 02:35:02 +0000 (03:35 +0100)]
test/testgtk.c: Fix compilation warning

12 years agoFix problems with DND on some X servers
Matthias Clasen [Tue, 3 Jan 2012 15:51:13 +0000 (10:51 -0500)]
Fix problems with DND on some X servers

When the X server does not support the shape extension (as some
vnc implementations seem to), our DND code was always seeing
an empty input shape, so drops always missed their target.

http://bugzilla.gnome.org/show_bug.cgi?id=620240

12 years agoAdd symbolic constants for event emission control
Emmanuele Bassi [Tue, 5 Oct 2010 13:07:32 +0000 (14:07 +0100)]
Add symbolic constants for event emission control

Similar to https://bugzilla.gnome.org/show_bug.cgi?id=631413 in GLib,
GTK+ should have symbolic constants for controlling the event handling
instead of a mere boolean value.

The GDK_EVENT_PROPAGATE and GDK_EVENT_STOP constants map to FALSE and
TRUE respectively.

https://bugzilla.gnome.org/show_bug.cgi?id=631414

12 years agotextdisplay: use g_list_free_full
Ignacio Casal Quinteiro [Sun, 1 Jan 2012 21:38:04 +0000 (22:38 +0100)]
textdisplay: use g_list_free_full

12 years agocomboboxtext: Set entry-text-column and id-column props in the constructor
Kjell Ahlstedt [Wed, 28 Dec 2011 15:32:32 +0000 (16:32 +0100)]
comboboxtext: Set entry-text-column and id-column props in the constructor

This is cleaner than setting the value in the _new() functions and
makes binding and GtkBuilder instantiation easier. Bug #612396, comment 65.

12 years agoBug 667018-gtk/gtkwindow.c: Include deprecated/gtkstyle.h
Chun-wei Fan [Fri, 30 Dec 2011 08:51:26 +0000 (16:51 +0800)]
Bug 667018-gtk/gtkwindow.c: Include deprecated/gtkstyle.h

This is needed for the prototype of gtk_widget_reset_rc_styles, to avoid
C4013/implicit declaration of ... warnings of that function

12 years agogtk/gtkspinbutton.c: Remove lingering ';'
Chun-wei Fan [Fri, 30 Dec 2011 08:49:49 +0000 (16:49 +0800)]
gtk/gtkspinbutton.c: Remove lingering ';'

...so that C89 compilers will not complain

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 30 Dec 2011 09:12:58 +0000 (11:12 +0200)]
Updated Hebrew translation.

12 years agogtk/Makefile.am: Update VS projects completion
Chun-wei Fan [Fri, 30 Dec 2011 08:44:55 +0000 (16:44 +0800)]
gtk/Makefile.am: Update VS projects completion

Take the sources in gtk/deprecated/ into account-VS does not like '/'
in file paths.

12 years agoUpdate Visual C++ projects
Chun-wei Fan [Fri, 30 Dec 2011 08:40:06 +0000 (16:40 +0800)]
Update Visual C++ projects

-Update include paths for the GTK+ main projects to be consistent across
 the board
-Update demo projects to add a new demo source file, transparent.c

12 years agoUpdate gdk/gdkconfig.h.win32
Chun-wei Fan [Fri, 30 Dec 2011 08:21:38 +0000 (16:21 +0800)]
Update gdk/gdkconfig.h.win32

Apparently the deprecation warning macros are placed into gdkconfig.h
during the configure stage, so put these in the pre-configured
gdkconfig.h.win32 as well, as their definitions are needed for all builds.

12 years agoRemove an unnecessary warning
Matthias Clasen [Fri, 30 Dec 2011 07:01:15 +0000 (02:01 -0500)]
Remove an unnecessary warning

Don't warn if there's more than one mnemonic label for a widget,
and skip invisible labels.

Bug 665015

12 years agoAdd a Since tag
Matthias Clasen [Fri, 30 Dec 2011 05:38:06 +0000 (00:38 -0500)]
Add a Since tag

gtk_css_provider_to_string is a post-3.0 addition.
Fixes bug 659516

12 years agoDrop -uninstalled.pc files
Matthias Clasen [Fri, 30 Dec 2011 05:28:15 +0000 (00:28 -0500)]
Drop -uninstalled.pc files

This has already been done in GLib, so follow suit here.

12 years agoXIM: gracefully deal with non-X backends
Matthias Clasen [Fri, 30 Dec 2011 04:43:28 +0000 (23:43 -0500)]
XIM: gracefully deal with non-X backends

Patch by Young-Ho Cha, bug 660309.

12 years agoGtkImContextSimple: fix tentative match handling
Matthias Clasen [Fri, 30 Dec 2011 04:38:16 +0000 (23:38 -0500)]
GtkImContextSimple: fix tentative match handling

When switching to the compact table format, we inadvertedly lost
the 'tentative match' handling which allows to complete longer
compose sequences even if a prefix is a complete sequence.
This was pointed out in bug 666710.

12 years agoCosmetic changes to comments
Matthias Clasen [Wed, 28 Dec 2011 16:32:44 +0000 (11:32 -0500)]
Cosmetic changes to comments

12 years agoUpdated POTFILES.skip
Piotr Drąg [Thu, 29 Dec 2011 16:49:42 +0000 (17:49 +0100)]
Updated POTFILES.skip

12 years agosettings: Cache style properties
Benjamin Otte [Wed, 28 Dec 2011 13:34:54 +0000 (14:34 +0100)]
settings: Cache style properties

This way we don't need to compute them every lookup. (That's not the
real reason though - the real reason is that I want to add new APIs that
require the caching because they return consts).

12 years agomodifierstyle: Move Private typedef to public header
Benjamin Otte [Wed, 28 Dec 2011 14:46:15 +0000 (15:46 +0100)]
modifierstyle: Move Private typedef to public header

12 years agoreftests: Add test for empty grid with spacing
Benjamin Otte [Thu, 29 Dec 2011 09:02:54 +0000 (10:02 +0100)]
reftests: Add test for empty grid with spacing

This used to crash.

https://bugzilla.gnome.org/show_bug.cgi?id=660139

12 years agoFix problems with sticky handling
Matthias Clasen [Wed, 28 Dec 2011 16:20:47 +0000 (11:20 -0500)]
Fix problems with sticky handling

Reading a card32 property into a long may lead to undefined high
bits, so mask them off. Also, make the conditions for setting and
unsetting the stick flag opposites, to avoid unintended changes.
Patch by John Lindgren, bug 666842

12 years agoUpdate various EWMH interactions
Matthias Clasen [Wed, 28 Dec 2011 16:16:54 +0000 (11:16 -0500)]
Update various EWMH interactions

The current EWMH has added 'source indication' fields to a number
of client messages. Set these to 1 to indicate a regular client.
Also fill the button field of _NET_WM_MOVERESIZE.

12 years agotests/testgtk: Do not use GdkColor-based api
Javier Jardón [Mon, 26 Dec 2011 16:12:20 +0000 (17:12 +0100)]
tests/testgtk: Do not use GdkColor-based api

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 26 Dec 2011 10:10:17 +0000 (11:10 +0100)]
Updated Spanish translation

12 years agogtktextlayout: use g_slice for GtkTextLineDisplay
Ignacio Casal Quinteiro [Sun, 25 Dec 2011 17:13:51 +0000 (18:13 +0100)]
gtktextlayout: use g_slice for GtkTextLineDisplay