aboutsummaryrefslogtreecommitdiff
path: root/src/editjpilot.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/editjpilot.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/editjpilot.c')
-rw-r--r--src/editjpilot.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editjpilot.c b/src/editjpilot.c
index d9ce8d56..eed03eef 100644
--- a/src/editjpilot.c
+++ b/src/editjpilot.c
@@ -64,6 +64,7 @@ static struct _JPilotEdit {
GtkWidget *file_entry;
GtkWidget *custom_check[JPILOT_NUM_CUSTOM_LABEL];
GtkWidget *custom_label[JPILOT_NUM_CUSTOM_LABEL];
+ GtkWidget *hbbox;
GtkWidget *ok_btn;
GtkWidget *cancel_btn;
GtkWidget *statusbar;
@@ -373,6 +374,7 @@ static void addressbook_edit_jpilot_create( gboolean *cancelled ) {
jpilotedit.window = window;
jpilotedit.name_entry = name_entry;
jpilotedit.file_entry = file_entry;
+ jpilotedit.hbbox = hbbox;
jpilotedit.ok_btn = ok_btn;
jpilotedit.cancel_btn = cancel_btn;
jpilotedit.statusbar = statusbar;
@@ -393,6 +395,8 @@ AdapterDSource *addressbook_edit_jpilot( AddressIndex *addrIndex, AdapterDSource
if( ! jpilotedit.window )
addressbook_edit_jpilot_create(&cancelled);
+ gtkut_box_set_reverse_order(GTK_BOX(jpilotedit.hbbox),
+ !prefs_common.comply_gnome_hig);
gtk_widget_grab_focus(jpilotedit.ok_btn);
gtk_widget_grab_focus(jpilotedit.name_entry);
gtk_widget_show(jpilotedit.window);