+Tue May 14 16:44:09 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklabel.c (gtk_label_ensure_layout): Set
+ the width of the layout to the actual wrap width
+ (our requisition) not the width we set when calculating
+ the width. This results in the lines being justified
+ within the correct area. (#79157, Anders Carlsson)
+
+ * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
+ registered parameter types of "accel_activate" and
+ "accel_changed" signals. (Patch from Murray Cumming, #78798)
+
+ * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
+ binary-version and type to correspond to the
+ current ordering in _gtk_get_module_path.
+ (#78746, Sergey Kuzminov)
+
+ * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
+ pointing to the GTK_PATH documentation.
+
+ * gtk/Makefile.am (uninstall-local): Delete
+ key themes as well. (#81286, Kristian Rietveld.)
+
Tue May 14 15:40:49 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap):
+Tue May 14 16:44:09 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklabel.c (gtk_label_ensure_layout): Set
+ the width of the layout to the actual wrap width
+ (our requisition) not the width we set when calculating
+ the width. This results in the lines being justified
+ within the correct area. (#79157, Anders Carlsson)
+
+ * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
+ registered parameter types of "accel_activate" and
+ "accel_changed" signals. (Patch from Murray Cumming, #78798)
+
+ * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
+ binary-version and type to correspond to the
+ current ordering in _gtk_get_module_path.
+ (#78746, Sergey Kuzminov)
+
+ * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
+ pointing to the GTK_PATH documentation.
+
+ * gtk/Makefile.am (uninstall-local): Delete
+ key themes as well. (#81286, Kristian Rietveld.)
+
Tue May 14 15:40:49 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap):
+Tue May 14 16:44:09 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklabel.c (gtk_label_ensure_layout): Set
+ the width of the layout to the actual wrap width
+ (our requisition) not the width we set when calculating
+ the width. This results in the lines being justified
+ within the correct area. (#79157, Anders Carlsson)
+
+ * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
+ registered parameter types of "accel_activate" and
+ "accel_changed" signals. (Patch from Murray Cumming, #78798)
+
+ * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
+ binary-version and type to correspond to the
+ current ordering in _gtk_get_module_path.
+ (#78746, Sergey Kuzminov)
+
+ * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
+ pointing to the GTK_PATH documentation.
+
+ * gtk/Makefile.am (uninstall-local): Delete
+ key themes as well. (#81286, Kristian Rietveld.)
+
Tue May 14 15:40:49 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap):
+Tue May 14 16:44:09 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklabel.c (gtk_label_ensure_layout): Set
+ the width of the layout to the actual wrap width
+ (our requisition) not the width we set when calculating
+ the width. This results in the lines being justified
+ within the correct area. (#79157, Anders Carlsson)
+
+ * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
+ registered parameter types of "accel_activate" and
+ "accel_changed" signals. (Patch from Murray Cumming, #78798)
+
+ * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
+ binary-version and type to correspond to the
+ current ordering in _gtk_get_module_path.
+ (#78746, Sergey Kuzminov)
+
+ * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
+ pointing to the GTK_PATH documentation.
+
+ * gtk/Makefile.am (uninstall-local): Delete
+ key themes as well. (#81286, Kristian Rietveld.)
+
Tue May 14 15:40:49 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap):
+Tue May 14 16:44:09 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklabel.c (gtk_label_ensure_layout): Set
+ the width of the layout to the actual wrap width
+ (our requisition) not the width we set when calculating
+ the width. This results in the lines being justified
+ within the correct area. (#79157, Anders Carlsson)
+
+ * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
+ registered parameter types of "accel_activate" and
+ "accel_changed" signals. (Patch from Murray Cumming, #78798)
+
+ * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
+ binary-version and type to correspond to the
+ current ordering in _gtk_get_module_path.
+ (#78746, Sergey Kuzminov)
+
+ * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
+ pointing to the GTK_PATH documentation.
+
+ * gtk/Makefile.am (uninstall-local): Delete
+ key themes as well. (#81286, Kristian Rietveld.)
+
Tue May 14 15:40:49 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap):
+Tue May 14 16:44:09 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtklabel.c (gtk_label_ensure_layout): Set
+ the width of the layout to the actual wrap width
+ (our requisition) not the width we set when calculating
+ the width. This results in the lines being justified
+ within the correct area. (#79157, Anders Carlsson)
+
+ * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
+ registered parameter types of "accel_activate" and
+ "accel_changed" signals. (Patch from Murray Cumming, #78798)
+
+ * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
+ binary-version and type to correspond to the
+ current ordering in _gtk_get_module_path.
+ (#78746, Sergey Kuzminov)
+
+ * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
+ pointing to the GTK_PATH documentation.
+
+ * gtk/Makefile.am (uninstall-local): Delete
+ key themes as well. (#81286, Kristian Rietveld.)
+
Tue May 14 15:40:49 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap):
or a #GdkWindow.
</para>
-@user_data:
<!-- ##### FUNCTION gdk_drawable_ref ##### -->
<para>
elements.
</para>
-@parent_instance:
-@clip_x_origin:
-@clip_y_origin:
-@ts_x_origin:
-@ts_y_origin:
-@colormap:
<!-- ##### STRUCT GdkGCValues ##### -->
<para>
<!-- ##### STRUCT GdkScreen ##### -->
<para>
-The <structname>GdkScreen</structname> struct is the GDK representation of a
- physical screen. All its fields are private and should not be accessed directly.
+This is a currently just a placeholder typedef for the first argument of
+the @window_at_pointer function in #GdkPointerHooks. It will be used
+when GDK gets multihead support.
</para>
in the keymap and see what keyval it corresponds to.
</para>
-@parent_instance:
-@display:
<!-- ##### STRUCT GdkKeymapKey ##### -->
<para>
these types.
</para>
-@user_data:
<!-- ##### FUNCTION gdk_pixmap_new ##### -->
<para>
these types.
</para>
-@user_data: used to store the #GtkWidget associated with this window
<!-- ##### ENUM GdkWindowType ##### -->
<para>
@GDK_WA_WMCLASS: Honor the wmclass_class and wmclass_name fields
@GDK_WA_NOREDIR: Honor the override_redirect field
-<!-- ##### STRUCT GdkScreen ##### -->
-<para>
-This is a currently just a placeholder typedef for the first argument of
-the @window_at_pointer function in #GdkPointerHooks. It will be used
-when GDK gets multihead support.
-</para>
-
-@parent_instance:
-
<!-- ##### FUNCTION gdk_window_new ##### -->
<para>
@GTK_FILL_X:
@GTK_FILL_Y:
-<!-- ##### ARG GtkPaned:handle-size ##### -->
-<para>
-
-</para>
-
-
<!-- ##### STRUCT GtkPatternSpec ##### -->
<para>
@nparams:
@params:
-<!-- ##### ARG GtkSpinButton:shadow-type ##### -->
-<para>
-the type of border that surrounds the arrows of a spin button.
-</para>
-
-
<!-- ##### STRUCT GtkStatusbarMsg ##### -->
<para>
Holds the data for a statusbar message. <structfield>text</structfield> holds the actual text string. <structfield>context_id</structfield> is the context that this message is associated with, and <structfield>message_id</structfield> is this particular message's identifier. However, these fields should not be modified directly.
</para>
+<!-- ##### ARG GtkButtonBox:secondary ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkButtonBox:child-internal-pad-y ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkButtonBox:child-internal-pad-x ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkButtonBox:child-min-width ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkButtonBox:child-min-height ##### -->
+<para>
+
+</para>
+
the <structfield>homogeneous</structfield> field of #GtkBox-struct.\r
</para>
+<!-- ##### ARG GtkBox:expand ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkBox:fill ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkBox:padding ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkBox:pack-type ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkBox:position ##### -->
+<para>
+
+</para>
+
</para>
+<!-- ##### ARG GtkButton:default-border ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkButton:default-outside-border ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkButton:child-displacement-y ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkButton:child-displacement-x ##### -->
+<para>
+
+</para>
+
@Returns:
+<!-- ##### ARG GtkCheckButton:indicator-size ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkCheckButton:indicator-spacing ##### -->
+<para>
+
+</para>
+
</para>
+<!-- ##### ARG GtkDialog:content-area-border ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkDialog:button-spacing ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkDialog:action-area-border ##### -->
+<para>
+
+</para>
+
<para>
</para>
-@filesel:
-@Returns:
+@filesel:
+@Returns:
<!-- ##### FUNCTION gtk_file_selection_complete ##### -->
@has_window:
+<!-- ##### ARG GtkFixed:x ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkFixed:y ##### -->
+<para>
+
+</para>
+
Layout height, see gtk_layout_set_size()
</para>
+<!-- ##### ARG GtkLayout:x ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkLayout:y ##### -->
+<para>
+
+</para>
+
@position: the position in the item list where the @child is added.
+<!-- ##### ARG GtkMenuBar:shadow-type ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkMenuBar:internal-padding ##### -->
+<para>
+
+</para>
+
@menuitem: the object which received the signal.
@arg1:
+<!-- ##### ARG GtkMenuItem:selected-shadow-type ##### -->
+<para>
+
+</para>
+
</para>
+<!-- ##### ARG GtkMessageDialog:message-border ##### -->
+<para>
+
+</para>
+
whether the tabs must have all the same size.
</para>
+<!-- ##### ARG GtkNotebook:tab-label ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkNotebook:menu-label ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkNotebook:position ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkNotebook:tab-expand ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkNotebook:tab-fill ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkNotebook:tab-pack ##### -->
+<para>
+
+</para>
+
</para>
+<!-- ##### ARG GtkOptionMenu:indicator-size ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkOptionMenu:indicator-spacing ##### -->
+<para>
+
+</para>
+
</para>
+<!-- ##### ARG GtkPaned:handle-size ##### -->
+<para>
+
+</para>
+
</para>
-@display:
@plug:
+@display:
@socket_id:
</para>
+<!-- ##### ARG GtkRange:stepper-size ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkRange:slider-width ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkRange:stepper-spacing ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkRange:arrow-displacement-y ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkRange:arrow-displacement-x ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkRange:trough-border ##### -->
+<para>
+
+</para>
+
<!-- ##### FUNCTION gtk_rc_get_module_dir ##### -->
<para>
-Returns the directory in which GTK+ will look for
-theme engines.
</para>
-@Returns: The directory. (Must be freed with g_free())
+@Returns:
<!-- ##### FUNCTION gtk_rc_get_im_module_path ##### -->
The position in which the current value is displayed.
</para>
+<!-- ##### ARG GtkScale:slider-length ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkScale:value-spacing ##### -->
+<para>
+
+</para>
+
</para>
+<!-- ##### ARG GtkScrollbar:has-forward-stepper ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkScrollbar:has-backward-stepper ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkScrollbar:fixed-slider-length ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkScrollbar:min-slider-length ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkScrollbar:has-secondary-forward-stepper ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkScrollbar:has-secondary-backward-stepper ##### -->
+<para>
+
+</para>
+
<para>
</para>
-@widget:
-@selection:
-@time:
-@Returns:
+@widget:
+@selection:
+@time:
+@Returns:
<!-- ##### FUNCTION gtk_selection_owner_set_for_display ##### -->
reads the current value, or sets a new value.
</para>
+<!-- ##### ARG GtkSpinButton:shadow-type ##### -->
+<para>
+the type of border that surrounds the arrows of a spin button.
+</para>
+
@context_id: the context id of the relevant message/statusbar.
@text: the message that was pushed.
+<!-- ##### ARG GtkStatusbar:shadow-type ##### -->
+<para>
+
+</para>
+
@Returns:
+<!-- ##### FUNCTION gtk_style_get_font_for_display ##### -->
+<para>
+
+</para>
+
+@display:
+@style:
+@Returns:
+
+
<!-- ##### FUNCTION gtk_style_set_font ##### -->
<para>
Whether each cell in the table should be the same size or not.
</para>
+<!-- ##### ARG GtkTable:left-attach ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTable:right-attach ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTable:top-attach ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTable:bottom-attach ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTable:x-options ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTable:y-options ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTable:x-padding ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTable:y-padding ##### -->
+<para>
+
+</para>
+
</para>
+<!-- ##### ARG GtkToolbar:shadow-type ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkToolbar:space-style ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkToolbar:button-relief ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkToolbar:internal-padding ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkToolbar:space-size ##### -->
+<para>
+
+</para>
+
</para>
+<!-- ##### ARG GtkTreeView:expander-size ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTreeView:vertical-separator ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTreeView:allow-rules ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTreeView:horizontal-separator ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkTreeView:indent-expanders ##### -->
+<para>
+
+</para>
+
@class:
+<!-- ##### FUNCTION gtk_widget_class_find_style_property ##### -->
+<para>
+
+</para>
+
+@klass:
+@property_name:
+@Returns:
+
+
+<!-- ##### FUNCTION gtk_widget_class_list_style_properties ##### -->
+<para>
+
+</para>
+
+@klass:
+@n_properties:
+@Returns:
+
+
<!-- ##### FUNCTION gtk_widget_region_intersect ##### -->
<para>
</para>
+<!-- ##### ARG GtkWidget:focus-line-pattern ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkWidget:interior-focus ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkWidget:focus-padding ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkWidget:cursor-aspect-ratio ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkWidget:cursor-color ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkWidget:focus-line-width ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkWidget:secondary-cursor-color ##### -->
+<para>
+
+</para>
+
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
rm -f $(DESTDIR)$(datadir)/themes/Default/gtk-2.0/gtkrc
+ rm -f $(DESTDIR)$(datadir)/themes/Default/gtk-2.0-key/gtkrc
+ rm -f $(DESTDIR)$(datadir)/themes/Emacs/gtk-2.0-key/gtkrc
DEPS = $(gtktargetlib) $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la $(top_builddir)/gdk/$(gdktargetlib)
G_SIGNAL_DETAILED,
0,
accel_activate_accumulator, NULL,
- _gtk_marshal_BOOLEAN__OBJECT_UINT_UINT,
- G_TYPE_BOOLEAN, 3, G_TYPE_OBJECT, G_TYPE_UINT, G_TYPE_UINT);
+ _gtk_marshal_BOOLEAN__OBJECT_UINT_FLAGS,
+ G_TYPE_BOOLEAN, 3, G_TYPE_OBJECT, G_TYPE_UINT, GDK_TYPE_MODIFIER_TYPE);
signal_accel_changed = g_signal_new ("accel_changed",
G_OBJECT_CLASS_TYPE (class),
G_SIGNAL_RUN_FIRST | G_SIGNAL_DETAILED,
G_STRUCT_OFFSET (GtkAccelGroupClass, accel_changed),
NULL, NULL,
- _gtk_marshal_VOID__UINT_UINT_BOXED,
- G_TYPE_NONE, 3, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_CLOSURE);
+ _gtk_marshal_VOID__UINT_FLAGS_BOXED,
+ G_TYPE_NONE, 3, G_TYPE_UINT, GDK_TYPE_MODIFIER_TYPE, G_TYPE_CLOSURE);
}
static void
pango_layout_set_width (label->layout, width);
pango_layout_get_extents (label->layout, NULL, &logical_rect);
+ width = logical_rect.width;
height = logical_rect.height;
/* Unfortunately, the above may leave us with a very unbalanced looking paragraph,
pango_layout_get_extents (label->layout, NULL, &logical_rect);
if (logical_rect.height <= height)
- width = perfect_width;
+ width = logical_rect.width;
else
{
gint mid_width = (perfect_width + width) / 2;
pango_layout_get_extents (label->layout, NULL, &logical_rect);
if (logical_rect.height <= height)
- width = mid_width;
+ width = logical_rect.width;
}
}
}
BOOLEAN:BOXED,BOXED
BOOLEAN:ENUM
BOOLEAN:ENUM,INT
-BOOLEAN:OBJECT,UINT,UINT
+BOOLEAN:OBJECT,UINT,FLAGS
BOOLEAN:OBJECT,INT,INT,UINT
BOOLEAN:OBJECT,STRING,STRING,BOXED
BOOLEAN:OBJECT,BOXED,BOXED
VOID:STRING
VOID:STRING,STRING
VOID:STRING,INT,POINTER
+VOID:UINT,FLAGS,BOXED
VOID:UINT,UINT
-VOID:UINT,UINT,BOXED
VOID:UINT,STRING
VOID:UINT,BOXED,UINT,FLAGS,FLAGS
VOID:UINT,OBJECT,UINT,FLAGS,FLAGS
var = g_getenv ("GTK_EXE_PREFIX");
if (var)
- path = g_build_filename (var, "lib", "gtk-2.0", type, GTK_BINARY_VERSION, NULL);
+ path = g_build_filename (var, "lib", "gtk-2.0", GTK_BINARY_VERSION, type, NULL);
else
- path = g_build_filename (GTK_LIBDIR, "gtk-2.0", type, GTK_BINARY_VERSION, NULL);
+ path = g_build_filename (GTK_LIBDIR, "gtk-2.0", GTK_BINARY_VERSION, type, NULL);
return path;
}
return path;
}
+/**
+ * gtk_rc_get_module_dir:
+ *
+ * Returns a directory in which GTK+ looks for theme engines.
+ * For full information about the search for theme engines,
+ * see the docs for <envvar>GTK_PATH</envvar> in
+ * <xref linkend="gtk-running">.
+ *
+ * return value: the directory. (Must be freed with g_free())
+ **/
gchar *
gtk_rc_get_module_dir (void)
{