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
67582fd2
Kaydet (Commit)
67582fd2
authored
Kas 15, 2012
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
glib / dbus version checks strangely ommitted from the merge.
üst
6e1c579f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
gtkframe.hxx
vcl/inc/unx/gtk/gtkframe.hxx
+2
-1
gtksalmenu.hxx
vcl/inc/unx/gtk/gtksalmenu.hxx
+3
-3
gtkframe.cxx
vcl/unx/gtk/window/gtkframe.cxx
+5
-4
No files found.
vcl/inc/unx/gtk/gtkframe.hxx
Dosyayı görüntüle @
67582fd2
...
...
@@ -213,7 +213,8 @@ class GtkSalFrame : public SalFrame
#endif
SalMenu
*
m_pSalMenu
;
#ifdef ENABLE_DBUS
#if defined(ENABLE_DBUS) && defined(ENABLE_GIO)
friend
void
ensure_dbus_setup
(
GdkWindow
*
gdkWindow
,
GtkSalFrame
*
pSalFrame
);
friend
void
on_registrar_available
(
GDBusConnection
*
,
const
gchar
*
,
const
gchar
*
,
gpointer
);
friend
void
on_registrar_unavailable
(
GDBusConnection
*
,
const
gchar
*
,
gpointer
);
...
...
vcl/inc/unx/gtk/gtksalmenu.hxx
Dosyayı görüntüle @
67582fd2
...
...
@@ -17,16 +17,16 @@
#include <unx/gtk/gtkframe.hxx>
#if defined(ENABLE_DBUS) && defined(ENABLE_GIO)
# if
def GLIB_AVAILABLE_IN_2_
32
# if
GLIB_MAJOR_VERSION > 2 && GLIB_MINOR_VERSION >=
32
# define ENABLE_GMENU_INTEGRATION
# endif
# include <unx/gtk/glomenu.h>
# include <unx/gtk/gloactiongroup.h>
#else
# if
ndef GLIB_AVAILABLE_IN_2_
32
# if
GLIB_MAJOR_VERSION > 2 && GLIB_MINOR_VERSION >=
32
typedef
void
GMenuModel
;
# endif
# if
!GLIB_CHECK_VERSION(2,28,0)
# if
GLIB_MAJOR_VERSION > 2 && GLIB_MINOR_VERSION >= 28
typedef
void
GActionGroup
;
# endif
#endif
...
...
vcl/unx/gtk/window/gtkframe.cxx
Dosyayı görüntüle @
67582fd2
...
...
@@ -481,12 +481,14 @@ GtkSalFrame::GtkSalFrame( SystemParentData* pSysData )
Init
(
pSysData
);
}
#if !GTK_CHECK_VERSION(3,0,0) && defined(ENABLE_DBUS) && defined(ENABLE_GIO)
#ifdef ENABLE_GMENU_INTEGRATION
static
void
gdk_x11_window_set_utf8_property
(
GdkWindow
*
window
,
const
gchar
*
name
,
const
gchar
*
value
)
{
#if !GTK_CHECK_VERSION(3,0,0)
GdkDisplay
*
display
=
gdk_window_get_display
(
window
);
if
(
value
!=
NULL
)
...
...
@@ -503,12 +505,11 @@ gdk_x11_window_set_utf8_property (GdkWindow *window,
GDK_WINDOW_XID
(
window
),
gdk_x11_get_xatom_by_name_for_display
(
display
,
name
));
}
}
#endif
}
// AppMenu watch functions.
#ifdef ENABLE_GMENU_INTEGRATION
static
void
ObjectDestroyedNotify
(
gpointer
data
)
{
if
(
data
)
{
...
...
@@ -1135,7 +1136,7 @@ void GtkSalFrame::Init( SalFrame* pParent, sal_uLong nStyle )
#if !GTK_CHECK_VERSION(3,0,0)
if
(
eWinType
==
GTK_WINDOW_TOPLEVEL
)
{
#if
defined(ENABLE_DBUS) && defined(ENABLE_GIO)
#if
def ENABLE_GMENU_INTEGRATION
// Enable DBus native menu if available.
ensure_dbus_setup
(
this
);
#endif
...
...
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