Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 714691 Details for
Bug 856682
[remote-viewer] gnome session unresponsive after connecting to vm with more displays
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Standalone gtk+2 testcase reproducing this problem
testcase.c (text/x-chdr), 1.63 KB, created by
Christophe Fergeau
on 2013-03-22 17:27:55 UTC
(
hide
)
Description:
Standalone gtk+2 testcase reproducing this problem
Filename:
MIME Type:
Creator:
Christophe Fergeau
Created:
2013-03-22 17:27:55 UTC
Size:
1.63 KB
patch
obsolete
>#include <gtk/gtk.h> > > >static gboolean update_submenu(gpointer user_data) >{ > GtkMenuItem *menu = GTK_MENU_ITEM(user_data); > GtkWidget *submenu; > char *label; > GtkWidget *item; > int i; > > static int count = 0; > > g_return_val_if_fail(GTK_IS_MENU_ITEM(menu), G_SOURCE_CONTINUE); > g_warning("Refreshing submenu"); > submenu = gtk_menu_new(); > > for (i = 0; i < 6; i++) { > label = g_strdup_printf("Entry %d", count++); > item = gtk_check_menu_item_new_with_label(label); > gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(item), > g_random_int_range(0, 2)); > gtk_widget_set_sensitive(item, g_random_int_range(0, 2)); > gtk_menu_shell_append(GTK_MENU_SHELL(submenu), item); > } > > gtk_menu_item_set_submenu(GTK_MENU_ITEM(menu), submenu); > gtk_widget_show_all(GTK_WIDGET(menu)); > > return G_SOURCE_CONTINUE; >} > >int main(int argc, char **argv) >{ > GtkWidget *window; > GtkWidget *menubar; > GtkWidget *item; > GtkWidget *menu; > > gtk_init(&argc, &argv); > > window = gtk_window_new(GTK_WINDOW_TOPLEVEL); > > menubar = gtk_menu_bar_new(); > item = gtk_menu_item_new_with_label("Menu"); > gtk_menu_shell_append(GTK_MENU_SHELL(menubar), item); > > menu = gtk_menu_new(); > gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), menu); > > item = gtk_menu_item_new_with_label("Submenu"); > gtk_menu_shell_append(GTK_MENU_SHELL(menu), item); > > update_submenu(item); > > gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(menubar)); > gtk_widget_show_all(window); > > g_timeout_add_seconds(10, update_submenu, item); > > gtk_main(); > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 856682
: 714691