Commit graph

14350 commits

Author SHA1 Message Date
Bastien Nocera
71b5643d91 power: Prevent UpDevice being kept alive
If a UpDevice was removed while the panel was opened, it was
removed from the list of devices, and never unref'ed, still receiving
signals.
2013-10-18 00:42:01 +02:00
Jasper St. Pierre
5f4cc6f7dc Update .gitignore and libgd 2013-10-17 15:01:38 -04:00
Milo Casagrande
6859888359 [l10n] Updated Italian translation. 2013-10-17 19:18:58 +02:00
Bastien Nocera
6f78b2ab0f power: Fix run-time for DeviceChanged signal removal
The DeviceChanged signal was removed, instead, each interesting
device should be monitored individually. This means we need to keep
our own device list locally.

https://bugzilla.gnome.org/show_bug.cgi?id=710393
2013-10-17 17:44:03 +02:00
Bastien Nocera
ceafe6f4c5 power: Fix build
up_client_enumerate_devices_sync() was removed.

https://bugzilla.gnome.org/show_bug.cgi?id=710393
2013-10-17 17:44:03 +02:00
Bastien Nocera
63bf77196e power: Use icons from UPower
https://bugzilla.gnome.org/show_bug.cgi?id=710393
2013-10-17 17:44:03 +02:00
Milo Casagrande
6d82ac86d5 [l10n] Updated Italian translation. 2013-10-17 14:33:07 +02:00
Milo Casagrande
56a3ae0025 [l10n] Updated Italian translation. 2013-10-17 14:14:15 +02:00
Frédéric Péters
d6d0a55d70 l10n: French translation 2013-10-16 15:39:30 +02:00
Kalev Lember
f08a22526c background: Fix test-chooser-dialog build with some linkers
List missing libs for the libbackground-chooser.la convenience library.

https://bugzilla.gnome.org/show_bug.cgi?id=709302
2013-10-16 13:23:17 +02:00
Rui Matos
455b457c7f region: Never show "None" for language and formats
If the settings backends fail to give us valid values, show the
current environment instead of "None" since we do know which language
is actually being used.

https://bugzilla.gnome.org/show_bug.cgi?id=695535
2013-10-15 23:19:32 +02:00
Rui Matos
9e975b036f region: Allow setting system-wide formats
https://bugzilla.gnome.org/show_bug.cgi?id=695535
2013-10-15 23:19:29 +02:00
Rui Matos
5bcbfb0f03 3.10.1 2013-10-15 23:06:25 +02:00
Carles Ferrando
429c7a7260 [l10n] Updated Catalan (Valencian) translation 2013-10-13 22:44:54 +02:00
Gil Forcada
3e9cc947d7 [l10n] Update Catalan translation 2013-10-13 22:44:43 +02:00
Daniel Korostil
f3f618476e Ukranian translation typo fixes 2013-10-12 13:05:24 +03:00
Arash Mousavi
b1f9717ed4 L10N: Updated Persian translations 2013-10-11 15:51:35 +03:30
Arash Mousavi
8d838c8396 L10N: Updated Persian translations 2013-10-11 13:58:13 +03:30
Milo Casagrande
935b5d2926 [l10n] Updated Italian translation. 2013-10-11 09:48:34 +02:00
Victor Ibragimov
5242af56ee Tajik translation updated 2013-10-10 23:41:08 +05:00
Bastien Nocera
76e342ea9d power: Use device models as names
And only fallback to the generic "Wireless Mouse" (eg.) when
there's no valid name for it.

https://bugzilla.gnome.org/show_bug.cgi?id=709654
2013-10-09 14:57:23 +02:00
Bastien Nocera
95f613bee1 wacom: Fix ~100 pixel offset when calibrating
The calibration gui code moved the targets to x,y, instead of
placing the centre of the target at x,y, leading to a 47 pixel
(half the target's size) offset in both directions (thus 67 pixels
deviation as Pythagorus would tell us).
2013-10-09 12:55:29 +02:00
Bastien Nocera
bf68dfb62d wacom: Fix comment for timeout duration
The comment mentioned 5 seconds, but we use 15 seconds.
2013-10-09 12:18:48 +02:00
Bastien Nocera
18dd6ff04f wacom: Fix incorrect default window information
The window isn't 1x1...
2013-10-08 20:15:55 +02:00
Bastien Nocera
7be584f4f9 wacom: Update from gnome-settings-daemon 2013-10-08 19:25:01 +02:00
Bastien Nocera
297eb6cfbb wacom: Fix use after free
Causing random values in the calibration data.
2013-10-08 18:59:22 +02:00
Bastien Nocera
8e1dd1ae5d wacom: Update from gnome-settings-daemon 2013-10-08 18:55:19 +02:00
Bastien Nocera
4c2c93c01f wacom: Update from gnome-settings-daemon 2013-10-08 18:31:39 +02:00
Bastien Nocera
6aa409ffdb wacom: Reset the calibration before starting a new one
We shouldn't be using the old calibration values to create the
new ones, so reset the "area" settings before starting a new
calibration, and re-apply the saved calibration if the calibration
is cancelled or fails.

https://bugzilla.gnome.org/show_bug.cgi?id=707784
2013-10-08 18:02:43 +02:00
Bastien Nocera
21a2a53fea wacom: Update from gnome-settings-daemon 2013-10-08 17:59:12 +02:00
Bastien Nocera
c9864b1ebc wacom: Fix event filtering in the calibrator
We were always getting the events from the core pointer instead
of the device itself, so threw all of them away.
We need to get the real source device from the event.

https://bugzilla.gnome.org/show_bug.cgi?id=707784
2013-10-08 11:48:13 +02:00
Bastien Nocera
b921ce215f network: Only start the spinner when we can stop it
https://bugzilla.gnome.org/show_bug.cgi?id=709555
2013-10-07 18:31:59 +02:00
Bastien Nocera
57b64368ef network: Merge two similar functions
Merge connection_add_activate_cb() and connection_activate_cb(),
the code is too similar.

https://bugzilla.gnome.org/show_bug.cgi?id=709555
2013-10-07 16:58:19 +02:00
Bastien Nocera
3c1b58ab2a network: Fix warnings when clicking Wi-Fi network
Those 2 widgets (the edit page, and the spinner) might be available
but we need to read about them from the correct widget, eg. the
GtkListBoxRow, not the GtkBox it contains.

https://bugzilla.gnome.org/show_bug.cgi?id=709555
2013-10-07 16:51:03 +02:00
Bastien Nocera
ce8c2eb6f6 network: Fix run-time warning
The "edit" widget is only set as data when there is a connection
(in make_row) so only hide it when there is a connection.

https://bugzilla.gnome.org/show_bug.cgi?id=709555
2013-10-07 16:51:03 +02:00
Gary Ching-Pang Lin
fc181a2d64 network: Use the parameters property for 8021x
The argv property was deprecated. This commit converts the 8021x
settings to the parameters property so that the user is able to
setup the 8021x connections.

https://bugzilla.gnome.org/show_bug.cgi?id=709545
2013-10-07 16:50:13 +02:00
Kalev Lember
4ecb35ca12 background: Fix a memory leak with wallpaper loading
This removes an extra g_object_ref when inserting items to GtkListStore:
the list store takes care of incrementing the reference count itself and
the caller doesn't need to do it.

https://bugzilla.gnome.org/show_bug.cgi?id=709453
2013-10-07 10:35:52 +02:00
Kalev Lember
3491c6625c background: Fix reference counting in background XML loader
Commit b9e3603ba4 added an unref to fix a
memory leak, but it went to a wrong place -- in XML loader, all items
are stored in a hash table that takes ownership of them, and destroyed
when the hash table goes away.

This commit fixes the reference counting in the XML loader and adds
explicit g_object_ref / g_strdup when inserting values to the hash table
to make the memory management more obvious.

The following commit fixes the real leak.

https://bugzilla.gnome.org/show_bug.cgi?id=709453
2013-10-07 10:35:52 +02:00
Kalev Lember
24faa84d05 datetime: Explicitly destroy toplevel dialogs
https://bugzilla.gnome.org/show_bug.cgi?id=709443
2013-10-07 10:35:52 +02:00
Kalev Lember
47fb0c426f Revert "datetime: Don't leak the dialogs"
This caused criticals when on_permission_changed callback tried to
access priv->datetime_dialog or priv->timezone_dialog before they had
been set up.

Another attempt at fixing the leak in the following patch.

This reverts commit 545c886543.

https://bugzilla.gnome.org/show_bug.cgi?id=709443
2013-10-07 10:35:52 +02:00
Kalev Lember
7ae60ad2cf datetime: Disconnect from GtkStack signals before widget destruction
This fixes a regression from commit 545c886 that caused criticals when
leaving the datetime panel.

https://bugzilla.gnome.org/show_bug.cgi?id=709443
2013-10-07 10:35:52 +02:00
Kalev Lember
2234970583 datetime: Store am_pm_stack in priv structure
This is in preparation for the next patch.

https://bugzilla.gnome.org/show_bug.cgi?id=709443
2013-10-07 10:35:52 +02:00
Мирослав Николић
d691a817f9 Updated Serbian translation 2013-10-05 06:35:24 +02:00
Yuri Myasoedov
4d615d4df0 Updated Russian translation 2013-10-04 20:42:21 +04:00
Thomas Wood
17126cc740 display: always label the built in display as "1"
https://bugzilla.gnome.org/show_bug.cgi?id=709168
2013-10-04 15:02:20 +01:00
Debarshi Ray
516e2a624f background: Remove unused variable
Fallout from 79ec684fa4

https://bugzilla.gnome.org/show_bug.cgi?id=708943
2013-10-04 13:40:11 +02:00
Debarshi Ray
7585b836be background: Set the size request only on the parent
Instead of setting the size on each child, set it on the parent grid
because only one of those children are visible at any given point.

We are cheating a bit by ignoring the fact there is a second child
which is always shown -- the button box. This will make the other
children lose some height and the dialog will be smaller. However it is
still too big for smaller screens.

https://bugzilla.gnome.org/show_bug.cgi?id=708943
2013-10-04 13:37:13 +02:00
Debarshi Ray
f06a349a2a Use a consistent set of permissions when creating directories
https://bugzilla.gnome.org/show_bug.cgi?id=709417
2013-10-04 12:10:14 +02:00
Debarshi Ray
9ce45bfd3f background: Be robust against missing directories, and warn otherwise
We want to track the busy state of the source. To do that we will keep
a count of the number of pending operations. Not having a check for
NOT_FOUND makes it slightly easier to do that. Not a big deal, but I
think it outweighs the downfall of showing an extra warning.

Plus we are trying to create the directories before using them, so the
warning means something fishy has been going on with your system.

https://bugzilla.gnome.org/show_bug.cgi?id=708943
2013-10-04 11:52:29 +02:00
Bastien Nocera
054538c292 wacom: Add some more debug to the calibrator tool 2013-10-04 11:16:45 +02:00