[evolution-patches] gtkhtml: cancel/ok buttons for property dialogs



Attached patch removes the apply button from property dialog and
replaces close button with cancel button.
? HIGifing-simpler.fix
? HIGifing.fix
? UI.fix
? cancel_ok.fix
? core.10856
? core.12983
? core.13012
? core.23223
? find
? gtkhtml-editor-properties.gladep
? rt
? shots
? test_editor
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/ChangeLog,v
retrieving revision 1.399
diff -u -p -r1.399 ChangeLog
--- ChangeLog	1 May 2003 21:26:34 -0000	1.399
+++ ChangeLog	2 May 2003 18:15:12 -0000
@@ -1,3 +1,8 @@
+2003-05-02  Radek Doulik  <rodo ximian com>
+
+	* properties.c (gtk_html_edit_properties_dialog_new): remove apply
+	button to be more conformant with the HIG
+
 2003-05-01  Abel Cheung  <maddog linux org hk>
 
 	* image.c(get_sample_html): Fix typo.
Index: properties.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/properties.c,v
retrieving revision 1.27
diff -u -p -r1.27 properties.c
--- properties.c	2 May 2003 18:10:10 -0000	1.27
+++ properties.c	2 May 2003 18:15:12 -0000
@@ -146,12 +146,11 @@ gtk_html_edit_properties_dialog_new (Gtk
 	d->control_data   = cd;
 	parent = get_parent_window (GTK_WIDGET (cd->html));
 	d->dialog         = insert ? gtk_dialog_new_with_buttons (title, parent, 0,
-								  GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
+								  GTK_STOCK_CANCEL, GTK_RESPONSE_CLOSE,
 								  GTKHTML_STOCK_INSERT, 1,
 								  NULL)
 		:  gtk_dialog_new_with_buttons (title, parent, 0,
-						GTK_STOCK_APPLY, 1,
-						GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
+						GTK_STOCK_CANCEL, GTK_RESPONSE_CLOSE,
 						GTK_STOCK_OK, 0,
 						NULL);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]