[evolution-patches] composer HIG patch
- From: William Jon McCann <mccannwj pha jhu edu>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] composer HIG patch
- Date: Wed, 07 Jan 2004 14:45:33 -0500
? composer/e-msg-composer-attachment.gladep
Index: composer/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.590
diff -u -r1.590 ChangeLog
--- composer/ChangeLog 7 Jan 2004 05:39:51 -0000 1.590
+++ composer/ChangeLog 7 Jan 2004 18:44:31 -0000
@@ -1,3 +1,12 @@
+2003-01-07 William Jon McCann <mccann jhu edu>
+
+ * e-msg-composer-attachment.glade:
+ * e-msg-composer.c (build_message, get_file_content, save)
+ (autosave_manager_query_load_orphans, do_exit):
+ * e-msg-composer-hdrs.c (account_removed_cb):
+ * e-msg-composer-attachment-bar.c (add_from_file):
+ Remove separator from dialogs per HIG.
+
2004-01-07 JP Rosevear <jpr ximian com>
* Makefile.am: missed this - remove disable deprecated flag
Index: composer/e-msg-composer-attachment-bar.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer-attachment-bar.c,v
retrieving revision 1.80
diff -u -r1.80 e-msg-composer-attachment-bar.c
--- composer/e-msg-composer-attachment-bar.c 24 Sep 2003 20:12:02 -0000 1.80
+++ composer/e-msg-composer-attachment-bar.c 7 Jan 2004 18:44:32 -0000
@@ -182,6 +182,7 @@
GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
"%s", camel_exception_get_description (&ex));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
camel_exception_clear (&ex);
Index: composer/e-msg-composer-attachment.glade
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer-attachment.glade,v
retrieving revision 1.10
diff -u -r1.10 e-msg-composer-attachment.glade
--- composer/e-msg-composer-attachment.glade 21 Apr 2003 17:45:52 -0000 1.10
+++ composer/e-msg-composer-attachment.glade 7 Jan 2004 18:44:33 -0000
@@ -12,7 +12,7 @@
<property name="modal">False</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">False</property>
- <property name="has_separator">True</property>
+ <property name="has_separator">False</property>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox1">
Index: composer/e-msg-composer-hdrs.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer-hdrs.c,v
retrieving revision 1.121
diff -u -r1.121 e-msg-composer-hdrs.c
--- composer/e-msg-composer-hdrs.c 4 Dec 2003 17:24:23 -0000 1.121
+++ composer/e-msg-composer-hdrs.c 7 Jan 2004 18:44:35 -0000
@@ -285,6 +285,7 @@
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, "%s",
_("You need to configure an account before you can compose mail."));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
}
}
}
Index: composer/e-msg-composer.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer.c,v
retrieving revision 1.425
diff -u -r1.425 e-msg-composer.c
--- composer/e-msg-composer.c 1 Dec 2003 15:20:49 -0000 1.425
+++ composer/e-msg-composer.c 7 Jan 2004 18:44:43 -0000
@@ -749,6 +749,7 @@
GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
"%s", camel_exception_get_description (&ex));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
}
@@ -787,6 +788,7 @@
GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
_("Error while reading file %s:\n%s"),
file_name, g_strerror (errno));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
}
@@ -1151,6 +1153,7 @@
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO,
_("File exists, overwrite?"));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
resp = gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
if (resp != GTK_RESPONSE_YES) {
@@ -1162,6 +1165,7 @@
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
_("Error saving file: %s"), g_strerror (errnosav));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
g_free (filename);
@@ -1385,6 +1389,7 @@
GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO,
_("Ximian Evolution has found unsaved files from a previous session.\n"
"Would you like to try to recover them?"));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_YES);
load = gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_YES;
gtk_widget_destroy (dialog);
@@ -1557,6 +1562,7 @@
GTK_STOCK_SAVE, GTK_RESPONSE_YES,
NULL);
gtk_window_set_title (GTK_WINDOW (dialog), _("Warning: Modified Message"));
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_YES);
button = gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]