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/prefs_display_header.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/prefs_display_header.c')
-rw-r--r-- | src/prefs_display_header.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/prefs_display_header.c b/src/prefs_display_header.c index ff508ae1..42c88306 100644 --- a/src/prefs_display_header.c +++ b/src/prefs_display_header.c @@ -44,6 +44,7 @@ static struct DisplayHeader { GtkWidget *window; + GtkWidget *confirm_area; GtkWidget *ok_btn; GtkWidget *cancel_btn; @@ -132,6 +133,8 @@ void prefs_display_header_open(void) prefs_display_header_create(); } + gtkut_box_set_reverse_order(GTK_BOX(dispheader.confirm_area), + !prefs_common.comply_gnome_hig); manage_window_set_transient(GTK_WINDOW(dispheader.window)); gtk_widget_grab_focus(dispheader.ok_btn); @@ -145,9 +148,9 @@ static void prefs_display_header_create(void) GtkWidget *window; GtkWidget *vbox; GtkWidget *btn_hbox; + GtkWidget *confirm_area; GtkWidget *ok_btn; GtkWidget *cancel_btn; - GtkWidget *confirm_area; GtkWidget *vbox1; @@ -341,6 +344,8 @@ static void prefs_display_header_create(void) gtk_widget_show_all(window); dispheader.window = window; + + dispheader.confirm_area = confirm_area; dispheader.ok_btn = ok_btn; dispheader.cancel_btn = cancel_btn; |