2008-10-07 [colin] 3.6.0cvs12
[claws.git] / src / mainwindow.h
index 56db6cf1fc40680e357e6f32a85e15444af89745..0e74cc323ad0449775ca017a78ae70c4378b1245 100644 (file)
@@ -63,7 +63,8 @@ typedef enum
        M_SUMMARY_ISLIST      = 1 << 22,
        M_IN_MSGLIST          = 1 << 23,
        M_HAVE_MULTI_ACCOUNT  = 1 << 24,
-       M_FOLDER_SELECTED     = 1 << 25
+       M_FOLDER_SELECTED     = 1 << 25,
+       M_SESSION_PASSWORDS   = 1 << 26
 } SensitiveCond;
 
 typedef enum
@@ -93,8 +94,6 @@ struct _MainWindow
        GtkWidget *vbox;
        GtkWidget *menubar;
 
-       GtkItemFactory *menu_factory;
-
        /* Toolbar handlebox */
        GtkWidget *handlebox;
        Toolbar *toolbar;
@@ -141,6 +140,8 @@ struct _MainWindow
        gpointer smc_conn;
 #endif
        gboolean         in_folder;
+       GtkActionGroup  *action_group;
+       GtkUIManager    *ui_manager;
 };
 
 MainWindow *main_window_create         (void);
@@ -211,4 +212,7 @@ void maemo_connect_key_press_to_mainwindow    (GtkWindow *window);
 void mainwindow_maemo_led_set(gboolean state);
 #endif
 
+void mainwin_accel_changed_cb (GtkAccelGroup *accelgroup, guint keyval, GdkModifierType modifier,
+                                 GClosure *closure, GtkMenuItem *item);
+
 #endif /* __MAINWINDOW_H__ */