]>
Pileus Git - ~andy/gtk/log
Javier Jardón [Wed, 25 Jan 2012 17:35:39 +0000 (17:35 +0000)]
gdkapplaunchcontext: Add tags to code example
Alexander Larsson [Wed, 25 Jan 2012 10:46:09 +0000 (11:46 +0100)]
broadway: Properly handle masked websocket messages
Thanks to Rafal Luzynski for pointing this out.
https://bugzilla.gnome.org/show_bug.cgi?id=656521
Matthias Clasen [Wed, 25 Jan 2012 03:51:05 +0000 (22:51 -0500)]
GtkApplicationWindow: Some more docs
Matthias Clasen [Wed, 25 Jan 2012 03:41:36 +0000 (22:41 -0500)]
Doc tweaks
Matthias Clasen [Wed, 25 Jan 2012 03:28:34 +0000 (22:28 -0500)]
Fix a doc typo
Matthias Clasen [Wed, 25 Jan 2012 03:27:28 +0000 (22:27 -0500)]
gtk3-demo-application: add an example for the new api
Turn the menutoolbutton menu into one that is gmenu/gaction backed.
Matthias Clasen [Wed, 25 Jan 2012 03:25:35 +0000 (22:25 -0500)]
Add API to create menus from models
This is needed to bring context menus, etc into the GAction world.
Matthias Clasen [Wed, 25 Jan 2012 03:22:08 +0000 (22:22 -0500)]
GtkApplication: documentation additions
Document that startup() needs to chain up first.
Matthias Clasen [Wed, 25 Jan 2012 02:30:33 +0000 (21:30 -0500)]
GtkModelMenu: Plug a memleak
Siegfried-Angel Gevatter Pujals [Tue, 24 Jan 2012 18:22:54 +0000 (19:22 +0100)]
g_content_type_guess expects a path, not an URI
Siegfried-Angel Gevatter Pujals [Tue, 24 Jan 2012 18:05:29 +0000 (19:05 +0100)]
Fix mem leak introduced with my previous commit
Kjartan Maraas [Tue, 24 Jan 2012 17:13:09 +0000 (18:13 +0100)]
Updated Norwegian bokmål translation
Benjamin Otte [Tue, 24 Jan 2012 14:44:03 +0000 (15:44 +0100)]
treeview: Fix comparison to catch all cases
Otherwise, we could sometimes fail to update the cursor node when the
right row was deleted.
Also, I'd like to file a formal complaint that this node/tree
differentiation makes writing comparisons too complicated.
https://bugzilla.gnome.org/show_bug.cgi?id=668169
Siegfried-Angel Gevatter Pujals [Tue, 24 Jan 2012 12:59:12 +0000 (13:59 +0100)]
GtkRecentManager: guess mime-type from filename when file doesn't exist
Andre Klapper [Tue, 24 Jan 2012 12:51:46 +0000 (13:51 +0100)]
Typofix in documentation
Matthias Clasen [Tue, 24 Jan 2012 05:41:26 +0000 (00:41 -0500)]
Silence a compiler warning
Matthias Clasen [Tue, 24 Jan 2012 05:07:03 +0000 (00:07 -0500)]
Add an example for settings<>action integration
Turn the 'color' action in gtk3-demo-application into an
action that is backed by a setting.
Matthias Clasen [Tue, 24 Jan 2012 03:14:28 +0000 (22:14 -0500)]
Bloatpad: propertly escape <> in markup
Matthias Clasen [Mon, 23 Jan 2012 19:25:40 +0000 (14:25 -0500)]
Pedantic spelling fix
Its 'theming', not 'themeing'.
Paolo Borelli [Mon, 23 Jan 2012 20:00:38 +0000 (21:00 +0100)]
Render background of a GtkImage
Useful to e.g. style the bg color of a symbolic icon
Paolo Borelli [Mon, 23 Jan 2012 19:56:55 +0000 (20:56 +0100)]
Fix gtkmisc padding calculation
Actually sum css padding and gtkmisc padding as intended in the previous
patch.
Ryan Lortie [Fri, 20 Jan 2012 18:56:02 +0000 (13:56 -0500)]
GtkApplication: change the accel prefix we use
GtkApplication adds to the global accel map using the prefix <Actions>
which is also used by GtkAction. This causes GtkApplicationWindow to
try to parse GtkAction-added accels as if they were its own (which
fails).
Switch to a different namespace -- <GAction>/.
https://bugzilla.gnome.org/show_bug.cgi?id=668367
Paolo Borelli [Sun, 4 Dec 2011 12:55:51 +0000 (13:55 +0100)]
Factor out _gtk_misc_get_padding_and_border
The new semi-private function will allow to implement support for css
padding and border in widgets inheriting from GtkMisc.
Use the new function for GtkLabel, GtkArrow and GtkImage.
Matej Urbančič [Sat, 21 Jan 2012 20:04:20 +0000 (21:04 +0100)]
Updated Slovenian translation
Colin Walters [Sat, 21 Jan 2012 15:28:40 +0000 (10:28 -0500)]
gtkmenuitem: Silence a compiler warning
Philip Withnall [Fri, 15 Jul 2011 16:31:59 +0000 (17:31 +0100)]
progressbar: Tidy up the gtk-doc comments a little
Matthias Clasen [Sat, 21 Jan 2012 01:06:25 +0000 (20:06 -0500)]
GtkApplicationWindow: Improve app menu label
When we are showing the app menu in process, use the application
name, if it has been set. Otherwise, we still fall back to
"Application".
Matthias Clasen [Sat, 21 Jan 2012 01:05:43 +0000 (20:05 -0500)]
Bloatpad: Set the application name
This will be picked up for the app menu label in fallback mode
in the near future.
Matthias Clasen [Sat, 21 Jan 2012 00:46:53 +0000 (19:46 -0500)]
Correct an introspection annotation
Mistake pointed out in bug 668265.
Matthias Clasen [Fri, 20 Jan 2012 21:13:37 +0000 (16:13 -0500)]
bump rev
Matthias Clasen [Fri, 20 Jan 2012 21:12:25 +0000 (16:12 -0500)]
3.3.10
Matthias Clasen [Fri, 20 Jan 2012 20:30:46 +0000 (15:30 -0500)]
Bump GLib dep
This is needed for the app menu moves.
Matthias Clasen [Fri, 20 Jan 2012 20:29:09 +0000 (15:29 -0500)]
Updates
Matthias Clasen [Fri, 20 Jan 2012 13:17:39 +0000 (08:17 -0500)]
Fix doc syntax
Matthias Clasen [Fri, 20 Jan 2012 13:16:35 +0000 (08:16 -0500)]
GtkApplication: fix !x11 build
Since we moved the menu models to GTK+, we need to deal with
them on all platforms, even if we don't do anything special
with them on win32.
Alexander Larsson [Fri, 20 Jan 2012 12:48:33 +0000 (13:48 +0100)]
Fix builddir != srcdir build issue
Alexander Larsson [Fri, 20 Jan 2012 10:01:23 +0000 (11:01 +0100)]
Fix visibility notification event reporting
We were checking the event mask for GDK_VISIBILITY_NOTIFY,
not GDK_VISIBILITY_NOTIFY_MASK, which was clearly a typo.
Matthias Clasen [Fri, 20 Jan 2012 06:01:08 +0000 (01:01 -0500)]
GtkApplicationWindow: Fix resize grip positioning
Based on a patch by Carlos Garcia Campos, bug 668248
Cosimo Cecchi [Thu, 19 Jan 2012 18:51:22 +0000 (13:51 -0500)]
main: fix a compilation warning
Michael Natterer [Thu, 19 Jan 2012 15:12:11 +0000 (16:12 +0100)]
quartz: add virtual modifiers already in GDK, just as X11 does it
Key event states will now always contain GDK_META_MASK in addition
to GDK_MOD2_MASK.
(cherry picked from commit
d915d17ff66be926616565865f941289d8a1024b )
Kristian Høgsberg [Thu, 19 Jan 2012 04:12:05 +0000 (23:12 -0500)]
wayland: Destroy shell surface as we destroy the surface
Daniel Mustieles [Thu, 19 Jan 2012 10:01:28 +0000 (11:01 +0100)]
Updated Spanish translation
Benjamin Otte [Thu, 19 Jan 2012 09:31:52 +0000 (10:31 +0100)]
a11y: Invoke key snooper directly
Gets around the deprecated function warnings.
Cosimo Cecchi [Wed, 18 Jan 2012 21:14:31 +0000 (16:14 -0500)]
notebook: fixup previous commit
Oops, I hit push too early.
Cosimo Cecchi [Wed, 18 Jan 2012 21:10:20 +0000 (16:10 -0500)]
notebook: don't force ACTIVE state flag on the label for active tab
This is just wrong, since it's not the tab label being active, but the
tab itself.
Ryan Lortie [Tue, 17 Jan 2012 20:38:07 +0000 (15:38 -0500)]
Don't call set_application() in gtk_window_realize
This call has no effect and with the newly-added restrictions it's
violating the set-application-after-realized rule.
https://bugzilla.gnome.org/show_bug.cgi?id=668203
Ryan Lortie [Mon, 16 Jan 2012 19:46:04 +0000 (14:46 -0500)]
move menus over from GLib
App menu and menubar are now properties of GtkApplication and their bus
location is exported using X window properties.
https://bugzilla.gnome.org/show_bug.cgi?id=668118
Benjamin Otte [Wed, 18 Jan 2012 17:31:43 +0000 (18:31 +0100)]
Revert "a11y: Remove keysnooping support"
This reverts commit
0c8ecba7dc024aa090fee7894bf33912303f6838 .
The change broke Orca completely, and we need a proper fix first.
So we have to live with the bugs intorduced by this until then.
Kristian Høgsberg [Tue, 17 Jan 2012 17:30:52 +0000 (12:30 -0500)]
wayland: Report middle and right buttons correctly
The linux evdev button codes have right as 274 and left as 273.
Rob Bradford [Wed, 18 Jan 2012 16:27:58 +0000 (16:27 +0000)]
wayland: Update modifiers handling to match new semantics
Due to changes in the behaviour of the virtual modifiers around MOD1 the
implementation of the map_virtual_modifiers vfunc was mangling the modifiers
and making keybindings not work correctly.
This change updates the implementation to match the X11 implementation's
behaviour.
Matthias Clasen [Wed, 18 Jan 2012 12:07:01 +0000 (07:07 -0500)]
GtkScale Remove an unused variable
Benjamin Otte [Mon, 16 Jan 2012 21:14:10 +0000 (22:14 +0100)]
css: Fix memleak in shadow parsing
Matthias Clasen [Wed, 18 Jan 2012 05:57:20 +0000 (00:57 -0500)]
GtkScale: Fix late setting of marks
Matthias Clasen [Wed, 18 Jan 2012 05:56:37 +0000 (00:56 -0500)]
Add more GtkScale mark tests
This code tests adding scale marks 'late', and how this interact
with inversion.
Benjamin Berg [Tue, 17 Jan 2012 19:33:32 +0000 (20:33 +0100)]
Strip "Custom." prefix when getting default options from cups.
Kristian Høgsberg [Tue, 17 Jan 2012 16:10:30 +0000 (11:10 -0500)]
wayland: Handle request for selection atoms when there's no selection
Ryan Lortie [Tue, 17 Jan 2012 15:55:50 +0000 (10:55 -0500)]
Revert "set the G_PARAM_CONSTRUCT flag on the GtkWindow:application property"
This reverts commit
d4fe912879ce1b19490ba5729f67a27b1cf397c9 .
This patch caused some unanticipated compatibility issues.
Colin Walters [Tue, 17 Jan 2012 15:24:39 +0000 (10:24 -0500)]
tests/visuals: Squash a compiler warning
Rob Bradford [Tue, 17 Jan 2012 14:59:03 +0000 (14:59 +0000)]
wayland: Adapt move_resize vfunc implementation to match semantics
Callers of this function were passing in -1, -1 for the width and height if
they just wanted the window moving - rather than the size changing. We need to
respect that behaviour and don't try and set the width/height to those
dimensions.
Now pop-up windows (ala combo-boxes) work!
Matthias Clasen [Tue, 17 Jan 2012 04:14:07 +0000 (23:14 -0500)]
Back to odd
Matthias Clasen [Tue, 17 Jan 2012 04:13:27 +0000 (23:13 -0500)]
3.3.8
Matthias Clasen [Tue, 17 Jan 2012 03:37:26 +0000 (22:37 -0500)]
Remove appchooser tests from the Makefile as well
Matthias Clasen [Tue, 17 Jan 2012 02:55:43 +0000 (21:55 -0500)]
Remove the appchooser a11y dump test as well
This test is also affected by treeview a11y fallout.
Matthias Clasen [Tue, 17 Jan 2012 02:07:36 +0000 (21:07 -0500)]
Remove tree.ui a11y dump test
This is just broken currently; it needs fixing before it can come
back.
Matthias Clasen [Tue, 17 Jan 2012 02:06:11 +0000 (21:06 -0500)]
Disable broken tree-relationships tests for now
Needs to be fixed up before it can come back.
Matthias Clasen [Tue, 17 Jan 2012 02:05:01 +0000 (21:05 -0500)]
Remove a check that broke the color chooser a11y dump
With the visible check, the opacity slider ended up without
a labeled-by, which is sad.
Matthias Clasen [Tue, 17 Jan 2012 02:04:24 +0000 (21:04 -0500)]
Adapt to focus changes in the treeview
Matthias Clasen [Tue, 17 Jan 2012 00:14:20 +0000 (19:14 -0500)]
Remove broken border-image-repeat test
It will come back when it works
Alexandre Rostovtsev [Thu, 12 Jan 2012 04:11:49 +0000 (23:11 -0500)]
Add Since: to gdk_x11_device_get_id(), gdk_x11_device_manager_lookup(), gdk_x11_window_set_utf8_property() docs
https://bugzilla.gnome.org/show_bug.cgi?id=667730
Matthias Clasen [Mon, 16 Jan 2012 23:05:44 +0000 (18:05 -0500)]
GtkScale: Always chain up in notify
Pointed out by Stefan Sauer.
Matthias Clasen [Mon, 16 Jan 2012 22:36:31 +0000 (17:36 -0500)]
Updates
Matthias Clasen [Mon, 16 Jan 2012 22:24:27 +0000 (17:24 -0500)]
Bump GLib dep to 2.31.10
Needed for GResource
Ryan Lortie [Mon, 16 Jan 2012 22:18:49 +0000 (17:18 -0500)]
gtk3-demo-application: fix sections
<section> doesn't need to be given in a menubar but it does need to be
given for submenus, so add those ones back.
Matthias Clasen [Mon, 16 Jan 2012 22:07:46 +0000 (17:07 -0500)]
configure: Set GLIB_COMPILE_RESOURCES
Matthias Clasen [Mon, 16 Jan 2012 22:07:12 +0000 (17:07 -0500)]
gtk-demo: Improve the GtkApplication demo
Following suggestions in bug 667968
Kristian Høgsberg [Mon, 16 Jan 2012 15:20:36 +0000 (10:20 -0500)]
wayland: Set GdkWindow focused state based on keyboard focus
Kristian Høgsberg [Sun, 15 Jan 2012 04:48:51 +0000 (23:48 -0500)]
wayland: Implement client side keyboard repeat
Rico Tzschichholz [Mon, 16 Jan 2012 18:45:27 +0000 (19:45 +0100)]
gtk.symbols: updated
Rico Tzschichholz [Mon, 16 Jan 2012 18:27:23 +0000 (19:27 +0100)]
build: Add missing files to EXTRA_DIST
Benjamin Otte [Mon, 16 Jan 2012 17:44:43 +0000 (18:44 +0100)]
cssprovider: Improve error handling for import errors
We don't want to include the whitespace after an import statement.
Because people tend to add newlines after @import, we report the wrong
lines for failed imports. And that's bad.
Benjamin Otte [Mon, 16 Jan 2012 17:39:52 +0000 (18:39 +0100)]
image: Fix gcc warnings
Benjamin Otte [Sun, 15 Jan 2012 20:09:46 +0000 (21:09 +0100)]
tests: Add a deprecation warning
This should probably have been added a while ago...
Benjamin Otte [Sun, 15 Jan 2012 18:20:34 +0000 (19:20 +0100)]
css: Don't import CSS too early
First, finish parsing the import rule including the semicolon. Then try
to actually import.
test: css/parser/at-invalid-01.css
Benjamin Otte [Sat, 14 Jan 2012 23:11:42 +0000 (00:11 +0100)]
css: Fix memleak
https://bugzilla.gnome.org/show_bug.cgi?id=667910
Kjartan Maraas [Mon, 16 Jan 2012 16:04:31 +0000 (17:04 +0100)]
Updated Norwegian bokmål translation
Rui Matos [Mon, 9 Jan 2012 05:54:08 +0000 (05:54 +0000)]
x11: Fix the _NET_SUPPORTING_WM_CHECK window fetch to be spec compliant
"The child window MUST also have the _NET_SUPPORTING_WM_CHECK property set to
the ID of the child window. […] If the _NET_SUPPORTING_WM_CHECK window on the
client window is missing or not properly set, clients SHOULD assume that no
conforming Window Manager is present."
This commit implements that, which allows us to not have to do a
XGetWindowProperty() every N seconds when running under a compliant WM.
This is also a more correct fix for the bug handled in commit
daf29bffeddc02a7ac55905a79d040c299a37eee .
https://bugzilla.gnome.org/show_bug.cgi?id=666921
Javier Jardón [Mon, 16 Jan 2012 14:49:38 +0000 (14:49 +0000)]
Trivial doc fix
Use GLib consistently capitalized in the docs.
Alexander Larsson [Mon, 16 Jan 2012 13:36:18 +0000 (14:36 +0100)]
Add missing cursors
Alexander Larsson [Mon, 16 Jan 2012 10:18:42 +0000 (11:18 +0100)]
Ensure we can load images via resource:// uris from CSS
Alexander Larsson [Mon, 16 Jan 2012 11:02:02 +0000 (12:02 +0100)]
Move fallback dnd cursors to resources
Alexander Larsson [Thu, 12 Jan 2012 21:11:41 +0000 (22:11 +0100)]
Add GtkImage constructors from resources
Atm you can't read back the resource path like
you can with filenames. Maybe we should add that.
Alexander Larsson [Thu, 12 Jan 2012 20:41:33 +0000 (21:41 +0100)]
Access win32 css as resource, not custom generated C code
Alexander Larsson [Thu, 12 Jan 2012 18:14:33 +0000 (19:14 +0100)]
Add Gtk resource file with the default CSS file
Alexander Larsson [Thu, 12 Jan 2012 18:00:39 +0000 (19:00 +0100)]
Add gtk_ui_manager_add_ui_from_resource
This is a helper function to easily add ui from resource files.
Alexander Larsson [Thu, 12 Jan 2012 17:11:19 +0000 (18:11 +0100)]
Add resource support for GtkBuilder
There are new calls to load ui files from resources, and
you can now read pixbufs by using relative paths in a ui
file read from a resource, or by using absolute resource:/// uris.
Alexander Larsson [Mon, 16 Jan 2012 12:58:23 +0000 (13:58 +0100)]
Fix build
Was getting this error:
main.c:785:13: error: ‘gtk_demos’ undeclared (first use in this function)
main.c:785:13: note: each undeclared identifier is reported only once for each function it appears in
main.c: In function ‘main’:
Matthias Clasen [Sun, 15 Jan 2012 23:54:05 +0000 (18:54 -0500)]
Revert "GtkNotebook: fix crash when DnD tabs between windows"
This reverts commit
eeb9de80e17d1915d877c98eabd9a9a1f4423e9c .
Matthias Clasen [Sun, 15 Jan 2012 19:46:31 +0000 (14:46 -0500)]
Forgotten file
Matthias Clasen [Sun, 15 Jan 2012 19:09:54 +0000 (14:09 -0500)]
GtkScale: Fix marks for inverted scales
Problem pointed out by Stefan Sauer in bug 667598. The solution
here is different from his patch. We always draw marks in increasing
direction, and flip the marks and stop positions to match.
Matthias Clasen [Sun, 15 Jan 2012 19:09:12 +0000 (14:09 -0500)]
Add an non-symmetric mark example
This makes it easier to spot problems with inverting.