comparison src/scrollbar-gtk.c @ 608:4d7fdf497470

[xemacs-hg @ 2001-06-04 16:59:51 by wmperry] 2001-06-04 William M. Perry <wmperry@gnu.org> * gpmevent.c (KG_CTRL): Just define these unconditionally. The linux headers are so lame that they do not expose these to userland programs and you cannot gracefully include the kernel headers. 2001-06-03 William M. Perry <wmperry@gnu.org> * scrollbar-gtk.c (gtk_create_scrollbar_instance): Make calling of gtk_size_request unconditional. 2001-06-02 William M. Perry <wmperry@gnu.org> * emacs-marshals.c: Regenerated. 2001-06-01 William M. Perry <wmperry@gnu.org> * glyphs-shared.c (read_bitmap_data): Common definition of read_bitmap_data_from_file added. This does not attempt to use the Xmu based code at all - lets us be consistent across platforms. * glyphs-gtk.c: Removed definition of read_bitmap_data_from_file - this is now in glyphs-shared.c * glyphs-msw.c: Ditto. * glyphs-x.c: Ditto. 2001-06-03 William M. Perry <wmperry@gnu.org> * dialog-gtk.el (popup-builtin-open-dialog): Yikes - don't forget to return the filename! * font.el (font-window-system-mappings): Add gtk entry - just an alias to the X code) 2001-06-02 William M. Perry <wmperry@gnu.org> * gtk-marshal.el: Fix for removing of the string_hash utility functions in hash.c
author wmperry
date Mon, 04 Jun 2001 17:00:02 +0000
parents 77fb0aa0e69f
children af57a77cbc92
comparison
equal deleted inserted replaced
607:9979b8030c99 608:4d7fdf497470
113 gtk_signal_connect (GTK_OBJECT (sb), "button-release-event", 113 gtk_signal_connect (GTK_OBJECT (sb), "button-release-event",
114 GTK_SIGNAL_FUNC (scrollbar_drag_hack_cb), (gpointer) 0); 114 GTK_SIGNAL_FUNC (scrollbar_drag_hack_cb), (gpointer) 0);
115 115
116 gtk_fixed_put (GTK_FIXED (FRAME_GTK_TEXT_WIDGET (f)), SCROLLBAR_GTK_WIDGET (instance), 0, 0); 116 gtk_fixed_put (GTK_FIXED (FRAME_GTK_TEXT_WIDGET (f)), SCROLLBAR_GTK_WIDGET (instance), 0, 0);
117 117
118 #if GTK_CHECK_VERSION(1,2,9)
119 /* 118 /*
120 ** With gtk version > 1.2.8 the scrollbars in gtk-xemacs and xemacs 119 ** With gtk version > 1.2.8 the scrollbars in gtk-xemacs and xemacs
121 ** from CVS are invisible. In fact they are not invisible but very 120 ** from CVS are invisible. In fact they are not invisible but very
122 ** thin (0 pixels wide). This is so, because the new gtk code does 121 ** thin (0 pixels wide). This is so, because the new gtk code does
123 ** not call gtk_widget_request_size() on the newly created 122 ** not call gtk_widget_request_size() on the newly created
126 ** gtk_widget_request_size with the newly created scollbars. Maybe 125 ** gtk_widget_request_size with the newly created scollbars. Maybe
127 ** it is better to postpone this call just before the 126 ** it is better to postpone this call just before the
128 ** gtk_widget_show() call is done on the scrolbar. 127 ** gtk_widget_show() call is done on the scrolbar.
129 */ 128 */
130 gtk_widget_size_request(GTK_WIDGET(sb), &(GTK_WIDGET(sb)->requisition)); 129 gtk_widget_size_request(GTK_WIDGET(sb), &(GTK_WIDGET(sb)->requisition));
131 #endif
132 130
133 gtk_widget_hide (SCROLLBAR_GTK_WIDGET (instance)); 131 gtk_widget_hide (SCROLLBAR_GTK_WIDGET (instance));
134 } 132 }
135 133
136 #define UPDATE_DATA_FIELD(field) \ 134 #define UPDATE_DATA_FIELD(field) \