kov changed libgksu/branches/libgksu2/libgksuui/gksuui-dialog.c

Gustavo Noronha kov at costa.debian.org
Sat Dec 3 01:07:32 UTC 2005


Mensagem de log: 
deleted trailing white spaces

-----


Modified: libgksu/branches/libgksu2/libgksuui/gksuui-dialog.c
===================================================================
--- libgksu/branches/libgksu2/libgksuui/gksuui-dialog.c	2005-12-03 01:05:53 UTC (rev 483)
+++ libgksu/branches/libgksu2/libgksuui/gksuui-dialog.c	2005-12-03 01:07:32 UTC (rev 484)
@@ -69,13 +69,13 @@
   GtkDialog *dialog;
   GtkWidget *hbox; /* aditional hbox for 'password: entry' label */
 
-  /* 
+  /*
      make sure we're using UTF-8 and getting our locale files
      from the right place
   */
   bindtextdomain(PACKAGE_NAME, LOCALEDIR);
   bind_textdomain_codeset (PACKAGE_NAME, "UTF-8");
-  
+
   gtk_widget_push_composite_child ();
 
   /* dialog window */
@@ -112,52 +112,52 @@
   gtk_widget_show (gksuui_dialog->hbox);
 
   /* image */
-  gksuui_dialog->image = 
+  gksuui_dialog->image =
     gtk_image_new_from_stock (GTK_STOCK_DIALOG_AUTHENTICATION,
 			      GTK_ICON_SIZE_DIALOG);
   gtk_misc_set_alignment (GTK_MISC(gksuui_dialog->image), 0.5, 0);
-  gtk_box_pack_start (GTK_BOX(gksuui_dialog->hbox), gksuui_dialog->image, 
+  gtk_box_pack_start (GTK_BOX(gksuui_dialog->hbox), gksuui_dialog->image,
 		      FALSE, FALSE, 0);
   gtk_widget_show (gksuui_dialog->image);
 
   /* vbox for label and entry */
   gksuui_dialog->entry_vbox = gtk_vbox_new (FALSE, 12);
-  gtk_box_pack_start (GTK_BOX(gksuui_dialog->hbox), gksuui_dialog->entry_vbox, 
+  gtk_box_pack_start (GTK_BOX(gksuui_dialog->hbox), gksuui_dialog->entry_vbox,
 		      TRUE, TRUE, 0);
   gtk_widget_show (gksuui_dialog->entry_vbox);
 
   /* label */
   gksuui_dialog->label = gtk_label_new (_("<span weight=\"bold\" size=\"larger\">"
 					  "Type the root password.</span>\n"));
-  gtk_label_set_justify (GTK_LABEL(gksuui_dialog->label), 
+  gtk_label_set_justify (GTK_LABEL(gksuui_dialog->label),
 			 GTK_JUSTIFY_CENTER);
   gtk_label_set_use_markup (GTK_LABEL(gksuui_dialog->label), TRUE);
   gtk_label_set_line_wrap (GTK_LABEL(gksuui_dialog->label), TRUE);
   gtk_misc_set_alignment (GTK_MISC(gksuui_dialog->label), 0.0, 0);
-  gtk_box_pack_start (GTK_BOX(gksuui_dialog->entry_vbox), 
+  gtk_box_pack_start (GTK_BOX(gksuui_dialog->entry_vbox),
 		      gksuui_dialog->label, TRUE, TRUE, 0);
   gtk_widget_show (gksuui_dialog->label);
 
   /* hbox for entry and label */
   hbox = gtk_hbox_new (FALSE, 6);
-  gtk_box_pack_start (GTK_BOX (gksuui_dialog->entry_vbox), hbox, 
+  gtk_box_pack_start (GTK_BOX (gksuui_dialog->entry_vbox), hbox,
 		      TRUE, TRUE, 0);
   gtk_widget_show (hbox);
 
   /* entry label */
   gksuui_dialog->prompt_label = gtk_label_new (_("Password:"));
-  gtk_box_pack_start (GTK_BOX(hbox), gksuui_dialog->prompt_label, 
+  gtk_box_pack_start (GTK_BOX(hbox), gksuui_dialog->prompt_label,
 		      FALSE, FALSE, 0);
   gtk_widget_show (gksuui_dialog->prompt_label);
-  
+
   /* entry */
   gksuui_dialog->entry = gtk_entry_new();
   g_signal_connect_swapped (G_OBJECT(gksuui_dialog->entry), "activate",
-			    G_CALLBACK(gtk_button_clicked), 
+			    G_CALLBACK(gtk_button_clicked),
 			    gksuui_dialog->ok_button);
   gtk_entry_set_visibility(GTK_ENTRY(gksuui_dialog->entry), FALSE);
-  gtk_entry_set_invisible_char(GTK_ENTRY(gksuui_dialog->entry), 0x25cf); 
-  gtk_box_pack_start (GTK_BOX (hbox), gksuui_dialog->entry, 
+  gtk_entry_set_invisible_char(GTK_ENTRY(gksuui_dialog->entry), 0x25cf);
+  gtk_box_pack_start (GTK_BOX (hbox), gksuui_dialog->entry,
 		      TRUE, TRUE, 0);
   gtk_widget_show (gksuui_dialog->entry);
   gtk_widget_grab_focus(gksuui_dialog->entry);
@@ -167,7 +167,7 @@
 
 /**
  * gksuui_dialog_new:
- * 
+ *
  * Creates a new #GksuuiDialog.
  *
  * Returns: the new #GksuuiDialog
@@ -182,7 +182,7 @@
  * gksuui_dialog_set_message:
  * @dialog: the dialog on which to set the message
  * @message: the message to be set on the dialog
- * 
+ *
  * Sets the message that is displayed to the user when
  * requesting a password. You can use Pango markup to
  * modify font attributes.
@@ -199,7 +199,7 @@
 /**
  * gksuui_dialog_get_message:
  * @dialog: the dialog from which to get the message
- * 
+ *
  * Gets the current message that the dialog will use
  * when run.
  *
@@ -251,7 +251,7 @@
 /**
  * gksuui_dialog_get_password:
  * @dialog: the dialog from which to get the message
- * 
+ *
  * Gets the password typed by the user on the dialog.
  * This is a convenience function to grab the password
  * easily from the dialog after calling gtk_dialog_run ()
@@ -270,7 +270,7 @@
  * gksuui_dialog_set_prompt:
  * @dialog: the dialog on which to set the prompt
  * @prompt: the prompt to be set on the dialog
- * 
+ *
  * Sets the prompt that is displayed to the user when
  * requesting a password. You can use Pango markup to
  * modify font attributes.
@@ -287,7 +287,7 @@
 /**
  * gksuui_dialog_get_prompt:
  * @dialog: the dialog from which to get the prompt
- * 
+ *
  * Gets the current prompt that the dialog will use
  * when run.
  *




More information about the gksu-commits mailing list