pidgin/plugins/iconaway.c

branch
gtk4
changeset 41558
2272781f531f
parent 41314
0dc72eacd8bf
equal deleted inserted replaced
41557:479fdb903b82 41558:2272781f531f
41 41
42 purple_blist_set_visible(FALSE); 42 purple_blist_set_visible(FALSE);
43 43
44 application = g_application_get_default(); 44 application = g_application_get_default();
45 windows = gtk_application_get_windows(GTK_APPLICATION(application)); 45 windows = gtk_application_get_windows(GTK_APPLICATION(application));
46 g_list_foreach(windows, (GFunc)gtk_window_iconify, NULL); 46 g_list_foreach(windows, (GFunc)gtk_window_minimize, NULL);
47 } 47 }
48 48
49 /* 49 /*
50 * EXPORTED FUNCTIONS 50 * EXPORTED FUNCTIONS
51 */ 51 */
58 NULL 58 NULL
59 }; 59 };
60 60
61 return pidgin_plugin_info_new( 61 return pidgin_plugin_info_new(
62 "id", ICONAWAY_PLUGIN_ID, 62 "id", ICONAWAY_PLUGIN_ID,
63 "name", N_("Iconify on Away"), 63 "name", N_("Minimize on Away"),
64 "version", DISPLAY_VERSION, 64 "version", DISPLAY_VERSION,
65 "category", N_("User interface"), 65 "category", N_("User interface"),
66 "summary", N_("Iconifies the buddy list and your conversations " 66 "summary", N_("Minimizes the buddy list and your conversations "
67 "when you go away."), 67 "when you go away."),
68 "description", N_("Iconifies the buddy list and your conversations " 68 "description", N_("Minimizes the buddy list and your conversations "
69 "when you go away."), 69 "when you go away."),
70 "authors", authors, 70 "authors", authors,
71 "website", PURPLE_WEBSITE, 71 "website", PURPLE_WEBSITE,
72 "abi-version", PURPLE_ABI_VERSION, 72 "abi-version", PURPLE_ABI_VERSION,
73 NULL 73 NULL

mercurial