! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Button title value is not taken into account
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Applications Menu

Comments

Description Mike Massonnet editbugs 2010-03-05 01:42:20 CET
Created attachment 2870 
applications-menu-bind-button-title

The button title is configurable but does not work, attached is a patch.

The configuration dialog missed an exo binding between button-title property and the text property of the GtkEntry.

The patch also changes a the get/set for button-title. For the getter it returns an empty string instead of the default value, and for the setter it uses the default value for the GtkLabel in case the string is empty.
Comment 1 Nick Schermer editbugs 2010-03-05 17:24:55 CET
Mm yeah good one, I accidentally removed this in the commit for the tooltips, the get/set changes are not useful. Fixed in 5431e15.
Comment 2 Mike Massonnet editbugs 2010-03-05 20:44:43 CET
Actually it is useful, because the current getter/setter results in a "buggy" behaviour:

Edit the title, set an empty string, it appears empty in the menu button, close and reopen the conf dialog and the default title reappears in the Entry. Restart the panel and the menu button will have the default title in the label.
Comment 3 Nick Schermer editbugs 2010-03-05 21:24:16 CET
Ah ok, empty label is more for no tooltip, fixed this a bit different in commit 11d9a17. Should work now.

Bug #6277

Reported by:
Mike Massonnet
Reported on: 2010-03-05
Last modified on: 2010-03-05

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
4.7 (master)

Attachments

applications-menu-bind-button-title (1.61 KB, patch)
2010-03-05 01:42 CET , Mike Massonnet
no flags

Additional information