[ekiga] Remove imposed fixed width
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Remove imposed fixed width
- Date: Sun, 15 Nov 2015 15:55:21 +0000 (UTC)
commit 4fd1ed31428420001a54a804356ed088e08b332f
Author: Eugen Dedu <eugen dedu univ-fcomte fr>
Date: Sun Nov 15 16:51:55 2015 +0100
Remove imposed fixed width
It allows to show the whole custom message; we do not know in advance the
width of the window when running.
lib/engine/gui/gtk-frontend/statusmenu.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/statusmenu.cpp b/lib/engine/gui/gtk-frontend/statusmenu.cpp
index 54c8709..440eb72 100644
--- a/lib/engine/gui/gtk-frontend/statusmenu.cpp
+++ b/lib/engine/gui/gtk-frontend/statusmenu.cpp
@@ -810,8 +810,7 @@ status_menu_new (Ekiga::ServiceCore & core)
renderer = gtk_cell_renderer_text_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (self), renderer, FALSE);
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (self), renderer, "text", COL_MESSAGE, NULL);
- g_object_set (renderer, "width", 130,
- "ellipsize-set", true,
+ g_object_set (renderer, "ellipsize-set", true,
"ellipsize", PANGO_ELLIPSIZE_END, NULL);
for (int i = 0 ; i < NUM_STATUS_TYPES ; i++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]