Fix storage of external editor icons
De-serialize and serialize icons instead of using their names.
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
explicit EditorInfo(
|
||||
Glib::ustring name = Glib::ustring(),
|
||||
Glib::ustring command = Glib::ustring(),
|
||||
Glib::ustring icon_name = Glib::ustring(),
|
||||
Glib::ustring icon_serialized = Glib::ustring(),
|
||||
void *other_data = nullptr
|
||||
);
|
||||
/**
|
||||
@@ -49,9 +49,9 @@ public:
|
||||
*/
|
||||
Glib::ustring name;
|
||||
/**
|
||||
* The string representation of the icon. See Gio::Icon::to_string().
|
||||
* The string representation of the icon. See Gio::Icon::serialize().
|
||||
*/
|
||||
Glib::ustring icon_name;
|
||||
Glib::ustring icon_serialized;
|
||||
/**
|
||||
* The commandline for running the program. See
|
||||
* Gio::AppInfo::get_commandline()
|
||||
|
Reference in New Issue
Block a user