Commit graph

17337 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
61c33da3cf trivial: Style cleanup 2018-01-17 22:17:12 -02:00
Georges Basile Stavracas Neto
35e670c6da info: Fix crash when opening Overview panel
The GType of CcHostnameEntry might not be registered
by the time the Overview panel is initialized, which
leads to crash.

Fix that by ensuring the CcHostnameEntry type early in
class_init.
2018-01-17 22:13:27 -02:00
Georges Basile Stavracas Neto
62f07b2c6d common: Don't unconditionally define HAVE_WAYLAND
This header unconditionally defines HAVE_WAYLAND when GTK
is built with Wayland support. This breaks the build when
building with Wayland disabled.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 20:09:38 -02:00
Georges Basile Stavracas Neto
dc5e2fd555 application: Initialize clutter-gtk either with Cheese or Wacom
Both require clutter-gtk, but only Wacom was being checked. This would
make compiling with Cheese disabled fail.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 20:09:38 -02:00
Iñigo Martínez
32edd6789e build: Port to meson build system
Meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 20:09:35 -02:00
Iñigo Martínez
d7012d0337 build: Move libgd and gvc modules to subprojects
In order to share the libgd and gvc modules between autotools and
meson, this patch moves their directories to subprojects
directory and updates autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=785414
2018-01-17 19:02:57 -02:00
Carlos Garnacho
f24b528695 common: Check for wayland before building GsdUdevDeviceManager
Udev is rather common, so this check doesn't suffice if anyone wants
to build with no wayland support whatsoever.

https://bugzilla.gnome.org/show_bug.cgi?id=780544
2018-01-16 17:35:03 +01:00
Bastien Nocera
7ce6bd1e55 sound: Respect allow-volume-above-100-percent setting
Instead of always allowing above 100% volumes for hardware that supports
it, only enable it when the allow-volume-above-100-percent setting is
set to true as well.

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

https://bugzilla.gnome.org/show_bug.cgi?id=791272
2018-01-12 20:13:00 +01:00
Felipe Borges
b3d51d9051 sound: Embed the "Applications" tab content in a scrolled window
The "Applications" tab might expand vertically indefinitely depending
on the amount of applications playing sounds simultaneously. This
causes the whole Control Center window to grow vertically.

To reproduce the issue you'd need to launch multiple sound sources.
  1. Launch "gst-play-1.0 <music file>"
  2. Press space to pause the playback
  3. Press Ctrl+Z to send it into the background
  4. Goto 1.

These changes pack the content of the "Applications" tab in a
GtkScrolledWindow.

To avoid having the scrollbar overlapping the switchers, we set a
10px margin-end to the inner container.

https://bugzilla.gnome.org/show_bug.cgi?id=786684
2018-01-09 16:48:40 +01:00
Jiri Grönroos
ba6251b22c Update Finnish translation
(cherry picked from commit 84925326fb)
2018-01-05 17:05:22 +00:00
Marek Černocký
a363c0940f Updated Czech translation 2017-12-20 22:40:52 +01:00
Dušan Kazik
2630ad1173 Update Slovak translation
(cherry picked from commit 427eb2d3ae)
2017-12-20 20:33:00 +00:00
Iain Lane
6a2b5bbd8b search-provider: Populate the model in startup
If the translations are stripped off into gettext .mo files, as happens
on Ubuntu, we need to be operating in the right locale so that
g_desktop_app_info_get_description (et al.) read them out correctly.

Previously we were doing work in init(), which is after gtk_init() calls
setlocale().

Move the population of the model to startup(), and chain up first, so
that it happens after we're fully initialised (including the locale).

https://bugzilla.gnome.org/show_bug.cgi?id=791035
2017-12-08 17:41:04 +00:00
Benjamin Berg
3f3c4bed87 display: Reset configuration when switching layouting modes
When switching between screen mirroring and joining displays the
configuration needs to be reset. Otherwise the monitor scaling will
not be set back to the current scaling again.

Split out the code to reset the current configuration and call that when
the mode is switched to ensure the changes are minimal.

https://bugzilla.gnome.org/show_bug.cgi?id=790768
2017-12-08 16:09:58 +00:00
Piotr Drąg
c87d8504ea Remove README.translators
font-viewer is looong time gone.
2017-12-06 18:03:21 +01:00
gogo
0687a9b3aa Update Croatian translation 2017-11-30 16:02:34 +00:00
Piotr Drąg
cb52f328c2 Update POTFILES.in 2017-11-28 20:09:42 +01:00
Georges Basile Stavracas Neto
c13de500b7 shell-model: Remove hidden category
No more panels are hidden now.

https://bugzilla.gnome.org/show_bug.cgi?id=790923
2017-11-28 17:03:51 -02:00
Georges Basile Stavracas Neto
6123d97e3f project: Remove CcInfoPanel
This panel was hidden in the new shell, and now that
we don't have the old one, can be safely dropped.

Minor adjustments were made to the other panels to
properly remove this panel.

https://bugzilla.gnome.org/show_bug.cgi?id=790923
2017-11-28 17:03:51 -02:00
Georges Basile Stavracas Neto
b23ef59926 shell-model: Remove old categories
Since we don't maintain two different shells anymore, there
is no need to maintain the two different sets of categories
in the desktop files.

This commit also drops the "#ifdef CC_ENABLE_ALT_CATEGORIES"
blocks, since the previous commit removed that define.

https://bugzilla.gnome.org/show_bug.cgi?id=790923
2017-11-28 17:03:51 -02:00
Georges Basile Stavracas Neto
34f1acd078 project: Drop the old shell
This is not used anymore, and is only consuming compile
time now.

https://bugzilla.gnome.org/show_bug.cgi?id=790923
2017-11-28 17:03:51 -02:00
Felipe Borges
aaabf05ae6 shell: Include panel "keywords" in the row data
This way GtkListBox filter functions can use the "keywords" in
order to provide accurate search results.

https://bugzilla.gnome.org/show_bug.cgi?id=790755
2017-11-28 11:04:38 +01:00
Jakub Steiner
5d32d8548c icons: ship app icon
- to move to the great new Flatpak future, Apps should rely on shiping
  their own app icons, their identity. For more context, see

  https://wiki.gnome.org/action/edit/Design/Whiteboards/CoreAppPresentation

https://bugzilla.gnome.org/show_bug.cgi?id=790070
2017-11-23 15:58:39 +01:00
Julian Sparber
b0833430c6 privacy: update location state in panel when it changes
Add a signal handler for changes of the location setting to update
(on/off/In use) lable.

https://bugzilla.gnome.org/show_bug.cgi?id=785891
2017-11-23 15:43:33 +01:00
Felipe Borges
5d4cb8ea9c printer: Don't show the supply level bar by default
We were checking for the ink supply level at the callback of the
supply bar "draw" signal. This way we were making the the widget
visible, causing it to allocate vertical space even when it isn't
desired.

Now we check for the supply level before setting the visiblity of
the supply level widget.

https://bugzilla.gnome.org/show_bug.cgi?id=790667
2017-11-21 17:28:15 +01:00
Felipe Borges
950ca7f5cc printers: Allow printer name and location labels to hexpand
Since the main control-center window can now be resized, there's
no reason for us to constrain the printer name and location labels
from expanding horizontally.

https://bugzilla.gnome.org/show_bug.cgi?id=790665
2017-11-21 17:18:56 +01:00
Felipe Borges
fb43d37899 printers: Set default text and sensitivity for the Jobs button
This way we make sure that the right size is allocated at the
creation time and no undesirable resizes occur after a refresh.

https://bugzilla.gnome.org/show_bug.cgi?id=790663
2017-11-21 17:12:15 +01:00
Felipe Borges
09b6a532c0 window: Add accessible-name for the Search button
The search toggle button in the upper-left corner of the Window
lacks an accessible name. Thus when it gains focus, screen readers
cannot present what this widget does; only that it is a toggle button.

https://bugzilla.gnome.org/show_bug.cgi?id=790625
2017-11-21 16:25:08 +01:00
Kjartan Maraas
6ee64b12a8 Updated Norwegian bokmål translation. 2017-11-20 20:24:56 +01:00
Alexandre Franke
b6a7f2349f Update French translation
(cherry picked from commit 2a8350fc2c)
2017-11-18 22:34:29 +00:00
Florian Heiser
2d38c64133 Update German translation 2017-11-18 13:09:27 +00:00
Elias Entrup
154101448a display: Wrap frame subtitle label
Currently, the display window is very wide due to the subtitle label.
This patch adds line wrapping to the label and sets xalign to 0.

https://bugzilla.gnome.org/show_bug.cgi?id=790449
2017-11-16 18:07:40 +01:00
Fabio Tomat
96ac43b527 Update Friulian translation 2017-11-15 15:54:54 +00:00
Rui Matos
cc329621e2 display: Ignore disabled and closed builtin panels in layout geometry
Extend the existing checks for this kind of outputs to the layout
geometry routines.

https://bugzilla.gnome.org/show_bug.cgi?id=789711
2017-11-15 15:10:15 +01:00
Rui Matos
245f796f4a display: Remove automatic layout adjustments
As the comment hinted at, fixing layouts automatically to ensure their
applicability doesn't actually work in all cases and in fact may force
users to redo their layout completely after a seemingly small change.

So, let's stop pretending we can do it and instead leave it to users
to fix it manually.

https://bugzilla.gnome.org/show_bug.cgi?id=789711
2017-11-13 18:31:39 +01:00
Rui Matos
46c2d43e62 display: Replace modal dialogs with popovers
The existing modal dialogs are cumbersome to use so let's replace them
with popovers that dismiss themselves automatically when an item is
activated.

https://bugzilla.gnome.org/show_bug.cgi?id=786726
2017-11-10 17:34:57 +01:00
Kjartan Maraas
14176bef38 Updated Norwegian bokmål translation. 2017-11-09 20:14:05 +01:00
Xiang Fan
f618a2212f network/wifi: don't set unnecessary focus
When its parent is allowed focus, the actual control never gets the
focus and is inaccessible from keyboard.

https://bugzilla.gnome.org/show_bug.cgi?id=789860
2017-11-08 15:34:02 +01:00
Xiang Fan
fe5ab55ec4 wifi: fix typo in device_removed_cb()
https://bugzilla.gnome.org/show_bug.cgi?id=789872
2017-11-08 15:34:02 +01:00
Pawan Chitrakar
03ea0b98f7 Update Nepali translation
(cherry picked from commit ee2181a5cd)
2017-11-07 07:17:36 +00:00
Kjartan Maraas
3f319eee77 Updated Norwegian bokmål translation. 2017-11-06 11:53:16 +01:00
Khaled Hosny
43bbb4c38a Update Arabic translation 2017-11-03 10:06:28 +02:00
Sebastien Bacher
be90d59991 privacy: use the correct gsd housekeeping bus name
https://bugzilla.gnome.org/show_bug.cgi?id=737624
2017-11-01 17:05:45 +01:00
Rui Matos
cb4a7e1773 network: Avoid crashing if NM reports no devices or no connections
Seems like NM changed behavior recently but, in any case, better safe
than sorry.

https://bugzilla.gnome.org/show_bug.cgi?id=788716
2017-11-01 16:47:36 +01:00
Robert Ancell
6723ff4d2b background: Drop dead background screenshot code
The screenshot was only trying to capture gnome-shell's top bar to
overlay on the background preview but now on 3.26 the top bar might be
transparent which obviously wouldn't work at all for previewing a
different wallpaper.

https://bugzilla.gnome.org/show_bug.cgi?id=788206
2017-11-01 16:09:22 +01:00
Xiang Fan
959d841713 network/proxy: destroy dialog with the class
The dialog has several bindings to proxy settings, so it shouldn't
outlive the proxy class.

https://bugzilla.gnome.org/show_bug.cgi?id=788776
2017-11-01 16:08:45 +01:00
Rui Matos
8ae6950248 network/eap-method-tls: Don't require a private key password
The private key may be unencrypted or we might want to enable "always
ask".

https://bugzilla.gnome.org/show_bug.cgi?id=789660
2017-10-30 18:16:43 +01:00
Andrea Azzarone
dc46487081 sound: Discard selection-changed events that are not triggered by the user
The tree view in the input and the output tab uses the "selection-changed"
signal. This implies that when a row is removed (e.g. when unplugging heaphones) g-c-c
will receive the signal and try to change the active port. G-c-c should not be the one
deciding deciding which port should be active, the user or PA are smart enough. We
should descard selection-changed events that are not triggered by an user interaction.

https://bugzilla.gnome.org/show_bug.cgi?id=789551
2017-10-30 16:49:26 +01:00
Jiro Matsuzawa
1014d7d895 Update Japanese translation
(cherry picked from commit 88ea8e3a4a)
2017-10-30 01:07:02 +00:00
Kristjan SCHMIDT
bf21e31ba1 Updated Esperanto translation 2017-10-27 19:58:09 +02:00