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/editldap_basedn.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/editldap_basedn.c')
-rw-r--r-- | src/editldap_basedn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editldap_basedn.c b/src/editldap_basedn.c index 7e3b3583..c9c61e58 100644 --- a/src/editldap_basedn.c +++ b/src/editldap_basedn.c @@ -56,6 +56,7 @@ static struct _LDAPEdit_basedn { GtkWidget *port_label; GtkWidget *basedn_entry; GtkWidget *basedn_list; + GtkWidget *hbbox; GtkWidget *ok_btn; GtkWidget *cancel_btn; GtkWidget *statusbar; @@ -241,6 +242,7 @@ static void edit_ldap_bdn_create(void) { ldapedit_basedn.port_label = port_label; ldapedit_basedn.basedn_entry = basedn_entry; ldapedit_basedn.basedn_list = basedn_list; + ldapedit_basedn.hbbox = hbbox; ldapedit_basedn.ok_btn = ok_btn; ldapedit_basedn.cancel_btn = cancel_btn; ldapedit_basedn.statusbar = statusbar; @@ -305,6 +307,8 @@ gchar *edit_ldap_basedn_selection( const gchar *hostName, const gint port, gchar ldapedit_basedn_cancelled = FALSE; if( ! ldapedit_basedn.window ) edit_ldap_bdn_create(); + gtkut_box_set_reverse_order(GTK_BOX(ldapedit_basedn.hbbox), + !prefs_common.comply_gnome_hig); gtk_widget_grab_focus(ldapedit_basedn.ok_btn); gtk_widget_show(ldapedit_basedn.window); manage_window_set_transient(GTK_WINDOW(ldapedit_basedn.window)); |