[totem] main: Set a minimum width for the "Go" menu
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Set a minimum width for the "Go" menu
- Date: Wed, 2 Nov 2016 14:52:08 +0000 (UTC)
commit ed7309eab9d295e79c493f90d2ade8ea484917ae
Author: Bastien Nocera <hadess hadess net>
Date: Wed Nov 2 15:50:16 2016 +0100
main: Set a minimum width for the "Go" menu
It was too narrow and felt cramped.
https://bugzilla.gnome.org/show_bug.cgi?id=773811
src/totem-object.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 27c3324..f16cd71 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3792,6 +3792,7 @@ totem_callback_connect (TotemObject *totem)
gtk_menu_button_set_menu_model (GTK_MENU_BUTTON (item), menu);
popover = gtk_menu_button_get_popover (GTK_MENU_BUTTON (item));
gtk_popover_set_transitions_enabled (GTK_POPOVER (popover), FALSE);
+ gtk_widget_set_size_request (GTK_WIDGET (popover), 175, -1);
g_signal_connect (G_OBJECT (item), "toggled",
G_CALLBACK (popup_menu_shown_cb), totem);
/* Cog wheel */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]