gtranslator r3680 - in trunk/src: . dialogs



Author: icq
Date: Mon Sep 22 09:42:38 2008
New Revision: 3680
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3680&view=rev

Log:
	* dialogs/preferences-dialog:
	(setup_plugins_pages):
	Minor Fix: Added a GtkAlignment in order to adapt
	the plugins tab to HIG.

Modified:
   trunk/src/ChangeLog
   trunk/src/dialogs/preferences-dialog.c

Modified: trunk/src/dialogs/preferences-dialog.c
==============================================================================
--- trunk/src/dialogs/preferences-dialog.c	(original)
+++ trunk/src/dialogs/preferences-dialog.c	Mon Sep 22 09:42:38 2008
@@ -960,13 +960,19 @@
 static void
 setup_plugin_pages(GtranslatorPreferencesDialog *dlg)
 {
+        GtkWidget *alignment;
 	GtkWidget *page_content;
 
+	alignment = gtk_alignment_new (0., 0., 1., 1.);
+	gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 12, 12, 12, 12);
+	
 	page_content = gtranslator_plugin_manager_new ();
 	g_return_if_fail (page_content != NULL);
 
+	gtk_container_add (GTK_CONTAINER (alignment), page_content);
+
 	gtk_box_pack_start (GTK_BOX (dlg->priv->plugins_box),
-			    page_content,
+			    alignment,
 			    TRUE,
 			    TRUE,
 			    0);



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