1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00
emacs/etc
Jan D e547b05103 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.
2010-06-28 12:11:26 +02:00
..
charsets Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
e * term.el (term-handle-ansi-escape): Add comments with the 2009-08-07 07:04:02 +00:00
gnus Synch with Gnus trunk 2010-03-23 07:29:49 +00:00
images Merge from emacs-23 branch 2010-03-30 22:37:57 -04:00
nxml Move here from lisp/nxml. Rename from "test." to "test-" for doschk. 2008-02-16 22:44:58 +00:00
refcards 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com> 2010-04-15 12:11:52 +02:00
schema Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
srecode Update some cedet template copyrights to GPLv3+. 2010-03-05 19:06:37 -08:00
tutorials * etc/tutorials/TUTORIAL.bg, etc/tutorials/TUTORIAL.es: Fix typos. 2010-06-12 00:09:32 -07:00
.gitignore Add arch tagline 2009-03-04 06:02:06 +00:00
AUTHORS Bump version to 23.1.97. 2010-05-03 21:31:59 -04:00
BABYL Add an introductory comment. 2009-01-26 02:48:23 +00:00
celibacy.1
CENSORSHIP
ChangeLog Revert 2010-06-26T12:01:31Z!eliz@gnu.org (fixed in emacs-23 branch). 2010-06-26 15:21:24 +03:00
compilation.txt Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
condom.1
CONTRIBUTE CONTRIBUTE: Various minor updates and changes. 2010-02-17 21:39:06 -08:00
COOKIES
COPYING
copying.paper
DEBUG Remove reference to CANNOT_EXEC, not used anymore. 2010-05-15 22:34:48 -07:00
DEVEL.HUMOR Fix typo. 2008-01-22 15:28:56 +00:00
DISTRIB Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
echo.msg
edt-user.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs2.py Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs3.py Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs-buffer.gdb Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs.bash Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs.csh Comment that emacs.bash/csh are obsolete. 2008-10-30 04:37:40 +00:00
emacs.desktop * emacs.desktop (Icon): Update icon name. 2008-01-03 07:35:42 +00:00
emacs.icon
emacs.py Add 2008 to copyright years. 2008-01-08 04:54:02 +00:00
enriched.doc Fix typos (Bug#6094). From Štěpán Němec. 2010-05-03 18:01:23 -04:00
ERC-NEWS Fix typos in ChangeLogs and NEWS files. 2010-01-14 19:29:36 +01:00
ETAGS.EBNF Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ETAGS.README Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
forms-d2.dat Move here from ../lisp 2008-04-26 02:39:10 +00:00
FTP
future-bug
GNU Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
GNUS-NEWS Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
gnus-tut.txt Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
grep.txt Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
HELLO Merge from emacs-23 2010-05-08 14:47:07 -04:00
INTERVIEW
JOKES
LINUX-GNU
MACHINES * etc/MACHINES: Remove some old information no longer of relevance. 2010-05-27 20:25:50 -07:00
MAILINGLISTS Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
MH-E-NEWS Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
MORE.STUFF Add a new entry for QWE 2010-04-04 12:42:05 +02:00
MOTIVATION
ms-kermit
NEWS Use non-deprecated Gtk+ functions, add changes for Gtk+3 with GSEAL_ENABLE. 2010-06-28 12:11:26 +02:00
NEWS.1-17 * etc/NEWS.1-17: Fix typos. 2010-06-15 13:41:21 +02:00
NEWS.18 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
NEWS.19 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
NEWS.20 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
NEWS.21 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
NEWS.22 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
NEWS.23 Merge from emacs-23 2010-06-16 16:08:41 -04:00
NXML-NEWS American English spelling fix. 2008-06-27 07:34:53 +00:00
ORDERS Update some URLs. 2009-12-15 03:12:44 +00:00
PROBLEMS Revert 2010-06-26T12:01:31Z!eliz@gnu.org (fixed in emacs-23 branch). 2010-06-26 15:21:24 +03:00
ps-prin0.ps Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ps-prin1.ps Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
README Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
rgb.txt
SERVICE
ses-example.ses Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sex.6
spook.lines
TERMS Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
THE-GNU-PROJECT
TODO Merge from emacs-23 2010-05-31 22:34:49 -04:00
WHY-FREE
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

`forms-d2.dat' is an example data file used by forms-d2.el.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
    Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)