diff options
author | Andre Klapper <a9016009@gmx.de> | 2009-02-12 00:06:24 +0800 |
---|---|---|
committer | Andre Klapper <aklapper@src.gnome.org> | 2009-02-12 00:06:24 +0800 |
commit | 9cc64a2009458355ed1e404ca4e15ede10acd920 (patch) | |
tree | 3abe3e301dc90aa734a3cbfd686fa80a838612bc /mail/em-migrate.c | |
parent | ae06b35d1f9f050d1841104a640779e0e06e1f4b (diff) | |
download | gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar.gz gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar.bz2 gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar.lz gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar.xz gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.tar.zst gsoc2013-evolution-9cc64a2009458355ed1e404ca4e15ede10acd920.zip |
Substitute some deprecated gtk+ functions.
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.
svn path=/trunk/; revision=37249
Diffstat (limited to 'mail/em-migrate.c')
-rw-r--r-- | mail/em-migrate.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/em-migrate.c b/mail/em-migrate.c index 128569edc3..97a05c8a7a 100644 --- a/mail/em-migrate.c +++ b/mail/em-migrate.c @@ -1216,38 +1216,38 @@ em_migrate_setup_progress_dialog (const char *title, const char *desc) /* 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); |