Lines 445-455
gtk_settings_class_init (GtkSettingsClas
Link Here
|
445 |
g_assert (result == PROP_CURSOR_THEME_SIZE); |
445 |
g_assert (result == PROP_CURSOR_THEME_SIZE); |
446 |
|
446 |
|
447 |
#endif /* GDK_WINDOWING_X11 */ |
447 |
#endif /* GDK_WINDOWING_X11 */ |
|
|
448 |
gboolean default_gtk_alternative_button_order = FALSE; |
449 |
const char *kde_full_session = getenv("KDE_FULL_SESSION"); |
450 |
if( kde_full_session && !strcmp(kde_full_session,"true") ) |
451 |
default_gtk_alternative_button_order = TRUE; |
448 |
result = settings_install_property_parser (class, |
452 |
result = settings_install_property_parser (class, |
449 |
g_param_spec_boolean ("gtk-alternative-button-order", |
453 |
g_param_spec_boolean ("gtk-alternative-button-order", |
450 |
P_("Alternative button order"), |
454 |
P_("Alternative button order"), |
451 |
P_("Whether buttons in dialogs should use the alternative button order"), |
455 |
P_("Whether buttons in dialogs should use the alternative button order"), |
452 |
FALSE, |
456 |
default_gtk_alternative_button_order, |
453 |
GTK_PARAM_READWRITE), |
457 |
GTK_PARAM_READWRITE), |
454 |
NULL); |
458 |
NULL); |
455 |
g_assert (result == PROP_ALTERNATIVE_BUTTON_ORDER); |
459 |
g_assert (result == PROP_ALTERNATIVE_BUTTON_ORDER); |