Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5a00584b
Commit
5a00584b
authored
Dec 05, 2013
by
Vincent Povirk
Committed by
Alexandre Julliard
Jan 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Add non-functional start button.
parent
4d13f849
Hide whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
274 additions
and
1 deletion
+274
-1
ar.po
po/ar.po
+6
-0
bg.po
po/bg.po
+6
-0
ca.po
po/ca.po
+6
-0
cs.po
po/cs.po
+6
-0
da.po
po/da.po
+6
-0
de.po
po/de.po
+6
-0
el.po
po/el.po
+4
-0
en.po
po/en.po
+4
-0
en_US.po
po/en_US.po
+4
-0
eo.po
po/eo.po
+6
-0
es.po
po/es.po
+6
-0
fa.po
po/fa.po
+4
-0
fi.po
po/fi.po
+6
-0
fr.po
po/fr.po
+6
-0
he.po
po/he.po
+6
-0
hi.po
po/hi.po
+4
-0
hr.po
po/hr.po
+6
-0
hu.po
po/hu.po
+6
-0
it.po
po/it.po
+6
-0
ja.po
po/ja.po
+6
-0
ko.po
po/ko.po
+6
-0
lt.po
po/lt.po
+6
-0
ml.po
po/ml.po
+4
-0
nb_NO.po
po/nb_NO.po
+6
-0
nl.po
po/nl.po
+6
-0
or.po
po/or.po
+4
-0
pa.po
po/pa.po
+4
-0
pl.po
po/pl.po
+6
-0
pt_BR.po
po/pt_BR.po
+6
-0
pt_PT.po
po/pt_PT.po
+6
-0
rm.po
po/rm.po
+4
-0
ro.po
po/ro.po
+6
-0
ru.po
po/ru.po
+6
-0
sk.po
po/sk.po
+4
-0
sl.po
po/sl.po
+6
-0
sr_RS@cyrillic.po
po/sr_RS@cyrillic.po
+6
-0
sr_RS@latin.po
po/sr_RS@latin.po
+6
-0
sv.po
po/sv.po
+6
-0
te.po
po/te.po
+4
-0
th.po
po/th.po
+4
-0
tr.po
po/tr.po
+6
-0
uk.po
po/uk.po
+6
-0
wa.po
po/wa.po
+4
-0
wine.pot
po/wine.pot
+4
-0
zh_CN.po
po/zh_CN.po
+6
-0
zh_TW.po
po/zh_TW.po
+6
-0
explorer.rc
programs/explorer/explorer.rc
+1
-0
resource.h
programs/explorer/resource.h
+1
-0
systray.c
programs/explorer/systray.c
+24
-1
No files found.
po/ar.po
View file @
5a00584b
...
...
@@ -10105,6 +10105,12 @@ msgstr "الاستخدام: dxdiag [/whql:off | /whql:on] [/t filename | /x file
msgid "Wine Explorer"
msgstr "مستعرض واين"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "بدء التشغيل"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "الاستخدام: hostname\n"
...
...
po/bg.po
View file @
5a00584b
...
...
@@ -9930,6 +9930,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "&Разгледай"
#: explorer.rc:33
#, fuzzy
#| msgid "Restart"
msgid "Start"
msgstr "Рестартиране"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/ca.po
View file @
5a00584b
...
...
@@ -10284,6 +10284,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
#, fuzzy
#| msgid "Start Menu"
msgid "Start"
msgstr "Menú d'Inici"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Ús: hostname\n"
...
...
po/cs.po
View file @
5a00584b
...
...
@@ -9988,6 +9988,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Průzkumník z Wine"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Po spuštění"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Použití: název počítače\n"
...
...
po/da.po
View file @
5a00584b
...
...
@@ -10198,6 +10198,12 @@ msgstr "Brug: dxdiag [/whql:off | /whql:on] [/t filnavn | /x filnavn]"
msgid "Wine Explorer"
msgstr "Wine Stifinder"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Start op"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Brug: værtsnavn\n"
...
...
po/de.po
View file @
5a00584b
...
...
@@ -10218,6 +10218,12 @@ msgstr "Aufruf: dxdiag [/whql:off | /whql:on] [/t Dateiname | /x Dateiname]"
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Autostart"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Aufruf: hostname\n"
...
...
po/el.po
View file @
5a00584b
...
...
@@ -9778,6 +9778,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/en.po
View file @
5a00584b
...
...
@@ -10143,6 +10143,10 @@ msgstr "Usage: dxdiag [/whql:off | /whql:on] [/t filename | /x filename]"
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:33
msgid "Start"
msgstr "Start"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Usage: hostname\n"
...
...
po/en_US.po
View file @
5a00584b
...
...
@@ -10143,6 +10143,10 @@ msgstr "Usage: dxdiag [/whql:off | /whql:on] [/t filename | /x filename]"
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:33
msgid "Start"
msgstr "Start"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Usage: hostname\n"
...
...
po/eo.po
View file @
5a00584b
...
...
@@ -9650,6 +9650,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Esplorilo de Wine"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Starto"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/es.po
View file @
5a00584b
...
...
@@ -10276,6 +10276,12 @@ msgstr "Uso: dxdiag [/whql:off | /whql:on] [/t fichero | /x fichero]"
msgid "Wine Explorer"
msgstr "Explorador de Wine"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Arranque"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Uso: hostname\n"
...
...
po/fa.po
View file @
5a00584b
...
...
@@ -9786,6 +9786,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/fi.po
View file @
5a00584b
...
...
@@ -10123,6 +10123,12 @@ msgstr "Käyttö: dxdiag [/whql:off | /whql:on] [/t tiedosto | /x tiedosto]"
msgid "Wine Explorer"
msgstr "Winen Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Käynnistys"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Käyttö: hostname\n"
...
...
po/fr.po
View file @
5a00584b
...
...
@@ -10259,6 +10259,12 @@ msgstr "Usage : dxdiag [/whql:off | /whql:on] [/t fichier | /x fichier]"
msgid "Wine Explorer"
msgstr "Explorateur de Wine"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Démarrage"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Usage : hostname\n"
...
...
po/he.po
View file @
5a00584b
...
...
@@ -10308,6 +10308,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "הסייר של Wine"
#: explorer.rc:33
#, fuzzy
#| msgid "Start Menu"
msgid "Start"
msgstr "תפריט ההתחלה"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Usage: hostname\n"
...
...
po/hi.po
View file @
5a00584b
...
...
@@ -9636,6 +9636,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/hr.po
View file @
5a00584b
...
...
@@ -9809,6 +9809,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "Start Menu"
msgid "Start"
msgstr "'Start' izbornik"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Uporaba: hostname\n"
...
...
po/hu.po
View file @
5a00584b
...
...
@@ -10198,6 +10198,12 @@ msgstr "Használat: dxdiag [/whql:off | /whql:on] [/t fájlnév | /x fájlnév]"
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Indítópult"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Használat: kiszolgálónév\n"
...
...
po/it.po
View file @
5a00584b
...
...
@@ -10277,6 +10277,12 @@ msgstr "Uso: dxdiag [/whql:off | /whql:on] [/t nome_file | /x nome_file]"
msgid "Wine Explorer"
msgstr "Explorer di Wine"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Esecuzione automatica"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Uso: hostname\n"
...
...
po/ja.po
View file @
5a00584b
...
...
@@ -10137,6 +10137,12 @@ msgstr "使い方: dxdiag [/whql:off | /whql:on] [/t ファイル名 | /x ファ
msgid "Wine Explorer"
msgstr "Wine エクスプローラ"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "StartUp"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "使い方: hostname\n"
...
...
po/ko.po
View file @
5a00584b
...
...
@@ -10129,6 +10129,12 @@ msgstr "사용법: dxdiag [/whql:off | /whql:on] [/t 파일이름 | /x 파일이
msgid "Wine Explorer"
msgstr "Wine 탐색기"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "시작 프로그램"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "사용법: hostname\n"
...
...
po/lt.po
View file @
5a00584b
...
...
@@ -10151,6 +10151,12 @@ msgstr "Naudojimas: dxdiag [/whql:off | /whql:on] [/t failas | /x failas]"
msgid "Wine Explorer"
msgstr "„Wine“ naršyklė"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Paleidimas"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Naudojimas: hostname\n"
...
...
po/ml.po
View file @
5a00584b
...
...
@@ -9636,6 +9636,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/nb_NO.po
View file @
5a00584b
...
...
@@ -10145,6 +10145,12 @@ msgstr "Bruk: dxdiag [/whql:off | /whql:on] [/t filnavn | /x filnavn]"
msgid "Wine Explorer"
msgstr "Wine Utforsker"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Start"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Bruk: hostname\n"
...
...
po/nl.po
View file @
5a00584b
...
...
@@ -10280,6 +10280,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Verkenner"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Opstarten"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Gebruik: hostname\n"
...
...
po/or.po
View file @
5a00584b
...
...
@@ -9636,6 +9636,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/pa.po
View file @
5a00584b
...
...
@@ -9636,6 +9636,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/pl.po
View file @
5a00584b
...
...
@@ -10200,6 +10200,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Autostart"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Użycie: hostname\n"
...
...
po/pt_BR.po
View file @
5a00584b
...
...
@@ -10201,6 +10201,12 @@ msgstr "Uso: dxdiag [/whql:off | /whql:on] [/t arquivo | /x arquivo]"
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Inicialização"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Modo de usar: hostname\n"
...
...
po/pt_PT.po
View file @
5a00584b
...
...
@@ -10206,6 +10206,12 @@ msgstr "Uso: dxdiag [/whql:off | /whql:on] [/t ficheiro | /x ficheiro]"
msgid "Wine Explorer"
msgstr "Explorador do Wine"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Inicialização"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Uso: hostname\n"
...
...
po/rm.po
View file @
5a00584b
...
...
@@ -9701,6 +9701,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine ag�d"
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/ro.po
View file @
5a00584b
...
...
@@ -10318,6 +10318,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "Start Menu"
msgid "Start"
msgstr "Meniu Start"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/ru.po
View file @
5a00584b
...
...
@@ -10152,6 +10152,12 @@ msgstr "Использование: dxdiag [/whql:off | /whql:on] [/t файл |
msgid "Wine Explorer"
msgstr "Проводник Wine"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Автозагрузка"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Использование: hostname\n"
...
...
po/sk.po
View file @
5a00584b
...
...
@@ -9791,6 +9791,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/sl.po
View file @
5a00584b
...
...
@@ -10226,6 +10226,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Raziskovalnik Wine"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Zagon"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Uporaba: hostname\n"
...
...
po/sr_RS@cyrillic.po
View file @
5a00584b
...
...
@@ -10125,6 +10125,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "Start Menu"
msgid "Start"
msgstr "„Старт“ мени"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/sr_RS@latin.po
View file @
5a00584b
...
...
@@ -10225,6 +10225,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "Start Menu"
msgid "Start"
msgstr "„Start“ meni"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/sv.po
View file @
5a00584b
...
...
@@ -10036,6 +10036,12 @@ msgstr "Användning: dxdiag [/whql:off | /whql:on] [/t filnamn | /x filnamn]"
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "Start Menu"
msgid "Start"
msgstr "Start-meny"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Användning: hostname\n"
...
...
po/te.po
View file @
5a00584b
...
...
@@ -9636,6 +9636,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/th.po
View file @
5a00584b
...
...
@@ -9803,6 +9803,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/tr.po
View file @
5a00584b
...
...
@@ -10116,6 +10116,12 @@ msgstr "Kullanım: dxdiag [/whql:off | /whql:on] [/t dosyaadı | /x dosyaadı]"
msgid "Wine Explorer"
msgstr "Wine Gezgin"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Başlangıç"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Kullanım: hostname\n"
...
...
po/uk.po
View file @
5a00584b
...
...
@@ -10174,6 +10174,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Оглядач Wine"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "Автозавантаження"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "Використання: hostname\n"
...
...
po/wa.po
View file @
5a00584b
...
...
@@ -9743,6 +9743,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/wine.pot
View file @
5a00584b
...
...
@@ -9581,6 +9581,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:33
msgid "Start"
msgstr ""
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/zh_CN.po
View file @
5a00584b
...
...
@@ -9650,6 +9650,12 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:33
#, fuzzy
#| msgid "Restart"
msgid "Start"
msgstr "重启"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr ""
...
...
po/zh_TW.po
View file @
5a00584b
...
...
@@ -10015,6 +10015,12 @@ msgstr "用法:dxdiag [/whql:off | /whql:on] [/t 檔名 | /x 檔名]"
msgid "Wine Explorer"
msgstr "Wine 檔案總管"
#: explorer.rc:33
#, fuzzy
#| msgid "StartUp"
msgid "Start"
msgstr "啟動"
#: hostname.rc:30
msgid "Usage: hostname\n"
msgstr "用法:主機名稱\n"
...
...
programs/explorer/explorer.rc
View file @
5a00584b
...
...
@@ -29,6 +29,7 @@ STRINGTABLE
{
IDS_EXPLORER_TITLE "Wine Explorer"
IDS_PATHBOX_LABEL "Location:"
IDS_START_LABEL "Start"
}
#define WINE_FILEDESCRIPTION_STR "Wine Explorer"
...
...
programs/explorer/resource.h
View file @
5a00584b
...
...
@@ -23,5 +23,6 @@
#define IDS_EXPLORER_TITLE 1
#define IDS_PATHBOX_LABEL 2
#define IDS_START_LABEL 3
#endif
programs/explorer/systray.c
View file @
5a00584b
...
...
@@ -30,6 +30,7 @@
#include <wine/list.h>
#include "explorer_private.h"
#include "resource.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
systray
);
...
...
@@ -91,6 +92,8 @@ static int icon_cx, icon_cy, tray_width;
static
struct
icon
*
balloon_icon
;
static
HWND
balloon_window
;
static
HWND
start_button
;
#define MIN_DISPLAYED 8
#define ICON_BORDER 2
...
...
@@ -135,7 +138,7 @@ static void init_common_controls(void)
INITCOMMONCONTROLSEX
init_tooltip
;
init_tooltip
.
dwSize
=
sizeof
(
INITCOMMONCONTROLSEX
);
init_tooltip
.
dwICC
=
ICC_TAB_CLASSES
;
init_tooltip
.
dwICC
=
ICC_TAB_CLASSES
|
ICC_STANDARD_CLASSES
;
InitCommonControlsEx
(
&
init_tooltip
);
initialized
=
TRUE
;
...
...
@@ -628,11 +631,24 @@ static LRESULT WINAPI tray_wndproc( HWND hwnd, UINT msg, WPARAM wparam, LPARAM l
return
0
;
}
static
void
get_system_text_size
(
const
WCHAR
*
text
,
SIZE
*
size
)
{
/* FIXME: Implement BCM_GETIDEALSIZE and use that instead. */
HDC
hdc
=
GetDC
(
0
);
GetTextExtentPointW
(
hdc
,
text
,
lstrlenW
(
text
),
size
);
ReleaseDC
(
0
,
hdc
);
}
/* this function creates the listener window */
void
initialize_systray
(
HMODULE
graphics_driver
,
BOOL
using_root
)
{
WNDCLASSEXW
class
;
static
const
WCHAR
classname
[]
=
{
'S'
,
'h'
,
'e'
,
'l'
,
'l'
,
'_'
,
'T'
,
'r'
,
'a'
,
'y'
,
'W'
,
'n'
,
'd'
,
0
};
static
const
WCHAR
button_class
[]
=
{
'B'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
0
};
WCHAR
start_label
[
50
];
SIZE
start_text_size
;
wine_notify_icon
=
(
void
*
)
GetProcAddress
(
graphics_driver
,
"wine_notify_icon"
);
...
...
@@ -667,5 +683,12 @@ void initialize_systray( HMODULE graphics_driver, BOOL using_root )
return
;
}
LoadStringW
(
NULL
,
IDS_START_LABEL
,
start_label
,
sizeof
(
start_label
)
/
sizeof
(
WCHAR
)
);
get_system_text_size
(
start_label
,
&
start_text_size
);
start_button
=
CreateWindowW
(
button_class
,
start_label
,
WS_CHILD
|
WS_VISIBLE
|
BS_PUSHBUTTON
,
0
,
0
,
start_text_size
.
cx
+
8
,
icon_cy
,
tray_window
,
0
,
0
,
0
);
if
(
hide_systray
)
do_hide_systray
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment