Commit Graph

36112 Commits

Author SHA1 Message Date
Pedro Albuquerque
d2609c1dab Updated Portuguese translation 2015-10-06 08:00:18 +00:00
Pedro Albuquerque
606dc6b5bf Updated Portuguese translation 2015-10-06 07:57:49 +00:00
Pedro Albuquerque
878259a810 Updated Portuguese translation 2015-10-06 07:54:48 +00:00
Pedro Albuquerque
bb9763c42a Updated Portuguese translation 2015-10-06 07:51:26 +00:00
Cédric Valmary
e619e86084 Updated Occitan translation 2015-05-29 20:48:18 +00:00
Cédric Valmary
130c7e6dbc Updated Occitan translation 2015-05-15 16:24:10 +00:00
Руслан Ижбулатов
92073cc748 W32: Only override window miximized position for CSDed windows
This fixes an issue with non-CSDed windows being improperly positioned
when maximized, which was introduced by the previous commit.

https://bugzilla.gnome.org/show_bug.cgi?id=746821
2015-03-26 17:09:13 +00:00
Руслан Ижбулатов
14ac46cbd4 W32: Correctly set maximized window position
Use screen workarea to *also* set the position of a maximized window,
not just its size. Without this the window position defaults to 0:0
(the topleft corner), which is wrong when taskbar is position along the
top or left edge of the screen.

https://bugzilla.gnome.org/show_bug.cgi?id=746821
2015-03-26 15:58:44 +00:00
mtwebster
466186680c gtktreeview: Fix cancel of column re-ordering via the Escape key.
https://bugzilla.redhat.com/show_bug.cgi?id=1162288

https://bugzilla.gnome.org/show_bug.cgi?id=739920
2014-12-14 18:32:12 -05:00
Matthias Clasen
3217246e94 Don't implement popup_menu in GtkWindow
This leads to disastruous results, since each menu is itself
in a GtkWindow, so holding down the menu key leads to a neverending
cascade of menus on top of menus.

https://bugzilla.gnome.org/show_bug.cgi?id=722106
2014-08-25 20:13:06 +02:00
Chun-wei Fan
01b6a6adf4 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 11:59:20 +08:00
Chun-wei Fan
f8288455e3 gdkselection-win32.c: Declare Variables At Top Of Block
...so that builds on Visual C++ can be fixed.
2014-05-16 12:24:49 +08:00
Matthias Clasen
1aaf9c79d9 Bump version 2014-05-12 16:00:08 -04:00
Matthias Clasen
781e3effb0 3.10.9 3.10.9 2014-05-12 14:23:02 -04:00
Matthias Clasen
2a99d0305a a11y: Avoid a warning
The listbox row accessible code was giving warnings when
parent is NULL, at destruction time.
2014-05-12 14:18:59 -04:00
Benjamin Otte
77a8ce71d7 applicationwindow: Properly unmap the menubar widget 2014-05-12 14:18:49 -04:00
Marcus Karlsson
91e0074185 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 14:17:56 -04:00
Matthias Clasen
0d60438b56 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 14:17:38 -04:00
Juan Pablo Ugarte
75cde50634 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-05-12 14:16:49 -04:00
Juan Pablo Ugarte
5ecac16441 Fixed crash in GtkLockButton if a button with permission set to NULL is clicked.
https://bugzilla.gnome.org/show_bug.cgi?id=728992
2014-05-12 14:16:39 -04:00
Antoine Jacoutot
2c847136f5 openbsd: properly set len for gtkmountoperation-x11
sysctl(3) is the correct way to get the lenght for len in this case.
Also drop unused headers and change style to match the rest of the file.
2014-05-12 14:16:25 -04:00
Marc-André Lureau
c7978c1832 gdk/win32: VK_SNAPSHOT maps to GDK_Print
Also, I am not sure the above VK_PRINT -> GDK_Print mapping is
correct, but it doesn't hurt yet.

https://bugzilla.gnome.org/show_bug.cgi?id=686170
2014-05-12 14:16:10 -04:00
Marc-André Lureau
f3104d380e win32: add more clipboard data checks to avoid crash
It may happen that the received clipboard data is empty, but
if it's of type image/bmp, gtk+ will crash:

gdk_property_change: 00030AD4 GDK_SELECTION image/bmp REPLACE 8*0 bits:
... delayed rendering
gdk_selection_send_notify_for_display: 00030AD4 CLIPBOARD image/bmp
GDK_SELECTION (no-op)
_gdk_win32_selection_convert_to_dib: 1252003C image/bmp

Program received signal SIGSEGV, Segmentation fault.
0x749a9f40 in msvcrt!memmove () from C:\Windows\syswow64\msvcrt.dll

Thread 1 (Thread 2248.0x1b34):
target=0xc07b) at gdkselection-win32.c:1292
at gdkevents-win32.c:3498
wparam=8, lparam=0) at gdkevents-win32.c:232
message=773, wparam=8, lparam=0)
    at gdkevents-win32.c:263
C:\Windows\syswow64\user32.dll
C:\Users\rugoosse\AppData\Local\virt-viewer\bin\libpangocairo-1.0-0.dll
wparam=0, lparam=-1687549457)
    at gdkevents-win32.c:248
C:\Users\rugoosse\AppData\Local\virt-viewer\bin\libpangocairo-1.0-0.dll

https://bugzilla.gnome.org/show_bug.cgi?id=728745
2014-05-12 14:15:55 -04:00
Jasper St. Pierre
f42076e377 gtk-demo: Make sure to clear the timeout when we stop it 2014-05-12 14:15:24 -04:00
David Mansfield
dc98a26aa2 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:40:14 -04:00
Volker Sobek
93c1b2b959 docs: Fix parameter names for two functions
Don't use two different parameter names.
2014-04-21 23:15:18 +02:00
Руслан Ижбулатов
2315030f1e W32: correctly guess max window size from the size of the workarea of the screen it's on
Get monitor on which the most of the window is located (nearest monitor if
window is not on screen), get its work area (area not occupied by taskbar or
any other bars) and use that for maxsize.

Previous default of 30000 meant that windows maximized onto full screen,
even covering the area where taskbar is.

https://bugzilla.gnome.org/show_bug.cgi?id=726592
2014-04-16 22:46:24 +00:00
Ryan Lortie
2e06ff3d4d GtkMenuTracker: tweak separator logic
Ignacio Casal Quinteiro reported a problem whereby an empty section at
the start of a menu has a separator placed after it.  This was caused by
the implementation of the logic that separators should be inserted at
the top of all non-empty sections that are not the first section.  This
logic is obviously incorrect in the case that the first section is empty
(in which case we would not expect to see a separator at the top of the
second section).

Change the logic so that we only insert separators when we see a
non-zero number of actual items in the menu before us.

https://bugzilla.gnome.org/show_bug.cgi?id=721119
2014-04-14 09:20:34 -04:00
Carlos Garnacho
feb0c89e0b x11: Implement "drag to top to maximize" gesture on emulated window dragging
And the counterpart to unmaximize when dragging a maximized window, if
touch devices aren't going to use EWMH moveresize, having this one at least
makes things feel a bit less awkward.

https://bugzilla.gnome.org/show_bug.cgi?id=709914
2014-04-10 16:29:03 -07:00
Carlos Garnacho
5e43c61fa2 x11: Fallback to emulated window dragging for touch devices
Sadly, EWMH moveresize mechanism can't work with touch devices for two
reasons:

1) As a mutter implementation detail, the device is queried in order
to check whether the dragging button is still pressed. Touch devices
won't report the button 1 being pressed through pointer emulation.
2) Even bypassing that check, on X11 touch events are selected prior
to sequences being started, either through XISelectEvents or
XIGrabTouchBegin, no late registering through active grabs is allowed,
as WMs do on reaction to EWMH moveresize messages.

So for the time being, make touch devices fallback on emulated window
dragging, which at least allows for moving windows.

https://bugzilla.gnome.org/show_bug.cgi?id=709914
2014-04-10 16:28:55 -07:00
Matthias Clasen
dc4b32b091 X11: Support keyboard-initiated move and resize operations
The EWMH defines _NET_WM_MOVERESIZE_SIZE_KEYBOARD and
_NET_WM_MOVERESIZE_MOVE_KEYBOARD for operations that are not
initiated by a button-press event. Allow using these by passing
a button of 0 to gdk_window_begin_move/resize_drag.
2014-04-10 16:28:45 -07:00
Piotr Drąg
9a2accc7a7 Updated POTFILES.skip 2014-04-06 16:04:16 +02:00
Matthias Clasen
18ee393a2a Bump version 2014-04-05 23:56:27 -04:00
Matthias Clasen
2981ac9cf9 3.10.8 3.10.8 2014-04-05 22:25:33 -04:00
Matthias Clasen
9ee757cf05 Fix distcheck 2014-04-05 22:25:32 -04:00
Matthias Clasen
ebf97dfbe4 Fix the documentation build 2014-04-05 17:01:16 -04:00
Matthias Clasen
6d7837885f overlay: deal gracefully with main widget being absent
It can happen that we get a size request when the main widget
is still NULL. Currently we hit a critical in this case, and
stumble on. We can do better.
Opening a new tab in nautilus is hitting this case.
https://bugzilla.gnome.org/show_bug.cgi?id=727643
2014-04-05 17:01:16 -04:00
Michael Natterer
384924790f treeview: remove unused members from GtkTreeView Private 2014-04-05 17:01:15 -04:00
Paolo Borelli
1fbd66ea87 textbufferserialize: do not leak list of tags 2014-04-05 17:01:14 -04:00
Paolo Borelli
16b9dbd2dd stackswitcher: do not leak buttons hash table 2014-04-05 17:01:13 -04:00
Jonas Danielsson
44201cb39d clipboard: Add link to GdkDisplay in doc
https://bugzilla.gnome.org/show_bug.cgi?id=712752
2014-04-05 17:01:13 -04:00
Bastien Nocera
8fdda90a45 treeview: Lower the duration of validation iterations
GTK_TREE_VIEW_TIME_MS_PER_IDLE is currently 30 milliseconds, meaning
that validate_rows will validate rows up until all the validations have
taken over 30 msecs. So it's likely to block redrawing via the clock
frame update mechanism, as that tops at 16.66 milliseconds per frame
(1/60th of a second).

Stop validating rows if we've spent more than 3/5 of our allotted budget
for inter-frame processing, so as to avoid blocking.

In the future, we would probably want to calculate how long we would
have left until the next frame, especially if higher priority idles
and timeouts have already consumed a portion of that allotted time.

https://bugzilla.gnome.org/show_bug.cgi?id=726871
2014-04-05 17:01:12 -04:00
Olivier Brunel
c20721fd20 treemodelfilter: Fix using wrong path on row-deleted
A "typo" led to using a wrong GtkTreePath when converting the path of the
virtual root to check the ancestors, which would lead to either no checks being
performed, or maybe segfaulting when using an invalid path as result.

https://bugzilla.gnome.org/show_bug.cgi?id=722058
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
2014-04-05 17:01:11 -04:00
John Lindgren
81a5243a47 Allow gtk_radio_menu_item_set_group() to be called twice without crashing.
https://bugzilla.gnome.org/show_bug.cgi?id=726859
2014-04-05 17:01:10 -04:00
Joanmarie Diggs
1994fc7ec4 Add missing AtkRelations for labelled containers in the print dialog
These AtkRelation types are added automatically for widgets with a label
specified (e.g. via gtk_label_set_mnemonic_widget, gtk_frame_set_label,
and gtk_frame_set_label_widget). When such specification is absent, the
accessible relationship must be manually set.

https://bugzilla.gnome.org/show_bug.cgi?id=726996
2014-04-05 17:01:10 -04:00
John Lindgren
f92a25d773 Fix typo (GTK_ENABLE_DEBUG vs. G_ENABLE_DEBUG).
https://bugzilla.gnome.org/show_bug.cgi?id=726858
2014-04-05 17:01:09 -04:00
Matthias Clasen
3d626d9094 font chooser: Update font list on font changes
We do get a style-updated emission when new fonts are installed.
Update the font list in this case.

https://bugzilla.gnome.org/show_bug.cgi?id=726476
2014-04-05 17:01:08 -04:00
Benjamin Otte
851b5d3c4c docs: Add more information to gtk_widget_set_realized()
It's important to point out that widgets should only be marked as
realized very late in the process. Even GTK widgets don't get this
right.

https://bugzilla.gnome.org/show_bug.cgi?id=726717
2014-04-05 17:01:07 -04:00
Benjamin Otte
6c9d0e1773 expander: Call set_realized() later
Widgets should only call set_realized() after having created and
registered their GDK windows. In this case, the creation of the style
context (or more exactly: figuring out the scale factor for it) requires
knowing if the widget is already realized. Which it isn't.

https://bugzilla.gnome.org/show_bug.cgi?id=726717
2014-04-05 17:01:07 -04:00
Benjamin Otte
2594f3452c cssprovider: Fix error message
expected a valid semicolon
sounds kinda not so great. Make it say
  expected semicolon

Unless somebody can tell me the difference between valid and invalid
semicolons?
2014-04-05 17:01:06 -04:00