[gtk+] demo: Show popup menu on tabs



commit 2bb01c6cc804da7fda621ca15a2838b40a2c208e
Author: William Jon McCann <william jon mccann gmail com>
Date:   Mon Aug 5 16:07:40 2013 +0200

    demo: Show popup menu on tabs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707920

 demos/gtk-demo/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index cf1a761..b182033 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -930,6 +930,7 @@ main (int argc, char **argv)
 
   notebook = gtk_notebook_new ();
   gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE);
+  gtk_notebook_popup_enable (GTK_NOTEBOOK (notebook));
   gtk_box_pack_start (GTK_BOX (hbox), notebook, TRUE, TRUE, 0);
 
   gtk_notebook_append_page (GTK_NOTEBOOK (notebook),


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