ElAdnan / gtkdialog

Automatically exported from code.google.com/p/gtkdialog
GNU General Public License v2.0
0 stars 0 forks source link

A non-editable combo box #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
A non-editable combo box.

GtkComboBox

http://developer.gnome.org/gtk/2.24/GtkComboBox.html

Gtkdialog is currently using gtk_combo_new() which is deprecated. It's now 
gtk_combo_box_new().

Original issue reported on code.google.com by thunor...@hotmail.com on 18 Jun 2011 at 11:04

GoogleCodeExporter commented 8 years ago
GtkComboBoxText

http://developer.gnome.org/gtk/2.24/GtkComboBoxText.html

This is actually what's needed. It'll have to replace the existing deprecated 
GtkCombo so I'm going to have to overhaul the combobox widget.

Original comment by thunor...@hotmail.com on 25 Jun 2011 at 3:41

GoogleCodeExporter commented 8 years ago
Currently there's also a warning being displayed when pressing the arrow button:

(gtkdialog:32483): GLib-GObject-WARNING **: 
/build/buildd/glib2.0-2.24.0/gobject/gsignal.c:3079: signal name `depressed' is 
invalid for instance `0x853f0f0'

Original comment by thunor...@hotmail.com on 25 Jun 2011 at 4:34

GoogleCodeExporter commented 8 years ago
GtkComboBox is deprectated and I'd like to replace it, but two projects on lupu 
520 (pnethood, grub4dosconfig) use a property I can't replace: 
allow-empty="false" which prevents the user from leaving the combobox if the 
text is empty which with a new GtkComboBoxText would be achieved by responding 
to a changed signal, reading the active text and making sure it's not empty. 
There are a couple more old properties in the examples but I don't know if 
anyone has used them.

It also seems to be pretty simple and limited: it can be refreshed but it only 
refills it using the items read from the XML!

I think the best thing to do would be to leave it and create a new tag.

Original comment by thunor...@hotmail.com on 27 Jun 2011 at 11:02

GoogleCodeExporter commented 8 years ago
comboboxtext (big job!) is implemented and comboboxentry is next which should 
mostly be a copy and paste effort :)

Original comment by thunor...@hotmail.com on 1 Jul 2011 at 8:38

GoogleCodeExporter commented 8 years ago
All done :)

Can't commit at the moment though: 502 Bad Gateway whatever that means.

Original comment by thunor...@hotmail.com on 7 Jul 2011 at 4:02