After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641594 - Chooser button label not shown right after creation
Chooser button label not shown right after creation
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2011-02-05 10:03 UTC by Daniele Forsi
Modified: 2011-02-07 00:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase showing empty label (1.50 KB, text/plain)
2011-02-05 10:04 UTC, Daniele Forsi
Details

Description Daniele Forsi 2011-02-05 10:03:16 UTC
The "Click to select device..." label is not shown unless the "device" property is set to NULL or to a valid address, so an empty button is shown and it is very small if it is not set to "fill".
Comment 1 Daniele Forsi 2011-02-05 10:04:37 UTC
Created attachment 180164 [details]
Testcase showing empty label
Comment 2 Bastien Nocera 2011-02-07 00:05:39 UTC
commit bd37a1e00849606c5c4ed7e7725c239ac629beaa
Author: Bastien Nocera <hadess@hadess.net>
Date:   Mon Feb 7 00:04:35 2011 +0000

    lib: Fix button chooser's original label
    
    Make sure the device property is set by default when creating
    the object, so that the label is set as expected.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=641594

commit 82b97d1e2fc2c2e9e8c32a955cd4be82cac0d427
Author: Bastien Nocera <hadess@hadess.net>
Date:   Mon Feb 7 00:00:44 2011 +0000

    lib: Small fixes to chooser button
    
    There's no need to set the label on startup, if we don't already
    have one.