]> Pileus Git - ~andy/gtk/commitdiff
minor cleanups, remove refs to gtk_menu_append
authorGMT 2002 Tony Gale <gale@gtk.org>
Sun, 27 Oct 2002 11:44:25 +0000 (11:44 +0000)
committerTony Gale <gale@src.gnome.org>
Sun, 27 Oct 2002 11:44:25 +0000 (11:44 +0000)
Sun Oct 27 11:41:37 GMT 2002  Tony Gale <gale@gtk.org>

        * docs/tutorial/gtk-tut.sgml:
        minor cleanups, remove refs to gtk_menu_append

        *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/faq/gtk-faq.sgml
docs/tutorial/gtk-tut.sgml
examples/progressbar/progressbar.c

index ef0fd3f905e9fe0c4cc1a117dc38c729dfbbbed5..cb33818503d53fe16cd4ea7a92c650d22905eff2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sun Oct 27 11:41:37 GMT 2002  Tony Gale <gale@gtk.org>
+
+       * docs/tutorial/gtk-tut.sgml:
+       minor cleanups, remove refs to gtk_menu_append
+
+       *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append
+
 Fri Oct 25 23:36:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
 
        * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5.
index ef0fd3f905e9fe0c4cc1a117dc38c729dfbbbed5..cb33818503d53fe16cd4ea7a92c650d22905eff2 100644 (file)
@@ -1,3 +1,10 @@
+Sun Oct 27 11:41:37 GMT 2002  Tony Gale <gale@gtk.org>
+
+       * docs/tutorial/gtk-tut.sgml:
+       minor cleanups, remove refs to gtk_menu_append
+
+       *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append
+
 Fri Oct 25 23:36:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
 
        * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5.
index ef0fd3f905e9fe0c4cc1a117dc38c729dfbbbed5..cb33818503d53fe16cd4ea7a92c650d22905eff2 100644 (file)
@@ -1,3 +1,10 @@
+Sun Oct 27 11:41:37 GMT 2002  Tony Gale <gale@gtk.org>
+
+       * docs/tutorial/gtk-tut.sgml:
+       minor cleanups, remove refs to gtk_menu_append
+
+       *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append
+
 Fri Oct 25 23:36:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
 
        * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5.
index ef0fd3f905e9fe0c4cc1a117dc38c729dfbbbed5..cb33818503d53fe16cd4ea7a92c650d22905eff2 100644 (file)
@@ -1,3 +1,10 @@
+Sun Oct 27 11:41:37 GMT 2002  Tony Gale <gale@gtk.org>
+
+       * docs/tutorial/gtk-tut.sgml:
+       minor cleanups, remove refs to gtk_menu_append
+
+       *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append
+
 Fri Oct 25 23:36:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
 
        * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5.
index ef0fd3f905e9fe0c4cc1a117dc38c729dfbbbed5..cb33818503d53fe16cd4ea7a92c650d22905eff2 100644 (file)
@@ -1,3 +1,10 @@
+Sun Oct 27 11:41:37 GMT 2002  Tony Gale <gale@gtk.org>
+
+       * docs/tutorial/gtk-tut.sgml:
+       minor cleanups, remove refs to gtk_menu_append
+
+       *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append
+
 Fri Oct 25 23:36:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
 
        * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5.
index ef0fd3f905e9fe0c4cc1a117dc38c729dfbbbed5..cb33818503d53fe16cd4ea7a92c650d22905eff2 100644 (file)
@@ -1,3 +1,10 @@
+Sun Oct 27 11:41:37 GMT 2002  Tony Gale <gale@gtk.org>
+
+       * docs/tutorial/gtk-tut.sgml:
+       minor cleanups, remove refs to gtk_menu_append
+
+       *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append
+
 Fri Oct 25 23:36:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
 
        * gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5.
index 82f3e8b48ccb879ee4848e5a21120c13de33561b..9fd5ca53678c498a2c18924834a885085fb14d23 100644 (file)
@@ -2,7 +2,7 @@
 <book>
 
 <bookinfo>
-  <date>August 24th 2002</date>
+  <date>October 27th 2002</date>
   <title>GTK+ FAQ</title>
   <authorgroup>
     <author>
@@ -2531,7 +2531,7 @@ separation line in a menu, just insert an empty menu item:</para>
 
 <programlisting role="C">
 menuitem = gtk_menu_item_new();
-gtk_menu_append(GTK_MENU(menu), menuitem);
+gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
 gtk_widget_show(menuitem);
 </programlisting>
 
index 6f76b2223b5b4611616fd08433c214cc9a5c4f16..6002da3ee229d4ff26424763299f7ad0cb7197c9 100755 (executable)
@@ -5,7 +5,7 @@
 <book id="gtk-tut">
 
 <bookinfo>
-    <date>August 26, 2002</date>
+    <date>October 27, 2002</date>
     <title>GTK+ 2.0 Tutorial</title>
     <authorgroup>
       <author>
 
 <toc></toc>
 
+<!-- ***************************************************************** -->
+<chapter id="ch-TutorialDownload">
+<title>Tutorial Availability</title>
+
+<para>A copy of this tutorial in SGML and HTML is distributed with each
+source code release of GTK+. For binary distributions, please check with
+you vendor.</para>
+
+<para>A copy is available online for reference at <ulink 
+url="http://www.gtk.org/tutorial">www.gtk.org/tutorial</ulink>.</para>
+
+<para>A packaged verion of this tutorial is available from
+<ulink url="ftp:/ftp.gtk.org/pub/gtk/tutorial">
+ftp.gtk.org/pub/gtk/tutorial</ulink> which contains the tutorial in
+various different formats. This
+package is primary for those people wanting to have the tutorial
+available for offline reference and for printing.</para>
+
+</chapter>
+
 <!-- ***************************************************************** -->
 <chapter id="ch-Introduction">
 <title>Introduction</title>
@@ -3840,7 +3860,7 @@ values to indicate the direction in which the progress bar moves:</para>
 <para>As well as indicating the amount of progress that has occured, the
 progress bar may be set to just indicate that there is some activity. 
 This can be useful in situations where progress cannot be measured against 
-a value range. To following function indicates that some progress has been 
+a value range. The following function indicates that some progress has been 
 made.</para>
 
 <programlisting role="C">
@@ -4038,7 +4058,7 @@ int main( int   argc,
     gtk_widget_show (separator);
 
     /* rows, columns, homogeneous */
-    table = gtk_table_new (2, 2, FALSE);
+    table = gtk_table_new (2, 3, FALSE);
     gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, TRUE, 0);
     gtk_widget_show (table);
 
@@ -4174,7 +4194,7 @@ more of the following flags.</para>
 </para></listitem>
 </varlistentry>
 <varlistentry>
-<term><literal>GTK_DIALOG_DESTROY_WITH_PARENTS</literal></term>
+<term><literal>GTK_DIALOG_DESTROY_WITH_PARENT</literal></term>
 <listitem><para>ensures that the dialog window is destroyed together with the specified
 parent.</para></listitem>
 </varlistentry>
@@ -8269,7 +8289,7 @@ item with a label already packed into it, and the other just creates a
 blank menu item.</para>
 
 <para>Once you've created a menu item you have to put it into a menu. This
-is done using the function gtk_menu_append. In order to capture when
+is done using the function gtk_menu_shelll_append. In order to capture when
 the item is selected by the user, we need to connect to the
 <literal>activate</literal> signal in the usual way. So, if we wanted to create a
 standard <literal>File</literal> menu, with the options <literal>Open</literal>, <literal>Save</literal>, and
@@ -8284,9 +8304,9 @@ standard <literal>File</literal> menu, with the options <literal>Open</literal>,
     quit_item = gtk_menu_item_new_with_label ("Quit");
 
     /* Add them to the menu */
-    gtk_menu_append (GTK_MENU (file_menu), open_item);
-    gtk_menu_append (GTK_MENU (file_menu), save_item);
-    gtk_menu_append (GTK_MENU (file_menu), quit_item);
+    gtk_menu_shell_append (GTK_MENU_SHELL (file_menu), open_item);
+    gtk_menu_shell_append (GTK_MENU_SHELL (file_menu), save_item);
+    gtk_menu_shell_append (GTK_MENU_SHELL (file_menu), quit_item);
 
     /* Attach the callback functions to the activate signal */
     g_signal_connect_swapped (G_OBJECT (open_item), "activate",
@@ -8365,7 +8385,7 @@ attached:</para>
 </listitem>
 
 <listitem><simpara> Use multiple calls to gtk_menu_item_new() for each item you
-wish to have on your menu. And use gtk_menu_append() to put each of
+wish to have on your menu. And use gtk_menu_shell_append() to put each of
 these new items on to the menu.</simpara>
 </listitem>
 
index 7420d24d77ae0fb073e2c77fbb01a05707113faf..f4a9aec8efb9d28c54f6cdd0f2440995ab5594af 100644 (file)
@@ -140,7 +140,7 @@ int main( int   argc,
     gtk_widget_show (separator);
 
     /* rows, columns, homogeneous */
-    table = gtk_table_new (2, 2, FALSE);
+    table = gtk_table_new (2, 3, FALSE);
     gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, TRUE, 0);
     gtk_widget_show (table);