[chronojump] Fixed tooltip for person window start/end camera
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed tooltip for person window start/end camera
- Date: Mon, 16 Jul 2018 12:37:19 +0000 (UTC)
commit 2863aa0cc084071a9567c7533496e66a21ba1815
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Jul 13 21:44:41 2018 +0200
Fixed tooltip for person window start/end camera
glade/person_win.glade | 6 +++---
src/gui/person.cs | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/glade/person_win.glade b/glade/person_win.glade
index 50821e82..588d4323 100644
--- a/glade/person_win.glade
+++ b/glade/person_win.glade
@@ -610,9 +610,6 @@
<child>
<placeholder/>
</child>
- <child>
- <placeholder/>
- </child>
<child>
<widget class="GtkLabel" id="label218">
<property name="visible">True</property>
@@ -2030,6 +2027,9 @@
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
</child>
</widget>
diff --git a/src/gui/person.cs b/src/gui/person.cs
index 642d5381..9238e298 100644
--- a/src/gui/person.cs
+++ b/src/gui/person.cs
@@ -1074,6 +1074,7 @@ public class PersonAddModifyWindow
webcam.ExitCamera();
image_photo_start_end_camera.Pixbuf = new Pixbuf (null, Util.GetImagePath(false) +
"image_photo_start_camera.png");
button_take_photo_do.Sensitive = false;
+ button_take_photo_start_end_camera.TooltipText = Catalog.GetString("Start webcam");
return;
}
@@ -1090,6 +1091,7 @@ public class PersonAddModifyWindow
image_photo_start_end_camera.Pixbuf = new Pixbuf (null, Util.GetImagePath(false) +
"image_photo_end_camera.png");
button_take_photo_do.Sensitive = true;
+ button_take_photo_start_end_camera.TooltipText = Catalog.GetString("Stop webcam");
/*
* TODO: reimplement this with ffmpeg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]