summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-03-11 00:03:05 +0100
committerMatthias Clasen <mclasen@redhat.com>2023-03-11 00:03:05 +0100
commita35dc8dda6892d2a70629554970099debb2329ec (patch)
treeba6029246588878b538e9b72d3dd4bdbe45ace63
parentf00659d97f52f16f8a7f0995653957edc51dd43d (diff)
downloadgtk+-a35dc8dda6892d2a70629554970099debb2329ec.tar.gz
Rename the menu demo
At this point, the Menu demo is more about scaling images than about menus, so rename it to Image Scaling.
-rw-r--r--demos/gtk-demo/menu.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/demos/gtk-demo/menu.c b/demos/gtk-demo/menu.c
index 6ea4a505ad..99aa396ef6 100644
--- a/demos/gtk-demo/menu.c
+++ b/demos/gtk-demo/menu.c
@@ -1,13 +1,14 @@
-/* Menu
- * #Keywords: action, zoom
- *
- * Demonstrates how to add a context menu to a custom widget
- * and connect it with widget actions.
+/* Image Scaling
+ * #Keywords: zoom, scale, filter, action, menu
*
* The custom widget we create here is similar to a GtkPicture,
- * but allows setting a zoom level for the displayed paintable.
+ * but allows setting a zoom level and filtering mode for the
+ * displayed paintable.
+ *
+ * It also demonstrates how to add a context menu to a custom
+ * widget and connect it with widget actions.
*
- * Our context menu has items to change the zoom level.
+ * The context menu has items to change the zoom level.
*/
#include <gtk/gtk.h>
@@ -86,7 +87,7 @@ do_menu (GtkWidget *do_widget)
GtkWidget *button;
window = gtk_window_new ();
- gtk_window_set_title (GTK_WINDOW (window), "Menu");
+ gtk_window_set_title (GTK_WINDOW (window), "Image Scaling");
gtk_window_set_default_size (GTK_WINDOW (window), 600, 400);
gtk_window_set_display (GTK_WINDOW (window),
gtk_widget_get_display (do_widget));