[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: branch: master updated (1.0-20070526-83-g62b2147)
The branch, master has been updated
via 62b214780e34aea9b56993f2b699cb78d50d4769 (commit)
from 62e7775f82d947efb1515ef8f9f776da88de62b4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
gschem/src/x_attribedit.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
=================
Commit Messages
=================
commit 62b214780e34aea9b56993f2b699cb78d50d4769
Author: Werner Hoch <werner.ho@xxxxxx>
Date: Wed Jul 4 17:35:06 2007 +0200
Set default button for single attribute edit dialog
Fixed wrong setting of the default button in the dialog.
Added the set property to the value entry.
[Suggested by Kai-Martin Knaak]
:100644 100644 838d0e1... 0cd7571... M gschem/src/x_attribedit.c
=========
Changes
=========
commit 62b214780e34aea9b56993f2b699cb78d50d4769
Author: Werner Hoch <werner.ho@xxxxxx>
Date: Wed Jul 4 17:35:06 2007 +0200
Set default button for single attribute edit dialog
Fixed wrong setting of the default button in the dialog.
Added the set property to the value entry.
[Suggested by Kai-Martin Knaak]
diff --git a/gschem/src/x_attribedit.c b/gschem/src/x_attribedit.c
index 838d0e1..0cd7571 100644
--- a/gschem/src/x_attribedit.c
+++ b/gschem/src/x_attribedit.c
@@ -347,7 +347,7 @@ void attrib_edit_dialog(TOPLEVEL * w_current, OBJECT * list, int flag)
gtk_window_set_position (GTK_WINDOW (aewindow), GTK_WIN_POS_MOUSE);
gtk_dialog_set_default_response(GTK_DIALOG(aewindow),
- GTK_RESPONSE_ACCEPT);
+ GTK_RESPONSE_APPLY);
vbox = GTK_DIALOG(aewindow)->vbox;
gtk_container_set_border_width(GTK_CONTAINER(aewindow),
@@ -402,6 +402,7 @@ void attrib_edit_dialog(TOPLEVEL * w_current, OBJECT * list, int flag)
gtk_table_attach (GTK_TABLE (table), value_entry, 1, 2, 1, 2,
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
+ gtk_entry_set_activates_default(GTK_ENTRY(value_entry), TRUE);
/* Visibility */
visbutton = gtk_check_button_new_with_label (_("Visible"));
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs