( cvs diff -u -r 1.382.2.552 -r 1.382.2.553 src/compose.c; ) > 3.7.6cvs12.patchset
( cvs diff -u -r 1.2.2.40 -r 1.2.2.41 src/gtk/filesel.c; ) > 3.7.6cvs13.patchset
( cvs diff -u -r 1.274.2.310 -r 1.274.2.311 src/mainwindow.c; ) > 3.7.6cvs14.patchset
+( cvs diff -u -r 1.39.2.57 -r 1.39.2.58 src/mainwindow.h; cvs diff -u -r 1.274.2.311 -r 1.274.2.312 src/mainwindow.c; ) > 3.7.6cvs15.patchset
debug_print("Creating main window...\n");
mainwin = g_new0(MainWindow, 1);
- g_object_set(gtk_settings_get_default(), "gtk-button-images", TRUE, NULL);
+ g_object_get(gtk_settings_get_default(),
+ "gtk-button-images", &mainwin->button_images,
+ NULL);
/* main window */
window = GTK_WIDGET(gtkut_window_new(GTK_WINDOW_TOPLEVEL, "mainwindow"));
SummaryView *summaryview = mainwin->summaryview;
GtkWidget *ppaned = NULL;
GtkWidget *container = NULL;
-
+
switch (prefs_common.layout_mode) {
case NORMAL_LAYOUT:
case VERTICAL_LAYOUT:
cm_menu_set_sensitive_full(mainwin->ui_manager, "Menu/View/ShowHide/MessageView",
(layout_mode != WIDE_MSGLIST_LAYOUT && layout_mode != SMALL_LAYOUT));
+ if (!mainwin->button_images) {
+ gboolean button_images = FALSE;
+ g_object_get(gtk_settings_get_default(),
+ "gtk-button-images", &button_images,
+ NULL);
+ if ((layout_mode == VERTICAL_LAYOUT || layout_mode == SMALL_LAYOUT) &&
+ !button_images) {
+ button_images = TRUE;
+ g_object_set(gtk_settings_get_default(), "gtk-button-images",
+ TRUE, NULL);
+ }
+ else if(button_images) {
+ button_images = FALSE;
+ g_object_set(gtk_settings_get_default(), "gtk-button-images",
+ FALSE, NULL);
+ }
+ }
switch (layout_mode) {
case VERTICAL_LAYOUT:
case NORMAL_LAYOUT: