Remove the locale-specific gtkrc's, as they only contain a "fontset" line,

Thu Nov 16 01:25:51 2000  Robert Brady  <robert@suse.co.uk>

	* gtk/gtkrc.*: Remove the locale-specific gtkrc's, as they
	only contain a "fontset" line, which is now ignored.

	* gtk/Makefile.am: Don't build the above.

	* gtk/gtkentry.c (gtk_entry_button_release): Make
	double-click-to-select-word work.
This commit is contained in:
Robert Brady 2000-11-16 01:51:17 +00:00 committed by Robert Brady
parent afb5788071
commit 2a38b7e592
32 changed files with 58 additions and 319 deletions

View File

@ -1,3 +1,11 @@
Thu Nov 16 01:25:51 2000 Robert Brady <robert@suse.co.uk>
* gtk/gtkrc.*: Remove the locale-specific gtkrc's, as they
only contain a "fontset" line, which is now ignored.
* gtk/gtkentry.c (gtk_entry_button_release): Make
double-click-to-select-word work.
Wed Nov 15 20:16:54 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end):

View File

@ -1,3 +1,11 @@
Thu Nov 16 01:25:51 2000 Robert Brady <robert@suse.co.uk>
* gtk/gtkrc.*: Remove the locale-specific gtkrc's, as they
only contain a "fontset" line, which is now ignored.
* gtk/gtkentry.c (gtk_entry_button_release): Make
double-click-to-select-word work.
Wed Nov 15 20:16:54 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end):

View File

@ -1,3 +1,11 @@
Thu Nov 16 01:25:51 2000 Robert Brady <robert@suse.co.uk>
* gtk/gtkrc.*: Remove the locale-specific gtkrc's, as they
only contain a "fontset" line, which is now ignored.
* gtk/gtkentry.c (gtk_entry_button_release): Make
double-click-to-select-word work.
Wed Nov 15 20:16:54 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end):

View File

@ -1,3 +1,11 @@
Thu Nov 16 01:25:51 2000 Robert Brady <robert@suse.co.uk>
* gtk/gtkrc.*: Remove the locale-specific gtkrc's, as they
only contain a "fontset" line, which is now ignored.
* gtk/gtkentry.c (gtk_entry_button_release): Make
double-click-to-select-word work.
Wed Nov 15 20:16:54 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end):

View File

@ -1,3 +1,11 @@
Thu Nov 16 01:25:51 2000 Robert Brady <robert@suse.co.uk>
* gtk/gtkrc.*: Remove the locale-specific gtkrc's, as they
only contain a "fontset" line, which is now ignored.
* gtk/gtkentry.c (gtk_entry_button_release): Make
double-click-to-select-word work.
Wed Nov 15 20:16:54 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end):

View File

@ -1,3 +1,11 @@
Thu Nov 16 01:25:51 2000 Robert Brady <robert@suse.co.uk>
* gtk/gtkrc.*: Remove the locale-specific gtkrc's, as they
only contain a "fontset" line, which is now ignored.
* gtk/gtkentry.c (gtk_entry_button_release): Make
double-click-to-select-word work.
Wed Nov 15 20:16:54 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end):

View File

@ -1,3 +1,11 @@
Thu Nov 16 01:25:51 2000 Robert Brady <robert@suse.co.uk>
* gtk/gtkrc.*: Remove the locale-specific gtkrc's, as they
only contain a "fontset" line, which is now ignored.
* gtk/gtkentry.c (gtk_entry_button_release): Make
double-click-to-select-word work.
Wed Nov 15 20:16:54 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end):

View File

@ -509,43 +509,13 @@ EXTRA_LTLIBRARIES = libgtk-x11-1.3.la libgtk-nanox-1.3.la libgtk-linux-fb-1.3.la
gtkconfdir = $(sysconfdir)/gtk-2.0
gtkconf_DATA = gtkrc.az gtkrc.el gtkrc.eo gtkrc.he gtkrc.hy gtkrc.ja \
gtkrc.ko gtkrc.ru gtkrc.tr gtkrc.th gtkrc.uk gtkrc.iso-8859-2 \
gtkrc.iso-8859-5 gtkrc.iso-8859-13 gtkrc.iso-8859-14 \
gtkrc.iso-8859-15 gtkrc.zh_CN gtkrc.zh_TW.big5 \
gtkrc.ka_GE.georgianacademy gtkrc.ka_GE.georgianps \
gtkrc.vi_VN.tcvn gtkrc.vi_VN.viscii \
gtkrc.cp1251 gtk.immodules
gtkconf_DATA = gtk.immodules
# We create a dummy theme for the default GTK+ theme
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(datadir)/themes/Default/gtk-2.0
echo "# Empty gtkrc for default theme" > $(DESTDIR)$(datadir)/themes/Default/gtk-2.0/gtkrc
$(mkinstalldirs) $(DESTDIR)$(gtkconfdir)
cd $(DESTDIR)$(gtkconfdir) \
&& for i in cs hr hu pl ro sk sl sq sr ; do \
rm -f gtkrc.$$i ; \
ln -s gtkrc.iso-8859-2 gtkrc.$$i ; \
done \
&& for i in bg_BG.iso88595 mk sp ru_RU.iso88595 ; do \
rm -f gtkrc.$$i ; \
ln -s gtkrc.iso-8859-5 gtkrc.$$i ; \
done \
&& rm -f gtkrc.lt gtkrc.lv gtkrc.cy gtkrc.ga gtkrc.et gtkrc.ka \
gtkrc.vi_VN.viscii111 gtkrc.vi_VN.tcvn5712 gtkrc.vi \
gtkrc.be gtkrc.bg gtkrc.mi \
&& ln -s gtkrc.iso-8859-13 gtkrc.mi \
&& ln -s gtkrc.iso-8859-13 gtkrc.lt \
&& ln -s gtkrc.iso-8859-13 gtkrc.lv \
&& ln -s gtkrc.iso-8859-14 gtkrc.cy \
&& ln -s gtkrc.iso-8859-14 gtkrc.ga \
&& ln -s gtkrc.iso-8859-15 gtkrc.et \
&& ln -s gtkrc.ka_GE.georgianps gtkrc.ka \
&& ln -s gtkrc.vi_VN.viscii gtkrc.vi_VN.viscii111 \
&& ln -s gtkrc.vi_VN.tcvn gtkrc.vi_VN.tcvn5712 \
&& ln -s gtkrc.vi_VN.tcvn5712 gtkrc.vi \
&& ln -s gtkrc.cp1251 gtkrc.be \
&& ln -s gtkrc.cp1251 gtkrc.bg
uninstall-local:
rm -f $(DESTDIR)$(datadir)/themes/Default/gtk-2.0/gtkrc
@ -575,7 +545,7 @@ gtk_query_immodules_2_0_LDADD = $(LDADDS)
gtk_query_immodules_2_0_SOURCES = queryimmodules.c
gtk.immodules: gtk-query-immodules-2.0
gtk.immodules: gtk-query-immodules-2.0 ../modules/input/Makefile.am
./gtk-query-immodules-2.0 ../modules/input/.libs/*.so > gtk.immodules
#

View File

@ -1003,16 +1003,6 @@ gtk_entry_button_release (GtkWidget *widget,
entry->button = 0;
if (event->button == 1)
{
gint tmp_pos;
tmp_pos = gtk_entry_find_position (entry, event->x + entry->scroll_offset);
gtk_editable_select_region (editable, entry->selection_bound, tmp_pos);
return TRUE;
}
return FALSE;
}

View File

@ -1,8 +0,0 @@
style "gtk-default-az" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-9e,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-9e,*-r-*"
}
class "GtkWidget" style "gtk-default-az"

View File

@ -1,8 +0,0 @@
style "gtk-default-bg" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-microsoft-cp1251,\
-*-arial-medium-r-normal--12-*-*-*-*-*-microsoft-cp1251"
}
class "GtkWidget" style "gtk-default-bg"

View File

@ -1,8 +0,0 @@
style "gtk-default-el" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-7,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-7"
}
class "GtkWidget" style "gtk-default-el"

View File

@ -1,8 +0,0 @@
style "gtk-default-eo" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-3,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-3"
}
class "GtkWidget" style "gtk-default-eo"

View File

@ -1,6 +0,0 @@
style "gtk-default-he" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-*-medium-r-normal--12-*-*-*-*-*-iso8859-8"
}
class "GtkWidget" style "gtk-default-he"

View File

@ -1,6 +0,0 @@
style "gtk-default-hy" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-armnet helvetica-medium-r-normal--12-*-*-*-*-*-armscii-8"
}
class "GtkWidget" style "gtk-default-hy"

View File

@ -1,7 +0,0 @@
style "gtk-default-iso-8859-13" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-13,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-13"
}
class "GtkWidget" style "gtk-default-iso-8859-13"

View File

@ -1,8 +0,0 @@
style "gtk-default-iso-8859-14" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-14,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-14"
}
class "GtkWidget" style "gtk-default-iso-8859-14"

View File

@ -1,8 +0,0 @@
style "gtk-default-iso-8859-15" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-15,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-15"
}
class "GtkWidget" style "gtk-default-iso-8859-15"

View File

@ -1,14 +0,0 @@
#$(gtkconfigdir)/gtkrc.iso-8859-2
#
# This file defines the fontsets for iso-8859-2 encoding
# make symliks or hardlinks to gtkrc.$LANG if your language uses iso-8859-2
# and a gtkrc.$LANG doesn't exist yet.
style "gtk-default-iso-8859-2" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-2,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-2"
}
class "GtkWidget" style "gtk-default-iso-8859-2"

View File

@ -1,14 +0,0 @@
#$(gtkconfigdir)/gtkrc.iso-8859-5
#
# This file defines the fontsets for iso-8859-5 encoding
# make symliks or hardlinks to gtkrc.$LANG if your language uses iso-8859-5
# and a gtkrc.$LANG doesn't exist yet.
style "gtk-default-iso-8859-5" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-5,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-5"
}
class "GtkWidget" style "gtk-default-iso-8859-5"

View File

@ -1,6 +0,0 @@
style "gtk-default-ja" {
fontset = "-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1,\
-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0"
}
class "GtkWidget" style "gtk-default-ja"

View File

@ -1,18 +0,0 @@
# $(gtkconfigdir)/gtkrc.ka_GE.georgianacademy
#
# This file defines the fontsets for Georgian language (ka) using
# the GEORGIAN-ACADEMY charset encoding.
#
# You can find links for georgian-academy True Type fonts following the
# links at my page on georgian localisation at
# http://www.ping.be/linux/georgian/
#
# 1999, Pablo Saratxaga <srtxg@chanae.alphanet.ch>
#
style "gtk-default-georgianacademy" {
fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\
-*-*-medium-r-normal--14-*-*-*-*-*-georgian-academy"
}
class "GtkWidget" style "gtk-default-georgianacademy"

View File

@ -1,17 +0,0 @@
# $(gtkconfigdir)/gtkrc.ka_GE.georgianps
#
# This file defines the fontsets for Georgian language (ka) using
# the GEORGIAN-PS (Parliament-Soros found) charset encoding.
#
# You can find links for georgian-ps True Type fonts following the
# links at my page on georgian local
#
# 1999, Pablo Saratxaga <srtxg@chanae.alphanet.ch>
#
style "gtk-default-georgianps" {
fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\
-*-*-medium-r-normal--14-*-*-*-*-*-georgian-ps"
}
class "GtkWidget" style "gtk-default-georgianps"

View File

@ -1,8 +0,0 @@
style "gtk-default-ko" {
fontset = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*,\
-*-gulim-medium-r-normal--*-120-*-*-*-*-ksc5601.1987-0,\
-*-kodig-medium-r-normal--*-120-*-*-*-*-ksc5601.1987-0,\
-*-*-medium-r-normal--*-120-*-*-*-*-ksc5601.1987-0,*"
}
class "GtkWidget" style "gtk-default-ko"

View File

@ -1,19 +0,0 @@
# $(gtkconfigdir)/gtkrc.ru
#
# This file defines the fontsets for Russian language (ru) using
# the KOI8-R charset encoding.
#
# 1999, Pablo Saratxaga <srtxg@chanae.alphanet.ch>
#
# Changelog:
# 1999-06-23: changed -cronyx-helvetica-...koi8-r to -*-helvetica-...koi8-r
# everybody doesn't has cronyx fonts (I haven't :) )
style "gtk-default-ru" {
fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-*,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-cronyx-helvetica-medium-r-normal--12-*-*-*-*-*-koi8-r,\
-*-arial-medium-r-normal--12-*-*-*-*-*-koi8-r"
}
class "GtkWidget" style "gtk-default-ru"

View File

@ -1,15 +0,0 @@
# $(gtkconfigdir)/gtkrc.th
#
# This file defines the fontsets for Thai language (th) using
# the TIS-620 charset encoding.
#
# 1999, Pablo Saratxaga <srtxg@chanae.alphanet.ch>
#
style "gtk-default-th" {
fontset = "-*-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1,\
-*-phaisarn-medium-r-normal--14-*-*-*-*-*-tis620.2533-1,\
-*-*-medium-r-normal--14-*-*-*-*-*-tis620.2533-1"
}
class "GtkWidget" style "gtk-default-th"

View File

@ -1,8 +0,0 @@
style "gtk-default-tr" {
fontset = "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-9,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-9"
}
class "GtkWidget" style "gtk-default-tr"

View File

@ -1,16 +0,0 @@
# $(gtkconfigdir)/gtkrc.uk
#
# This file defines the fontsets for Ukrainian language (uk) using
# the KOI8-U charset encoding.
#
# 1999, Pablo Saratxaga <srtxg@chanae.alphanet.ch>
#
style "gtk-default-uk" {
fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--14-*-*-*-*-*-koi8-u,\
-*-arial-medium-r-normal--14-*-*-*-*-*-koi8-u"
}
class "GtkWidget" style "gtk-default-uk"

View File

@ -1,22 +0,0 @@
# $(gtkconfigdir)/gtkrc.vi_VN.tcvn
#
#
# This file defines the fontsets for Vietnamese language (vi) using
# the Vietnam's official tcvn-5712 charset encoding.
#
# You can find links for tcvn True Type fonts following the
# links at my page on vietnamese localisation at
# http://www.ping.be/linux/viet/
#
# 1999, Pablo Saratxaga <srtxg@chanae.alphanet.ch>
#
style "gtk-default-vi-vn-tcvn" {
fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--14-*-*-*-*-*-tcvn-5712,\
-*-arial-medium-r-normal--14-*-*-*-*-*-tcvn-5712,\
-*-verdana-medium-r-normal--14-*-*-*-*-*-tcvn-5712"
}
class "GtkWidget" style "gtk-default-vi-vn-tcvn"

View File

@ -1,21 +0,0 @@
# $(gtkconfigdir)/gtkrc.vi_VN.viscii
#
# This file defines the fontsets for Vietnamese language (vi) using
# the viscii 1.1 charset encoding.
#
# You can find links for viscii True Type fonts following the
# links at my page on vietnamese localisation at
# http://www.ping.be/linux/viet/
#
# 1999, Pablo Saratxaga <srtxg@chanae.alphanet.ch>
#
style "gtk-default-vi-vn-viscii" {
fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\
-*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
-*-helvetica-medium-r-normal--14-*-*-*-*-*-viscii1.1-1,\
-*-arial-medium-r-normal--14-*-*-*-*-*-viscii1.1-1,\
-*-verdana-medium-r-normal--14-*-*-*-*-*-viscii1.1-1"
}
class "GtkWidget" style "gtk-default-vi-vn-viscii"

View File

@ -1,14 +0,0 @@
# $(gtkconfigdir)/gtkrc.zh_CN
#
# This file defines the fontsets for Chinese language (zh) using
# the simplified chinese standard GuoBiao as in mainland China (CN)
#
# 1999, Pablo Saratxaga <srtxg@chanae.alphanet.ch>
#
style "gtk-default-zh-cn" {
fontset = "-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-*,\
-*-*-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0"
}
class "GtkWidget" style "gtk-default-zh-cn"

View File

@ -1,18 +0,0 @@
# $(gtkconfigdir)/gtkrc.zh_TW
#
# This file defines the fontsets for Chinese language (ch) using
# the traditional chinese Big5 encoding as used in Taiwan (TW)
#
# 1999, Pablo Saratxaga <pablo@mandrakesoft.com>
#
# IMPORTANT NOTE: The name of this file *MUST* be "gtkrc.zh_TW.big5"
# the lowercasing of "big5" is done on purpose, if you change it it won't work
style "gtk-default-zh-tw" {
fontset = "-adobe-helvetica-medium-r-normal--16-*-*-*-*-*-iso8859-1,\
-taipei-*-medium-r-normal--*-*-*-*-*-*-big5-0,\
-*-*-medium-r-normal--16-*-*-*-*-*-big5-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-tw"