Tue, 02 Aug 2022 00:31:17 -0500
Fix iconaway plugin on GTK4
Also change user-visible text to say "minimize" instead of "iconify", as the latter is some pretty X-specific terminology.
Testing Done:
Compiled `iconaway.c` only.
Reviewed at https://reviews.imfreedom.org/r/1567/
| pidgin/plugins/iconaway.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/plugins/iconaway.c Thu Jul 21 20:47:58 2022 -0500 +++ b/pidgin/plugins/iconaway.c Tue Aug 02 00:31:17 2022 -0500 @@ -43,7 +43,7 @@ application = g_application_get_default(); windows = gtk_application_get_windows(GTK_APPLICATION(application)); - g_list_foreach(windows, (GFunc)gtk_window_iconify, NULL); + g_list_foreach(windows, (GFunc)gtk_window_minimize, NULL); } /* @@ -60,12 +60,12 @@ return pidgin_plugin_info_new( "id", ICONAWAY_PLUGIN_ID, - "name", N_("Iconify on Away"), + "name", N_("Minimize on Away"), "version", DISPLAY_VERSION, "category", N_("User interface"), - "summary", N_("Iconifies the buddy list and your conversations " + "summary", N_("Minimizes the buddy list and your conversations " "when you go away."), - "description", N_("Iconifies the buddy list and your conversations " + "description", N_("Minimizes the buddy list and your conversations " "when you go away."), "authors", authors, "website", PURPLE_WEBSITE, @@ -89,4 +89,4 @@ return TRUE; } -GPLUGIN_NATIVE_PLUGIN_DECLARE(icon_away) \ No newline at end of file +GPLUGIN_NATIVE_PLUGIN_DECLARE(icon_away)