Merge lp:~gunnarhj/gnome-settings-daemon/drop-patch-43 into lp:~ubuntu-desktop/gnome-settings-daemon/ubuntu

Proposed by Gunnar Hjalmarsson
Status: Work in progress
Proposed branch: lp:~gunnarhj/gnome-settings-daemon/drop-patch-43
Merge into: lp:~ubuntu-desktop/gnome-settings-daemon/ubuntu
Diff against target: 84 lines (+14/-29)
4 files modified
debian/changelog (+8/-0)
debian/patches/43_disable_locale_settings.patch (+0/-26)
debian/patches/48_register_client_before_idle_callbacks.patch (+6/-2)
debian/patches/series (+0/-1)
To merge this branch: bzr merge lp:~gunnarhj/gnome-settings-daemon/drop-patch-43
Reviewer Review Type Date Requested Status
James Page Approve
Review via email: mp+128371@code.launchpad.net

Commit message

* debian/patches/43_disable_locale_settings.patch:
  - Dropped since it's covered by
    48_register_client_before_idle_callbacks.patch

To post a comment you must log in.
Revision history for this message
James Page (james-page) wrote :

Hi Gunnar

I think that this is a good bit of housekeeping and makes sense to me.

However as we are late in the quantal cycle and this does not fix a bug lets defer this until next release opens.

review: Approve

Unmerged revisions

358. By Gunnar Hjalmarsson

* debian/patches/43_disable_locale_settings.patch:
  - Dropped since it's covered by
    48_register_client_before_idle_callbacks.patch

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-09-29 01:04:42 +0000
+++ debian/changelog 2012-10-07 00:59:32 +0000
@@ -1,3 +1,11 @@
1gnome-settings-daemon (3.4.2-0ubuntu15) UNRELEASED; urgency=low
2
3 * debian/patches/43_disable_locale_settings.patch:
4 - Dropped since it's covered by
5 48_register_client_before_idle_callbacks.patch
6
7 -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com> Sun, 07 Oct 2012 02:48:00 +0200
8
1gnome-settings-daemon (3.4.2-0ubuntu14) quantal; urgency=low9gnome-settings-daemon (3.4.2-0ubuntu14) quantal; urgency=low
210
3 * debian/patches/git_power_dbus_path.patch:11 * debian/patches/git_power_dbus_path.patch:
412
=== removed file 'debian/patches/43_disable_locale_settings.patch'
--- debian/patches/43_disable_locale_settings.patch 2012-03-07 01:31:28 +0000
+++ debian/patches/43_disable_locale_settings.patch 1970-01-01 00:00:00 +0000
@@ -1,26 +0,0 @@
1Description: Make sure that no locales are set, even if the gsettings "region" key has
2 been assigned a value in the past, since they are set in Ubuntu via ~/.pam_environment.
3Forwarded: not-needed
4Author: Gunnar Hjalmarsson <ubuntu@gunnar.cc>
5
6*
7* The set_locale() function is questionable anyhow, since it's called after ~/.profile
8* is sourced by e.g. lightdm or gdm, which prevents users from fine tuning the locale
9* settings by editing ~/.profile.
10*
11
12Index: gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c
13===================================================================
14--- gnome-settings-daemon-3.3.91.orig/gnome-settings-daemon/main.c 2012-02-08 17:59:31.000000000 +0100
15+++ gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c 2012-03-05 21:04:22.481981528 +0100
16@@ -234,10 +234,6 @@
17 } else {
18 const char *startup_id;
19
20- /* Always call this first, as Setenv can only be called before
21- any client registers */
22- set_locale (proxy);
23-
24 /* Register the daemon with gnome-session */
25 g_signal_connect (G_OBJECT (proxy), "g-signal",
26 G_CALLBACK (on_session_over), NULL);
270
=== modified file 'debian/patches/48_register_client_before_idle_callbacks.patch'
--- debian/patches/48_register_client_before_idle_callbacks.patch 2012-03-05 20:17:31 +0000
+++ debian/patches/48_register_client_before_idle_callbacks.patch 2012-10-07 00:59:32 +0000
@@ -1,8 +1,8 @@
1Index: gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c1Index: gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c
2===================================================================2===================================================================
3--- gnome-settings-daemon-3.3.91.orig/gnome-settings-daemon/main.c 2012-03-05 21:04:12.757981058 +01003--- gnome-settings-daemon-3.3.91.orig/gnome-settings-daemon/main.c 2012-03-05 21:04:12.757981058 +0100
4+++ gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c 2012-03-05 21:04:12.817981061 +01004+++ gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c 2012-10-07 02:31:00.000000000 +0200
5@@ -219,36 +219,6 @@5@@ -219,40 +219,6 @@
6 g_object_unref (locale_settings);6 g_object_unref (locale_settings);
7 }7 }
8 8
@@ -21,6 +21,10 @@
21- } else {21- } else {
22- const char *startup_id;22- const char *startup_id;
23-23-
24- /* Always call this first, as Setenv can only be called before
25- any client registers */
26- set_locale (proxy);
27-
24- /* Register the daemon with gnome-session */28- /* Register the daemon with gnome-session */
25- g_signal_connect (G_OBJECT (proxy), "g-signal",29- g_signal_connect (G_OBJECT (proxy), "g-signal",
26- G_CALLBACK (on_session_over), NULL);30- G_CALLBACK (on_session_over), NULL);
2731
=== modified file 'debian/patches/series'
--- debian/patches/series 2012-09-29 01:04:33 +0000
+++ debian/patches/series 2012-10-07 00:59:32 +0000
@@ -3,7 +3,6 @@
316_use_synchronous_notifications.patch316_use_synchronous_notifications.patch
420_migrate_background_uri.patch420_migrate_background_uri.patch
540_xres_lcddefault.patch540_xres_lcddefault.patch
643_disable_locale_settings.patch
745_suppress-printer-may-not-be-connected-notification.patch645_suppress-printer-may-not-be-connected-notification.patch
847_delay_pa_connect_to_idle.patch747_delay_pa_connect_to_idle.patch
948_register_client_before_idle_callbacks.patch848_register_client_before_idle_callbacks.patch

Subscribers

People subscribed via source and target branches