Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d6bf76aa
Kaydet (Commit)
d6bf76aa
authored
Agu 24, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl::KeyCode fixes
Change-Id: I3504e3152ee3969f35c639807ac2fb0753a8aa62
üst
c499b2cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gtksalmenu.cxx
vcl/unx/gtk/window/gtksalmenu.cxx
+4
-4
No files found.
vcl/unx/gtk/window/gtksalmenu.cxx
Dosyayı görüntüle @
d6bf76aa
...
@@ -72,7 +72,7 @@ static gchar* GetCommandForItem( GtkSalMenuItem* pSalMenuItem, gchar* aCurrentCo
...
@@ -72,7 +72,7 @@ static gchar* GetCommandForItem( GtkSalMenuItem* pSalMenuItem, gchar* aCurrentCo
return
aCommand
;
return
aCommand
;
}
}
static
void
KeyCodeToGdkKey
(
const
KeyCode
&
rKeyCode
,
guint
*
pGdkKeyCode
,
GdkModifierType
*
pGdkModifiers
)
static
void
KeyCodeToGdkKey
(
const
vcl
::
KeyCode
&
rKeyCode
,
guint
*
pGdkKeyCode
,
GdkModifierType
*
pGdkModifiers
)
{
{
if
(
pGdkKeyCode
==
NULL
||
pGdkModifiers
==
NULL
)
if
(
pGdkKeyCode
==
NULL
||
pGdkModifiers
==
NULL
)
return
;
return
;
...
@@ -304,7 +304,7 @@ void GtkSalMenu::ImplUpdate( gboolean bRecurse )
...
@@ -304,7 +304,7 @@ void GtkSalMenu::ImplUpdate( gboolean bRecurse )
// Get internal menu item values.
// Get internal menu item values.
OUString
aText
=
pVCLMenu
->
GetItemText
(
nId
);
OUString
aText
=
pVCLMenu
->
GetItemText
(
nId
);
bool
bEnabled
=
pVCLMenu
->
IsItemEnabled
(
nId
);
bool
bEnabled
=
pVCLMenu
->
IsItemEnabled
(
nId
);
KeyCode
nAccelKey
=
pVCLMenu
->
GetAccelKey
(
nId
);
vcl
::
KeyCode
nAccelKey
=
pVCLMenu
->
GetAccelKey
(
nId
);
bool
bChecked
=
pVCLMenu
->
IsItemChecked
(
nId
);
bool
bChecked
=
pVCLMenu
->
IsItemChecked
(
nId
);
MenuItemBits
itemBits
=
pVCLMenu
->
GetItemBits
(
nId
);
MenuItemBits
itemBits
=
pVCLMenu
->
GetItemBits
(
nId
);
...
@@ -609,7 +609,7 @@ void GtkSalMenu::NativeSetItemText( unsigned nSection, unsigned nItemPos, const
...
@@ -609,7 +609,7 @@ void GtkSalMenu::NativeSetItemText( unsigned nSection, unsigned nItemPos, const
g_free
(
aLabel
);
g_free
(
aLabel
);
}
}
void
GtkSalMenu
::
NativeSetAccelerator
(
unsigned
nSection
,
unsigned
nItemPos
,
const
KeyCode
&
rKeyCode
,
const
OUString
&
rKeyName
)
void
GtkSalMenu
::
NativeSetAccelerator
(
unsigned
nSection
,
unsigned
nItemPos
,
const
vcl
::
KeyCode
&
rKeyCode
,
const
OUString
&
rKeyName
)
{
{
SolarMutexGuard
aGuard
;
SolarMutexGuard
aGuard
;
...
@@ -817,7 +817,7 @@ void GtkSalMenu::SetItemImage( unsigned, SalMenuItem*, const Image& )
...
@@ -817,7 +817,7 @@ void GtkSalMenu::SetItemImage( unsigned, SalMenuItem*, const Image& )
{
{
}
}
void
GtkSalMenu
::
SetAccelerator
(
unsigned
,
SalMenuItem
*
,
const
KeyCode
&
,
const
OUString
&
)
void
GtkSalMenu
::
SetAccelerator
(
unsigned
,
SalMenuItem
*
,
const
vcl
::
KeyCode
&
,
const
OUString
&
)
{
{
}
}
...
...
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