all repos — tint2 @ 721ed289ba1c019e58678d8a337046a9d16e8063

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

panel switcher : sorted by name

git-svn-id: http://tint2.googlecode.com/svn/trunk@444 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
thilor77 thilor77@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
commit

721ed289ba1c019e58678d8a337046a9d16e8063

parent

46168f672750f168ceaf387895ca56bd48f3e470

1 files changed, 6 insertions(+), 3 deletions(-)

jump to
M src/tint2conf/theme_view.csrc/tint2conf/theme_view.c

@@ -15,9 +15,9 @@

GtkWidget *create_view() { - GtkTreeViewColumn *col; - GtkCellRenderer *renderer; - GtkWidget *view; + GtkTreeViewColumn *col; + GtkCellRenderer *renderer; + GtkWidget *view; g_store = gtk_list_store_new(NB_COL, G_TYPE_STRING, GDK_TYPE_PIXBUF);

@@ -46,6 +46,9 @@ gtk_tree_view_column_pack_start(col, g_renderer, TRUE);

gtk_tree_view_column_add_attribute(col, g_renderer, "pixbuf", COL_SNAPSHOT); gtk_tree_view_append_column(GTK_TREE_VIEW(view),col); + GtkTreeSortable *sortable; + sortable = GTK_TREE_SORTABLE(g_store); + gtk_tree_sortable_set_sort_column_id(sortable, COL_THEME_FILE, GTK_SORT_ASCENDING); return view; }