Make GtkMenuButtons work again
GTK+ uses "popup" not "menu" for the popup menus.
This commit is contained in:
@@ -189,7 +189,7 @@ gcal_edit_dialog_constructed (GObject* object)
|
||||
"vexpand", TRUE,
|
||||
"always-show-image", TRUE,
|
||||
"image", child,
|
||||
"menu", priv->calendars_menu,
|
||||
"popup", priv->calendars_menu,
|
||||
NULL);
|
||||
gtk_grid_attach (GTK_GRID (priv->edit_grid),
|
||||
priv->calendar_button,
|
||||
|
||||
@@ -197,7 +197,7 @@ gcal_event_overlay_constructed (GObject* object)
|
||||
"vexpand", TRUE,
|
||||
"always-show-image", TRUE,
|
||||
"image", calendar_image,
|
||||
"menu", gtk_menu_new (),
|
||||
"popup", gtk_menu_new (),
|
||||
NULL);
|
||||
|
||||
gtk_container_add (GTK_CONTAINER (row_grid),
|
||||
|
||||
Reference in New Issue
Block a user