Skip to content

Commit c945d9f

Browse files
committed
drop box widgets spacing
1 parent d86b264 commit c945d9f

4 files changed

Lines changed: 0 additions & 11 deletions

File tree

metadata/panel.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -434,11 +434,6 @@ This will lead to unused space on the side that has the least space taken up by
434434
<default>0</default>
435435
<min>0</min>
436436
</option>
437-
<option name="tray_spacing" type="int">
438-
<_short>Space between tray icons</_short>
439-
<default>5</default>
440-
<min>0</min>
441-
</option>
442437
<option name="tray_menu_on_middle_click" type="bool">
443438
<_short>Middle Button Activates Menu</_short>
444439
<_long>Mouse right button activates a tray item's secondary action instead of the item's menu.</_long>

src/panel/widgets/launchers.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ void WayfireLaunchers::update_layout()
174174
{
175175
box.set_orientation(Gtk::Orientation::HORIZONTAL);
176176
}
177-
178-
box.set_spacing(spacing);
179177
}
180178

181179
void WayfireLaunchers::handle_config_reload()

src/panel/widgets/tray/tray.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ void WayfireStatusNotifier::update_layout()
4444
{
4545
icons_box.set_orientation(Gtk::Orientation::HORIZONTAL);
4646
}
47-
48-
icons_box.set_spacing(spacing);
4947
}
5048

5149
void WayfireStatusNotifier::handle_config_reload()

src/panel/widgets/tray/tray.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ class WayfireStatusNotifier : public WayfireWidget
1313
Gtk::Box icons_box;
1414
std::map<Glib::ustring, StatusNotifierItem> items;
1515

16-
WfOption<int> spacing{"panel/tray_spacing"};
17-
1816
void update_layout();
1917
void handle_config_reload();
2018

0 commit comments

Comments
 (0)