Add 'Invert syntax highlighting colours' Preferences dialog option

(hidden for now).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1091 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2006-12-13 16:51:09 +00:00
parent b71c227f55
commit 1cac328750
3 changed files with 28 additions and 0 deletions

View File

@ -13,6 +13,9 @@
message window area.
Add msgwin_menu_add_common_items().
Move remaining message window setup code to msgwin_init().
* src/interface.c, geany.glade:
Add 'Invert syntax highlighting colours' Preferences dialog option
(hidden for now).
2006-12-12 Enrico Tröger <enrico.troeger@uvena.de>

View File

@ -4695,6 +4695,25 @@ Bottom
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkCheckButton" id="checkbutton1">
<property name="tooltip" translatable="yes">Use white text on a black background.</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Invert syntax highlighting colours</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="check_indent">
<property name="visible">True</property>

View File

@ -2254,6 +2254,7 @@ create_prefs_dialog (void)
GtkWidget *frame5;
GtkWidget *alignment6;
GtkWidget *vbox12;
GtkWidget *checkbutton1;
GtkWidget *check_indent;
GtkWidget *check_white_space;
GtkWidget *check_line_end;
@ -3018,6 +3019,10 @@ create_prefs_dialog (void)
gtk_widget_show (vbox12);
gtk_container_add (GTK_CONTAINER (alignment6), vbox12);
checkbutton1 = gtk_check_button_new_with_mnemonic (_("Invert syntax highlighting colours"));
gtk_box_pack_start (GTK_BOX (vbox12), checkbutton1, FALSE, FALSE, 0);
gtk_tooltips_set_tip (tooltips, checkbutton1, _("Use white text on a black background."), NULL);
check_indent = gtk_check_button_new_with_mnemonic (_("Show indentation guides"));
gtk_widget_show (check_indent);
gtk_box_pack_start (GTK_BOX (vbox12), check_indent, FALSE, FALSE, 0);
@ -3673,6 +3678,7 @@ create_prefs_dialog (void)
GLADE_HOOKUP_OBJECT (prefs_dialog, frame5, "frame5");
GLADE_HOOKUP_OBJECT (prefs_dialog, alignment6, "alignment6");
GLADE_HOOKUP_OBJECT (prefs_dialog, vbox12, "vbox12");
GLADE_HOOKUP_OBJECT (prefs_dialog, checkbutton1, "checkbutton1");
GLADE_HOOKUP_OBJECT (prefs_dialog, check_indent, "check_indent");
GLADE_HOOKUP_OBJECT (prefs_dialog, check_white_space, "check_white_space");
GLADE_HOOKUP_OBJECT (prefs_dialog, check_line_end, "check_line_end");