/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2013 Hiroyuki Yamamoto and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2018 Hiroyuki Yamamoto and the Claws Mail team
*
* 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
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
*/
#include "defs.h"
gtk_container_set_border_width(GTK_CONTAINER(window), 4);
gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+ gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
gtk_widget_realize(window);
g_signal_connect(G_OBJECT(window), "delete_event",
static GdkColor color_noselect = {0, COLOR_DIM, COLOR_DIM, COLOR_DIM};
static GdkColor color_new;
- gtkut_convert_int_to_gdk_color(prefs_common.color_new, &color_new);
+ gtkut_convert_int_to_gdk_color(prefs_common.color[COL_NEW], &color_new);
name = folder_item_get_name(item);
}
if (cur_folder && (cur_folder->klass != folder->klass
- && strcmp2(cur_folder->name, folder->name) != 0))
+ && g_strcmp0(cur_folder->name, folder->name) != 0))
continue;
foldersel_insert_gnode_in_store(tree_store, folder->node, NULL);