Lines Matching refs:_GK

857 	_GK.chart_width = gtk_spin_button_get_value_as_int(spin);  in cb_width_spin()
866 n = _GK.update_HZ; in cb_HZ_spin()
867 _GK.update_HZ = gtk_spin_button_get_value_as_int(spin); in cb_HZ_spin()
868 if (n != _GK.update_HZ) in cb_HZ_spin()
869 gkrellm_start_timer(_GK.update_HZ); in cb_HZ_spin()
875 _GK.enable_hostname = GTK_TOGGLE_BUTTON(enable_hst_button)->active; in cb_hostname_sysname()
877 _GK.hostname_short = GTK_TOGGLE_BUTTON(hostname_short_button)->active; in cb_hostname_sysname()
878 _GK.enable_system_name = GTK_TOGGLE_BUTTON(enable_sysname_button)->active; in cb_hostname_sysname()
891 _GK.allow_multiple_instances = in cb_general()
894 _GK.on_top = GTK_TOGGLE_BUTTON(on_top_button)->active; in cb_general()
896 _GK.save_position = GTK_TOGGLE_BUTTON(save_position_button)->active; in cb_general()
901 new_state = (n != _GK.sticky_state); in cb_general()
902 _GK.sticky_state = n; in cb_general()
907 if (_GK.sticky_state) in cb_general()
915 _GK.decorated = GTK_TOGGLE_BUTTON(decorated_button)->active; in cb_general()
920 new_state = (n != _GK.state_skip_taskbar); in cb_general()
921 _GK.state_skip_taskbar = n; in cb_general()
928 new_state = (n != _GK.state_skip_pager); in cb_general()
929 _GK.state_skip_pager = n; in cb_general()
936 new_state = (n != _GK.state_above); in cb_general()
937 _GK.state_above = n; in cb_general()
940 if (n && _GK.state_below) in cb_general()
949 new_state = (n != _GK.state_below); in cb_general()
950 _GK.state_below = n; in cb_general()
953 if (n && _GK.state_above) in cb_general()
968 _GK.dock_type = GTK_TOGGLE_BUTTON(dock_type_button)->active; in cb_dock_type()
969 sensitive = !_GK.dock_type; in cb_dock_type()
1073 _GK.enable_hostname, FALSE, FALSE, 0, in create_general_tab()
1079 _GK.hostname_short, FALSE, FALSE, 10, in create_general_tab()
1084 _GK.enable_system_name, FALSE, FALSE, 0, in create_general_tab()
1089 _GK.save_position, FALSE, FALSE, 6, in create_general_tab()
1095 _GK.allow_multiple_instances, FALSE, FALSE, 0, in create_general_tab()
1102 _GK.on_top, FALSE, FALSE, 0, in create_general_tab()
1107 if (_GK.client_mode) in create_general_tab()
1118 gkrellm_gtk_spin_button(vbox, NULL, (gfloat) _GK.update_HZ, in create_general_tab()
1123 gkrellm_gtk_spin_button(vbox, NULL, (gfloat) _GK.chart_width, in create_general_tab()
1133 _GK.sticky_state, FALSE, FALSE, 0, cb_general, NULL, in create_general_tab()
1136 _GK.state_above, FALSE, FALSE, 0, cb_general, NULL, in create_general_tab()
1139 _GK.state_below, FALSE, FALSE, 0, cb_general, NULL, in create_general_tab()
1145 _GK.dock_type, FALSE, FALSE, 0, in create_general_tab()
1151 _GK.decorated, FALSE, FALSE, 0, cb_general, NULL, in create_general_tab()
1155 _GK.state_skip_taskbar, FALSE, FALSE, 0, cb_general, NULL, in create_general_tab()
1159 _GK.state_skip_pager, FALSE, FALSE, 0, cb_general, NULL, in create_general_tab()
1162 if (_GK.dock_type) in create_general_tab()
1396 name = *(_GK.theme_path) ? _GK.theme_path : "Default"; in find_theme_position_in_list()
1464 if (_GK.command_line_theme) in gkrellm_make_themes_list()
1467 theme->path = g_strdup(_GK.command_line_theme); in gkrellm_make_themes_list()
1509 if (gkrellm_dup_string(&_GK.theme_path, path)) in cb_theme_tree_selection_changed()
1523 if (i > _GK.theme_n_alternatives) in cb_theme_alternative_changed()
1525 i = _GK.theme_n_alternatives; in cb_theme_alternative_changed()
1528 if (i != _GK.theme_alternative) in cb_theme_alternative_changed()
1530 _GK.theme_alternative = i; in cb_theme_alternative_changed()
1542 if (i != _GK.theme_scale) in cb_theme_scale_changed()
1544 _GK.theme_scale = i; in cb_theme_scale_changed()
1559 gtk_spin_button_set_value(spin, (gfloat) _GK.theme_alternative); in gkrellm_set_theme_alternatives_label()
1561 _GK.theme_n_alternatives); in gkrellm_set_theme_alternatives_label()
1574 if (!theme_modified || _GK.command_line_theme || _GK.demo || _GK.no_config) in gkrellm_save_theme_config()
1582 fprintf(f, "%s\n", _GK.theme_path); in gkrellm_save_theme_config()
1583 fprintf(f, "%d\n", _GK.theme_alternative); in gkrellm_save_theme_config()
1587 fprintf(f, "%d\n", _GK.theme_scale); in gkrellm_save_theme_config()
1608 if (!_GK.theme_path) in gkrellm_load_theme_config()
1623 _GK.theme_path = g_strdup(s); in gkrellm_load_theme_config()
1625 _GK.theme_path = g_strdup_printf("%s/%s/%s", in gkrellm_load_theme_config()
1634 sscanf(buf, "%d", &_GK.theme_alternative); in gkrellm_load_theme_config()
1642 sscanf(buf, "%d", &_GK.theme_scale); in gkrellm_load_theme_config()
1648 if (!_GK.theme_path || !g_file_test(_GK.theme_path, G_FILE_TEST_IS_DIR)) in gkrellm_load_theme_config()
1649 gkrellm_dup_string(&_GK.theme_path, ""); in gkrellm_load_theme_config()
1669 g_object_get(_GK.gtk_settings, "gtk-theme-name", &theme_name, NULL); in gkrellm_read_theme_event()
1673 if ( gkrellm_dup_string(&_GK.gtk_theme_name, theme_name) in gkrellm_read_theme_event()
1674 && _GK.track_gtk_theme_name in gkrellm_read_theme_event()
1680 theme_name = g_strdup(_GK.default_track_theme); in gkrellm_read_theme_event()
1690 && gkrellm_dup_string(&_GK.theme_path, in gkrellm_read_theme_event()
1694 _GK.theme_alternative = alt; in gkrellm_read_theme_event()
1704 g_free(_GK.theme_path); in gkrellm_read_theme_event()
1705 _GK.theme_path = NULL; /* Forces reread of GKRELLM_THEME_CONFIG */ in gkrellm_read_theme_event()
1720 ++_GK.theme_reload_count; in cb_load_theme()
1721 if (_GK.no_config) in cb_load_theme()
1727 _GK.theme_alternative += ((strcmp(act, "ThemeAltNextAction") == 0) ? 1 : -1); in cb_load_theme()
1728 if (_GK.theme_alternative > _GK.theme_n_alternatives) in cb_load_theme()
1730 _GK.theme_alternative = 0; in cb_load_theme()
1733 if (_GK.theme_alternative < 0) in cb_load_theme()
1735 _GK.theme_alternative = 100; in cb_load_theme()
1743 _GK.theme_alternative = 0; in cb_load_theme()
1766 gkrellm_dup_string(&_GK.theme_path, in cb_load_theme()
1770 if (strcmp(act, "ThemeScaleUp") == 0 && _GK.theme_scale < 380) in cb_load_theme()
1772 _GK.theme_scale += 20; in cb_load_theme()
1775 else if (strcmp(act, "ThemeScaleDn") == 0 && _GK.theme_scale > 50) in cb_load_theme()
1777 _GK.theme_scale -= 20; in cb_load_theme()
1818 return (gfloat) (_GK.theme_scale) / 100.0; in gkrellm_get_theme_scale()
1825 _GK.track_gtk_theme_name = button->active; in cb_track_gtk()
1826 gtk_widget_set_sensitive(box, _GK.track_gtk_theme_name); in cb_track_gtk()
1835 gkrellm_dup_string(&_GK.default_track_theme, s); in cb_track_entry_changed()
1867 if (_GK.theme_path) in create_theme_tab()
1868 gtk_entry_set_text(GTK_ENTRY(theme_entry), _GK.theme_path); in create_theme_tab()
1875 author_label = gtk_label_new(get_theme_author(_GK.theme_path)); in create_theme_tab()
1902 (gfloat)_GK.theme_alternative, 0.0, 100.0, 1.0, 5.0, 0, 60, in create_theme_tab()
1917 _GK.track_gtk_theme_name, FALSE, FALSE, 0, in create_theme_tab()
1920 gtk_widget_set_sensitive(vbox1, _GK.track_gtk_theme_name); in create_theme_tab()
1930 gtk_entry_set_text(GTK_ENTRY(entry), _GK.default_track_theme); in create_theme_tab()
1939 (gfloat)_GK.theme_scale, 40.0, 400.0, 10.0, 20.0, 0, 60, in create_theme_tab()
2055 if (_GK.config_modified) in close_config()
2438 if (!mon || !mon->create_config || _GK.no_config) in gkrellm_open_config_window()
2531 if (_GK.no_config) in gkrellm_create_ui_manager_popup()