Blame SOURCES/0001-Center-new-windows.patch

5b3712
From c323dd5087a15cb2b820fedf311ca288ec347878 Mon Sep 17 00:00:00 2001
5b3712
From: Matthias Clasen <mclasen@redhat.com>
5b3712
Date: Thu, 8 Nov 2012 22:57:12 -0500
5b3712
Subject: [PATCH] Center new windows
5b3712
5b3712
This makes more sense than letting mutter put them in the top
5b3712
left corner.
5b3712
---
5b3712
 src/yelp-application.c | 1 +
5b3712
 1 file changed, 1 insertion(+)
5b3712
5b3712
diff --git a/src/yelp-application.c b/src/yelp-application.c
5b3712
index 2d004c2..e669661 100644
5b3712
--- a/src/yelp-application.c
5b3712
+++ b/src/yelp-application.c
5b3712
@@ -444,6 +444,7 @@ application_uri_resolved (YelpUri             *uri,
5b3712
 
5b3712
         g_settings_get (settings, "geometry", "(ii)", &width, &height);
5b3712
         window = yelp_window_new (data->app);
5b3712
+        gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
5b3712
         gtk_window_set_default_size (GTK_WINDOW (window), width, height);
5b3712
         g_signal_connect (window, "resized", G_CALLBACK (window_resized), data->app);
5b3712
         priv->windows = g_slist_prepend (priv->windows, window);
5b3712
-- 
5b3712
1.7.12.1
5b3712