LarsGit223 commented on this pull request.


> +     icon = g_icon_new_for_string("workbench-bookmark", NULL);
+       for (index = 0 ; index < max ; index++)
+       {
+               gchar *file, *name;
+
+               file = wb_project_get_bookmark_at_index(project, index);
+               name = get_any_relative_path(wb_project_get_filename(project), 
file);
+               gtk_tree_store_insert_with_values(sidebar.file_store, &iter, 
parent, *position,
+                       FILEVIEW_COLUMN_ICON, icon,
+                       FILEVIEW_COLUMN_NAME, name,
+                       FILEVIEW_COLUMN_DATA_ID, DATA_ID_PRJ_BOOKMARK,
+                       FILEVIEW_COLUMN_ASSIGNED_DATA_POINTER, file,
+                       -1);
+               (*position)++;
+       }
+       g_object_unref(icon);

Done.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/598#discussion_r134087184

Reply via email to