Mercurial > hg > xemacs-beta
view tests/gtk/gtk-test.glade @ 5047:07dcc7000bbf
put width before height consistently, fix a real bug found in the process
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-02-20 Ben Wing <ben@xemacs.org>
* EmacsFrame.c (EmacsFrameRecomputeCellSize):
* faces.c (default_face_font_info):
* faces.c (default_face_width_and_height):
* faces.c (Fface_list):
* faces.h:
* frame-gtk.c (gtk_set_initial_frame_size):
* frame-gtk.c (gtk_set_frame_size):
* frame-gtk.c (gtk_recompute_cell_sizes):
* frame.c:
* frame.c (frame_conversion_internal_1):
* frame.c (change_frame_size_1):
* frame.c (change_frame_size):
* glyphs-msw.c (mswindows_combo_box_instantiate):
* glyphs-widget.c (widget_instantiate):
* glyphs-widget.c (tree_view_query_geometry):
* glyphs-widget.c (Fwidget_logical_to_character_width):
* glyphs-widget.c (Fwidget_logical_to_character_height):
* indent.c (vmotion_pixels):
* redisplay-output.c (get_cursor_size_and_location):
* redisplay-xlike-inc.c (XLIKE_output_eol_cursor):
* redisplay-xlike-inc.c (XLIKE_flash):
* redisplay.c (calculate_baseline):
* redisplay.c (start_with_point_on_display_line):
* redisplay.c (glyph_to_pixel_translation):
* redisplay.c (pixel_to_glyph_translation):
* window.c (margin_width_internal):
* window.c (frame_size_valid_p):
* window.c (frame_pixsize_valid_p):
* window.c (check_frame_size):
* window.c (set_window_pixsize):
* window.c (window_pixel_height_to_char_height):
* window.c (window_char_height_to_pixel_height):
* window.c (window_displayed_height):
* window.c (window_pixel_width_to_char_width):
* window.c (window_char_width_to_pixel_width):
* window.c (change_window_height):
* window.c (window_scroll):
* window.h:
IMPORTANT: Aidan and Carbon Repo, please pay attention and fix
appropriately!
Rename: default_face_height_and_width -> default_face_width_and_height
and reverse width/height arguments.
Reverse width/height arguments to the following functions:
-- default_face_font_info
-- default_face_height_and_width (see above)
-- check_frame_size
-- frame_size_valid_p (made into a static function)
Fix a redisplay bug where args to default_face_height_and_width
were in the wrong order.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sat, 20 Feb 2010 18:56:01 -0600 |
parents | 0784d089fdc9 |
children | d88ad9ccfa66 |
line wrap: on
line source
<?xml version="1.0"?> <GTK-Interface> <project> <name>Project1</name> <program_name>project1</program_name> <directory></directory> <source_directory>src</source_directory> <pixmaps_directory>pixmaps</pixmaps_directory> <language>C</language> <gnome_support>True</gnome_support> <gettext_support>True</gettext_support> </project> <widget> <class>GtkWindow</class> <name>main_window</name> <title>Glade Created Window</title> <type>GTK_WINDOW_TOPLEVEL</type> <position>GTK_WIN_POS_NONE</position> <modal>False</modal> <allow_shrink>False</allow_shrink> <allow_grow>True</allow_grow> <auto_shrink>False</auto_shrink> <widget> <class>GtkVBox</class> <name>Container</name> <homogeneous>False</homogeneous> <spacing>0</spacing> <widget> <class>GtkToolbar</class> <name>toolbar1</name> <orientation>GTK_ORIENTATION_HORIZONTAL</orientation> <type>GTK_TOOLBAR_BOTH</type> <space_size>5</space_size> <space_style>GTK_TOOLBAR_SPACE_EMPTY</space_style> <relief>GTK_RELIEF_NORMAL</relief> <tooltips>True</tooltips> <child> <padding>0</padding> <expand>False</expand> <fill>False</fill> </child> <widget> <class>GtkButton</class> <child_name>Toolbar:button</child_name> <name>button1</name> <label>button1</label> </widget> <widget> <class>GtkButton</class> <child_name>Toolbar:button</child_name> <name>button2</name> <label>button2</label> </widget> <widget> <class>GtkButton</class> <child_name>Toolbar:button</child_name> <name>button3</name> <label>button3</label> </widget> </widget> <widget> <class>GtkScrolledWindow</class> <name>scrolledwindow1</name> <hscrollbar_policy>GTK_POLICY_ALWAYS</hscrollbar_policy> <vscrollbar_policy>GTK_POLICY_ALWAYS</vscrollbar_policy> <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy> <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy> <child> <padding>0</padding> <expand>True</expand> <fill>True</fill> </child> <widget> <class>GtkCTree</class> <name>ctree</name> <can_focus>True</can_focus> <columns>3</columns> <column_widths>114,80,80</column_widths> <selection_mode>GTK_SELECTION_SINGLE</selection_mode> <show_titles>True</show_titles> <shadow_type>GTK_SHADOW_IN</shadow_type> <widget> <class>GtkLabel</class> <child_name>CTree:title</child_name> <name>label1</name> <label>Tree</label> <justify>GTK_JUSTIFY_CENTER</justify> <wrap>False</wrap> <xalign>2.98023e-08</xalign> <yalign>0.5</yalign> <xpad>0</xpad> <ypad>0</ypad> </widget> <widget> <class>GtkLabel</class> <child_name>CTree:title</child_name> <name>label2</name> <label>Header #1</label> <justify>GTK_JUSTIFY_CENTER</justify> <wrap>False</wrap> <xalign>0.5</xalign> <yalign>0.5</yalign> <xpad>0</xpad> <ypad>0</ypad> </widget> <widget> <class>GtkLabel</class> <child_name>CTree:title</child_name> <name>label3</name> <label>Header #2</label> <justify>GTK_JUSTIFY_CENTER</justify> <wrap>False</wrap> <xalign>0.5</xalign> <yalign>0.5</yalign> <xpad>0</xpad> <ypad>0</ypad> </widget> </widget> </widget> <widget> <class>GtkStatusbar</class> <name>statusbar</name> <child> <padding>0</padding> <expand>False</expand> <fill>False</fill> </child> </widget> </widget> </widget> </GTK-Interface>