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 540169 - Zenity should offer color selection dialog
Zenity should offer color selection dialog
Status: RESOLVED FIXED
Product: zenity
Classification: Core
Component: general
2.30.x
Other All
: Normal normal
: ---
Assigned To: Zenity Maintainers
Zenity Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-25 15:15 UTC by nandhp
Modified: 2010-12-20 15:05 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Add --color-selection application option. (9.81 KB, patch)
2009-10-20 14:29 UTC, Berislav Kovacki
committed Details | Review

Description nandhp 2008-06-25 15:15:13 UTC
Zenity should offer an option to show a color selection dialog.
Comment 1 Josselin Mouette 2009-08-14 10:59:03 UTC
See also http://bugs.debian.org/527081
Comment 2 Berislav Kovacki 2009-10-20 14:29:19 UTC
Created attachment 145866 [details] [review]
Add --color-selection application option.

This patch adds --color-selection application option for displaying color selection dialog. Also, there is --color=COLOR option for setting initially selected color, and --show-palette for displaying palette in color selection dialog.
Comment 3 Christian Persch 2010-02-02 14:00:19 UTC
+ * Copyright (C) 2002 Sun Microsystems, Inc.

Is that really correct? Unless you did this work for sun, you should put yourself as (c) (and keep the sun (c) only if you copied part of this code from other files that _are_ (c) sun).
Comment 4 Lucas Rocha 2010-02-23 18:29:15 UTC
Comment on attachment 145866 [details] [review]
Add --color-selection application option.

Pushed to master, thanks! Berislav, I changed Copyright holder to you instead of Sun. Let me know if you want to keep Sun as the holder.
Comment 5 hemanth 2010-03-05 18:46:46 UTC
I'm on zenity-2.28.0, not finding --color-selection or --show-palette options!
External patch must be added?
Comment 6 Luca Ferretti 2010-05-18 13:19:38 UTC
Reopening, it seems that this new option wasn't landed on 2.30.x

See http://git.gnome.org/browse/zenity/tree/src?h=gnome-2-30

Commit[1] was on February 2010, while gnome-2-30 branch creation was on May 1th... I'm missing something?!?!?


[1] http://git.gnome.org/browse/zenity/commit/?id=4ccc7f6fac79a189e0c0c4896bb2f0f38d38d7c7
Comment 7 Marin Moulinier 2010-10-18 20:29:35 UTC
For me, it's available. I use Zenity 2.32.
Comment 8 Arx Cruz 2010-12-20 15:05:16 UTC
I'm closing this bug, since it's already implemented. 
The only error this was implemented in 2.32 instead of 2.30.