search for: g_action

Displaying 5 results from an estimated 5 matches for "g_action".

2018 Nov 06
3
[PATCH v2 0/2] p2v: add Shutdown option
This small series for p2v refactors the Reboot menu of the conversion dialog into something slightly more general, and add the possibility to shut the machine down. Lots of work to deal with old GTK versions ... Changes from v1: - fix shutdown command Pino Toscano (2): p2v: turn Reboot button into a Shutdown popup menu button p2v: add a Shutdown action (RHBZ#1642044) p2v/gui.c |
2018 Nov 05
4
[PATCH 0/2] p2v: add Shutdown option
This small series for p2v refactors the Reboot menu of the conversion dialog into something slightly more general, and add the possibility to shut the machine down. Lots of work to deal with old GTK versions ... Pino Toscano (2): p2v: turn Reboot button into a Shutdown popup menu button p2v: add a Shutdown action (RHBZ#1642044) p2v/gui.c | 119
2018 Nov 05
0
[PATCH 2/2] p2v: add a Shutdown action (RHBZ#1642044)
...icked), NULL); g_signal_connect (G_OBJECT (reboot_menu_item), "activate", G_CALLBACK (reboot_clicked), NULL); #endif @@ -2255,7 +2264,9 @@ static void activate_action (GSimpleAction *action, GVariant *parameter, gpointer user_data) { const char *action_name = g_action_get_name (G_ACTION (action)); - if (STREQ (action_name, "reboot")) + if (STREQ (action_name, "shutdown")) + shutdown_clicked (NULL, user_data); + else if (STREQ (action_name, "reboot")) reboot_clicked (NULL, user_data); } #else @@ -2269,6 +2280,17 @@ shutd...
2018 Nov 06
0
[PATCH v2 2/2] p2v: add a Shutdown action (RHBZ#1642044)
...icked), NULL); g_signal_connect (G_OBJECT (reboot_menu_item), "activate", G_CALLBACK (reboot_clicked), NULL); #endif @@ -2255,7 +2264,9 @@ static void activate_action (GSimpleAction *action, GVariant *parameter, gpointer user_data) { const char *action_name = g_action_get_name (G_ACTION (action)); - if (STREQ (action_name, "reboot")) + if (STREQ (action_name, "shutdown")) + shutdown_clicked (NULL, user_data); + else if (STREQ (action_name, "reboot")) reboot_clicked (NULL, user_data); } #else @@ -2269,6 +2280,17 @@ shutd...
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am