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
920370f7
Kaydet (Commit)
920370f7
authored
Eyl 01, 2013
tarafından
Artur Dryomov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add computer name as a subtitle to the connection activity.
Change-Id: I3df33faef2004107cd2a806e536efb63517a18c7
üst
cfe24b09
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
ComputerConnectionActivity.java
...ce/impressremote/activity/ComputerConnectionActivity.java
+11
-4
No files found.
android/sdremote/src/org/libreoffice/impressremote/activity/ComputerConnectionActivity.java
Dosyayı görüntüle @
920370f7
...
...
@@ -24,6 +24,7 @@ public class ComputerConnectionActivity extends SherlockFragmentActivity {
super
.
onCreate
(
savedInstanceState
);
setUpHomeButton
();
setUpTitle
();
setUpFragment
();
}
...
...
@@ -31,17 +32,23 @@ public class ComputerConnectionActivity extends SherlockFragmentActivity {
getSupportActionBar
().
setHomeButtonEnabled
(
true
);
}
private
void
setUpFragment
()
{
Server
aComputer
=
extractReceivedComputer
();
Fragment
aFragment
=
ComputerConnectionFragment
.
newInstance
(
aComputer
);
private
void
setUpTitle
()
{
String
aComputerName
=
extractReceivedComputer
().
getName
();
FragmentOperator
.
addFragment
(
this
,
aFragment
);
getSupportActionBar
().
setSubtitle
(
aComputerName
);
}
private
Server
extractReceivedComputer
()
{
return
getIntent
().
getParcelableExtra
(
Intents
.
Extras
.
SERVER
);
}
private
void
setUpFragment
()
{
Server
aComputer
=
extractReceivedComputer
();
Fragment
aFragment
=
ComputerConnectionFragment
.
newInstance
(
aComputer
);
FragmentOperator
.
addFragment
(
this
,
aFragment
);
}
@Override
public
boolean
onOptionsItemSelected
(
MenuItem
aMenuItem
)
{
switch
(
aMenuItem
.
getItemId
())
{
...
...
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