evolution r37249 - in trunk: addressbook addressbook/gui/component calendar calendar/gui calendar/gui/dialogs mail plugins/audio-inline



Author: aklapper
Date: Wed Feb 11 16:06:24 2009
New Revision: 37249
URL: http://svn.gnome.org/viewvc/evolution?rev=37249&view=rev

Log:
2009-02-11  Andre Klapper  <a9016009 gmx de>

	* addressbook/gui/component/addressbook-migrate.c:
	* calendar/gui/migration.c:
	* calendar/gui/dialogs/alarm-dialog.c:
	* mail/em-folder-browser.c:
	* mail/em-migrate.c:
	* plugins/audio-inline/audio-inline.c:
	Substitute some deprecated gtk+ functions.



Modified:
   trunk/addressbook/ChangeLog
   trunk/addressbook/gui/component/addressbook-migrate.c
   trunk/calendar/ChangeLog
   trunk/calendar/gui/dialogs/alarm-dialog.c
   trunk/calendar/gui/migration.c
   trunk/mail/ChangeLog
   trunk/mail/em-folder-browser.c
   trunk/mail/em-migrate.c
   trunk/plugins/audio-inline/ChangeLog
   trunk/plugins/audio-inline/audio-inline.c

Modified: trunk/addressbook/gui/component/addressbook-migrate.c
==============================================================================
--- trunk/addressbook/gui/component/addressbook-migrate.c	(original)
+++ trunk/addressbook/gui/component/addressbook-migrate.c	Wed Feb 11 16:06:24 2009
@@ -82,19 +82,19 @@
 	context->label = gtk_label_new ("");
 	gtk_label_set_line_wrap (GTK_LABEL (context->label), TRUE);
 	gtk_widget_show (context->label);
-	gtk_box_pack_start_defaults (GTK_BOX (vbox), context->label);
+	gtk_box_pack_start (GTK_BOX (vbox), context->label, TRUE, TRUE, 0);
 
 	hbox = gtk_hbox_new (FALSE, 6);
 	gtk_widget_show (hbox);
-	gtk_box_pack_start_defaults (GTK_BOX (vbox), hbox);
+	gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
 
 	context->folder_label = gtk_label_new ("");
 	gtk_widget_show (context->folder_label);
-	gtk_box_pack_start_defaults (GTK_BOX (hbox), context->folder_label);
+	gtk_box_pack_start (GTK_BOX (hbox), context->folder_label, TRUE, TRUE, 0);
 
 	context->progress = gtk_progress_bar_new ();
 	gtk_widget_show (context->progress);
-	gtk_box_pack_start_defaults (GTK_BOX (hbox), context->progress);
+	gtk_box_pack_start (GTK_BOX (hbox), context->progress, TRUE, TRUE, 0);
 
 	gtk_widget_show (context->window);
 }

Modified: trunk/calendar/gui/dialogs/alarm-dialog.c
==============================================================================
--- trunk/calendar/gui/dialogs/alarm-dialog.c	(original)
+++ trunk/calendar/gui/dialogs/alarm-dialog.c	Wed Feb 11 16:06:24 2009
@@ -863,7 +863,7 @@
 	dialog->malarm_addresses =
 		GTK_WIDGET (e_name_selector_peek_section_entry (dialog->name_selector, section_name));
 	gtk_widget_show (dialog->malarm_addresses);
-	gtk_box_pack_end_defaults (GTK_BOX (dialog->malarm_address_group), dialog->malarm_addresses);
+	gtk_box_pack_end (GTK_BOX (dialog->malarm_address_group), dialog->malarm_addresses, TRUE, TRUE, 0);
 
 	g_signal_connect (G_OBJECT (dialog->malarm_addressbook), "clicked",
 			  G_CALLBACK (addressbook_clicked_cb), dialog);

Modified: trunk/calendar/gui/migration.c
==============================================================================
--- trunk/calendar/gui/migration.c	(original)
+++ trunk/calendar/gui/migration.c	Wed Feb 11 16:06:24 2009
@@ -164,19 +164,19 @@
 
 	gtk_label_set_line_wrap ((GtkLabel *) w, TRUE);
 	gtk_widget_show (w);
-	gtk_box_pack_start_defaults ((GtkBox *) vbox, w);
+	gtk_box_pack_start ((GtkBox *) vbox, w, TRUE, TRUE, 0);
 
 	hbox = gtk_hbox_new (FALSE, 6);
 	gtk_widget_show (hbox);
-	gtk_box_pack_start_defaults ((GtkBox *) vbox, hbox);
+	gtk_box_pack_start ((GtkBox *) vbox, hbox, TRUE, TRUE, 0);
 
 	label = (GtkLabel *) gtk_label_new ("");
 	gtk_widget_show ((GtkWidget *) label);
-	gtk_box_pack_start_defaults ((GtkBox *) hbox, (GtkWidget *) label);
+	gtk_box_pack_start ((GtkBox *) hbox, (GtkWidget *) label, TRUE, TRUE, 0);
 
 	progress = (GtkProgressBar *) gtk_progress_bar_new ();
 	gtk_widget_show ((GtkWidget *) progress);
-	gtk_box_pack_start_defaults ((GtkBox *) hbox, (GtkWidget *) progress);
+	gtk_box_pack_start ((GtkBox *) hbox, (GtkWidget *) progress, TRUE, TRUE, 0);
 
 	gtk_widget_show (window);
 }

Modified: trunk/mail/em-folder-browser.c
==============================================================================
--- trunk/mail/em-folder-browser.c	(original)
+++ trunk/mail/em-folder-browser.c	Wed Feb 11 16:06:24 2009
@@ -551,7 +551,7 @@
 
 	gtk_widget_show(emfb->vpane);
 
-	gtk_box_pack_start_defaults((GtkBox *)emfb, emfb->vpane);
+	gtk_box_pack_start((GtkBox *)emfb, emfb->vpane, TRUE, TRUE, 0);
 
 	gtk_paned_pack1 (GTK_PANED (emfb->vpane), GTK_WIDGET (emfb->view.list), FALSE, FALSE);
 	gtk_widget_show((GtkWidget *)emfb->view.list);
@@ -784,7 +784,7 @@
 	g_signal_connect(w, "realize", G_CALLBACK(emfb_pane_realised), emfb);
 	emfb->priv->vpane_resize_id = g_signal_connect(w, "button_release_event", G_CALLBACK(emfb_pane_button_release_event), emfb);
 
-	gtk_box_pack_start_defaults((GtkBox *)emfb, w);
+	gtk_box_pack_start((GtkBox *)emfb, w, TRUE, TRUE, 0);
 	gtk_widget_reparent((GtkWidget *)emfb->view.list, w);
 	gtk_widget_reparent((GtkWidget *)emfb->priv->preview, w);
 	gtk_widget_destroy(emfb->vpane);

Modified: trunk/mail/em-migrate.c
==============================================================================
--- trunk/mail/em-migrate.c	(original)
+++ trunk/mail/em-migrate.c	Wed Feb 11 16:06:24 2009
@@ -1216,38 +1216,38 @@
 	/* Install the info image */
 	w = gtk_image_new_from_stock (GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_DIALOG);
 	gtk_misc_set_alignment (GTK_MISC (w), 0.5, 0.0);
-	gtk_box_pack_start_defaults (GTK_BOX (hbox), w);
+	gtk_box_pack_start (GTK_BOX (hbox), w, TRUE, TRUE, 0);
 
 	/* Prepare the message */
 	vbox = gtk_vbox_new (FALSE, 12);
 	gtk_widget_show (vbox);
-	gtk_box_pack_start_defaults (GTK_BOX (hbox), vbox);
+	gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE, TRUE, 0);
 
 	w = gtk_label_new (NULL);
 	gtk_misc_set_alignment (GTK_MISC (w), 0.0, 0.0);
 	markup = g_strconcat ("<big><b>", title ? title : _("Migration"), "</b></big>", NULL);
 	gtk_label_set_markup (GTK_LABEL (w), markup);
-	gtk_box_pack_start_defaults (GTK_BOX (vbox), w);
+	gtk_box_pack_start (GTK_BOX (vbox), w, TRUE, TRUE, 0);
 	g_free (markup);
 	
 	w = gtk_label_new (desc);
 	gtk_misc_set_alignment (GTK_MISC (w), 0.0, 0.0);
 	gtk_label_set_line_wrap (GTK_LABEL (w), TRUE);
-	gtk_box_pack_start_defaults (GTK_BOX (vbox), w);
+	gtk_box_pack_start (GTK_BOX (vbox), w, TRUE, TRUE, 0);
 
 	/* Progress bar */
 	w = gtk_vbox_new (FALSE, 6);
-	gtk_box_pack_start_defaults (GTK_BOX (vbox), w);
+	gtk_box_pack_start (GTK_BOX (vbox), w, TRUE, TRUE, 0);
 	
 	label = GTK_LABEL (gtk_label_new (""));
 	gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
 	gtk_label_set_line_wrap (label, TRUE);
 	gtk_widget_show (GTK_WIDGET (label));
-	gtk_box_pack_start_defaults (GTK_BOX (w), GTK_WIDGET (label));
+	gtk_box_pack_start (GTK_BOX (w), GTK_WIDGET (label), TRUE, TRUE, 0);
 
 	progress = GTK_PROGRESS_BAR (gtk_progress_bar_new ());
 	gtk_widget_show (GTK_WIDGET (progress));
-	gtk_box_pack_start_defaults (GTK_BOX (w), GTK_WIDGET (progress));
+	gtk_box_pack_start (GTK_BOX (w), GTK_WIDGET (progress), TRUE, TRUE, 0);
 
 	gtk_container_add (GTK_CONTAINER (window), hbox);
 	gtk_widget_show_all (hbox);

Modified: trunk/plugins/audio-inline/audio-inline.c
==============================================================================
--- trunk/plugins/audio-inline/audio-inline.c	(original)
+++ trunk/plugins/audio-inline/audio-inline.c	Wed Feb 11 16:06:24 2009
@@ -263,7 +263,7 @@
 	g_signal_connect (button, "clicked", cb, data);
 
 	gtk_widget_show (button);
-	gtk_box_pack_end_defaults (GTK_BOX (box), button);
+	gtk_box_pack_end (GTK_BOX (box), button, TRUE, TRUE, 0);
 
 	return button;
 }



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