[Xfce4-commits] [panel-plugins/xfce4-hardware-monitor-plugin] 07/18: Fix duplicate column packing in disk_stats_device_combobox widget

noreply at xfce.org noreply at xfce.org
Tue Jun 28 21:33:29 CEST 2016


This is an automated email from the git hooks/post-receive script.

omegaphil pushed a commit to branch omegaphil/graph-disk-io
in repository panel-plugins/xfce4-hardware-monitor-plugin.

commit 3f0e1d9ace1b9bd3052bb242bd3ef57aca78d434
Author: OmegaPhil <OmegaPhil at startmail.com>
Date:   Mon Jun 20 17:04:39 2016 +0100

    Fix duplicate column packing in disk_stats_device_combobox widget
---
 src/choose-monitor-window.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/choose-monitor-window.cpp b/src/choose-monitor-window.cpp
index e9041bc..064c357 100644
--- a/src/choose-monitor-window.cpp
+++ b/src/choose-monitor-window.cpp
@@ -199,11 +199,11 @@ ChooseMonitorWindow::ChooseMonitorWindow(XfcePanelPlugin* panel_applet_local,
   device_notebook->get_nth_page(3)->hide();
 #endif
 
-  // Setup disk statistics device name combobox
+  /* Setup disk statistics device name combobox - no column packing needed here
+   * since this seems to be done automatically when a text entry is included */
   static DiskStatsDeviceNameCols dsdnc;
   disk_stats_device_name_store = Gtk::ListStore::create(dsdnc);
   disk_stats_device_combobox->set_model(disk_stats_device_name_store);
-  disk_stats_device_combobox->pack_start(dsdnc.device_name);
 
   std::vector<Glib::ustring> device_names = DiskStatsMonitor::current_device_names();
   for (std::vector<Glib::ustring>::iterator it = device_names.begin();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list