aboutsummaryrefslogtreecommitdiff
path: root/src/editldap.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-07 10:33:54 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-07 10:33:54 +0000
commit45bf38953733d74728aba9bc612aca94a95a8df1 (patch)
treec5aee8e05ce6e22c85f4adca5dc8dd9ba24b861d /src/editldap.c
parent63cdb916134da20afd79d5a36250daf9d24c1bfd (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/editldap.c')
-rw-r--r--src/editldap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editldap.c b/src/editldap.c
index 9ef42af7..1fabf748 100644
--- a/src/editldap.c
+++ b/src/editldap.c
@@ -62,6 +62,7 @@
static struct _LDAPEdit {
GtkWidget *window;
GtkWidget *notebook;
+ GtkWidget *hbbox;
GtkWidget *ok_btn;
GtkWidget *cancel_btn;
GtkWidget *statusbar;
@@ -263,6 +264,7 @@ static void addressbook_edit_ldap_dialog_create( gboolean *cancelled ) {
ldapedit.window = window;
ldapedit.notebook = notebook;
+ ldapedit.hbbox = hbbox;
ldapedit.ok_btn = ok_btn;
ldapedit.cancel_btn = cancel_btn;
ldapedit.statusbar = statusbar;
@@ -514,6 +516,8 @@ AdapterDSource *addressbook_edit_ldap( AddressIndex *addrIndex, AdapterDSource *
if (!ldapedit.window)
addressbook_edit_ldap_create(&cancelled);
+ gtkut_box_set_reverse_order(GTK_BOX(ldapedit.hbbox),
+ !prefs_common.comply_gnome_hig);
gtk_notebook_set_current_page( GTK_NOTEBOOK(ldapedit.notebook), 0 );
gtk_widget_grab_focus(ldapedit.ok_btn);
gtk_widget_grab_focus(ldapedit.entry_name);