[gtk+/native-layout] Fix links in GtkComboBox migration guide



commit 01a3ad45b879230a65c9458744c23f9a087e4cb5
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Jan 7 08:33:08 2010 +0100

    Fix links in GtkComboBox migration guide
    
    Some link to GTK+ classes are not gererated because the ":" near
    the class name; solution: "#GtkComboBox<!---->:"
    Also, added some links to the proper signals
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606291

 docs/reference/gtk/migrating-GtkComboBox.sgml |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/docs/reference/gtk/migrating-GtkComboBox.sgml b/docs/reference/gtk/migrating-GtkComboBox.sgml
index a449926..4114bdc 100644
--- a/docs/reference/gtk/migrating-GtkComboBox.sgml
+++ b/docs/reference/gtk/migrating-GtkComboBox.sgml
@@ -20,7 +20,7 @@
     editable case. 
     The selection of the display style &mdash; menu or list &mdash;
     is no longer done at the API level, but has been made themeable via
-    the style property #GtkComboBox:appearance.
+    the style property #GtkComboBox:appears-as-list.
   </para>
 
   <section id="migrating-GtkOptionMenu">
@@ -28,7 +28,7 @@
     
     <para>
       Here is an example of a simple, but typical use of 
-      #GtkOptionMenu:
+      #GtkOptionMenu<!---->:
       <informalexample><programlisting>
 GtkWidget *option_menu, *menu, *menu_item;
 
@@ -47,12 +47,12 @@ gtk_widget_show (menu_item);
 
 gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu), menu);
       </programlisting></informalexample>
-      In order to react to the user's selection, connect to the "changed"
+      In order to react to the user's selection, connect to the #GtkOptionMenu::changed
       signal on the option menu and use gtk_option_menu_get_history()
       to retrieve the index of the selected item.
     </para>
     <para>
-      And here is how it would be done with a #GtkComboBox:
+      And here is how it would be done with a #GtkComboBox<!---->:
       <informalexample><programlisting>
 GtkWidget *combo_box;
 
@@ -129,7 +129,7 @@ gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo_box), renderer,
     <title>Migrating from GtkCombo to GtkComboBoxEntry</title>
 
     <para>
-      Here is an example of a simple, but typical use of a #GtkCombo:
+      Here is an example of a simple, but typical use of a #GtkCombo<!---->:
       <informalexample><programlisting>
 GtkWidget *combo;
 GList *items = NULL;
@@ -141,13 +141,13 @@ items = g_list_append (items, "Third Item");
 combo = gtk_combo_new (<!-- -->);
 gtk_combo_set_popdown_strings (GTK_COMBO (combo), items);
       </programlisting></informalexample>
-      In order to react to the user's selection, connect to the "changed"
+      In order to react to the user's selection, connect to the #GtkCombo::changed
       signal on the combo and use 
       <literal>gtk_entry_get_text (GTK_ENTRY (combo->entry))</literal>
       to retrieve the selected text.
     </para>
     <para>
-      And here is how it would be done using #GtkComboBoxEntry:
+      And here is how it would be done using #GtkComboBoxEntry<!---->:
       <informalexample><programlisting>
 combo_box = gtk_combo_box_entry_new_text (<!-- -->);
 
@@ -155,7 +155,7 @@ gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), "First Item");
 gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), "Second Item");
 gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), "Third Item");
       </programlisting></informalexample>
-      In order to react to the user's selection, connect to the "changed"
+      In order to react to the user's selection, connect to the #GtkComboBox::changed
       signal on the combo and use 
       <literal>gtk_entry_get_text (GTK_ENTRY (GTK_BIN (combo_box)->child))</literal>
       to retrieve the selected text.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]