Mercurial > emacs
view etc/nxml/00D80-00DFF.el @ 109067:b5f73bf59a4f
Use non-deprecated Gtk+ functions, add changes for Gtk+3 with GSEAL_ENABLE.
* configure.in: Add --with-x-toolkit=gtk3. Remove HAVE_GTK_MULTIDISPLAY,
check for gtk_file_chooser_dialog_new, and HAVE_GTK_FILE_BOTH (implied
by minimum required Gtk+ 2.6). Add checks for functions introduced
in Gtk+ 2.14 or newer.
* xterm.h (gtk_widget_get_window, gtk_widget_get_mapped)
(gtk_adjustment_get_page_size, gtk_adjustment_get_upper): New
defines based on what configure finds.
* xterm.c (XTflash): Use gtk_widget_get_window.
(xg_scroll_callback): Use gtk_adjustment_get_upper and
gtk_adjustment_get_page_size.
(handle_one_xevent): Use gtk_widget_get_mapped.
(x_term_init): Remove HAVE_GTK_MULTIDISPLAY and associated error
messages.
* xmenu.c (create_and_show_popup_menu): Call gtk_widget_get_mapped.
* gtkutil.h: Replace HAVE_GTK_FILE_BOTH with
HAVE_GTK_FILE_SELECTION_NEW.
* gtkutil.c (xg_display_open, xg_display_close): Remove
HAVE_GTK_MULTIDISPLAY, it is always defined.
(xg_display_open): Return type is void.
(gtk_widget_set_has_window)
(gtk_dialog_get_action_area, gtk_dialog_get_content_area)
(gtk_widget_get_sensitive, gtk_adjustment_set_page_size)
(gtk_adjustment_set_page_increment)
(gtk_adjustment_get_step_increment): #define these if not found
by configure.
(remove_submenu): New define based on Gtk+ version.
(xg_set_cursor, xg_frame_resized, xg_event_is_for_scrollbar): Use
gtk_widget_get_window.
(xg_frame_resized, xg_update_frame_menubar): Use gtk_widget_get_mapped.
(xg_create_frame_widgets): Use gtk_widget_set_has_window.
(create_dialog): Use gtk_dialog_get_action_area and
gtk_dialog_get_content_area.
(xg_uses_old_file_dialog, xg_get_file_name): Remove HAVE_GTK_FILE_BOTH
and HAVE_GTK_FILE_CHOOSER_DIALOG_NEW. File chooser is always
available, so checking for HAVE_GTK_FILE_SELECTION_NEW is enough.
(xg_update_menubar, xg_update_submenu, xg_show_toolbar_item): Use
g_object_ref and g_object_unref.
(xg_update_menu_item, xg_tool_bar_menu_proxy): Use
gtk_widget_get_sensitive.
(xg_update_submenu): Use remove_submenu.
(xg_update_scrollbar_pos): Don't use GtkFixedChild, use child
properties instead to get old x and y position.
(xg_set_toolkit_scroll_bar_thumb): Use gtk_adjustment_get_page_size,
gtk_adjustment_get_step_increment, gtk_adjustment_set_page_size,
gtk_adjustment_set_step_increment and gtk_adjustment_set_page_increment.
(xg_get_tool_bar_widgets): New function.
(xg_tool_bar_menu_proxy, xg_show_toolbar_item)
(update_frame_tool_bar): Call xg_get_tool_bar_widgets.
(toolbar_set_orientation): New #define based on if configure
finds gtk_orientable_set_orientation.
(xg_create_tool_bar): Call toolbar_set_orientation.
(xg_make_tool_item, xg_show_toolbar_item): Call gtk_box_pack_start
instead of gtk_box_pack_start_defaults.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Mon, 28 Jun 2010 12:11:26 +0200 |
parents | 2f804e1e9cbe |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'sinhala '(("SINHALA SIGN ANUSVARAYA" #x0D82) ("SINHALA SIGN VISARGAYA" #x0D83) ("SINHALA LETTER AYANNA" #x0D85) ("SINHALA LETTER AAYANNA" #x0D86) ("SINHALA LETTER AEYANNA" #x0D87) ("SINHALA LETTER AEEYANNA" #x0D88) ("SINHALA LETTER IYANNA" #x0D89) ("SINHALA LETTER IIYANNA" #x0D8A) ("SINHALA LETTER UYANNA" #x0D8B) ("SINHALA LETTER UUYANNA" #x0D8C) ("SINHALA LETTER IRUYANNA" #x0D8D) ("SINHALA LETTER IRUUYANNA" #x0D8E) ("SINHALA LETTER ILUYANNA" #x0D8F) ("SINHALA LETTER ILUUYANNA" #x0D90) ("SINHALA LETTER EYANNA" #x0D91) ("SINHALA LETTER EEYANNA" #x0D92) ("SINHALA LETTER AIYANNA" #x0D93) ("SINHALA LETTER OYANNA" #x0D94) ("SINHALA LETTER OOYANNA" #x0D95) ("SINHALA LETTER AUYANNA" #x0D96) ("SINHALA LETTER ALPAPRAANA KAYANNA" #x0D9A) ("SINHALA LETTER MAHAAPRAANA KAYANNA" #x0D9B) ("SINHALA LETTER ALPAPRAANA GAYANNA" #x0D9C) ("SINHALA LETTER MAHAAPRAANA GAYANNA" #x0D9D) ("SINHALA LETTER KANTAJA NAASIKYAYA" #x0D9E) ("SINHALA LETTER SANYAKA GAYANNA" #x0D9F) ("SINHALA LETTER ALPAPRAANA CAYANNA" #x0DA0) ("SINHALA LETTER MAHAAPRAANA CAYANNA" #x0DA1) ("SINHALA LETTER ALPAPRAANA JAYANNA" #x0DA2) ("SINHALA LETTER MAHAAPRAANA JAYANNA" #x0DA3) ("SINHALA LETTER TAALUJA NAASIKYAYA" #x0DA4) ("SINHALA LETTER TAALUJA SANYOOGA NAAKSIKYAYA" #x0DA5) ("SINHALA LETTER SANYAKA JAYANNA" #x0DA6) ("SINHALA LETTER ALPAPRAANA TTAYANNA" #x0DA7) ("SINHALA LETTER MAHAAPRAANA TTAYANNA" #x0DA8) ("SINHALA LETTER ALPAPRAANA DDAYANNA" #x0DA9) ("SINHALA LETTER MAHAAPRAANA DDAYANNA" #x0DAA) ("SINHALA LETTER MUURDHAJA NAYANNA" #x0DAB) ("SINHALA LETTER SANYAKA DDAYANNA" #x0DAC) ("SINHALA LETTER ALPAPRAANA TAYANNA" #x0DAD) ("SINHALA LETTER MAHAAPRAANA TAYANNA" #x0DAE) ("SINHALA LETTER ALPAPRAANA DAYANNA" #x0DAF) ("SINHALA LETTER MAHAAPRAANA DAYANNA" #x0DB0) ("SINHALA LETTER DANTAJA NAYANNA" #x0DB1) ("SINHALA LETTER SANYAKA DAYANNA" #x0DB3) ("SINHALA LETTER ALPAPRAANA PAYANNA" #x0DB4) ("SINHALA LETTER MAHAAPRAANA PAYANNA" #x0DB5) ("SINHALA LETTER ALPAPRAANA BAYANNA" #x0DB6) ("SINHALA LETTER MAHAAPRAANA BAYANNA" #x0DB7) ("SINHALA LETTER MAYANNA" #x0DB8) ("SINHALA LETTER AMBA BAYANNA" #x0DB9) ("SINHALA LETTER YAYANNA" #x0DBA) ("SINHALA LETTER RAYANNA" #x0DBB) ("SINHALA LETTER DANTAJA LAYANNA" #x0DBD) ("SINHALA LETTER VAYANNA" #x0DC0) ("SINHALA LETTER TAALUJA SAYANNA" #x0DC1) ("SINHALA LETTER MUURDHAJA SAYANNA" #x0DC2) ("SINHALA LETTER DANTAJA SAYANNA" #x0DC3) ("SINHALA LETTER HAYANNA" #x0DC4) ("SINHALA LETTER MUURDHAJA LAYANNA" #x0DC5) ("SINHALA LETTER FAYANNA" #x0DC6) ("SINHALA SIGN AL-LAKUNA" #x0DCA) ("SINHALA VOWEL SIGN AELA-PILLA" #x0DCF) ("SINHALA VOWEL SIGN KETTI AEDA-PILLA" #x0DD0) ("SINHALA VOWEL SIGN DIGA AEDA-PILLA" #x0DD1) ("SINHALA VOWEL SIGN KETTI IS-PILLA" #x0DD2) ("SINHALA VOWEL SIGN DIGA IS-PILLA" #x0DD3) ("SINHALA VOWEL SIGN KETTI PAA-PILLA" #x0DD4) ("SINHALA VOWEL SIGN DIGA PAA-PILLA" #x0DD6) ("SINHALA VOWEL SIGN GAETTA-PILLA" #x0DD8) ("SINHALA VOWEL SIGN KOMBUVA" #x0DD9) ("SINHALA VOWEL SIGN DIGA KOMBUVA" #x0DDA) ("SINHALA VOWEL SIGN KOMBU DEKA" #x0DDB) ("SINHALA VOWEL SIGN KOMBUVA HAA AELA-PILLA" #x0DDC) ("SINHALA VOWEL SIGN KOMBUVA HAA DIGA AELA-PILLA" #x0DDD) ("SINHALA VOWEL SIGN KOMBUVA HAA GAYANUKITTA" #x0DDE) ("SINHALA VOWEL SIGN GAYANUKITTA" #x0DDF) ("SINHALA VOWEL SIGN DIGA GAETTA-PILLA" #x0DF2) ("SINHALA VOWEL SIGN DIGA GAYANUKITTA" #x0DF3) ("SINHALA PUNCTUATION KUNDDALIYA" #x0DF4) )) ;; arch-tag: 3dfac4e1-97f5-433a-bd47-8cd364b09075