Commit Graph

37562 Commits

Author SHA1 Message Date
Matej Urbančič
06bac8745f Updated Slovenian translation 2014-08-06 14:18:30 +02:00
Martin Srebotnjak
c033a11165 Updated Slovenian translation 2014-08-05 21:14:19 +02:00
Lars Uebernickel
30e07a1f3d gtkpopover: set background and popover css classes 2014-06-18 13:13:30 +02:00
Ryan Lortie
ec68c85c52 Revert "GtkMenuTracker: fix signal handler argument list"
This reverts commit f15f13a0fb.

This fix applied on master but it makes no sense here (where we have an
actual signal rather than just a property notify).
2014-06-10 11:04:18 -04:00
Joanmarie Diggs
c9e110870e GtkEntryAccessible: Emit signal after insertion
The signal needs to be emitted after the text insertion as at-spi gets
the text to compute the inserted text due to the AtkText::insert-text
signal not containing it.
Also adjust position to reflect changes to the offsets.

https://bugzilla.gnome.org/show_bug.cgi?id=731429
2014-06-10 01:14:29 +02:00
Chun-wei Fan
d2c8f0a84b MSVC 2010+ Projects: Update "Installation" Process
Currently, due to the way that Visual Studio 2010+ projects are handled,
the "install" project does not re-build upon changes to the sources, as it
does not believe that its dependencies have changed, although the changed
sources are automatically recompiled.  This means that if a part or more
of the solution does not build, or if the sources need some other fixes
or enhancements, the up-to-date build is not copied automatically, which
can be misleading.

Improve on the situation by forcing the "install" project to trigger its
rebuild, so that the updated binaries can be copied.  This does trigger an
MSBuild warning, but having that warning is way better than not having an
up-to-date build, especially during testing and development.
2014-06-09 12:11:24 +08:00
Carlos Garnacho
d6c1a6280d combobox: Fix reentrancy in gtk_combo_box_popdown()
If called when already popped down, warnings would be issued due
to priv->grab_pointer being unexpectedly NULL, this would happen
in regular operation when selecting items in appears-as-list mode.

So both add a NULL check for priv->grab_pointer, and bail out early
if the popup window is already hidden.
2014-06-05 21:18:22 +02:00
Ryan Lortie
f15f13a0fb GtkMenuTracker: fix signal handler argument list
The signal handler for the visibility of menu items changing had the
wrong signature, resulting in the GParamSpec from the notify signal
being treated as a boolean (which was always true).  This resulted in
items being added over and over and never being removed.

Fix that...
2014-06-05 08:30:16 -04:00
Yuri Myasoedov
dc9d8e9202 Updated Russian translation 2014-05-19 21:42:45 +04:00
GunChleoc
350e76ae48 Updated Scottish Gaelic translation 2014-05-19 08:56:00 +00:00
Chun-wei Fan
d917bdc836 gdkselection-win32.c: Declare Variables At Top Of Block
...so that builds on Visual C++ can be fixed.
2014-05-16 12:23:52 +08:00
Owen W. Taylor
84f6eefec8 GtkPopover: inherit actions from the relative_to widget
Make the relative_to widget the parent for a GtkPopover's
GtkActionGroup. This, for example, makes the menu model of a
GtkMenuButton find action groups attached to the button.

https://bugzilla.gnome.org/show_bug.cgi?id=729915
2014-05-12 16:44:12 -04:00
Matthias Clasen
d80ef2f827 Bump version 2014-05-12 11:20:26 -04:00
Matthias Clasen
234fec14f3 3.12.2 3.12.2 2014-05-12 08:53:17 -04:00
Matthias Clasen
c6c2408a8d GtkIconFactory: Remove outdated information from the docs
The stock browser was removed from gtk3-demo.
2014-05-12 07:54:24 -04:00
Matthias Clasen
67b2f0c9b4 Bloatpad: port to new accel api 2014-05-12 07:41:50 -04:00
Matthias Clasen
e8cccbb55c a11y: Avoid a warning
The listbox row accessible code was giving warnings when
parent is NULL, at destruction time.
2014-05-12 07:41:33 -04:00
Benjamin Otte
492b732872 applicationwindow: Properly unmap the menubar widget 2014-05-12 07:41:03 -04:00
Matthias Clasen
392c9a46ad GtkApplication: Clarify docs a bit
Explicitly mention how gtk_application_set_accels_for_action can
be used to remove all accelerators for an action.

https://bugzilla.gnome.org/show_bug.cgi?id=729451
2014-05-12 07:40:44 -04:00
Matthias Clasen
58a740b29a GtkSearchBar: fix the template
There was a mismatch between GtkSearchBar being derived from GtkBin
and the template claiming the parent to be GtkBox.
2014-05-12 07:39:04 -04:00
Matthias Clasen
a1a6ef613e Raleigh: fix a typo 2014-05-12 07:37:34 -04:00
Matthias Clasen
123b424fb7 Add Adwaita to the list of default icon themes
Hardcode the fallback to Adwaita. I'm leaving gnome in here for
now, since we're in the middle of the transition. It will be
removed before 3.14.
2014-05-12 07:36:42 -04:00
Antoine Jacoutot
d3c096e0cc broadway backend: allow building on OpenBSD
On OpenBSD shm_open(3) is part of libc and there is not librt, so add an
according check.
Check if we have posix_fallocate before using it.

https://bugzilla.gnome.org/show_bug.cgi?id=728272
2014-05-12 07:30:22 -04:00
Matthias Clasen
da55db257c example: Update screenshots 2014-05-12 07:30:09 -04:00
Matthias Clasen
27387a0944 example: Use popover for gears menu 2014-05-12 07:30:03 -04:00
Matthias Clasen
274a8d3774 example: Make gears button square
Another application of image-button.
2014-05-12 07:29:55 -04:00
Matthias Clasen
ce1938651a example: Make search button square
The image-button style class takes care of it.
2014-05-12 07:29:49 -04:00
Matthias Clasen
063aa29f4b example: Modernize the prefs dialog
We should show the current best practice for this kind of
dialog, and use a headerbar with a window close button.
2014-05-12 07:29:42 -04:00
Matthias Clasen
c80892c3f2 example: Port to gtk_application_set_accels_for_action
Instead of hardcoding an accelerator in the ui file, use
gtk_application_set_accels_for_action.
2014-05-12 07:29:33 -04:00
Matthias Clasen
2a0167f82c example: Fix indentation 2014-05-12 07:29:24 -04:00
Matthias Clasen
9d44ec92e5 example: Fix up margins
This makes the code match what we show in the screenshots. This
broke when headerbars were changed to allow titles to extend into
the margin.
2014-05-12 07:27:15 -04:00
Matthias Clasen
1cb15abce9 example: Don't set a nonexisting property
The GtkHeaderBar::show-fallback-app-menu property does not exist,
and isn't needed anyway.
2014-05-12 07:27:08 -04:00
Marcus Karlsson
eb67f0208b GtkColorChooserWidget: Redraw swatches when selection changes
When selecting a swatch in a GtkColorChooserWidget the previously
selected swatch and the currently selected swatch are not redrawn. This
can leave the old swatch still marked with a checkbox even though a new
swatch has been selected.

Redraw the swatches after changing the selection.

https://bugzilla.gnome.org/show_bug.cgi?id=727487
2014-05-12 07:18:56 -04:00
Marcus Karlsson
45e65f2d49 docs: Add missing transfer annotation to GtkBox
The gtk_box_get_center_widget function is missing a transfer annotation
for the returned widget. No transfer is done, so set transfer to none.

https://bugzilla.gnome.org/show_bug.cgi?id=728093
2014-05-12 07:16:49 -04:00
Matthias Clasen
605a8fc158 gtk-demo: Fix images demo
The incremental loading was broken by GtkIconHelper - queuing a
redraw is no longer sufficient to cause GtkImage to redraw with
the new pixbuf contents.
Pointed out by Jasper St. Pierre.
2014-05-12 07:16:35 -04:00
Matthias Clasen
c435ca8913 gtk-demo: Fix the links example
The keynav dialog is transient to the example window; since the
example window is now modal, we need to make the keynav dialog
modal as well, so it can receive input.
Problem pointed out by Jasper St. Pierre.
2014-05-12 07:16:29 -04:00
Jiro Matsuzawa
26a1a824eb l10n: Update Japanese translation 2014-05-12 08:32:56 +09:00
David Mansfield
7451b48708 GdkCursor: Don't leak a cairo surface
The function gdk_cursor_new_from_pixbuf creates a cairo surface
to pass to its backend implementation, but doesn't destroy it
afterwards.
https://bugzilla.gnome.org/show_bug.cgi?id=729670
2014-05-07 19:38:47 -04:00
Ihar Hrachyshka
5b651d0dae Updated Belarusian translation 2014-05-04 22:05:50 +00:00
Paolo Borelli
7ff1142ee9 listbox: check gsequence end iter in get_row_at_index 2014-05-04 19:59:16 +02:00
Руслан Ижбулатов
affd7c1d9d W32: Add a theme for .app-notification
This is copied from Adwaita. Looks sufficiently ok.

https://bugzilla.gnome.org/show_bug.cgi?id=729346
2014-05-01 17:56:33 +00:00
Piotr Drąg
3a0b78fd98 Updated POTFILES.skip 2014-04-30 22:14:24 +02:00
Benjamin Otte
5eb6f4d2ab reftests: Add test for latest commit
Check that the label gets linebroken properly.
2014-04-29 19:48:35 +02:00
Benjamin Otte
35aec354d7 window: Subtract shadow from passed in width for height
... and height for width in size requests. Fixes mislayout in
control-center universal access panel.
2014-04-29 19:48:29 +02:00
Alexander Larsson
281ca4905a treeview: Fix prelight redraw when adjustment changes
When the adjustment changes (due to e.g. a mouse wheel scroll) we update
the prelight. The part that un-prelights the previous prelight was
broken by the the pixel cache, as it called update_prelight in the
middle of the scrolling operation, where the windows were moved
but the tree_view->priv->dy was not changed to the new value. This
caused the updates to the pixel cache to go to the wrong place.

We fix this by fully doing the scroll before we update_prelight().

https://bugzilla.gnome.org/show_bug.cgi?id=728284
2014-04-29 09:36:00 +02:00
Juan Pablo Ugarte
e9ba546203 GtkRecentChooserMenu: Set current uri before activating an item.
When activating an item using mnemonics GtkRecentChooserMenu does not select a
item before calling the item-activated signal thus
gtk_recent_chooser_get_current_uri() always return the last selected item
instead of the activated one.

Fixes Bug 495105 "Open recent file keyboard shortcuts do not work correctly"
2014-04-28 17:19:08 -03:00
Matej Urbančič
40926214c7 Updated Slovenian translation 2014-04-28 21:10:48 +02:00
Matej Urbančič
69b8aa8fcf Updated Slovenian translation 2014-04-28 21:07:27 +02:00
Руслан Ижбулатов
b99b0257c9 W32: Update the css to match the .modelbutton->.button.menuitem transition 2014-04-28 16:04:02 +00:00
Matthias Clasen
ee9454ce55 Rename the modelbutton style class
This is not a great name to use in themes; instead, add the
menuitem class, so themes can use .button.menuitem for styles
that are specific to menuitem-like buttons.
2014-04-27 18:51:03 -04:00