diff options
Diffstat (limited to 'src/plugins/daemon/daemon.c')
-rw-r--r-- | src/plugins/daemon/daemon.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/plugins/daemon/daemon.c b/src/plugins/daemon/daemon.c index 91325f8c..1b84ce89 100644 --- a/src/plugins/daemon/daemon.c +++ b/src/plugins/daemon/daemon.c | |||
@@ -218,6 +218,7 @@ void init_daemon() { | |||
218 | GtkWidget * apps; | 218 | GtkWidget * apps; |
219 | GtkListStore * model; | 219 | GtkListStore * model; |
220 | GtkCellRenderer * renderer; | 220 | GtkCellRenderer * renderer; |
221 | int col; | ||
221 | 222 | ||
222 | apps | 223 | apps |
223 | = glade_xml_get_widget(getMainXML(), | 224 | = glade_xml_get_widget(getMainXML(), |
@@ -226,19 +227,25 @@ void init_daemon() { | |||
226 | gtk_tree_view_set_model(GTK_TREE_VIEW(apps), | 227 | gtk_tree_view_set_model(GTK_TREE_VIEW(apps), |
227 | GTK_TREE_MODEL(model)); | 228 | GTK_TREE_MODEL(model)); |
228 | renderer = gtk_cell_renderer_text_new(); | 229 | renderer = gtk_cell_renderer_text_new(); |
229 | gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(apps), | 230 | col = gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(apps), |
230 | -1, | 231 | -1, |
231 | _("Application"), | 232 | _("Application"), |
232 | renderer, | 233 | renderer, |
233 | "text", 0, | 234 | "text", 0, |
234 | NULL); | 235 | NULL); |
236 | gtk_tree_view_column_set_resizable(gtk_tree_view_get_column(GTK_TREE_VIEW(apps), | ||
237 | col - 1), | ||
238 | TRUE); | ||
235 | renderer = gtk_cell_renderer_text_new(); | 239 | renderer = gtk_cell_renderer_text_new(); |
236 | gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(apps), | 240 | col = gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(apps), |
237 | -1, | 241 | -1, |
238 | _("Description"), | 242 | _("Description"), |
239 | renderer, | 243 | renderer, |
240 | "text", 1, | 244 | "text", 1, |
241 | NULL); | 245 | NULL); |
246 | gtk_tree_view_column_set_resizable(gtk_tree_view_get_column(GTK_TREE_VIEW(apps), | ||
247 | col - 1), | ||
248 | TRUE); | ||
242 | 249 | ||
243 | updateAppModelSafe(NULL); | 250 | updateAppModelSafe(NULL); |
244 | tab | 251 | tab |