gdm r5924 - in trunk: . gui/simple-chooser gui/simple-greeter



Author: mccann
Date: Tue Mar  4 20:57:47 2008
New Revision: 5924
URL: http://svn.gnome.org/viewvc/gdm?rev=5924&view=rev

Log:
2008-03-04  William Jon McCann  <jmccann redhat com>

	* gui/simple-chooser/gdm-host-chooser-dialog.c:
	(gdm_host_chooser_dialog_constructor):
	* gui/simple-chooser/gdm-host-chooser.c: (main):
	* gui/simple-greeter/gdm-remote-login-window.c:
	(gdm_remote_login_window_init):
	Use a connect button, set an initial size for the window,
	remove decorations.



Modified:
   trunk/ChangeLog
   trunk/gui/simple-chooser/gdm-host-chooser-dialog.c
   trunk/gui/simple-chooser/gdm-host-chooser.c
   trunk/gui/simple-greeter/gdm-remote-login-window.c

Modified: trunk/gui/simple-chooser/gdm-host-chooser-dialog.c
==============================================================================
--- trunk/gui/simple-chooser/gdm-host-chooser-dialog.c	(original)
+++ trunk/gui/simple-chooser/gdm-host-chooser-dialog.c	Tue Mar  4 20:57:47 2008
@@ -139,9 +139,10 @@
         gtk_dialog_add_buttons (GTK_DIALOG (dialog),
                                 GTK_STOCK_REFRESH, GTK_RESPONSE_APPLY,
                                 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
-                                GTK_STOCK_OK, GTK_RESPONSE_OK,
+                                GTK_STOCK_CONNECT, GTK_RESPONSE_OK,
                                 NULL);
 
+        gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER_ALWAYS);
         gtk_container_set_border_width (GTK_CONTAINER (dialog), 12);
         gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
         gtk_window_set_title (GTK_WINDOW (dialog), _("Select System"));

Modified: trunk/gui/simple-chooser/gdm-host-chooser.c
==============================================================================
--- trunk/gui/simple-chooser/gdm-host-chooser.c	(original)
+++ trunk/gui/simple-chooser/gdm-host-chooser.c	Tue Mar  4 20:57:47 2008
@@ -250,6 +250,8 @@
         gtk_init (&argc, &argv);
 
         chooser = gdm_host_chooser_dialog_new (GDM_CHOOSER_HOST_KIND_MASK_ALL);
+        gtk_widget_set_size_request (chooser, 480, 600);
+
         if (gtk_dialog_run (GTK_DIALOG (chooser)) == GTK_RESPONSE_OK) {
                 GdmChooserHost *host;
 

Modified: trunk/gui/simple-greeter/gdm-remote-login-window.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-remote-login-window.c	(original)
+++ trunk/gui/simple-greeter/gdm-remote-login-window.c	Tue Mar  4 20:57:47 2008
@@ -334,7 +334,7 @@
 
         gtk_window_set_position (GTK_WINDOW (login_window), GTK_WIN_POS_CENTER_ALWAYS);
         gtk_window_set_title (GTK_WINDOW (login_window), _("Remote Login"));
-        /*gtk_window_set_decorated (GTK_WINDOW (login_window), FALSE);*/
+        gtk_window_set_decorated (GTK_WINDOW (login_window), FALSE);
         gtk_window_set_skip_taskbar_hint (GTK_WINDOW (login_window), TRUE);
         gtk_window_set_skip_pager_hint (GTK_WINDOW (login_window), TRUE);
         gtk_window_stick (GTK_WINDOW (login_window));



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