Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
libdbusmenu
0002-genericmenuitem-Make-accelerator-text-appe...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-genericmenuitem-Make-accelerator-text-appear-again.patch of Package libdbusmenu
From 1c427472046418934192d484778839b90358876f Mon Sep 17 00:00:00 2001 From: Albert Astals Cid <aacid@kde.org> Date: Mon, 18 Nov 2019 19:57:06 +0100 Subject: [PATCH 2/3] genericmenuitem: Make accelerator text appear again The deprecation porting from gtk_misc_set_alignment was not done correctly in r479 (LP: #1628196) --- libdbusmenu-gtk/genericmenuitem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libdbusmenu-gtk/genericmenuitem.c b/libdbusmenu-gtk/genericmenuitem.c index fbd0416..3a362d1 100644 --- a/libdbusmenu-gtk/genericmenuitem.c +++ b/libdbusmenu-gtk/genericmenuitem.c @@ -335,8 +335,8 @@ set_label (GtkMenuItem * menu_item, const gchar * in_label) labelw = GTK_LABEL(gtk_accel_label_new(local_label)); gtk_label_set_use_markup(GTK_LABEL(labelw), TRUE); #if GTK_CHECK_VERSION(3,0,0) - gtk_widget_set_halign(GTK_WIDGET(labelw), GTK_ALIGN_START); - gtk_widget_set_valign(GTK_WIDGET(labelw), GTK_ALIGN_CENTER); + gtk_label_set_xalign (labelw, 0); + gtk_label_set_yalign (labelw, 0.5); #else gtk_misc_set_alignment(GTK_MISC(labelw), 0.0, 0.5); #endif -- 2.24.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor