Use gtk_container_add() to put the toplevel in the parent widget, instead
* mail-accounts.c (mail_accounts_tab_construct): Use gtk_container_add() to put the toplevel in the parent widget, instead of just gtk_widget_set_parent(). * mail-preferences.c (mail_preferences_construct): Likewise. * mail-composer-prefs.c (mail_composer_prefs_construct): Likewise. svn path=/trunk/; revision=16270
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
2002-03-27 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* mail-accounts.c (mail_accounts_tab_construct): Use
|
||||
gtk_container_add() to put the toplevel in the parent widget,
|
||||
instead of just gtk_widget_set_parent().
|
||||
* mail-preferences.c (mail_preferences_construct): Likewise.
|
||||
* mail-composer-prefs.c (mail_composer_prefs_construct): Likewise.
|
||||
|
||||
2002-03-27 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* mail-callbacks.c (mail_generate_reply): Updated to respect the
|
||||
|
@ -364,6 +364,8 @@ mail_accounts_etable_new (char *widget_name, char *string1, char *string2, int i
|
||||
E_TABLE_MEMORY_STORE_STRING,
|
||||
E_TABLE_MEMORY_STORE_TERMINATOR,
|
||||
};
|
||||
|
||||
return NULL;
|
||||
|
||||
extras = e_table_extras_new ();
|
||||
|
||||
@ -392,8 +394,8 @@ mail_accounts_tab_construct (MailAccountsTab *prefs)
|
||||
|
||||
/* reparent */
|
||||
gtk_widget_ref (toplevel);
|
||||
gtk_widget_unparent (toplevel);
|
||||
gtk_widget_set_parent (toplevel, GTK_WIDGET (prefs));
|
||||
gtk_container_remove (GTK_CONTAINER (toplevel->parent), toplevel);
|
||||
gtk_container_add (GTK_CONTAINER (prefs), toplevel);
|
||||
gtk_widget_unref (toplevel);
|
||||
|
||||
prefs->table = E_TABLE (glade_xml_get_widget (gui, "etableMailAccounts"));
|
||||
|
Reference in New Issue
Block a user