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
bd05cc9a
Kaydet (Commit)
bd05cc9a
authored
Kas 14, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
gtktiledviewer: add toolbar buttons to insert / delete comments
Change-Id: Ia566e983548a89d974c133823da2f07d5c2e35e4
üst
9caca9fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
gtktiledviewer.cxx
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+17
-0
No files found.
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
Dosyayı görüntüle @
bd05cc9a
...
...
@@ -1094,6 +1094,23 @@ static GtkWidget* createWindow(TiledWindow& rWindow)
gtk_toolbar_insert
(
GTK_TOOLBAR
(
pLowerToolbar
),
rWindow
.
m_pJustifypara
,
-
1
);
g_signal_connect
(
G_OBJECT
(
rWindow
.
m_pJustifypara
),
"toggled"
,
G_CALLBACK
(
toggleToolItem
),
NULL
);
lcl_registerToolItem
(
rWindow
,
rWindow
.
m_pJustifypara
,
".uno:JustifyPara"
);
gtk_toolbar_insert
(
GTK_TOOLBAR
(
pLowerToolbar
),
gtk_separator_tool_item_new
(),
-
1
);
// Insert/delete comments.
GtkToolItem
*
pInsertAnnotation
=
gtk_tool_button_new
(
nullptr
,
nullptr
);
gtk_tool_button_set_icon_name
(
GTK_TOOL_BUTTON
(
pInsertAnnotation
),
"changes-allow-symbolic"
);
gtk_tool_item_set_tooltip_text
(
pInsertAnnotation
,
"Insert Comment"
);
gtk_toolbar_insert
(
GTK_TOOLBAR
(
pLowerToolbar
),
pInsertAnnotation
,
-
1
);
g_signal_connect
(
G_OBJECT
(
pInsertAnnotation
),
"clicked"
,
G_CALLBACK
(
toggleToolItem
),
NULL
);
lcl_registerToolItem
(
rWindow
,
pInsertAnnotation
,
".uno:InsertAnnotation"
);
GtkToolItem
*
pDeleteComment
=
gtk_tool_button_new
(
nullptr
,
nullptr
);
gtk_tool_button_set_icon_name
(
GTK_TOOL_BUTTON
(
pDeleteComment
),
"changes-prevent-symbolic"
);
gtk_tool_item_set_tooltip_text
(
pDeleteComment
,
"Delete Comment"
);
gtk_toolbar_insert
(
GTK_TOOLBAR
(
pLowerToolbar
),
pDeleteComment
,
-
1
);
g_signal_connect
(
G_OBJECT
(
pDeleteComment
),
"clicked"
,
G_CALLBACK
(
toggleToolItem
),
NULL
);
lcl_registerToolItem
(
rWindow
,
pDeleteComment
,
".uno:DeleteComment"
);
// Formula bar
GtkToolItem
*
pFormulaEntryContainer
=
gtk_tool_item_new
();
rWindow
.
m_pFormulabarEntry
=
gtk_entry_new
();
...
...
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