Fix a typo (#1597)
[geany-mirror.git] / data / geany.gtkrc
blob28a07812ad2d8272f7ae88ac7929f1dc3f49fd1a
1 # custom GTK2 style for Geany
3 # make close button on the editor's tabs smaller
4 style "geany-close-tab-button-style" {
5         GtkWidget::focus-padding = 0
6         GtkWidget::focus-line-width = 0
7         xthickness = 0
8         ythickness = 0
10 widget "*.geany-close-tab-button" style "geany-close-tab-button-style"
12 # use monospaced font in search entries for easier reading of regexp (#1907117)
13 style "geany-monospace" {
14         font_name = "Monospace"
16 widget "GeanyDialogSearch.*.GtkEntry" style "geany-monospace"
17 widget "GeanyDialogSearch.*.geany-search-entry-no-match" style "geany-monospace"
19 # set red background for GtkEntries showing unmatched searches
20 style "geany-search-entry-no-match-style" {
21         base[NORMAL] = "#ffff66666666"
22         text[NORMAL] = "#ffffffffffff"
23         base[SELECTED] = "#777711111111"
24         # try and remove the entry background image on pixmap engine so that our
25         # background color is visible, and we don't end up with white text on white
26         # background (workaround for Adwaita 3.20).
27         engine "pixmap" {
28                 image {
29                         function = FLAT_BOX
30                         detail   = "entry_bg"
31                 }
32         }
34 widget "*.geany-search-entry-no-match" style "geany-search-entry-no-match-style"
36 # document status colors
37 style "geany-document-status-changed-style" {
38         fg[NORMAL] = "#ffff00000000"
39         fg[ACTIVE] = "#ffff00000000"
41 style "geany-document-status-disk-changed-style" {
42         fg[NORMAL] = "#ffff7fff0000"
43         fg[ACTIVE] = "#ffff7fff0000"
45 style "geany-document-status-readonly-style" {
46         fg[NORMAL] = "#00007fff0000"
47         fg[ACTIVE] = "#00007fff0000"
49 widget "*.geany-document-status-changed" style "geany-document-status-changed-style"
50 widget "*.geany-document-status-disk-changed" style "geany-document-status-disk-changed-style"
51 widget "*.geany-document-status-readonly" style "geany-document-status-readonly-style"
53 # red "Terminal" label when terminal dirty
54 widget "*.geany-terminal-dirty" style "geany-document-status-changed-style"