Quote:
Originally Posted by ondoho
funny you should say that; only yesterday i was once more annoyed by github's habit to round times always up.
so, everything that's more than 2 years, is 3 years.
it's like they want developer's softwares to look outdated. to force all the little hamsters to run faster, faster! turn the wheel!
ah well, sorry for the rant.
|
I am not working in github
But 7 rounds correctly to 10.
Quote:
Originally Posted by ondoho
this doesn't make a lot of sense to me; planner uses gtk2, which is an almost completely separate toolkit from gtk3, and rarely receives any updates anymore.
I hope you succeed trying to work things out with the current developers.
but even if you got your fix through, it would probably take a long while to get that into debian & ubuntu repos - maybe you should fork instead - it could always be merged back at some point.
|
From latest 0.14.6 planner sources in planner-main.c:
64:
>.. /* Initialize GTK+ program */
>..if (!gtk_init_with_args (&argc, &argv,
>.. _("- Planner project management"),
>.. options,
>.. GETTEXT_PACKAGE,
>.. &error)) {
>..>..g_printerr (_("%s\nRun '%s --help' to see a full list of available command line options.\n"),
>..>.. error->message, argv[0]);
>..>..g_error_free (error);
>..>..return 1;
>..}
97:
>..if (argc > 1) {
>..>..i = 1;
>..>..while (argv[i]) {
>..>..>..if (g_str_has_prefix (argv[i], "file:")) {
>..>..>..>..planner_window_open_in_existing_or_new (
>..>..>..>..>..PLANNER_WINDOW (main_window), argv[i], FALSE);
>..>..>..} else {
>..>..>..>..gchar *uri;
>..>..>..>..if (!g_path_is_absolute (argv[i])) {
>..>..>..>..>../* Relative path. */
>..>..>..>..>..gchar *cwd, *tmp;
>..>..>..>..>..cwd = g_get_current_dir ();
>..>..>..>..>..tmp = g_build_filename (cwd, argv[i], NULL);
>..>..>..>..>..uri = g_filename_to_uri (tmp, NULL, NULL);
>..>..>..>..>..g_free (tmp);
>..>..>..>..>..g_free (cwd);
>..>..>..>..} else {
>..>..>..>..>..uri = g_filename_to_uri (argv[i], NULL, NULL);
>..>..>..>..}
>..>..>..>..if (uri) {
>..>..>..>..>..planner_window_open_in_existing_or_new (
>..>..>..>..>..>..PLANNER_WINDOW (main_window), uri, FALSE);
>..>..>..>..>..g_free (uri);
>..>..>..>..}
>..>..>..}
>..>..>..i++;
>..>..}
>..}
The code in line 97 will never work, since gtk_init_with_args
processes args and returns argc = 0.
So double-clicking a planner file, won't work
This works in distros, so i assume *some* maintenance is done.
This is painful to have existed from the start, through so many updates,
so i assume that gtk_init_with_args at some point changed its behaviour
The author, Brian, has not replied from last week.
I'm doing it for myself. I do not intend to become planner's maintainer,
so I will not hold my breath getting my patches to distros