- Jul 19, 2019
-
-
Christian Kirbach authored
-
- May 08, 2019
-
-
- Oct 07, 2018
-
-
Aurimas Černius authored
-
- Oct 04, 2018
-
-
Debarshi Ray authored
Due to an API bug in GNOME Online Accounts, the asynchronous goa_provider_get_all method doesn't accept a GCancellable argument. This makes it difficult to cancel an ongoing call when the CcGoaPanel gets destroyed. Prior to commit c26f8ae0, this was hacked around by taking a reference on the panel for the duration of the call. Instead of cancelling a pending call on destruction, it would keep the panel alive until the call was over. However, that was lost during commit c26f8ae0. One thing to bear in mind is that GtkWidgets, CcGoaPanel is one, can be destroyed by a gtk_widget_destroy call, which is subtly different than a simple sequence of g_object_unref calls. When gtk_widget_destroy is used, it invokes the GObject::dispose virtual method of the widget. It is expected this will cause anything holding a reference to this widget to drop their references, leading to GObject::finalize being called. However, there is no guarantee that this will happen in the same iteration of the GMainLoop. Therefore, it is possible that when the goa_provider_get_all call finishes, the CcGoaPanel might be in a disposed, but not yet finalized state. When a GObject is in a disposed-but-not-finalized state, only a very limited number of operations can be performed on it. Its reference count can be altered, the memory used by the instance struct can be accessed, but none of the member GObjects can be assumed to be valid. eg., it's definitely illegal to add new rows to the member GtkListBox. Hence a boolean flag is used to mark the destroyed state of the panel. This second part is a small improvement over the earlier hack. #208
-
Debarshi Ray authored
-
- Mar 12, 2018
-
-
Bastien Nocera authored
Both the Network panel and libnma expect UI resources in the same location, which will cause problems when the Network panel loads its own version that doesn't quite match up to the code used in libnma. This fixes a crash when nma_wifi_dialog_new_for_hidden() is called and libnma expects a domain widget to be present, which it isn't in our version of the UI files. https://bugzilla.gnome.org/show_bug.cgi?id=785099
-
Bastien Nocera authored
1. open Wi-Fi Settings 2. Menu -> Known Wi-fi Networks 3. Click settings of some Wi-Fi network listed there. 4. Press escape twice to close all the dialogs 5. Menu -> Connect to Hidden network.., Fix crashes when some object type names (WirelessSecurity and EAPMethod in this case) are duplicated across the Network panel and libnma. Fixes a regression in commit 0470c040 https://bugzilla.gnome.org/show_bug.cgi?id=785099
-
- Mar 04, 2018
-
-
Rūdolfs Mazurs authored
-
- Feb 28, 2018
-
-
Marek Cernocky authored
-
- Feb 26, 2018
-
-
Administrator authored
-
Administrator authored
-
- Feb 20, 2018
-
-
Bastien Nocera authored
Rather than an empty "Visible Networks" table. https://bugzilla.gnome.org/show_bug.cgi?id=793647
-
Bastien Nocera authored
As NetworkManager from version 1.10 doesn't handle background scanning itself, to minimise battery drain, we need to periodically request it to scan for Wi-Fi Access Points. We now do this request every 15 seconds, as NetworkManager-applet and gnome-shell do, and disable that periodic scan if Wi-Fi is disabled. https://bugzilla.gnome.org/show_bug.cgi?id=793647
-
- Feb 19, 2018
-
-
Bastien Nocera authored
Show the "desktop" style dialogue ("Automatic suspend, when idle") even when we have devices with batteries in use. We need "power supply" batteries to consider the device as a laptop, or UPS-powered machine. https://bugzilla.gnome.org/show_bug.cgi?id=793509
-
Bastien Nocera authored
And now that we're reading a text entry, read the correct one
🙄 Follow-up to a2a70c73
-
- Feb 07, 2018
-
-
Marek Cernocky authored
-
- Feb 06, 2018
-
-
Bastien Nocera authored
Set an empty string when there's no IPv4 gateway rather than warn.
-
Bastien Nocera authored
This isn't a container, but a text entry. Bug introduced in commit 6b043fd3.
-
Bastien Nocera authored
The string we get back from the text entries are never NULL (as long as the UI isn't broken that is), but can be empty strings. Consider an empty IPv6 address to be invalid, but an empty gateway to be valid. See https://bugzilla.redhat.com/show_bug.cgi?id=1467308
-
Bastien Nocera authored
We read the MAC as being the cloned MAC, which NM would likely take to mean that we didn't want a cloned MAC. See https://bugzilla.redhat.com/show_bug.cgi?id=1467295 https://bugzilla.gnome.org/show_bug.cgi?id=793072
-
- Feb 01, 2018
-
-
- Jan 21, 2018
-
-
- Jan 16, 2018
-
-
Carlos Garnacho authored
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
-
- Jan 05, 2018
-
-
- Dec 20, 2017
-
-
Marek Černocký authored
-
-
- Dec 08, 2017
-
-
Iain Lane authored
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
-
Benjamin Berg authored
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
-
- Nov 30, 2017
-
-
- Nov 27, 2017
-
-
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
-
- Nov 23, 2017
-
-
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
-
- Nov 21, 2017
-
-
Felipe Borges authored
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
-
Felipe Borges authored
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
-
Felipe Borges authored
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
-
- Nov 18, 2017
-
-
- Nov 16, 2017
-
-
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
-
- Nov 15, 2017
-
-
- Nov 14, 2017
-
-
Rui Matos authored
Extend the existing checks for this kind of outputs to the layout geometry routines. https://bugzilla.gnome.org/show_bug.cgi?id=789711
-
- Nov 13, 2017
-
-
Rui Matos authored
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
-