Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwife.git;a=commitdiff;h=bd8b0056191203c9c80b6d4301555c20e0794f86

commit bd8b0056191203c9c80b6d4301555c20e0794f86
Author: Elentir <elen...@mailoo.org>
Date:   Wed Jul 8 15:57:35 2009 +0200

center main window in screen

diff --git a/src/fwife.c b/src/fwife.c
index 0314d4e..ab67078 100644
--- a/src/fwife.c
+++ b/src/fwife.c
@@ -239,6 +239,7 @@ int ask_language()
NULL);
gtk_widget_set_size_request(pBoite, 800, 600);
gtk_window_set_deletable(GTK_WINDOW(pBoite), FALSE );
+       gtk_window_set_position(GTK_WINDOW (pBoite), GTK_WIN_POS_CENTER);

ptr = g_strdup_printf("%s/headlogo.png", IMAGEDIR);
GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file (ptr, NULL);
@@ -286,6 +287,7 @@ int main (int argc, char *argv[])
assistant = gtk_assistant_new();
gtk_widget_set_size_request(assistant, 800, 600);
gtk_window_set_title(GTK_WINDOW (assistant), _("Fwife : Frugalware Installer 
Front-End"));
+       gtk_window_set_position(GTK_WINDOW (assistant), GTK_WIN_POS_CENTER);

/* Connect signals with functions */
g_signal_connect(G_OBJECT(assistant), "destroy", G_CALLBACK (cancel_install), 
NULL);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to