summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-06 14:22:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-06 14:23:55 +0300
commitc8e8e884a6a632c5766eddab2d84c6a6b2216d6c (patch)
treedb983f5c371bd7f3c5190dcd6f6f3171947ad105 /src/mir_app
parent8271ae317370f9c27de576075a2d779ccaf9a560 (diff)
StdMsg & Scriver:
- switched to the toolbar buttons instead of the fixed button set; - switched to the shared windows list
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/srmm_toolbar.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp
index e3e93a29b2..988f5d9949 100644
--- a/src/mir_app/src/srmm_toolbar.cpp
+++ b/src/mir_app/src/srmm_toolbar.cpp
@@ -113,12 +113,10 @@ MIR_APP_DLL(int) Srmm_AddButton(const BBButton *bbdi, int _hLang)
return 1;
CustomButtonData *cbd = new CustomButtonData();
- if (!bbdi->iButtonWidth && (bbdi->bbbFlags & BBBF_ISARROWBUTTON))
+ if (bbdi->bbbFlags & BBBF_ISARROWBUTTON)
cbd->m_iButtonWidth = DPISCALEX_S(34);
- else if (!bbdi->iButtonWidth)
- cbd->m_iButtonWidth = DPISCALEX_S(22);
else
- cbd->m_iButtonWidth = DPISCALEX_S(bbdi->iButtonWidth);
+ cbd->m_iButtonWidth = DPISCALEX_S(22);
cbd->m_pszModuleName = mir_strdup(bbdi->pszModuleName);
cbd->m_pwszTooltip = mir_wstrdup(bbdi->pwszTooltip);