]>
Pileus Git - ~andy/gtk/log
Daniel Mustieles [Tue, 20 Dec 2011 13:45:14 +0000 (14:45 +0100)]
Updated Spanish translation
Cosimo Cecchi [Tue, 20 Dec 2011 10:41:35 +0000 (11:41 +0100)]
treeview: fix an uninitialised variable warning
Matthias Clasen [Mon, 19 Dec 2011 23:41:10 +0000 (18:41 -0500)]
Bump version
Matthias Clasen [Mon, 19 Dec 2011 23:37:44 +0000 (18:37 -0500)]
3.3.6
Matthias Clasen [Mon, 19 Dec 2011 23:37:28 +0000 (18:37 -0500)]
Fix dist
Matthias Clasen [Mon, 19 Dec 2011 23:07:42 +0000 (18:07 -0500)]
Fix symbol lists
Matthias Clasen [Mon, 19 Dec 2011 22:47:13 +0000 (17:47 -0500)]
Updates
Rui Matos [Mon, 19 Dec 2011 20:59:06 +0000 (20:59 +0000)]
Revert "progressbar: Set state flags on draw"
This reverts commit
6ed591871862ec87ee66fe69dca5c42087a12160 which is no
longer needed as the style context now has the state flags updated when going
into draw.
Matthias Clasen [Mon, 19 Dec 2011 20:16:11 +0000 (15:16 -0500)]
Add another bloatpad screenshot
Xan Lopez [Mon, 19 Dec 2011 18:25:02 +0000 (19:25 +0100)]
gdkwindow: plug memory leak
==23282== 64 bytes in 2 blocks are definitely lost in loss record 8,069 of 13,389
==23282== at 0x4A074CD: malloc (vg_replace_malloc.c:236)
==23282== by 0x39A1C3E2EA: cairo_region_create (cairo-region.c:196)
==23282== by 0x6D9AF3D: recompute_visible_regions_internal (gdkwindow.c:964)
==23282== by 0x6D9B4B8: recompute_visible_regions (gdkwindow.c:1126)
==23282== by 0x6DA3450: gdk_window_hide (gdkwindow.c:5689)
==23282== by 0x6D9CED9: _gdk_window_destroy_hierarchy (gdkwindow.c:2042)
==23282== by 0x6D9D040: gdk_window_destroy (gdkwindow.c:2109)
==23282== by 0x655B5E4: gtk_entry_unrealize (gtkentry.c:3012)
==23282== by 0x7068BF3: g_cclosure_marshal_VOID__VOID (gmarshal.c:85)
==23282== by 0x706710B: g_type_class_meta_marshal (gclosure.c:885)
==23282== by 0x7066DF9: g_closure_invoke (gclosure.c:774)
==23282== by 0x7080585: signal_emit_unlocked_R (gsignal.c:3340)
==23282== by 0x707F619: g_signal_emit_valist (gsignal.c:3033)
==23282== by 0x707FB71: g_signal_emit (gsignal.c:3090)
==23282== by 0x679E243: gtk_widget_unrealize (gtkwidget.c:4458)
==23282== by 0x64E83C7: gtk_bin_forall (gtkbin.c:172)
==23282== by 0x6548BBD: gtk_container_forall (gtkcontainer.c:2014)
==23282== by 0x67A966D: gtk_widget_real_unrealize (gtkwidget.c:10253)
==23282== by 0x672D002: gtk_tool_item_unrealize (gtktoolitem.c:474)
==23282== by 0x7068BF3: g_cclosure_marshal_VOID__VOID (gmarshal.c:85)
https://bugzilla.gnome.org/show_bug.cgi?id=666552
Matthias Clasen [Mon, 19 Dec 2011 18:58:21 +0000 (13:58 -0500)]
Updates
https://bugzilla.gnome.org/show_bug.cgi?id=666552
Rui Matos [Mon, 19 Dec 2011 16:13:28 +0000 (16:13 +0000)]
notebook: Use the widget state flags as a base for drawing
Rui Matos [Mon, 19 Dec 2011 15:52:14 +0000 (15:52 +0000)]
menuitem: Stop setting state flags on the style context for drawing
Rui Matos [Mon, 19 Dec 2011 15:43:10 +0000 (15:43 +0000)]
menubar: Stop setting state flags on the style context for drawing
Rui Matos [Mon, 19 Dec 2011 15:21:55 +0000 (15:21 +0000)]
label: Use the widget state flags as a base for drawing
Rui Matos [Mon, 19 Dec 2011 15:21:01 +0000 (15:21 +0000)]
label: Stop setting state flags on the style context for drawing
Rui Matos [Mon, 19 Dec 2011 14:10:29 +0000 (14:10 +0000)]
image: Stop setting state flags on the style context for drawing
Rui Matos [Mon, 19 Dec 2011 14:04:10 +0000 (14:04 +0000)]
iconview: Use the widget state flags as a base for drawing items
Rui Matos [Mon, 19 Dec 2011 14:03:17 +0000 (14:03 +0000)]
iconview: Stop setting state flags on the style context for drawing
Rui Matos [Mon, 19 Dec 2011 13:37:19 +0000 (13:37 +0000)]
hsv: Stop setting state flags on the style context for drawing
Rui Matos [Mon, 19 Dec 2011 13:00:02 +0000 (13:00 +0000)]
expander: Use the widget state flags as a base for drawing
Rui Matos [Mon, 19 Dec 2011 12:24:30 +0000 (12:24 +0000)]
eventbox: Stop setting state flags on the style context for drawing
Rui Matos [Sat, 17 Dec 2011 19:29:16 +0000 (19:29 +0000)]
entry: Use the widget state flags as a base for drawing icons and text
Rui Matos [Sat, 17 Dec 2011 19:27:58 +0000 (19:27 +0000)]
entry: Stop setting state flags on the style context for drawing
Rui Matos [Sat, 17 Dec 2011 18:55:09 +0000 (18:55 +0000)]
combobox: Stop setting state flags on the style context for drawing
Rui Matos [Fri, 16 Dec 2011 23:04:49 +0000 (23:04 +0000)]
cellview: Stop checking for sensitivity on draw
This is needless since GtkCellRenderer does it consistently before rendering.
Rui Matos [Fri, 16 Dec 2011 19:49:31 +0000 (19:49 +0000)]
cellrenderertoggle: Use the cell renderer's state flags as a base for rendering
This allows us to pick the underlying widget's state flags that we don't
explicitly set here.
Rui Matos [Fri, 16 Dec 2011 19:45:53 +0000 (19:45 +0000)]
cellrenderer: Use the widget state flags as a base for cell renderers' state
Rui Matos [Thu, 15 Dec 2011 19:36:27 +0000 (19:36 +0000)]
checkmenuitem: Clean up state flags handling on drawing
Rui Matos [Thu, 15 Dec 2011 02:43:49 +0000 (02:43 +0000)]
checkbutton: Use the widget state flags as a base for drawing the indicator
Instead of building a set of state flags specifically for drawing the
indicator, base it on the underlying widget state flags.
Rui Matos [Thu, 15 Dec 2011 02:39:49 +0000 (02:39 +0000)]
checkbutton: Stop setting state flags on the style context for drawing
Rui Matos [Thu, 15 Dec 2011 01:44:46 +0000 (01:44 +0000)]
calendar: Use the widget state flags as a base for drawing arrows
This allows drawing calendar arrows in all possible states the main widget may
be in.
The arrow_state array is converted into a bit field since it only really needs
to store boolean information about prelight for each arrow.
Rui Matos [Thu, 15 Dec 2011 01:39:00 +0000 (01:39 +0000)]
calendar: Use the widget state flags as a base for drawing days
Instead of building a set of state flags specifically for drawing days, base
it on the underlying widget state flags.
Rui Matos [Thu, 15 Dec 2011 01:35:48 +0000 (01:35 +0000)]
button: Stop setting state flags on the style context for drawing
Rui Matos [Thu, 15 Dec 2011 01:35:01 +0000 (01:35 +0000)]
arrow: Stop setting state flags on the style context for drawing
Rui Matos [Thu, 15 Dec 2011 01:33:01 +0000 (01:33 +0000)]
accellabel: Stop setting state flags on the style context for drawing
Rui Matos [Thu, 15 Dec 2011 01:29:26 +0000 (01:29 +0000)]
widget: Set style flags on the style context when the flags are set
This will allow us to simplify most draw methods by not having to explicitly
set the style flags on the context.
Rui Matos [Sun, 11 Dec 2011 19:20:02 +0000 (19:20 +0000)]
widget: Always propagate state flags to all children
https://bugzilla.gnome.org/show_bug.cgi?id=666126
Piotr Drąg [Mon, 19 Dec 2011 19:20:28 +0000 (20:20 +0100)]
Updated POTFILES.in
Ryan Lortie [Mon, 19 Dec 2011 19:03:32 +0000 (14:03 -0500)]
bump glib depend to 2.31.6
Ryan Lortie [Mon, 19 Dec 2011 17:33:21 +0000 (12:33 -0500)]
GtkApplication: add menu API
We add the app-menu and menubar public APIs to GtkApplication while
leaving the implementation in GApplication.
The actual implementation will be moved soon.
Ryan Lortie [Sat, 17 Dec 2011 21:14:18 +0000 (16:14 -0500)]
missing file
Ryan Lortie [Sat, 17 Dec 2011 18:17:31 +0000 (13:17 -0500)]
GtkApplication: document relationship to gdkthreads
Ryan Lortie [Sat, 17 Dec 2011 17:50:02 +0000 (12:50 -0500)]
GtkApplicationWindow: deal with remote actions
Deal with remote action invocations correctly by implementing
GRemoteActionGroup in the same way that GApplication does and pushing
remote activations through the before/after_emit functions of the
GApplication associated with the window.
This is the last part of getting the threading situation right.
https://bugzilla.gnome.org/show_bug.cgi?id=665737
Ryan Lortie [Sat, 17 Dec 2011 06:00:38 +0000 (01:00 -0500)]
GtkApplication: lock gdk on incoming messages
When we have incoming activations or action invocations we should
acquire the GDK lock, just in case the program in question is using gdk
threads.
https://bugzilla.gnome.org/show_bug.cgi?id=665737
Ryan Lortie [Sat, 17 Dec 2011 17:28:30 +0000 (12:28 -0500)]
Move X property handling to GtkApplicationWindow
Don't try to deal with this using a qdata and signal connections in
GtkApplication.
Matthias Clasen [Sat, 17 Dec 2011 05:22:06 +0000 (00:22 -0500)]
Document that gtk_init is called without argv
This answers a question in bug 661823.
Matthias Clasen [Fri, 16 Dec 2011 03:20:42 +0000 (22:20 -0500)]
Fix a typo
Matthias Clasen [Fri, 16 Dec 2011 03:19:54 +0000 (22:19 -0500)]
Forgotten file
Matthias Clasen [Thu, 15 Dec 2011 05:26:02 +0000 (00:26 -0500)]
Show off some menus
Matthias Clasen [Wed, 14 Dec 2011 11:51:54 +0000 (06:51 -0500)]
Some more menu-related docs
Matthias Clasen [Wed, 14 Dec 2011 11:32:13 +0000 (06:32 -0500)]
Plugman: Find the plugins menu in a better way
Now that GtkBuilder finds named submenus, there's no need for
the clumsy menumodel navigation anymore.
Matthias Clasen [Wed, 14 Dec 2011 05:13:32 +0000 (00:13 -0500)]
GtkBuilder: pick up named submenus
When parsing GMenu xml, use the facility for pick up named submenus.
Note that <section id='foo'>...</section> is _not_ a named submenu.
It is a named item with an unnamed submenu :-(
William Hua [Mon, 12 Dec 2011 03:33:45 +0000 (22:33 -0500)]
Handle menu changes.
William Hua [Mon, 12 Dec 2011 03:17:51 +0000 (22:17 -0500)]
Add accelerators to bloatpad.
William Hua [Mon, 12 Dec 2011 02:49:21 +0000 (21:49 -0500)]
Refactor GMenuModel rendering for Mac OS.
William Hua [Sun, 11 Dec 2011 23:46:55 +0000 (18:46 -0500)]
gtkquartz-menu: fix some leaks
William Hua [Sun, 11 Dec 2011 22:39:30 +0000 (17:39 -0500)]
begin adding menu accelerators
Show accelerators in menus.
Matthias Clasen [Mon, 12 Dec 2011 02:16:24 +0000 (21:16 -0500)]
Two small fixes
Don't leak a session bus reference, and don't assume a display
is X11 just because we've built the X11 backend.
Matthias Clasen [Sun, 11 Dec 2011 16:25:41 +0000 (11:25 -0500)]
Fix up includes
Ryan Lortie [Sun, 11 Dec 2011 05:06:50 +0000 (00:06 -0500)]
bloatpad: add 'New Window' menu item
William Hua [Sat, 10 Dec 2011 23:51:30 +0000 (18:51 -0500)]
begin GtkApplication menu support for Mac OS
Matthias Clasen [Fri, 9 Dec 2011 18:51:39 +0000 (13:51 -0500)]
Another plugin, for good measure
Matthias Clasen [Fri, 9 Dec 2011 18:27:10 +0000 (13:27 -0500)]
Something for the eye
Matthias Clasen [Fri, 9 Dec 2011 18:17:35 +0000 (13:17 -0500)]
Add an action too
Matthias Clasen [Fri, 9 Dec 2011 18:09:38 +0000 (13:09 -0500)]
wip example for plugin/gmenu interaction
Matthias Clasen [Fri, 9 Dec 2011 16:34:39 +0000 (11:34 -0500)]
Update testgmenu to latest api changes
Ryan Lortie [Thu, 8 Dec 2011 05:15:45 +0000 (00:15 -0500)]
GtkApplicationWindow: share one GActionMuxer
Use the same GActionMuxer for menubars and accels instead of recreating
a new one each time.
Matthias Clasen [Thu, 8 Dec 2011 04:55:33 +0000 (23:55 -0500)]
Documentation additions
Matthias Clasen [Mon, 5 Dec 2011 22:50:17 +0000 (17:50 -0500)]
GtkApplicationWindow: Always install accelerators
We want accelerators to work, even if the menus are not shown
locally, so we can't rely on the GtkMenu code to set them up
for us. Currently, this code only installs accelerators when the
window is realized.
Matthias Clasen [Mon, 5 Dec 2011 22:44:03 +0000 (17:44 -0500)]
Bloatpad: Add an accelerator in the menu
Matthias Clasen [Mon, 5 Dec 2011 22:41:56 +0000 (17:41 -0500)]
GtkApplication: Extract accelerators from menus
This allows to specify accelerators in a convenient way, by
adding accel="..." attributes to the menu items in the
XML for the menu.
Currently, the accelerators are extracted only once, when the
menu property is changed on the application.
Matthias Clasen [Mon, 5 Dec 2011 22:37:04 +0000 (17:37 -0500)]
Introduce gtkaccelmapprivate.h
Move internal accel map API there and update all users.
Also, add an internal function to create an accel path for
an action and parameter, and use it in gtkapplication.c and
gtkmodelmenuitem.c instead of duplicating that code.
Matthias Clasen [Mon, 5 Dec 2011 22:29:32 +0000 (17:29 -0500)]
Bloatpad: Add an accelerator
Matthias Clasen [Mon, 5 Dec 2011 22:28:19 +0000 (17:28 -0500)]
GtkApplication: Add API to install accelerators for actions
Matthias Clasen [Mon, 5 Dec 2011 22:14:57 +0000 (17:14 -0500)]
GtkApplicationWindow: Set the accel group on constructed windows
This will make the menuitems pick up matching accel map entries
automatically. Currently, nothing creates such accel map entries,
though.
Matthias Clasen [Mon, 5 Dec 2011 22:10:17 +0000 (17:10 -0500)]
GtkApplicationWindow: Add a GtkAccelGroup
This will be used in the following patches.
Matthias Clasen [Mon, 5 Dec 2011 22:41:44 +0000 (17:41 -0500)]
Fix a gtk-doc warning
Ryan Lortie [Mon, 5 Dec 2011 05:27:11 +0000 (00:27 -0500)]
GtkApplication: export windows on the bus
And advertise their location on the bus using X11 properties.
Ryan Lortie [Mon, 5 Dec 2011 05:25:28 +0000 (00:25 -0500)]
(trivially) implement 'shutdown' in GtkApplication
Matthias Clasen [Mon, 5 Dec 2011 00:16:08 +0000 (19:16 -0500)]
Add an example
Matthias Clasen [Sun, 4 Dec 2011 23:40:19 +0000 (18:40 -0500)]
Update GtkApplicationWindow docs
Matthias Clasen [Sun, 4 Dec 2011 23:33:01 +0000 (18:33 -0500)]
Whitespace fix
Matthias Clasen [Sun, 4 Dec 2011 00:35:27 +0000 (19:35 -0500)]
Make accelmap initialization more forgiving
Matthias Clasen [Sun, 4 Dec 2011 00:34:32 +0000 (19:34 -0500)]
Clean up includes
Ryan Lortie [Sat, 3 Dec 2011 23:52:35 +0000 (18:52 -0500)]
bloatpad: add proper sections to the menus
Ryan Lortie [Sat, 3 Dec 2011 23:45:32 +0000 (18:45 -0500)]
Split off GMenuModel -> GtkMenuBar code
Put this in a separate file and substantially refactor it.
Move handling of submenu creation into gtkmodelmenuitem where it
belongs.
Improve our handling of when to show separators or not.
Ryan Lortie [Sat, 3 Dec 2011 19:55:03 +0000 (14:55 -0500)]
Watch "shell shows menu" settings for changes
Correctly monitor the GtkSettings for changes to the
"gtk-shell-shows-app-menu" and "gtk-shell-shows-menubar" properties.
Ryan Lortie [Sat, 3 Dec 2011 18:35:26 +0000 (13:35 -0500)]
GtkSettings: quartz: shell always shows menus
Matthias Clasen [Fri, 2 Dec 2011 23:21:10 +0000 (18:21 -0500)]
Whitespace fixes
Matthias Clasen [Fri, 2 Dec 2011 23:18:58 +0000 (18:18 -0500)]
Never add separators to menubars
Ryan Lortie [Fri, 2 Dec 2011 21:10:31 +0000 (16:10 -0500)]
gmenu testcase: update to glib API changes
Ryan Lortie [Fri, 2 Dec 2011 15:36:49 +0000 (10:36 -0500)]
bloatpad: move action/menu setup to ::startup
No need to waste time doing this in init() if we are not going to become
the primary instance.
Ryan Lortie [Fri, 2 Dec 2011 15:32:10 +0000 (10:32 -0500)]
bloatpad: port to GActionMap for application
g_application_set_action_group() is now deprecated.
Ryan Lortie [Fri, 2 Dec 2011 03:59:27 +0000 (22:59 -0500)]
GtkModelMenuItem: don't leak a GVariant
Ryan Lortie [Fri, 2 Dec 2011 03:43:54 +0000 (22:43 -0500)]
bloatpad: use GtkBuilder for constructing menus
This is closer to what a real application would want to do.
Ryan Lortie [Fri, 2 Dec 2011 03:33:30 +0000 (22:33 -0500)]
GtkModelMenuItem: omit indicator if not required
GtkModelMenuItem, being based on GtkCheckMenuItem, was always reserving
space for a check/radio indicator. This ends up looking pretty strange
in a GtkMenuBar.
Don't reserve space for the indicator unless it's appropriate.
Ryan Lortie [Fri, 2 Dec 2011 03:16:34 +0000 (22:16 -0500)]
GtkApplicationWindow: nuke some g_print spew
Ryan Lortie [Fri, 2 Dec 2011 03:14:57 +0000 (22:14 -0500)]
GtkApplcationWindow: plug two obvious leaks
Colin Walters [Fri, 2 Dec 2011 03:13:56 +0000 (22:13 -0500)]
GtkApplicationWindow: Consistently unparent menubar
We create it floating, and don't hold an extra ref, so we should
just unparent it.