[Xfce4-commits] [xfce/xfce4-session] 01/01: Add column headers to autostart list

noreply at xfce.org noreply at xfce.org
Sat Apr 27 00:53:09 CEST 2019


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-session.

commit ffcf805b387ccc017b23c945dde02e3fe4dc5ea9
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sat Apr 27 00:53:02 2019 +0200

    Add column headers to autostart list
---
 settings/xfae-window.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/settings/xfae-window.c b/settings/xfae-window.c
index 88ce845..b3320fd 100644
--- a/settings/xfae-window.c
+++ b/settings/xfae-window.c
@@ -170,6 +170,7 @@ xfae_window_init (XfaeWindow *window)
 
   model = xfae_model_new ();
   gtk_tree_view_set_model (GTK_TREE_VIEW (window->treeview), model);
+  gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (window->treeview), TRUE);
   gtk_tree_view_set_tooltip_column (GTK_TREE_VIEW (window->treeview), XFAE_MODEL_COLUMN_TOOLTIP);
   g_object_unref (G_OBJECT (model));
 
@@ -193,6 +194,7 @@ xfae_window_init (XfaeWindow *window)
                          "reorderable", FALSE,
                          "resizable", FALSE,
                          NULL);
+  gtk_tree_view_column_set_title (column, _("Trigger"));
   renderer = gtk_cell_renderer_combo_new ();
   model = xfae_window_create_run_hooks_combo_model ();
   g_object_set (renderer,
@@ -214,6 +216,7 @@ xfae_window_init (XfaeWindow *window)
                          "reorderable", FALSE,
                          "resizable", FALSE,
                          NULL);
+  gtk_tree_view_column_set_title (column, _("Program"));
   renderer = gtk_cell_renderer_pixbuf_new ();
   gtk_tree_view_column_pack_start (column, renderer, FALSE);
   gtk_tree_view_column_set_attributes (column, renderer,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list