gtk+3.0.git
8 years agoscrolledwindow: Properly remove scrollbars
Timm Bäder [Sat, 27 May 2017 07:47:56 +0000 (09:47 +0200)]
scrolledwindow: Properly remove scrollbars

Instead of keeping an extra ref, then unparent+destroy+unref, don't keep
an extra ref and just unparent the scrollbar when appropriate.

8 years agoWindow: Connect screen signals properly in init()
Daniel Boles [Thu, 31 Aug 2017 19:19:58 +0000 (20:19 +0100)]
Window: Connect screen signals properly in init()

Do not connect to get_settings_for_screen() if we have no screen…

Use g_signal_connect(), not connect_object(), to match how set_screen()
makes these same connections, and how finalize() already disconnects.

https://bugzilla.gnome.org/show_bug.cgi?id=705640

8 years agoFileChooserWidget: Remove an unused #include
Daniel Boles [Thu, 31 Aug 2017 18:58:15 +0000 (19:58 +0100)]
FileChooserWidget: Remove an unused #include

8 years agoEntry: Rename int helper to gtk_entry_clear_icon()
Daniel Boles [Wed, 30 Aug 2017 20:12:56 +0000 (21:12 +0100)]
Entry: Rename int helper to gtk_entry_clear_icon()

It was called gtk_entry_clear(), which was unnecessarily vague.

8 years agoEntry: Fix Shift-click → extend/truncate selection
Daniel Boles [Sat, 5 Aug 2017 22:48:29 +0000 (23:48 +0100)]
Entry: Fix Shift-click → extend/truncate selection

Since the move from button-press to gesture events, Shift-clicking did
not work to start a selection (from none) or truncate an existing one.

This was due to the code being copy-pasted around and some logic being
broken in the process. This makes both of those work as they should, by
shuffling it again so the end result is the same as before. Highlights:

(1) ::button-press if extending due to a single press would call
set_positions(tmp_pos, tmp_pos), which is what made the Shift+click to
create a selection work. That was lost. Add it back to make that work.

(2) ::button-press in the “Truncate current selection” branch would not
execute all the stuff around “extend_to_left”, as that was the else
case. So, set extend_selection = FALSE so we skip over that later on.

(3) BUT! This Truncate case never fired because it was in the else
branch of if (in_selection())! Of course, it must be in the true branch.

(4) The IM context was not reset if the Shift-click occurred within an
existing selection, only if it did not. In ::button-press this was the
first thing done if extending a selection, regardless. Make it so again.

https://bugzilla.gnome.org/show_bug.cgi?id=780750

8 years agogl.po: Remove mnemonic underlines from tooltips
Daniel Boles [Wed, 30 Aug 2017 13:22:54 +0000 (14:22 +0100)]
gl.po: Remove mnemonic underlines from tooltips

It looks like these were copy-paste errors from the corresponding labels
for buttons, which should have mnemonics. Of course, tooltips cannot.

8 years agoAvoid empty space in the emoji chooser
Matthias Clasen [Wed, 30 Aug 2017 12:36:56 +0000 (08:36 -0400)]
Avoid empty space in the emoji chooser

We need to hide the empty flow boxes as well, to avoid
spacing between them.

https://bugzilla.gnome.org/show_bug.cgi?id=786966

8 years agoUpdate Galician translation
Fran Dieguez [Wed, 30 Aug 2017 13:10:56 +0000 (13:10 +0000)]
Update Galician translation

8 years agoUpdate Friulian translation
Fabio Tomat [Wed, 30 Aug 2017 09:22:45 +0000 (09:22 +0000)]
Update Friulian translation

8 years agoPlacesSidebar: Reuse strings, mark for translation
Daniel Boles [Tue, 29 Aug 2017 19:04:45 +0000 (20:04 +0100)]
PlacesSidebar: Reuse strings, mark for translation

The new menu items were not marked for translation, had no mnemonics,
and were not title-cased. Reuse the strings that we already had for the
buttons shortly down the file, and mark these for translation.

https://bugzilla.gnome.org/show_bug.cgi?id=786123

8 years agotextview: fix bug on DnD displaced limits of selection
Nelson Benítez León [Wed, 2 Aug 2017 14:03:28 +0000 (19:03 +0500)]
textview: fix bug on DnD displaced limits of selection

The fix of commit f2fd655754407103f8fb9b2c3e7586fb595ab917
should be confined to DnD coords only, because otherwise
it causes the start and end of the selection to be displaced.

https://bugzilla.gnome.org/show_bug.cgi?id=785736

8 years agoTextView: :border-width broke window→widget coords
Daniel Boles [Tue, 29 Aug 2017 18:00:03 +0000 (19:00 +0100)]
TextView: :border-width broke window→widget coords

Do the converse of commit bd7c87c762c75bbb8dfb5fed23964651188ef206 so
that a TextView with Container:border-width > 0 does not get its handles
and magnified region shifted up/left from where they should be.

https://bugzilla.gnome.org/show_bug.cgi?id=786986

8 years agoExpander: Don’t set event_window over whole widget
Daniel Boles [Tue, 29 Aug 2017 10:24:19 +0000 (11:24 +0100)]
Expander: Don’t set event_window over whole widget

realize() gave the event_window the allocation of the whole widget. This
was wrong; it should be that of the title_gadget, as in size_allocate().

This broke expanders in which :expanded is TRUE before showing: Input
over the entire widget was sent to the title, making the child unable to
receive it. Clicking the child unexpectedly collapsed it. Once expanded
again, things fixed themselves as size_allocate() fixed the event_window
alloc. So, queuing a reallocate or resize after show() was a workaround.

Fix by giving event_window the allocation of the title_gadget, to match
what size_allocate() does. That is symmetrical and just plain correct.

https://bugzilla.gnome.org/show_bug.cgi?id=774134

8 years agoGtkBuilder: Prefer "type-func" over "class" when looking for the GType
Debarshi Ray [Mon, 28 Aug 2017 16:58:50 +0000 (18:58 +0200)]
GtkBuilder: Prefer "type-func" over "class" when looking for the GType

https://bugzilla.gnome.org/show_bug.cgi?id=786932

8 years agoUpdated Lithuanian translation
Aurimas Černius [Tue, 29 Aug 2017 12:49:02 +0000 (15:49 +0300)]
Updated Lithuanian translation

8 years agoUpdate Latvian translation
Rūdolfs Mazurs [Tue, 29 Aug 2017 09:17:44 +0000 (12:17 +0300)]
Update Latvian translation

8 years agobuild: Install Emoji chooser GSettings files in MSVC projects
Chun-wei Fan [Tue, 29 Aug 2017 05:05:52 +0000 (13:05 +0800)]
build: Install Emoji chooser GSettings files in MSVC projects

This is needed for the Emoji chooser to work on Visual Studio builds.

8 years agoLevelBar: Really fix underallocation of blocks
Daniel Boles [Sat, 12 Aug 2017 14:51:45 +0000 (15:51 +0100)]
LevelBar: Really fix underallocation of blocks

Themes should not enforce min sizes on blocks in continuous mode; in
this case, the filled block should be as large as it needs to be to
reflect the current value, and no larger or smaller than that. So, the
fact that the minimal size was selected on just levelbar block is wrong:
we should also require the levelbar.discrete class to apply min sizes.

The widget should enforce whatever correct minimum size results from the
above fix, by reapplying commit 78b4885fe8850e132d8bb06df8ab90ac6c2033e0

Except: we should not allocate/draw the filled block if the value is 0,
as in this case, the LevelBar should be empty, not have a min-size fill.

https://bugzilla.gnome.org/show_bug.cgi?id=783649

8 years agoTextView: Fix gesture coords with :border-width >0
Daniel Boles [Mon, 28 Aug 2017 20:56:06 +0000 (21:56 +0100)]
TextView: Fix gesture coords with :border-width >0

Container:border-width caused the x/y coords converted to iters to be
offset inwards by that width, breaking positioning/selecting by gesture.

So, subtract :border-width in widget_to_text_window_coords(). This fixes
gesture positions, & plays fine with :margin & CSS margin/border/padding

N.B.: This is not to endorse :border-width. It’s gone in GTK+ 4 & weird
on a TextView: it’d be more intuitive to – if you must! – set it on the
TV parent. Really, please just use CSS instead. Still, it’s easy to fix.

https://bugzilla.gnome.org/show_bug.cgi?id=759725

8 years agoUpdate Croatian translation
gogo [Mon, 28 Aug 2017 21:12:23 +0000 (21:12 +0000)]
Update Croatian translation

8 years agoEntry: Handle :show-emoji-icon becoming false
Daniel Boles [Mon, 28 Aug 2017 19:35:47 +0000 (20:35 +0100)]
Entry: Handle :show-emoji-icon becoming false

Disconnect the now-unwanted signal handler, and hide the icon.

https://bugzilla.gnome.org/show_bug.cgi?id=786940

8 years agoEntry: Drop redundant typecasts
Daniel Boles [Mon, 28 Aug 2017 19:34:49 +0000 (20:34 +0100)]
Entry: Drop redundant typecasts

https://bugzilla.gnome.org/show_bug.cgi?id=786940

8 years agoEntry: Only open emoji picker on 2ndary icon click
Daniel Boles [Mon, 28 Aug 2017 19:26:48 +0000 (20:26 +0100)]
Entry: Only open emoji picker on 2ndary icon click

We hijack the secondary icon for the emoji picker, but the handler for
::icon-press did not check the pressed icon and opened it for either.

https://bugzilla.gnome.org/show_bug.cgi?id=786938

8 years agoComboBox: Don’t redundantly show() scrolled_window
Daniel Boles [Mon, 28 Aug 2017 18:28:20 +0000 (19:28 +0100)]
ComboBox: Don’t redundantly show() scrolled_window

It and its child were already show()n in list_setup().

8 years agoComboBox: Fix wrongly matched signal disconnect()s
Daniel Boles [Mon, 28 Aug 2017 17:57:27 +0000 (18:57 +0100)]
ComboBox: Fix wrongly matched signal disconnect()s

Various disconnections had the wrong flags and/or data, so we failed to
disconnect a pile of signals, shown by 0 returned by the disconnect_*()
functions. Fix this, and use the nicer disconnect_by_*() while here.

8 years agoRevert "combobox: remove superfluous GTK+ grabs"
Daniel Boles [Mon, 28 Aug 2017 17:38:45 +0000 (18:38 +0100)]
Revert "combobox: remove superfluous GTK+ grabs"

This reverts commit 46b4e5d38877197503f802380e5c9a469218f99b.

Apparently these weren’t so redundant, because their removal introduced
at least 2 bugs in list-mode ComboBoxes: failure to close the popup upon
clicking out of it, and failing to receive mouse input in the popup of a
CB in a modal window. It may also have caused (even more!) stuck grabs.

https://bugzilla.gnome.org/show_bug.cgi?id=738387
https://bugzilla.gnome.org/show_bug.cgi?id=776793

8 years agoComboBox: Really set list-mode popup transient-for
Daniel Boles [Sun, 27 Aug 2017 23:12:02 +0000 (00:12 +0100)]
ComboBox: Really set list-mode popup transient-for

set_transient_for(toplevel) was only called in list_setup(). It was easy
to make a test showing a NULL :transient-for instead of the correct one.

So, move the call from list_setup() to popup_for_device(). Also do that
for window_group_add_window(), which means not calling it redundantly.

(I tried using a ComboBox:parent-set handler, but the Inspector’s CB
didn’t like that: it calls popup_for_device() twice and closes on button
release. Anyway, using popup() is much more concise than a new handler.)

8 years agoComboBox: List-mode popup must open on CB’s screen
Daniel Boles [Sun, 27 Aug 2017 20:29:52 +0000 (21:29 +0100)]
ComboBox: List-mode popup must open on CB’s screen

The screen for the list-mode popup_window was only being set in
set_popup_widget(), i.e. when changing modes, so if the ComboBox was
moved to a different screen later, the popup would appear on the
original one, which is wrong.

Worse, this (somehow) broke opening some combos in the Inspector.

Fix this by moving the call to set_screen() to popup_for_device(), so
the popup_window is put on the correct screen each time around.

https://bugzilla.gnome.org/show_bug.cgi?id=468868
https://bugzilla.gnome.org/show_bug.cgi?id=786771

8 years agoUpdated Danish translation
Ask Hjorth Larsen [Mon, 28 Aug 2017 17:27:02 +0000 (19:27 +0200)]
Updated Danish translation

8 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 28 Aug 2017 17:23:15 +0000 (19:23 +0200)]
Updated Slovenian translation

8 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 28 Aug 2017 17:19:40 +0000 (19:19 +0200)]
Updated Slovenian translation

8 years agoUpdate Hungarian translation
Gábor Kelemen [Mon, 28 Aug 2017 16:09:38 +0000 (16:09 +0000)]
Update Hungarian translation

8 years agoUpdate Hungarian translation
Balázs Meskó [Mon, 28 Aug 2017 16:05:37 +0000 (16:05 +0000)]
Update Hungarian translation

8 years agoUpdate Friulian translation
Fabio Tomat [Mon, 28 Aug 2017 14:38:07 +0000 (14:38 +0000)]
Update Friulian translation

8 years agoUpdate Friulian translation
Fabio Tomat [Mon, 28 Aug 2017 14:12:06 +0000 (14:12 +0000)]
Update Friulian translation

8 years agoUpdated Czech translation
Marek Cernocky [Mon, 28 Aug 2017 13:54:20 +0000 (15:54 +0200)]
Updated Czech translation

8 years agoUpdate Serbian Latin translation
Милош Поповић [Mon, 28 Aug 2017 11:03:13 +0000 (11:03 +0000)]
Update Serbian Latin translation

8 years agoUpdate Serbian translation
Марко Костић [Mon, 28 Aug 2017 11:00:46 +0000 (11:00 +0000)]
Update Serbian translation

8 years agobuild: Fix last commit
Chun-wei Fan [Mon, 28 Aug 2017 08:28:18 +0000 (16:28 +0800)]
build: Fix last commit

Another pango-1.0.lib was added accidently to the list of .lib files for
the GTK+ to link to.  Remove that, although it shouldn't really matter.

8 years agobuild: Integrate introspection builds into MSVC projects
Chun-wei Fan [Mon, 28 Aug 2017 08:18:24 +0000 (16:18 +0800)]
build: Integrate introspection builds into MSVC projects

This is so that it is easier for one building GTK+ with Visual Studio to
build the introspection files as well in one shot.  Note that this is
not built by default, so one needs to select the gtk3-introspect
explicitly to build (and clean up) the introspection files.

For this to work, one needs to ensure the following:
-A complete build of GObject-Introspection in $(GlibEtcInstallRoot),
 that is built with the same installation of the Python interpretor that
 is used here (see PythonDir and PythonDirX64 in
 gtk3-version-paths.[vsprops|props]).
-Introspection files for ATK, GDK-Pixbuf and Pango, also in their proper
 locations under $(GlibEtcInstallRoot), which should be built with the
 same G-I installation.

8 years agobuild: Prepare NMake Makefiles for MSVC project integration
Chun-wei Fan [Mon, 28 Aug 2017 08:15:11 +0000 (16:15 +0800)]
build: Prepare NMake Makefiles for MSVC project integration

The build/win32/detectenv-msvc.mak needs to be updated for Visual Studio
2017, and we ought to add quotes to surround the copy destination path
for the introspection files, so that we do not bail out in the copy
process (cmd.exe's copy command does not like '+' in them that are not
quoted).

8 years agobuild: Set PythonDir according to MSVC version in projects
Chun-wei Fan [Mon, 28 Aug 2017 07:01:55 +0000 (15:01 +0800)]
build: Set PythonDir according to MSVC version in projects

This is to make this more in-line with what is in the G-I projects, so
that we could use this to build the introspection files for GTK+-3.22.x
directly from the project files.  This is intended to follow the MSVC
versions used to build the official CPython Windows binaries, i.e.:
-3.3.x, 3.4.x: for MSVC 2010, 2012, 2013, which is built with 2010
-3.5.x, 3.6.x: for 2015 and 2017, which is built with 2015.

8 years agobuild: Use PythonDir in Visual Studio projects
Chun-wei Fan [Mon, 28 Aug 2017 06:58:42 +0000 (14:58 +0800)]
build: Use PythonDir in Visual Studio projects

This is to avoid any confusion with the PYTHONPATH envvar that is used
by Python for additional locations for looking for modules.

8 years agogtkplacessidebar: remove oversight of old code
Julius Härtl [Sat, 26 Aug 2017 20:43:16 +0000 (22:43 +0200)]
gtkplacessidebar: remove oversight of old code

https://bugzilla.gnome.org/show_bug.cgi?id=786123

8 years agoUpdate Korean translation
Changwoo Ryu [Sun, 27 Aug 2017 21:24:01 +0000 (21:24 +0000)]
Update Korean translation

8 years agoUpdate Korean translation
Changwoo Ryu [Sun, 27 Aug 2017 21:22:39 +0000 (21:22 +0000)]
Update Korean translation

8 years agomenu: Avoid cancelling the menu on GTK+ grabs inside the GtkMenu
Carlos Garnacho [Thu, 10 Aug 2017 09:56:47 +0000 (11:56 +0200)]
menu: Avoid cancelling the menu on GTK+ grabs inside the GtkMenu

Allows again sliders as menuitems, broken by commit 9b032073.

https://bugzilla.gnome.org/show_bug.cgi?id=786029

8 years agoPlacesSidebar: Avoid warning about unused variable
Daniel Boles [Sun, 27 Aug 2017 14:32:44 +0000 (15:32 +0100)]
PlacesSidebar: Avoid warning about unused variable

end_icon is only used if HAVE_CLOUDPROVIDERS is defined, so only declare
it under the same condition.

https://bugzilla.gnome.org/show_bug.cgi?id=786123

8 years agoSidebarRow: need config.h for HAVE_CLOUDPROVIDERS
Daniel Boles [Sun, 27 Aug 2017 14:31:17 +0000 (15:31 +0100)]
SidebarRow: need config.h for HAVE_CLOUDPROVIDERS

https://bugzilla.gnome.org/show_bug.cgi?id=786123

8 years agotestgtk: Remove an unused variable
Daniel Boles [Sun, 27 Aug 2017 14:34:38 +0000 (15:34 +0100)]
testgtk: Remove an unused variable

8 years agoUpdate German translation
Mario Blättermann [Sun, 27 Aug 2017 08:28:45 +0000 (08:28 +0000)]
Update German translation

8 years agoUpdate Indonesian translation
Andika Triwidada [Sun, 27 Aug 2017 01:43:41 +0000 (01:43 +0000)]
Update Indonesian translation

8 years agoRemove an unused field
Matthias Clasen [Sat, 26 Aug 2017 23:15:36 +0000 (19:15 -0400)]
Remove an unused field

Drag contexts are objects, so there is no need to carry a
manual refcount around.

8 years agox11: Fix initial drag cursors
Matthias Clasen [Sat, 26 Aug 2017 22:01:17 +0000 (18:01 -0400)]
x11: Fix initial drag cursors

Under X, we were not setting the right drag cursor initially,
because at current_action == action == 0, initially. Fix this
by explicitly using the right cursor when grabbing.

8 years agoUpdate Swedish translation
Anders Jonsson [Sat, 26 Aug 2017 22:20:51 +0000 (22:20 +0000)]
Update Swedish translation

8 years agoUpdate Italian translation
Milo Casagrande [Sat, 26 Aug 2017 15:40:24 +0000 (15:40 +0000)]
Update Italian translation

8 years agoemoji: Use the right gettext domain
Matthias Clasen [Sat, 26 Aug 2017 14:25:56 +0000 (10:25 -0400)]
emoji: Use the right gettext domain

Otherwise, strings are not translated.

https://bugzilla.gnome.org/show_bug.cgi?id=786841

8 years agoUpdate Polish translation
Piotr Drąg [Sat, 26 Aug 2017 14:11:51 +0000 (16:11 +0200)]
Update Polish translation

8 years agoUpdate Friulian translation
Fabio Tomat [Sat, 26 Aug 2017 11:23:42 +0000 (11:23 +0000)]
Update Friulian translation

8 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 26 Aug 2017 06:26:39 +0000 (06:26 +0000)]
Update Kazakh translation

8 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Sat, 26 Aug 2017 02:17:43 +0000 (02:17 +0000)]
Update Brazilian Portuguese translation

8 years agogtkplacessidebar: implement libcloudproviders support
Julius Härtl [Thu, 10 Aug 2017 20:30:36 +0000 (22:30 +0200)]
gtkplacessidebar: implement libcloudproviders support

Add integration of the libcloudproviders DBus API to the
GtkPlacesSidebar by showing name and sync status of the cloud providers.
The exported menu is rendered as a GtkPopover.

The sidebar will be updated if the list of cloudproviders changes e.g.
by adding or removing an account. If any cloud provider changes detailed
information like sync status only the individual sidebar row gets
updated.

Co-authored-by: Carlos Soriano <csoriano@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=786123

8 years agoComboBox: Use iter before popdown() may invalidate
Daniel Boles [Fri, 25 Aug 2017 20:00:51 +0000 (21:00 +0100)]
ComboBox: Use iter before popdown() may invalidate

Bad actors, such as our very own FileChooserButton, may connect to the
:popped-up property and alter the model as the menu becomes in/visible.

We were getting an iter to the model while popped-up, then doing
popdown(), then using the iter, which may have just been invalidated by
the errant notify::popped-up handler. If so, we quickly crash fatally.

This is clearly bonkers, but until such patterns are removed, we have to
work around them. So, set_active() from the clicked item while it is
known to be valid, by moving the call to set_active() before popdown().

While here, change set_active_iter(iter) to set_active_internal(path) to
avoid pointlessly going through the iter to get the path we already have

https://bugzilla.gnome.org/show_bug.cgi?id=729651

8 years agoExpander: Also hide child GdkWindow when collapsed
Daniel Boles [Thu, 24 Aug 2017 20:05:00 +0000 (21:05 +0100)]
Expander: Also hide child GdkWindow when collapsed

Just adding/removing to/from the BoxGadget is not sufficient; that
leaves the GdkWindow hanging around, taking input, changing the cursor,
and all sorts of other nefarious shenanigans.

Resolve by ensuring the child’s GdkWindow is unmapped if collapsed.

Note: the reflexive solution is just to set_visible(child, expanded),
but it is best to avoid messing with the child’s :visible property.

https://bugzilla.gnome.org/show_bug.cgi?id=776937

8 years agoComboBox: Clarify documentation of get_active_iter
Daniel Boles [Thu, 24 Aug 2017 11:46:47 +0000 (12:46 +0100)]
ComboBox: Clarify documentation of get_active_iter

https://bugzilla.gnome.org/show_bug.cgi?id=618160

8 years agoPopover: Include window shadows in overshoot calcs
Daniel Boles [Wed, 23 Aug 2017 20:44:10 +0000 (21:44 +0100)]
Popover: Include window shadows in overshoot calcs

.update_position() enforces that non-Wayland platforms must position a
Popover within its parent Window. We use the allocation of the Window
to translate the position and check for overshoot on each of its sides.
Calling Widget.get_allocation() of a CSD Window includes its shadows.

But shadows were not excluded from the area in which we can position.
Thus, Popovers could get positioned in the shadow of CSD windows, where,
at least on X11, no input is received. Therefore, positioning a Popover
over a shadow meant its child widgets within that area became unusable.

Fix by calling Window.get_shadow() and including it in the overshoot on
each side. This adjusts for how the allocation includes shadows, making
overshoots with and without shadows the same. Thus, we avoid considering
shadows as viable for positioning, favouring a side where input works.

https://bugzilla.gnome.org/show_bug.cgi?id=786209

8 years agotestpopover: Use HeaderBar to get CSD decorations
Daniel Boles [Sun, 13 Aug 2017 19:15:36 +0000 (20:15 +0100)]
testpopover: Use HeaderBar to get CSD decorations

This helps test whether the Popover positioning gets messed up by the
presence of CSD shadow or other accessories around the content area.

https://bugzilla.gnome.org/show_bug.cgi?id=786209

8 years agoUpdate Chinese (Taiwan) translation
Cheng-Chia Tseng [Thu, 24 Aug 2017 16:39:23 +0000 (16:39 +0000)]
Update Chinese (Taiwan) translation

8 years agoUpdate Swedish translation
Anders Jonsson [Thu, 24 Aug 2017 09:44:28 +0000 (09:44 +0000)]
Update Swedish translation

8 years agoUpdate Swedish translation
Anders Jonsson [Thu, 24 Aug 2017 09:37:42 +0000 (09:37 +0000)]
Update Swedish translation

8 years agoUpdate POTFILES.in and POTFILES.skip
Piotr Drąg [Thu, 24 Aug 2017 00:45:09 +0000 (02:45 +0200)]
Update POTFILES.in and POTFILES.skip

8 years agoSidebarRow: Add Unmount tooltip to eject_button
Daniel Boles [Sat, 19 Aug 2017 16:18:35 +0000 (17:18 +0100)]
SidebarRow: Add Unmount tooltip to eject_button

It was reported that the lack of a tooltip made its purpose unclear.
This can be solved by just copying PlacesViewRow’s eject_button tooltip.

https://bugzilla.gnome.org/show_bug.cgi?id=766909

8 years agoGtkFileChooserNativeQuartz: restore parent focus after closing dialog
Tom Schoonjans [Mon, 31 Jul 2017 20:28:42 +0000 (21:28 +0100)]
GtkFileChooserNativeQuartz: restore parent focus after closing dialog

Tested for both modal and non-modal dialogs

https://bugzilla.gnome.org/show_bug.cgi?id=785306

8 years agoGtkFileChooserNativeQuartz: improve support for file filters
Tom Schoonjans [Mon, 31 Jul 2017 20:26:47 +0000 (21:26 +0100)]
GtkFileChooserNativeQuartz: improve support for file filters

Instead of using conditional compilation, use respondsToSelector to
check at runtime for setAccessoryViewDisclosed.

https://bugzilla.gnome.org/show_bug.cgi?id=785306

8 years agoGtkFileChooserNativeQuartz: add support for Mountain Lion and Mavericks
Tom Schoonjans [Sun, 23 Jul 2017 08:37:26 +0000 (09:37 +0100)]
GtkFileChooserNativeQuartz: add support for Mountain Lion and Mavericks

https://bugzilla.gnome.org/show_bug.cgi?id=784723 introduced support for
native file chooser dialogs on macOS, but due to the use of generics in
the patch, there will be compilation errors on pre-Xcode 7 platforms,
such as Mountain Lion and Mavericks.

I strongly recommend to revert this patch when the oldest supported
macOS release is bumped to Yosemite (10.10).

https://bugzilla.gnome.org/show_bug.cgi?id=785306

8 years agogdk: wayland: always set buffer scale on size update
Lionel Landwerlin [Fri, 18 Aug 2017 22:57:56 +0000 (23:57 +0100)]
gdk: wayland: always set buffer scale on size update

We're only updating this when we have an EGL window. This means we
have the wrong scaling factor when using Vulkan.

https://bugzilla.gnome.org/show_bug.cgi?id=786492

8 years agoUpdate Friulian translation
Fabio Tomat [Wed, 23 Aug 2017 12:55:53 +0000 (12:55 +0000)]
Update Friulian translation

8 years agoUpdate Italian translation
Milo Casagrande [Wed, 23 Aug 2017 07:12:14 +0000 (07:12 +0000)]
Update Italian translation

8 years agoUpdate Italian translation
Milo Casagrande [Tue, 22 Aug 2017 16:41:00 +0000 (16:41 +0000)]
Update Italian translation

8 years agogetting_started: Sync filenames & section headings
Daniel Boles [Tue, 22 Aug 2017 13:14:53 +0000 (14:14 +0100)]
getting_started: Sync filenames & section headings

The order of Examples 3 and 4 was swapped, so the headings updated
themselves, but the filenames were left reflecting the old order.

https://bugzilla.gnome.org/show_bug.cgi?id=786553

8 years ago3.22.19
Matthias Clasen [Tue, 22 Aug 2017 12:33:11 +0000 (08:33 -0400)]
3.22.19

8 years agoHandle emoji data change in emoji chooser
Matthias Clasen [Sat, 19 Aug 2017 18:05:48 +0000 (14:05 -0400)]
Handle emoji data change in emoji chooser

Update the settings schema to follow the change in Emoji data,
and make the emoji chooser code handle the new format.

8 years agoAdd shortnames to emoji data
Matthias Clasen [Sat, 19 Aug 2017 18:05:16 +0000 (14:05 -0400)]
Add shortnames to emoji data

The json file is from

https://github.com/emojione/emojione/tree/master/extras/alpha-codes

It is under the MIT license.

8 years agoDon't consume too many key releases
Matthias Clasen [Tue, 22 Aug 2017 10:41:31 +0000 (06:41 -0400)]
Don't consume too many key releases

The Emoji input support in GtkIMContextSimple was
unintentionally consuming too many key release
events. Fix this.

https://bugzilla.gnome.org/show_bug.cgi?id=786594

8 years agoUpdate Spanish translation
Daniel Mustieles [Mon, 21 Aug 2017 11:33:27 +0000 (11:33 +0000)]
Update Spanish translation

8 years agoUpdate Nepali translation
Pawan Chitrakar [Sun, 20 Aug 2017 22:44:56 +0000 (22:44 +0000)]
Update Nepali translation

8 years agoUpdate German translation
Mario Blättermann [Sun, 20 Aug 2017 14:40:07 +0000 (14:40 +0000)]
Update German translation

8 years agoUpdate German translation
Christian Kirbach [Sun, 20 Aug 2017 14:33:49 +0000 (14:33 +0000)]
Update German translation

8 years agoUpdate Nepali translation
Pawan Chitrakar [Sun, 20 Aug 2017 09:42:28 +0000 (09:42 +0000)]
Update Nepali translation

8 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sat, 19 Aug 2017 17:33:57 +0000 (17:33 +0000)]
Update Kazakh translation

8 years agoUpdate French translation
Alexandre Franke [Sat, 19 Aug 2017 14:44:33 +0000 (14:44 +0000)]
Update French translation

8 years agoUpdate French translation
Alexandre Franke [Sat, 19 Aug 2017 14:41:23 +0000 (14:41 +0000)]
Update French translation

8 years agoUpdate German translation
Mario Blättermann [Sat, 19 Aug 2017 11:46:22 +0000 (11:46 +0000)]
Update German translation

8 years agoUpdate Croatian translation
gogo [Fri, 18 Aug 2017 20:38:20 +0000 (20:38 +0000)]
Update Croatian translation

8 years agoUpdate Croatian translation
gogo [Fri, 18 Aug 2017 20:36:41 +0000 (20:36 +0000)]
Update Croatian translation

8 years agogtkbutton: Avoid keyboard grabs
Carlos Garnacho [Fri, 18 Aug 2017 17:16:19 +0000 (19:16 +0200)]
gtkbutton: Avoid keyboard grabs

Seems to be there for the sole purpose of ensuring the button
shall receive the key release on keyboard-triggered activation.

For the cases where this makes sense (eg. comboboxes, menubuttons,
...) gtk+ already does ensure the menu is popup after key release.
This makes the grab pretty useless, and there's many other cases
where it doesn't make sense (eg. button being activated
programmatically from an event handler in another widget).

Fixes button activation unintendedly triggering shortcut inhibition
on wayland.

https://bugzilla.gnome.org/show_bug.cgi?id=786480

8 years agogdkwindow: Avoid re-setting the opaque region if it doesn't change
Rui Matos [Fri, 18 Aug 2017 10:01:54 +0000 (12:01 +0200)]
gdkwindow: Avoid re-setting the opaque region if it doesn't change

This avoids, at least, needless chatter with the compositor and the X
server in X11's case.

https://bugzilla.gnome.org/show_bug.cgi?id=786469

8 years agoUpdate Slovak translation
Dušan Kazik [Fri, 18 Aug 2017 16:07:04 +0000 (16:07 +0000)]
Update Slovak translation

8 years agoUpdated Czech translation
Marek Cernocky [Fri, 18 Aug 2017 08:56:19 +0000 (10:56 +0200)]
Updated Czech translation

8 years agoGDK-Win32: Fix AeroSnap on HiDPI
Chun-wei Fan [Tue, 8 Aug 2017 14:19:45 +0000 (22:19 +0800)]
GDK-Win32: Fix AeroSnap on HiDPI

Commit 1d0fad3 revealed that there were some assumptions made that were
actually to compensate for the bug fixed by that commit, so we need to
remove those assumptions as they would result in AerSnap to not work
properly on HiDPI screens.

Also re-do how we set the x and y positions of our GdkWindow, so that we
are more consistent across the board when we go between a GDK window
coordinate and a Windows API window cooredinate.

This would also simplify the code a bit.

https://bugzilla.gnome.org/show_bug.cgi?id=785999