[evolution] I#800 - Composer: Position window in the center of the screen



commit 4a3cd04dead4eb0dbb47d56cb2a45ce7059f3ab1
Author: Milan Crha <mcrha redhat com>
Date:   Tue Feb 25 14:08:04 2020 +0100

    I#800 - Composer: Position window in the center of the screen
    
    Closes https://gitlab.gnome.org/GNOME/evolution/issues/800

 src/composer/e-msg-composer.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/composer/e-msg-composer.c b/src/composer/e-msg-composer.c
index 7f3aee36ae..1c6db9adb1 100644
--- a/src/composer/e-msg-composer.c
+++ b/src/composer/e-msg-composer.c
@@ -2497,6 +2497,7 @@ msg_composer_constructed (GObject *object)
        gtk_window_set_title (GTK_WINDOW (composer), _("Compose Message"));
        gtk_window_set_icon_name (GTK_WINDOW (composer), "mail-message-new");
        gtk_window_set_default_size (GTK_WINDOW (composer), 600, 500);
+       gtk_window_set_position (GTK_WINDOW (composer), GTK_WIN_POS_CENTER);
 
        g_signal_connect (
                object, "delete-event",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]