diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-07-07 10:33:54 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-07-07 10:33:54 +0000 |
commit | 45bf38953733d74728aba9bc612aca94a95a8df1 (patch) | |
tree | c5aee8e05ce6e22c85f4adca5dc8dd9ba24b861d /src/editaddress.c | |
parent | 63cdb916134da20afd79d5a36250daf9d24c1bfd (diff) |
made the order of buttons comply with GNOME HIG.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@405 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/editaddress.c')
-rw-r--r-- | src/editaddress.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editaddress.c b/src/editaddress.c index cda595bd..fbc91803 100644 --- a/src/editaddress.c +++ b/src/editaddress.c @@ -62,6 +62,7 @@ static struct _AddressEdit_dlg { static struct _PersonEdit_dlg { GtkWidget *window; GtkWidget *notebook; + GtkWidget *hbbox; GtkWidget *ok_btn; GtkWidget *cancel_btn; GtkWidget *statusbar; @@ -691,6 +692,7 @@ static void addressbook_edit_person_dialog_create( gboolean *cancelled ) { personeditdlg.window = window; personeditdlg.notebook = notebook; + personeditdlg.hbbox = hbbox; personeditdlg.ok_btn = ok_btn; personeditdlg.cancel_btn = cancel_btn; personeditdlg.statusbar = statusbar; @@ -1098,6 +1100,8 @@ ItemPerson *addressbook_edit_person( AddressBookFile *abf, ItemFolder *parent, I if (!personeditdlg.window) addressbook_edit_person_create(&cancelled); + gtkut_box_set_reverse_order(GTK_BOX(personeditdlg.hbbox), + !prefs_common.comply_gnome_hig); gtk_widget_grab_focus(personeditdlg.ok_btn); gtk_widget_grab_focus(personeditdlg.entry_name); gtk_widget_show(personeditdlg.window); |