summaryrefslogtreecommitdiff
path: root/gtk/gtkdialog.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-05-25 20:41:46 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-05-25 20:41:46 +0000
commit87684f9549a8ea4e2fa7b4c6ab69ded73b34b991 (patch)
tree6d8f80c793761bd48f38aadbf6dae7c7f45b75fb /gtk/gtkdialog.c
parentb5db5d514d7ffd829c6e97a4630cf95d7b8fef3d (diff)
downloadgtk+-87684f9549a8ea4e2fa7b4c6ab69ded73b34b991.tar.gz
get sizes an icon set can render without falling back to missing image
2001-05-25 Havoc Pennington <hp@redhat.com> * gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon set can render without falling back to missing image icon * gtk/gtktextview.c (gtk_text_view_size_request): request full size of text, instead of random values * gtk/gtktreeview.c (gtk_tree_view_size_request): request full size of tree view, instead of random values * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback image in an appropriate size * gtk/gtkstock.h: Rename the stock items including _BUTTON_, etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/ Throughout: fix GTK_STOCK_BUTTON_ instances * gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h, gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am: Add a bunch of new stock items/icons * gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func): new function, convenience for inserting columns with a data func * gtk/gtkiconfactory.c: keep a list of all existing icon factories (_gtk_icon_factory_list_ids): use list of all factories to generate a list of all known IDs * gtk/gtkstock.c (gtk_stock_list_ids): replace gtk_stock_list_items() with a function that returns all IDs known including those for GtkIconFactory.
Diffstat (limited to 'gtk/gtkdialog.c')
-rw-r--r--gtk/gtkdialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index c0f0ea1181..9e7e2ae68c 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -359,7 +359,7 @@ gtk_dialog_new_empty (const gchar *title,
* (GTK_DIALOG_DESTROY_WITH_PARENT). After @flags, button
* text/response ID pairs should be listed, with a NULL pointer ending
* the list. Button text can be either a stock ID such as
- * GTK_STOCK_BUTTON_OK, or some arbitrary text. A response ID can be
+ * #GTK_STOCK_OK, or some arbitrary text. A response ID can be
* any positive number, or one of the values in the #GtkResponseType
* enumeration. If the user clicks one of these dialog buttons,
* #GtkDialog will emit the "response" signal with the corresponding
@@ -375,9 +375,9 @@ gtk_dialog_new_empty (const gchar *title,
* GtkWidget *dialog = gtk_dialog_new_with_buttons ("My dialog",
* main_app_window,
* GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
- * GTK_STOCK_BUTTON_OK,
+ * GTK_STOCK_OK,
* GTK_RESPONSE_ACCEPT,
- * GTK_STOCK_BUTTON_CANCEL,
+ * GTK_STOCK_CANCEL,
* GTK_RESPONSE_REJECT,
* NULL);
* </programlisting>