mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 09:40:10 +00:00
Minor typos in the Documentation (a/an)
This commit is contained in:
parent
4fa1f459dd
commit
6ded38de2b
@ -378,7 +378,7 @@
|
||||
378|GTK+ and friends|GTKtoolkit|#GNUStep gets #GTK+ theming http://is.gd/95vHl more at http://is.gd/95wt8|1267029498|0||0|1
|
||||
379|GTK+ and friends|GTKtoolkit|GTK+ 2.19.6 released: http://mail.gnome.org/archives/gtk-devel-list/2010-February/msg00050.html #gtk|1266966985|0||0|0
|
||||
380|GTK+ and friends|GTKtoolkit|Did you know that #GTK+ is the official toolkit for the #LiMo software stack? http://bit.ly/cuEdHx|1266925406|0||0|0
|
||||
381|GTK+ and friends|GTKtoolkit|@lmedinas publishes a #javascript #example on how to put an status icon with #Gtk+ http://bit.ly/9py1uC Thanks a lot Luis!|1266886644|0||1|1
|
||||
381|GTK+ and friends|GTKtoolkit|@lmedinas publishes a #javascript #example on how to put a status icon with #Gtk+ http://bit.ly/9py1uC Thanks a lot Luis!|1266886644|0||1|1
|
||||
382|GTK+ and friends|GTKtoolkit|♺ @ebassi: I should really finish up the GDom API as well|1266880653|0||0|0
|
||||
383|GTK+ and friends|GTKtoolkit|♺ @ebassi: I hope to work on this for the next GIO release, and the GTK+ side for 3.0|1266880641|0||0|0
|
||||
384|GTK+ and friends|GTKtoolkit|♺ @ebassi: just updated the ApplicationClass design wiki page with the stuff @Cwiiis did for Mx - http://bit.ly/cfAOJk|1266880559|0||0|0
|
||||
|
@ -6,7 +6,7 @@
|
||||
* GTK uses for videos. This allows treating the icon like a
|
||||
* regular video, so we can for example attach controls to it.
|
||||
*
|
||||
* After all, what good is an media_stream if one cannot pause
|
||||
* After all, what good is a media_stream if one cannot pause
|
||||
* it.
|
||||
*/
|
||||
|
||||
|
@ -285,7 +285,7 @@ user-trash=The icon for the user's “Trash” place in the file system
|
||||
user-trash-full=The icon for the user's “Trash” in the file system, when there are items in the “Trash” waiting for disposal or recovery
|
||||
emblem-system=The icon used as an emblem for directories that contain system libraries, settings, and data
|
||||
avatar-default=The generic avatar icon, which is used to represent a user that doesn't have a personalized avatar
|
||||
emblem-synchronizing=The icon used as an emblem to indicate that a a synchronizing operation is in process
|
||||
emblem-synchronizing=The icon used as an emblem to indicate that a synchronizing operation is in process
|
||||
emblem-shared=The icon used as an emblem for files and directories that are shared to other users
|
||||
help-browser=The icon used for the desktop's help browsing application
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
||||
files for icon themes.
|
||||
</para>
|
||||
<para>
|
||||
It expects to be given the <replaceable>PATH</replaceable> to a icon theme
|
||||
It expects to be given the <replaceable>PATH</replaceable> to an icon theme
|
||||
directory containing an <filename>index.theme</filename>, e.g.
|
||||
<filename>/usr/share/icons/hicolor</filename>, and writes a
|
||||
<filename>icon-theme.cache</filename> containing cached information about
|
||||
|
@ -6,7 +6,7 @@ anyone who hopes to work with the code in the future.
|
||||
HOW THE GTKTREEVIEW CALCULATES SIZE:
|
||||
====================================
|
||||
When the view is given a new model, the first thing it does is walk
|
||||
through the model at the top level, creating an GtkRBNode for each
|
||||
through the model at the top level, creating a GtkRBNode for each
|
||||
element of the model. Each node has a height of 0. The RBTree is kept
|
||||
updated as the models structure changes. Additionally, the user can
|
||||
expand, collapse, and select rows at this stage. The RBTree is accurate
|
||||
|
@ -1312,7 +1312,7 @@ gdk_event_get_scroll_deltas (const GdkEvent *event,
|
||||
* stop scroll event is the signal that a widget may trigger kinetic
|
||||
* scrolling based on the current velocity.
|
||||
*
|
||||
* Stop scroll events always have a a delta of 0/0.
|
||||
* Stop scroll events always have a delta of 0/0.
|
||||
*
|
||||
* Returns: %TRUE if the event is a scroll stop event
|
||||
*/
|
||||
|
@ -770,7 +770,7 @@ gdk_gl_context_set_is_legacy (GdkGLContext *context,
|
||||
* @use_es: whether the context should use OpenGL ES instead of OpenGL,
|
||||
* or -1 to allow auto-detection
|
||||
*
|
||||
* Requests that GDK create a OpenGL ES context instead of an OpenGL one,
|
||||
* Requests that GDK create an OpenGL ES context instead of an OpenGL one,
|
||||
* if the platform and windowing system allows it.
|
||||
*
|
||||
* The @context must not have been realized.
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
/**
|
||||
* SECTION:gdkseat
|
||||
* @Short_description: Object representing an user seat
|
||||
* @Short_description: Object representing a user seat
|
||||
* @Title: GdkSeat
|
||||
* @See_also: #GdkDisplay, #GdkDevice
|
||||
*
|
||||
|
@ -65,7 +65,7 @@ gdk_text_property_to_utf8_list_for_display (GdkDisplay *display,
|
||||
* gdk_utf8_to_string_target:
|
||||
* @str: a UTF-8 string
|
||||
*
|
||||
* Converts an UTF-8 string into the best possible representation
|
||||
* Converts a UTF-8 string into the best possible representation
|
||||
* as a STRING. The representation of characters not in STRING
|
||||
* is not specified; it may be as pseudo-escape sequences
|
||||
* \x{ABCD}, or it may be in some other form of approximation.
|
||||
|
@ -749,7 +749,7 @@ update_keymap (GdkKeymap *gdk_keymap)
|
||||
|
||||
/* First, handle those virtual keys that we always want
|
||||
* as special GDK_* keysyms, even if ToAsciiEx might
|
||||
* turn some them into a ASCII character (like TAB and
|
||||
* turn some them into an ASCII character (like TAB and
|
||||
* ESC).
|
||||
*/
|
||||
handle_special (vk, ksymp, level);
|
||||
|
@ -824,7 +824,7 @@ show_window_internal (GdkSurface *window,
|
||||
_gdk_win32_surface_state_to_string (window->state),
|
||||
(deiconify ? " deiconify" : "")));
|
||||
|
||||
/* If asked to show (not deiconify) an withdrawn and iconified
|
||||
/* If asked to show (not deiconify) a withdrawn and iconified
|
||||
* window, do that.
|
||||
*/
|
||||
if (!deiconify &&
|
||||
@ -1962,7 +1962,7 @@ gdk_win32_surface_set_icon_name (GdkSurface *window,
|
||||
{
|
||||
/* In case I manage to confuse this again (or somebody else does):
|
||||
* Please note that "icon name" here really *does* mean the name or
|
||||
* title of an window minimized as an icon on the desktop, or in the
|
||||
* title of a window minimized as an icon on the desktop, or in the
|
||||
* taskbar. It has nothing to do with the freedesktop.org icon
|
||||
* naming stuff.
|
||||
*/
|
||||
|
@ -180,7 +180,7 @@ struct _GdkW32DragMoveResizeContext
|
||||
*
|
||||
* For drag-move: If it's FALSE,
|
||||
* then the pointer have not yet hit a trigger, even if it is
|
||||
* already within a edge region.
|
||||
* already within an edge region.
|
||||
* If it's TRUE, then the pointer did hit a trigger within an
|
||||
* edge region, and have not yet left an edge region
|
||||
* (passing from one edge region into another doesn't count).
|
||||
|
@ -1363,7 +1363,7 @@ scroll_valuators_changed (GdkX11DeviceXI2 *device,
|
||||
}
|
||||
|
||||
/* We only care about focus events that indicate that _this_
|
||||
* surface (not a ancestor or child) got or lost the focus
|
||||
* surface (not an ancestor or child) got or lost the focus
|
||||
*/
|
||||
static void
|
||||
_gdk_device_manager_xi2_handle_focus (GdkSurface *surface,
|
||||
|
@ -676,7 +676,7 @@ gdk_x11_gl_context_realize (GdkGLContext *context,
|
||||
/* Ensure that any other context is created with a legacy bit set */
|
||||
gdk_gl_context_set_is_legacy (context, legacy_bit);
|
||||
|
||||
/* Ensure that any other context is created with a ES bit set */
|
||||
/* Ensure that any other context is created with an ES bit set */
|
||||
gdk_gl_context_set_use_es (context, es_bit);
|
||||
|
||||
xvisinfo = find_xvisinfo_for_fbconfig (display, context_x11->glx_config);
|
||||
|
@ -2284,7 +2284,7 @@ gsk_opacity_node_new (GskRenderNode *child,
|
||||
|
||||
/**
|
||||
* gsk_opacity_node_get_child:
|
||||
* @node: a opacity @GskRenderNode
|
||||
* @node: an opacity @GskRenderNode
|
||||
*
|
||||
* Gets the child node that is getting opacityed by the given @node.
|
||||
*
|
||||
|
@ -396,7 +396,7 @@ add_cb (GtkContainer *container,
|
||||
GtkAssistantPrivate *priv = gtk_assistant_get_instance_private (assistant);
|
||||
|
||||
if (priv->use_header_bar)
|
||||
g_warning ("Content added to the action area of a assistant using header bars");
|
||||
g_warning ("Content added to the action area of an assistant using header bars");
|
||||
|
||||
gtk_widget_show (GTK_WIDGET (container));
|
||||
}
|
||||
|
@ -226,7 +226,7 @@ gtk_buildable_construct_child (GtkBuildable *buildable,
|
||||
*
|
||||
* This is called for each unknown element under <child>.
|
||||
*
|
||||
* Returns: %TRUE if a object has a custom implementation, %FALSE
|
||||
* Returns: %TRUE if an object has a custom implementation, %FALSE
|
||||
* if it doesn't.
|
||||
**/
|
||||
gboolean
|
||||
|
@ -934,7 +934,7 @@ gtk_button_grab_notify (GtkWidget *widget,
|
||||
/**
|
||||
* gtk_button_set_icon_name:
|
||||
* @button: A #GtkButton
|
||||
* @icon_name: A icon name
|
||||
* @icon_name: An icon name
|
||||
*
|
||||
* Adds a #GtkImage with the given icon name as a child. If @button already
|
||||
* contains a child widget, that child widget will be removed and replaced
|
||||
|
@ -1836,7 +1836,7 @@ _gtk_css_selector_tree_match_all (const GtkCssSelectorTree *tree,
|
||||
|
||||
/* When checking for changes via the tree we need to know if a rule further
|
||||
down the tree matched, because if so we need to add "our bit" to the
|
||||
Change. For instance in a a match like *.class:active we'll
|
||||
Change. For instance in a match like *.class:active we'll
|
||||
get a tree that first checks :active, if that matches we continue down
|
||||
to the tree, and if we get a match we add CHANGE_CLASS. However, the
|
||||
end of the tree where we have a match is an ANY which doesn't actually
|
||||
|
@ -2382,7 +2382,7 @@ add_size (gpointer key,
|
||||
* that the icon is available in a scalable format. The array
|
||||
* is zero-terminated.
|
||||
*
|
||||
* Returns: (array zero-terminated=1) (transfer full): An newly
|
||||
* Returns: (array zero-terminated=1) (transfer full): A newly
|
||||
* allocated array describing the sizes at which the icon is
|
||||
* available. The array should be freed with g_free() when it is no
|
||||
* longer needed.
|
||||
|
@ -2237,7 +2237,7 @@ gtk_icon_view_button_press (GtkGestureClick *gesture,
|
||||
x, y);
|
||||
}
|
||||
|
||||
/* don't draw keyboard focus around an clicked-on item */
|
||||
/* don't draw keyboard focus around a clicked-on item */
|
||||
icon_view->priv->draw_focus = FALSE;
|
||||
}
|
||||
|
||||
@ -4380,7 +4380,7 @@ gtk_icon_view_set_tooltip_cell (GtkIconView *icon_view,
|
||||
* @model, @path and @iter which have been provided will be set to point to
|
||||
* that row and the corresponding model.
|
||||
*
|
||||
* Returns: whether or not the given tooltip context points to a item
|
||||
* Returns: whether or not the given tooltip context points to an item
|
||||
*/
|
||||
gboolean
|
||||
gtk_icon_view_get_tooltip_context (GtkIconView *icon_view,
|
||||
|
@ -58,7 +58,7 @@
|
||||
* #GtkInfoBar is a widget that can be used to show messages to
|
||||
* the user without showing a dialog. It is often temporarily shown
|
||||
* at the top or bottom of a document. In contrast to #GtkDialog, which
|
||||
* has a action area at the bottom, #GtkInfoBar has an action area
|
||||
* has an action area at the bottom, #GtkInfoBar has an action area
|
||||
* at the side.
|
||||
*
|
||||
* The API of #GtkInfoBar is very similar to #GtkDialog, allowing you
|
||||
|
@ -2004,7 +2004,7 @@ label_mnemonic_widget_weak_notify (gpointer data,
|
||||
* @label: a #GtkLabel
|
||||
* @widget: (nullable): the target #GtkWidget, or %NULL to unset
|
||||
*
|
||||
* If the label has been set so that it has an mnemonic key (using
|
||||
* If the label has been set so that it has a mnemonic key (using
|
||||
* i.e. gtk_label_set_markup_with_mnemonic(),
|
||||
* gtk_label_set_text_with_mnemonic(), gtk_label_new_with_mnemonic()
|
||||
* or the “use_underline” property) the label can be associated with a
|
||||
@ -2073,7 +2073,7 @@ gtk_label_get_mnemonic_widget (GtkLabel *label)
|
||||
* gtk_label_get_mnemonic_keyval:
|
||||
* @label: a #GtkLabel
|
||||
*
|
||||
* If the label has been set so that it has an mnemonic key this function
|
||||
* If the label has been set so that it has a mnemonic key this function
|
||||
* returns the keyval used for the mnemonic accelerator. If there is no
|
||||
* mnemonic set up it returns #GDK_KEY_VoidSymbol.
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* GTK - The GIMP Toolkit
|
||||
* gtklinkbutton.c - an hyperlink-enabled button
|
||||
* gtklinkbutton.c - a hyperlink-enabled button
|
||||
*
|
||||
* Copyright (C) 2006 Emmanuele Bassi <ebassi@gmail.com>
|
||||
* All rights reserved.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* GTK - The GIMP Toolkit
|
||||
* gtklinkbutton.h - an hyperlink-enabled button
|
||||
* gtklinkbutton.h - a hyperlink-enabled button
|
||||
*
|
||||
* Copyright (C) 2005 Emmanuele Bassi <ebassi@gmail.com>
|
||||
* All rights reserved.
|
||||
|
@ -3879,7 +3879,7 @@ list_box_sort_func (GtkListBoxRow *row1,
|
||||
retval = index_1 - index_2;
|
||||
}
|
||||
/* We order the bookmarks sections based on the bookmark index that we
|
||||
* set on the row as a order-index property, but we have to deal with
|
||||
* set on the row as an order-index property, but we have to deal with
|
||||
* the placeholder row wanted to be between two consecutive bookmarks,
|
||||
* with two consecutive order-index values which is the usual case.
|
||||
* For that, in the list box sort func we give priority to the placeholder row,
|
||||
@ -4480,7 +4480,7 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
|
||||
* @sidebar: the object which received the signal.
|
||||
*
|
||||
* The places sidebar emits this signal when it needs the calling
|
||||
* application to present an way to directly enter a location.
|
||||
* application to present a way to directly enter a location.
|
||||
* For example, the application may bring up a dialog box asking for
|
||||
* a URL like "http://http.example.com".
|
||||
*/
|
||||
|
@ -123,7 +123,7 @@ static void
|
||||
gtk_separator_tool_item_add (GtkContainer *container,
|
||||
GtkWidget *child)
|
||||
{
|
||||
g_warning ("attempt to add a child to an GtkSeparatorToolItem");
|
||||
g_warning ("attempt to add a child to a GtkSeparatorToolItem");
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
@ -401,7 +401,7 @@ struct _GtkStyleContextClass
|
||||
/**
|
||||
* GTK_STYLE_CLASS_SCROLLBARS_JUNCTION:
|
||||
*
|
||||
* A CSS class to match the junction area between an horizontal
|
||||
* A CSS class to match the junction area between a horizontal
|
||||
* and vertical scrollbar, when they’re both shown.
|
||||
*
|
||||
* Refer to individual widget documentation for used style classes.
|
||||
@ -525,7 +525,7 @@ struct _GtkStyleContextClass
|
||||
/**
|
||||
* GTK_STYLE_CLASS_SPINBUTTON:
|
||||
*
|
||||
* A CSS class defining an spinbutton.
|
||||
* A CSS class defining a spinbutton.
|
||||
*
|
||||
* Refer to individual widget documentation for used style classes.
|
||||
*/
|
||||
|
@ -1980,7 +1980,7 @@ convert_color (GdkRGBA *result,
|
||||
|
||||
/* This function is used to convert the preedit string attributes, which are
|
||||
* standard PangoAttributes, into the custom attributes used by the text
|
||||
* widget and insert them into a attr list with a given offset.
|
||||
* widget and insert them into an attr list with a given offset.
|
||||
*/
|
||||
static void
|
||||
add_preedit_attrs (GtkTextLayout *layout,
|
||||
|
@ -633,7 +633,7 @@ gtk_tooltip_position (GtkTooltip *tooltip,
|
||||
* If the anchor rectangle is too tall (meaning if we'd be constrained
|
||||
* and flip, it'd flip too far away), rely only on the pointer position
|
||||
* to position the tooltip. The approximate pointer cursorrectangle is
|
||||
* used as a anchor rectantgle.
|
||||
* used as an anchor rectantgle.
|
||||
*
|
||||
* If the anchor rectangle isn't to tall, make sure the tooltip isn't too
|
||||
* far away from the pointer position.
|
||||
|
@ -1199,7 +1199,7 @@ _gtk_tree_menu_new_with_area (GtkCellArea *area)
|
||||
/*
|
||||
* _gtk_tree_menu_new_full:
|
||||
* @area: (allow-none): the #GtkCellArea to use to render cells in the menu, or %NULL.
|
||||
* @model: (allow-none): the #GtkTreeModel to build the menu heirarchy from, or %NULL.
|
||||
* @model: (allow-none): the #GtkTreeModel to build the menu hierarchy from, or %NULL.
|
||||
* @root: (allow-none): the #GtkTreePath indicating the root row for this menu, or %NULL.
|
||||
*
|
||||
* Creates a new #GtkTreeMenu hierarchy from the provided @model and @root using @area to render its cells.
|
||||
@ -1223,7 +1223,7 @@ _gtk_tree_menu_new_full (GtkCellArea *area,
|
||||
* @menu: a #GtkTreeMenu
|
||||
* @model: (allow-none): the #GtkTreeModel to build the menu hierarchy from, or %NULL.
|
||||
*
|
||||
* Sets @model to be used to build the menu heirarhcy.
|
||||
* Sets @model to be used to build the menu hierarhcy.
|
||||
*/
|
||||
void
|
||||
_gtk_tree_menu_set_model (GtkTreeMenu *menu,
|
||||
@ -1241,7 +1241,7 @@ _gtk_tree_menu_set_model (GtkTreeMenu *menu,
|
||||
* _gtk_tree_menu_get_model:
|
||||
* @menu: a #GtkTreeMenu
|
||||
*
|
||||
* Gets the @model currently used for the menu heirarhcy.
|
||||
* Gets the @model currently used for the menu hierarhcy.
|
||||
*
|
||||
* Returns: (transfer none): the #GtkTreeModel which is used
|
||||
* for @menu’s hierarchy.
|
||||
@ -1293,7 +1293,7 @@ _gtk_tree_menu_set_root (GtkTreeMenu *menu,
|
||||
* @menu: a #GtkTreeMenu
|
||||
*
|
||||
* Gets the @root path for @menu’s hierarchy, or returns %NULL if @menu
|
||||
* has no model or is building a heirarchy for the entire model. *
|
||||
* has no model or is building a hierarchy for the entire model. *
|
||||
*
|
||||
* Returns: (transfer full) (allow-none): A newly created #GtkTreePath
|
||||
* pointing to the root of @menu which must be freed with gtk_tree_path_free().
|
||||
|
@ -2145,7 +2145,7 @@ gtk_tree_row_ref_deleted (RowRefList *refs,
|
||||
return;
|
||||
|
||||
/* This function corrects the path stored in the reference to
|
||||
* account for an deletion. Note that it's called _after_ the
|
||||
* account for a deletion. Note that it's called _after_ the
|
||||
* deletion with the old path of the just-deleted row. Which means
|
||||
* that the deleted path is the same now-defunct "coordinate system"
|
||||
* as the path saved in the reference, which is what we want to fix.
|
||||
|
@ -5291,7 +5291,7 @@ event_surface_is_still_viewable (const GdkEvent *event)
|
||||
#endif
|
||||
|
||||
default:
|
||||
/* Remaining events would make sense on an not-viewable window,
|
||||
/* Remaining events would make sense on a not-viewable window,
|
||||
* or don't have an associated window.
|
||||
*/
|
||||
return TRUE;
|
||||
@ -5640,7 +5640,7 @@ gtk_widget_real_keynav_failed (GtkWidget *widget,
|
||||
*
|
||||
* Note that having @can_focus be %TRUE is only one of the
|
||||
* necessary conditions for being focusable. A widget must
|
||||
* also be sensitive and not have a ancestor that is marked
|
||||
* also be sensitive and not have an ancestor that is marked
|
||||
* as not child-focusable in order to receive input focus.
|
||||
*
|
||||
* See gtk_widget_grab_focus() for actually setting the input
|
||||
@ -8859,7 +8859,7 @@ gtk_widget_real_get_accessible (GtkWidget *widget)
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize a AtkImplementorIface instance’s virtual pointers as
|
||||
* Initialize an AtkImplementorIface instance’s virtual pointers as
|
||||
* appropriate to this implementor’s class (GtkWidget).
|
||||
*/
|
||||
static void
|
||||
|
@ -108,7 +108,7 @@ msgstr "Leverantörs-ID"
|
||||
msgid "Product ID"
|
||||
msgstr "Produkt-ID"
|
||||
|
||||
# The GdkSeat object represents a collection of input devices that belong to an user.
|
||||
# The GdkSeat object represents a collection of input devices that belong to a user.
|
||||
#: gdk/gdkdevice.c:289 gdk/gdkdevice.c:290
|
||||
msgid "Seat"
|
||||
msgstr "Säte"
|
||||
|
Loading…
Reference in New Issue
Block a user