]> git.0d.be Git - empathy.git/commitdiff
Don't hardcode size of the accounts dialog and use ellipsization (#520972)
authorMatthias Clasen <mclasen@redhat.com>
Tue, 23 Jun 2009 10:16:33 +0000 (12:16 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Fri, 26 Jun 2009 10:03:33 +0000 (12:03 +0200)
src/empathy-accounts-dialog.c
src/empathy-accounts-dialog.ui

index 4e2f4392ad80b587e08d13119b1025c14e34c7bb..4cf39110875c0d0fa906ff660b4beadc6ae35075 100644 (file)
@@ -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);
index 7f17f82ce2571ae7dc17e4c388554a5cc99dd042..cf1b23ef4da20cd8f7230ee33bf4c51b84a49a29 100644 (file)
                 <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>
             </child>
             <child>
               <object class="GtkVBox" id="vbox214">
-                <property name="width_request">415</property>
                 <property name="visible">True</property>
                 <property name="spacing">18</property>
                 <child>