aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-01-28 01:46:25 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:29 +0800
commit7a42d829fc4a96421328e65fae3ad47014f4eb61 (patch)
treeb3daa555c7ac01fb20a1e46b2baa92246cda35b5
parent0364d4192bde55cb2d834db4e8eab05aa8f7d389 (diff)
downloadgsoc2013-evolution-7a42d829fc4a96421328e65fae3ad47014f4eb61.tar
gsoc2013-evolution-7a42d829fc4a96421328e65fae3ad47014f4eb61.tar.gz
gsoc2013-evolution-7a42d829fc4a96421328e65fae3ad47014f4eb61.tar.bz2
gsoc2013-evolution-7a42d829fc4a96421328e65fae3ad47014f4eb61.tar.lz
gsoc2013-evolution-7a42d829fc4a96421328e65fae3ad47014f4eb61.tar.xz
gsoc2013-evolution-7a42d829fc4a96421328e65fae3ad47014f4eb61.tar.zst
gsoc2013-evolution-7a42d829fc4a96421328e65fae3ad47014f4eb61.zip
Bug #640706 - Can't edit filter/advance search condition
-rw-r--r--filter/e-rule-editor.c4
-rw-r--r--mail/em-folder-selection-button.c2
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);