mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-11-04 23:34:39 +00:00
Use new set_application_info
This commit is contained in:
parent
24f383e32f
commit
66561fef12
1 changed files with 2 additions and 2 deletions
|
@ -323,7 +323,7 @@ namespace Gitg
|
|||
var app_name = Environment.get_application_name();
|
||||
var app_exec = string.join(" ", Environment.get_prgname(), "%f");
|
||||
|
||||
try { d_bookmark_file.set_app_info(uri, app_name, app_exec, 1, -1); } catch {}
|
||||
try { d_bookmark_file.set_application_info(uri, app_name, app_exec, 1, new GLib.DateTime.now()); } catch {}
|
||||
}
|
||||
|
||||
save_repository_bookmarks_timeout();
|
||||
|
@ -502,7 +502,7 @@ namespace Gitg
|
|||
var app_name = Environment.get_application_name();
|
||||
var app_exec = string.join(" ", Environment.get_prgname(), "%f");
|
||||
|
||||
try { d_bookmark_file.set_app_info(uri, app_name, app_exec, 1, -1); } catch {}
|
||||
try { d_bookmark_file.set_application_info(uri, app_name, app_exec, 1, new GLib.DateTime.now()); } catch {}
|
||||
|
||||
save_repository_bookmarks_timeout();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue