Added popup menu for common preferences and account preferences
[claws.git] / src / prefs.c
index 4705806387465b09bb0cf1c5465029840cb2795e..7ef09d28f6f5487adb5086c8ec6c01d1659c349c 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999,2000 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2001 Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -39,8 +39,6 @@ typedef enum
        DUMMY_PARAM
 } DummyEnum;
 
-#define PREFSBUFSIZE   1024
-
 void prefs_read_config(PrefParam *param, const gchar *label,
                       const gchar *rcfile)
 {
@@ -470,7 +468,9 @@ void prefs_dialog_create(PrefsDialog *dialog)
        gtk_container_set_border_width (GTK_CONTAINER (notebook), 2);
        /* GTK_WIDGET_UNSET_FLAGS (notebook, GTK_CAN_FOCUS); */
        gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE);
-
+       
+       gtk_notebook_popup_enable (GTK_NOTEBOOK (notebook));
+       
        gtkut_button_set_create(&confirm_area,
                                &ok_btn,        _("OK"),
                                &cancel_btn,    _("Cancel"),