[moserial] Fix double column in device ComboBox.



commit 38b7c0d429c303329cb97ffb79df16cc178e5950
Author: Mictronics <github mictronics de>
Date:   Mon Apr 27 15:58:28 2020 +0200

    Fix double column in device ComboBox.

 src/SettingsDialog.vala | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/SettingsDialog.vala b/src/SettingsDialog.vala
index 3523b7d..e4f1273 100644
--- a/src/SettingsDialog.vala
+++ b/src/SettingsDialog.vala
@@ -82,9 +82,7 @@ public class moserial.SettingsDialog : GLib.Object {
         deviceCombo = (ComboBox) builder.get_object ("settings_device");
         deviceModel = new Gtk.ListStore (1, typeof (string));
         deviceCombo.set_model (deviceModel);
-        CellRenderer deviceCell = new CellRendererText ();
-        deviceCombo.pack_start (deviceCell, false);
-        deviceCombo.set_attributes (deviceCell, "text", 0);
+        // CellRenderText on deviceCombo provided by GtkEntry field.
     }
 
     private void populateDevices () {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]