[gnome-initial-setup] gis-driver: Stop recentering the window on monitor updates
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] gis-driver: Stop recentering the window on monitor updates
- Date: Fri, 18 Jan 2013 03:17:05 +0000 (UTC)
commit 2d85fc2ceead6aa94452d10cb1c46cdefebb27cd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jan 17 21:59:28 2013 -0500
gis-driver: Stop recentering the window on monitor updates
Since we don't recenter on page changes, I don't think it makes
much sense to do this anymore.
gnome-initial-setup/gis-driver.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/gnome-initial-setup/gis-driver.c b/gnome-initial-setup/gis-driver.c
index 7a1a1ca..304a4e9 100644
--- a/gnome-initial-setup/gis-driver.c
+++ b/gnome-initial-setup/gis-driver.c
@@ -91,20 +91,10 @@ title_changed_cb (GisAssistant *assistant,
}
static void
-recenter_window (GdkScreen *screen, GisDriver *driver)
-{
- GisDriverPrivate *priv = driver->priv;
- gtk_window_set_position (priv->main_window, GTK_WIN_POS_CENTER_ALWAYS);
-}
-
-static void
prepare_main_window (GisDriver *driver)
{
GisDriverPrivate *priv = driver->priv;
- g_signal_connect (gtk_widget_get_screen (GTK_WIDGET (priv->main_window)),
- "monitors-changed", G_CALLBACK (recenter_window), driver);
-
g_signal_connect (priv->assistant, "notify::title",
G_CALLBACK (title_changed_cb), driver);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]