Skip to content

Commit aa71910

Browse files
committed
Rename launcher_size to launchers_size
Fixes #65
1 parent d9ddc43 commit aa71910

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

metadata/panel.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
<_short>Launchers Spacing</_short>
7373
<default>4</default>
7474
</option>
75-
<option name="launcher_size" type="int">
76-
<_short>Launcher Size</_short>
75+
<option name="launchers_size" type="int">
76+
<_short>Launchers Size</_short>
7777
<default>42</default>
7878
</option>
7979
</group>

src/panel/widgets/launchers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void WfLauncherButton::set_size(int size)
113113
bool WfLauncherButton::initialize(std::string name, std::string icon, std::string label)
114114
{
115115
launcher_name = name;
116-
base_size = WfOption<int> {"panel/launcher_size"} / LAUNCHERS_ICON_SCALE;
116+
base_size = WfOption<int> {"panel/launchers_size"} / LAUNCHERS_ICON_SCALE;
117117
if (icon == "none")
118118
{
119119
auto dl = new DesktopLauncherInfo();

src/panel/widgets/menu.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class WayfireMenu : public WayfireWidget
6767

6868
WfOption<bool> fuzzy_search_enabled{"panel/menu_fuzzy_search"};
6969
WfOption<std::string> panel_position{"panel/position"};
70-
WfOption<int> menu_size{"panel/launcher_size"};
70+
WfOption<int> menu_size{"panel/launchers_size"};
7171
WfOption<std::string> menu_icon{"panel/menu_icon"};
7272
void update_popover_layout();
7373

src/panel/widgets/volume.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class WayfireVolume : public WayfireWidget
3636
WayfireVolumeScale volume_scale;
3737
std::unique_ptr<WayfireMenuButton> button;
3838

39-
WfOption<int> volume_size{"panel/launcher_size"};
39+
WfOption<int> volume_size{"panel/launchers_size"};
4040
WfOption<double> timeout{"panel/volume_display_timeout"};
4141

4242
void on_volume_scroll(GdkEventScroll *event);

wf-shell.ini.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ launcher_nau = org.gnome.Nautilus.desktop
6868
launchers_spacing = 4
6969

7070
# size of the launcher icon
71-
launcher_size = 42
71+
launchers_size = 42
7272

7373

7474

0 commit comments

Comments
 (0)