diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-28 01:46:25 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-01-28 01:46:25 +0800 |
commit | 06fbffd868b8220f51e091f13855a2bc7f42bd24 (patch) | |
tree | 8a9b27f176a84b672b6f742cdf20ef54a9c16e56 | |
parent | 200ba3606da4f501fdd3a439fbd5aef2852eeb5f (diff) | |
download | gsoc2013-evolution-06fbffd868b8220f51e091f13855a2bc7f42bd24.tar.gz gsoc2013-evolution-06fbffd868b8220f51e091f13855a2bc7f42bd24.tar.zst gsoc2013-evolution-06fbffd868b8220f51e091f13855a2bc7f42bd24.zip |
Bug #640706 - Can't edit filter/advance search condition
-rw-r--r-- | filter/e-rule-editor.c | 4 | ||||
-rw-r--r-- | mail/em-folder-selection-button.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/filter/e-rule-editor.c b/filter/e-rule-editor.c index 5145c1623a..59f12de672 100644 --- a/filter/e-rule-editor.c +++ b/filter/e-rule-editor.c @@ -353,9 +353,7 @@ rule_edit (GtkWidget *widget, ERuleEditor *editor) gtk_window_set_title ((GtkWindow *) editor->dialog, _("Edit Rule")); gtk_window_set_default_size (GTK_WINDOW (editor->dialog), 650, 400); gtk_window_set_resizable (GTK_WINDOW (editor->dialog), TRUE); - gtk_widget_set_parent_window ( - GTK_WIDGET (editor->dialog), - gtk_widget_get_window (GTK_WIDGET (editor))); + gtk_window_set_transient_for (GTK_WINDOW (editor->dialog), GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (editor)))); gtk_container_set_border_width ((GtkContainer *) editor->dialog, 6); content_area = gtk_dialog_get_content_area (GTK_DIALOG (editor->dialog)); diff --git a/mail/em-folder-selection-button.c b/mail/em-folder-selection-button.c index fd9e63dc8f..7feed625d1 100644 --- a/mail/em-folder-selection-button.c +++ b/mail/em-folder-selection-button.c @@ -378,7 +378,7 @@ em_folder_selection_button_init (EMFolderSelectionButton *emfsb) emfsb->priv->label = gtk_label_new (""); gtk_widget_show (emfsb->priv->label); gtk_label_set_justify (GTK_LABEL (emfsb->priv->label), GTK_JUSTIFY_LEFT); - gtk_misc_set_alignment (GTK_MISC (emfsb->priv->label), 0.0, 0.0); + gtk_misc_set_alignment (GTK_MISC (emfsb->priv->label), 0.0, 0.5); gtk_box_pack_start (GTK_BOX (box), emfsb->priv->label, TRUE, TRUE, 0); gtk_widget_show (box); |