]>
Pileus Git - ~andy/gtk/log
Carlos Garcia Campos [Wed, 25 Jan 2012 17:51:12 +0000 (18:51 +0100)]
gtkrange: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:44:55 +0000 (18:44 +0100)]
gtkpathbar: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:41:30 +0000 (18:41 +0100)]
gtkpaned: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:40:32 +0000 (18:40 +0100)]
gtknotebook: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:38:50 +0000 (18:38 +0100)]
gtkmenutoolbutton: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:36:12 +0000 (18:36 +0100)]
gtkmenu: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:34:11 +0000 (18:34 +0100)]
gtklabel: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:32:55 +0000 (18:32 +0100)]
gtkiconview: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:31:32 +0000 (18:31 +0100)]
gtkhsv: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:29:30 +0000 (18:29 +0100)]
gtkexpander: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:28:36 +0000 (18:28 +0100)]
gtkentry: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:26:04 +0000 (18:26 +0100)]
gtkdnd: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:24:02 +0000 (18:24 +0100)]
gtkcombobox: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:21:50 +0000 (18:21 +0100)]
gtkcolorsel: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:20:23 +0000 (18:20 +0100)]
gtkcellarea: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:19:40 +0000 (18:19 +0100)]
gtkcalendar: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:18:07 +0000 (18:18 +0100)]
gtkbutton: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:16:23 +0000 (18:16 +0100)]
gtkappchooserwidget: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:15:01 +0000 (18:15 +0100)]
gtkaboutdialog: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:10:48 +0000 (18:10 +0100)]
gdkevents: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 14:28:14 +0000 (15:28 +0100)]
gdk: Add macros for left, middle and right buttons
https://bugzilla.gnome.org/show_bug.cgi?id=668688
Daniel Mustieles [Thu, 26 Jan 2012 16:14:25 +0000 (17:14 +0100)]
Updated Spanish translation
Piotr Drąg [Thu, 26 Jan 2012 14:22:19 +0000 (15:22 +0100)]
Updated POTFILES.in
Piotr Drąg [Thu, 26 Jan 2012 14:22:01 +0000 (15:22 +0100)]
Updated POTFILES.in
Marek Kasik [Thu, 26 Jan 2012 09:52:47 +0000 (10:52 +0100)]
printing: Fix a typo
Fix a typo which crashes on my printer.
Michael Natterer [Thu, 26 Jan 2012 09:37:12 +0000 (10:37 +0100)]
quartz: s/gdk_cursor_ref/g_object_ref/
Michael Natterer [Thu, 26 Jan 2012 09:11:17 +0000 (10:11 +0100)]
Bug 667691 - implement gdk_window_restack() for Quartz
Apply patch from Paul Davis which implements this missing function.
(cherry picked from commit
e1c107a094f46d93f7b9bfeb029cf30ecfbedc12 )
Will Newton [Thu, 12 Jan 2012 11:14:02 +0000 (11:14 +0000)]
iconcache: Always check return value of find_image_offset.
find_image_offset returns 0 if it failed to find a matching image.
Check this return value in _gtk_icon_cache_get_icon to avoid
making bad memory accesses later.
Signed-off-by: Will Newton <will.newton@imgtec.com>
https://bugzilla.gnome.org/show_bug.cgi?id=667745
Matthias Clasen [Thu, 26 Jan 2012 02:13:34 +0000 (21:13 -0500)]
GtkMenu: Improve annotations
Add a 'Rename to' annotation so gtk_menu_popup_for_device
appears in bindings as gtk_menu_popup (which we skip anyway).
https://bugzilla.gnome.org/show_bug.cgi?id=657385
Matthias Clasen [Thu, 26 Jan 2012 01:58:55 +0000 (20:58 -0500)]
Add some menu markup documentation
Ryan Lortie [Thu, 26 Jan 2012 01:56:06 +0000 (20:56 -0500)]
Remove one last user of gmenumarkup
Ryan Lortie [Wed, 25 Jan 2012 16:30:11 +0000 (11:30 -0500)]
GtkTimeline: protect the timeline from unref
The timeline frame function emits several signals, assuming that the
timeline will exist after these signals return. This assumption can be
invalid if signal handlers unref the timeline.
https://bugzilla.gnome.org/show_bug.cgi?id=668675
Ryan Lortie [Wed, 25 Jan 2012 23:23:25 +0000 (18:23 -0500)]
GtkBuilder: change format of menus
Change the format of GtkBuilder <menu> to be more in-line with the style
of the rest of GtkBuilder so that we can do translation in a consistent
way.
The format is now substantially more difficult to hand-write, but tools
should be along soon.
There is an xslt program attached to the bug to help you convert your
existing .ui files from the old format to the new one.
https://bugzilla.gnome.org/show_bug.cgi?id=668696
Cosimo Cecchi [Wed, 25 Jan 2012 23:30:48 +0000 (18:30 -0500)]
application: sync clipboard and recent manager on shutdown
This mimics the code for gtk_main(), since GApplication iterates the
main context directly.
Matthias Clasen [Wed, 25 Jan 2012 23:21:47 +0000 (18:21 -0500)]
GtkAboutDialog: Make credits section extensible
This commit adds API that allows to add new named sections
to the Credits part of GtkAboutDialog, in addition to the
hardcoded sections for authors, documenters, artists and
translators.
https://bugzilla.gnome.org/show_bug.cgi?id=484693
Dieter Verfaillie [Wed, 25 Jan 2012 12:02:21 +0000 (13:02 +0100)]
win32: fix gdk_win32_window_raise
When calling gtk_window_present(), gdk_win32_window_raise did not
actually raise the window anymore. Replacing BringWindowToTop() with
SetForegroundWindow() fixes this.
During testing, we also discovered that sometimes SetForeGroundWindow()
will (correctly) refuse to raise the window and fail(for example: sometimes
when dragging a different application at the time of a gtk_window_present()
call). To prevent a GdkWarning from being produced, usage of the API_CALL
macro has been removed for this case.
Additional goodies of SetForeGroundWindow:
- it brings the window to the front when the process owning the
window to raise is the foreground process (for example when
gtk_window_present is called from a GtkStatusIcon's activate
signal handler)
- it limits itself to flashing the task bar button associated
with the window if the process owning the window to raise
is *not* the foreground process (for example when gtk_window_present
is called from a g_timeout_add callback function)
https://bugzilla.gnome.org/show_bug.cgi?id=665760
Benjamin Otte [Wed, 25 Jan 2012 17:28:26 +0000 (18:28 +0100)]
css: Return GArrays from shorthand parsing
GValueArray is deprecated now.
Benjamin Otte [Wed, 25 Jan 2012 17:26:56 +0000 (18:26 +0100)]
css: Use GArray in GtkCssComputedValues
GValueArray is deprecated in glib. Also, bump the required glib version
for g_array_set_clear_func().
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