Mercurial > emacs
view etc/images/jump-to.xpm @ 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 | 28718fa5d988 |
children |
line wrap: on
line source
/* XPM */ static char * jump_to_xpm[] = { "24 24 144 2", " c None", ". c #000000", "+ c #9ABC82", "@ c #C1E3AA", "# c #A0C487", "$ c #8F6508", "% c #AD671D", "& c #D6AF41", "* c #E1B744", "= c #B86F20", "- c #7E5907", "; c #D8E7CD", "> c #D9E7CF", ", c #DDEAD2", "' c #E4EFDA", ") c #EBF6DF", "! c #C8EBB0", "~ c #A2C688", "{ c #986F26", "] c #E2B946", "^ c #EFCD64", "/ c #F4D268", "( c #F6D469", "_ c #E7C24A", ": c #D5B044", "< c #BC8C31", "[ c #1A0700", "} c #D7E6CD", "| c #B2D29C", "1 c #B6D69F", "2 c #BDDEA5", "3 c #C4E7AC", "4 c #CAEEB1", "5 c #A1C387", "6 c #CBB86E", "7 c #EDD97E", "8 c #FEE882", "9 c #FEE77E", "0 c #FDDF60", "a c #FBD14F", "b c #E4BF49", "c c #BB8C31", "d c #CFE2C3", "e c #B2D19C", "f c #B5D59F", "g c #BBDBA4", "h c #C1E3A9", "i c #C6E9AE", "j c #C3E6AB", "k c #A9CE8D", "l c #DCBA5C", "m c #FBE46B", "n c #FFEB64", "o c #FFE054", "p c #FED952", "q c #F8CF4E", "r c #C4A13E", "s c #8BA27B", "t c #618249", "u c #628349", "v c #64864B", "w c #66894D", "x c #688B4E", "y c #678B4D", "z c #6B9251", "A c #719755", "B c #55833A", "C c #ECC75E", "D c #FFED59", "E c #FFE757", "F c #FFDF54", "G c #FBD44F", "H c #E1BD48", "I c #B36C1F", "J c #608148", "K c #628449", "L c #63854A", "M c #65894C", "N c #6C9151", "O c #527E39", "P c #B39237", "Q c #F0C248", "R c #FFF25B", "S c #FFEB58", "T c #FFE155", "U c #FBD450", "V c #E3BD49", "W c #BC983B", "X c #618349", "Y c #628549", "Z c #65884B", "` c #4D7735", " . c #907934", ".. c #DCB444", "+. c #FCDB52", "@. c #FFEF5A", "#. c #FFE957", "$. c #FEDF54", "%. c #F9D24F", "&. c #E0BA48", "*. c #B08F37", "=. c #52743B", "-. c #456A2F", ";. c #608248", ">. c #628448", ",. c #476F31", "'. c #7F6B32", "). c #D0AF4B", "!. c #F5CF4E", "~. c #FFE255", "{. c #FEDA52", "]. c #EAC54B", "^. c #D0AC42", "/. c #9C5D1A", "(. c #5A7B42", "_. c #456C2F", ":. c #6F5C23", "<. c #A78833", "[. c #F0C54A", "}. c #FFDA52", "|. c #FFDE53", "1. c #C39032", "2. c #886423", "3. c #BC9D3B", "4. c #F0C84E", "5. c #FFD551", "6. c #FED751", "7. c #FDD550", "8. c #EDC74C", "9. c #E5BF49", "0. c #CCA941", "a. c #AB7727", "b. c #B1822D", "c. c #DCB746", "d. c #DFBA47", "e. c #EDC64C", "f. c #E9C34B", "g. c #D6B144", "h. c #C19D3D", "i. c #AB7C2B", "j. c #BC7222", "k. c #BB983B", "l. c #B09638", "m. c #A2621B", " ", " ", " . ", " . . ", " . + . . . . . . . ", " . . . . . . @ # . . $ % & * = - . . ", " . ; > , ' ) ! ! ~ . { ] ^ / ( _ : < [ . ", " . } | 1 2 3 4 4 3 5 . 6 7 8 9 0 a b c . ", " . d e f g h i i h j k . l m n o p q r - . ", " . s t u v w x x y z A B . C D E F G H I . ", " . s J t K L v v M N O . P Q R S T U V W . ", " . s J J t X u Y Z ` . ...+.@.#.$.%.&.*.. ", " . =.-.-.-.-.;.>.,.. '.).!.E E ~.{.].^./.. ", " . . . . . . (._.. :.<.[.}.|.|.{.%.V 1.$ . ", " . -.. . 2.3.4.5.6.7.8.9.0.a.. ", " . . . . b.c.d.e.f.g.h.i.. . ", " . . $ j.k.l.m.$ . . ", " . . . . . . ", " ", " ", " ", " ", " ", " "};