[gnome-control-center/setup] Remove the run-only-once implementation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/setup] Remove the run-only-once implementation
- Date: Tue, 17 May 2011 15:36:39 +0000 (UTC)
commit e73c7348c1dda0920785b82ca7302d311ca6e547
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 17 09:39:21 2011 -0400
Remove the run-only-once implementation
This will be handled differently when we move to gdm.
setup/Makefile.am | 7 +------
setup/gnome-setup-assistant.c | 11 -----------
setup/gnome-setup-assistant.desktop | 3 +--
setup/org.gnome.control-center.setup.gschema.xml | 8 --------
4 files changed, 2 insertions(+), 27 deletions(-)
---
diff --git a/setup/Makefile.am b/setup/Makefile.am
index dac1510..4ed0ab4 100644
--- a/setup/Makefile.am
+++ b/setup/Makefile.am
@@ -23,10 +23,6 @@ AM_CPPFLAGS = \
-DUIDIR="\"$(uidir)\"" \
-DDATADIR="\"$(pkgdatadir)/ui/datetime\""
-gsettings_SCHEMAS = org.gnome.control-center.setup.gschema.xml
-
- GSETTINGS_RULES@
-
uidir = $(pkgdatadir)/ui/setup
ui_DATA = \
setup.ui
@@ -37,7 +33,6 @@ sys_DATA = gnome-setup-assistant.desktop
EXTRA_DIST = \
$(ui_DATA) \
- $(sys_DATA) \
- org.gnome.control-center.setup.gschema.xml
+ $(sys_DATA)
-include $(top_srcdir)/git.mk
diff --git a/setup/gnome-setup-assistant.c b/setup/gnome-setup-assistant.c
index 982bff8..a035e80 100644
--- a/setup/gnome-setup-assistant.c
+++ b/setup/gnome-setup-assistant.c
@@ -1359,19 +1359,8 @@ prepare_location_page (SetupData *setup)
/* --- Other setup --- */
static void
-disable_autostart (void)
-{
- GSettings *settings;
-
- settings = g_settings_new ("org.gnome.control-center.setup");
- g_settings_set_boolean (settings, "need-setup", FALSE);
-}
-
-static void
close_cb (GtkAssistant *assi, gpointer data)
{
- disable_autostart ();
-
gtk_main_quit ();
}
diff --git a/setup/gnome-setup-assistant.desktop b/setup/gnome-setup-assistant.desktop
index bb0cfe9..dcabe2f 100644
--- a/setup/gnome-setup-assistant.desktop
+++ b/setup/gnome-setup-assistant.desktop
@@ -7,8 +7,7 @@ Type=Application
StartupNotify=true
Categories=GNOME;GTK;System;
OnlyShowIn=GNOME;
-AutostartCondition=GSETTINGS org.gnome.control-center.setup need-setup
X-GNOME-Bugzilla-Bugzilla=GNOME
-X-GNOME-Bugzilla-Product=gnome-control-center
+X-GNOME-Bugzilla-Product=gdm
X-GNOME-Bugzilla-Component=setup
X-GNOME-Bugzilla-Version=unknown
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]