aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-06-23 18:16:33 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-06-26 18:03:33 +0800
commit46e1b63ca2310b6a3465c271afecc01d2ee72343 (patch)
treee75e1bebe41aaa1194609749e82a48cc048cf5aa /src
parentba43aa5a434eab9e68a73af667b4c4441b50db61 (diff)
downloadgsoc2013-empathy-46e1b63ca2310b6a3465c271afecc01d2ee72343.tar
gsoc2013-empathy-46e1b63ca2310b6a3465c271afecc01d2ee72343.tar.gz
gsoc2013-empathy-46e1b63ca2310b6a3465c271afecc01d2ee72343.tar.bz2
gsoc2013-empathy-46e1b63ca2310b6a3465c271afecc01d2ee72343.tar.lz
gsoc2013-empathy-46e1b63ca2310b6a3465c271afecc01d2ee72343.tar.xz
gsoc2013-empathy-46e1b63ca2310b6a3465c271afecc01d2ee72343.tar.zst
gsoc2013-empathy-46e1b63ca2310b6a3465c271afecc01d2ee72343.zip
Don't hardcode size of the accounts dialog and use ellipsization (#520972)
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c1
-rw-r--r--src/empathy-accounts-dialog.ui6
2 files changed, 3 insertions, 4 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 4e2f4392a..4cf391108 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -417,6 +417,7 @@ accounts_dialog_model_add_columns (EmpathyAccountsDialog *dialog)
cell = gtk_cell_renderer_text_new ();
g_object_set (cell,
"ellipsize", PANGO_ELLIPSIZE_END,
+ "width-chars", 25,
"editable", TRUE,
NULL);
gtk_tree_view_column_pack_start (column, cell, TRUE);
diff --git a/src/empathy-accounts-dialog.ui b/src/empathy-accounts-dialog.ui
index 7f17f82ce..cf1b23ef4 100644
--- a/src/empathy-accounts-dialog.ui
+++ b/src/empathy-accounts-dialog.ui
@@ -23,15 +23,14 @@
<property name="spacing">6</property>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow17">
+ <property name="height_request">200</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="hscrollbar_policy">automatic</property>
+ <property name="hscrollbar_policy">never</property>
<property name="vscrollbar_policy">automatic</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkTreeView" id="treeview">
- <property name="width_request">250</property>
- <property name="height_request">200</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="enable_search">False</property>
@@ -143,7 +142,6 @@
</child>
<child>
<object class="GtkVBox" id="vbox214">
- <property name="width_request">415</property>
<property name="visible">True</property>
<property name="spacing">18</property>
<child>