#include "about.h"
#include "manual.h"
+
#define AC_LABEL_WIDTH 240
#define STATUSBAR_PUSH(mainwin, str) \
SummaryView *summaryview;
MessageView *messageview;
GdkColormap *colormap;
- GdkColor color[3];
- gboolean success[3];
+ GdkColor color[4];
+ gboolean success[4];
guint n_menu_entries;
GtkItemFactory *ifactory;
GtkWidget *ac_menu;
folderview->color_new.red = (guint16)55000;
folderview->color_new.green = folderview->color_new.blue = 15000;
+ gtkut_convert_int_to_gdk_color(prefs_common.tgt_folder_col,
+ &folderview->color_op);
+
summaryview->color_important.red = 0;
summaryview->color_marked.green = 0;
summaryview->color_important.blue = (guint16)65535;
color[0] = summaryview->color_marked;
color[1] = summaryview->color_dim;
color[2] = folderview->color_new;
+ color[3] = folderview->color_op;
colormap = gdk_window_get_colormap(window->window);
- gdk_colormap_alloc_colors(colormap, color, 3, FALSE, TRUE, success);
- for (i = 0; i < 3; i++) {
+ gdk_colormap_alloc_colors(colormap, color, 4, FALSE, TRUE, success);
+ for (i = 0; i < 4; i++) {
if (success[i] == FALSE)
g_warning(_("MainWindow: color allocation %d failed\n"), i);
}
y %= sy; if (y < 0) y += sy;
gdk_window_move(mainwin->window->window, x, y);
gdk_window_raise(mainwin->window->window);
+ gdk_window_show(mainwin->window->window);
debug_print("window position: x = %d, y = %d\n", x, y);
if (!mainwin->summaryview->folder_item) return;
if (!folderview->opened) return;
+ folder_update_op_count();
+
fitem = gtk_ctree_node_get_row_data(GTK_CTREE(folderview->ctree),
folderview->opened);
if (!fitem) return;