search for: shutdown_clicked

Displaying 11 results from an estimated 11 matches for "shutdown_clicked".

2018 Nov 05
0
[PATCH 2/2] p2v: add a Shutdown action (RHBZ#1642044)
...-git a/p2v/gui.c b/p2v/gui.c index 10fb2939a..7aea4afd5 100644 --- a/p2v/gui.c +++ b/p2v/gui.c @@ -1615,11 +1615,13 @@ static void activate_action (GSimpleAction *action, GVariant *parameter, gpointe #else static void shutdown_button_clicked (GtkToolButton *w, gpointer data); #endif +static void shutdown_clicked (GtkWidget *w, gpointer data); static void reboot_clicked (GtkWidget *w, gpointer data); static gboolean close_running_dialog (GtkWidget *w, GdkEvent *event, gpointer data); #ifdef USE_POPOVERS static const GActionEntry shutdown_actions[] = { + { "shutdown", activate_action, NULL,...
2018 Nov 06
0
[PATCH v2 2/2] p2v: add a Shutdown action (RHBZ#1642044)
...-git a/p2v/gui.c b/p2v/gui.c index 10fb2939a..e78f1186c 100644 --- a/p2v/gui.c +++ b/p2v/gui.c @@ -1615,11 +1615,13 @@ static void activate_action (GSimpleAction *action, GVariant *parameter, gpointe #else static void shutdown_button_clicked (GtkToolButton *w, gpointer data); #endif +static void shutdown_clicked (GtkWidget *w, gpointer data); static void reboot_clicked (GtkWidget *w, gpointer data); static gboolean close_running_dialog (GtkWidget *w, GdkEvent *event, gpointer data); #ifdef USE_POPOVERS static const GActionEntry shutdown_actions[] = { + { "shutdown", activate_action, NULL,...
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 06
2
Re: [PATCH v2 2/2] p2v: add a Shutdown action (RHBZ#1642044)
On Tue, Nov 06, 2018 at 12:51:30PM +0100, Pino Toscano wrote: > +static void > +shutdown_clicked (GtkWidget *w, gpointer data) > +{ > + if (!is_iso_environment) > + return; > + > + sync (); > + sleep (2); > + ignore_value (system ("/sbin/shutdown now")); > +} I've tested this and it works but of course it doesn't in fact power off the machine....
2018 Nov 06
2
Re: [PATCH 2/2] p2v: add a Shutdown action (RHBZ#1642044)
On Mon, Nov 05, 2018 at 06:31:25PM +0100, Pino Toscano wrote: > +static void > +shutdown_clicked (GtkWidget *w, gpointer data) > +{ > + if (!is_iso_environment) > + return; > + > + sync (); > + sleep (2); > + ignore_value (system ("/sbin/shutdown")); > +} > + The shutdown button doesn't actually work[1]. I don't know why because /sbin/shutd...
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 06
1
Re: [PATCH v2 2/2] p2v: add a Shutdown action (RHBZ#1642044)
On Tue, Nov 06, 2018 at 04:06:35PM +0100, Pino Toscano wrote: > On Tuesday, 6 November 2018 14:07:51 CET Richard W.M. Jones wrote: > > On Tue, Nov 06, 2018 at 12:51:30PM +0100, Pino Toscano wrote: > > > +static void > > > +shutdown_clicked (GtkWidget *w, gpointer data) > > > +{ > > > + if (!is_iso_environment) > > > + return; > > > + > > > + sync (); > > > + sleep (2); > > > + ignore_value (system ("/sbin/shutdown now")); > > > +} > > >...
2018 Nov 06
0
Re: [PATCH 2/2] p2v: add a Shutdown action (RHBZ#1642044)
On Tue, Nov 06, 2018 at 10:09:19AM +0000, Richard W.M. Jones wrote: > On Mon, Nov 05, 2018 at 06:31:25PM +0100, Pino Toscano wrote: > > +static void > > +shutdown_clicked (GtkWidget *w, gpointer data) > > +{ > > + if (!is_iso_environment) > > + return; > > + > > + sync (); > > + sleep (2); > > + ignore_value (system ("/sbin/shutdown")); > > +} > > + > > The shutdown button doesn't actu...
2018 Nov 06
0
Re: [PATCH v2 2/2] p2v: add a Shutdown action (RHBZ#1642044)
On Tuesday, 6 November 2018 14:07:51 CET Richard W.M. Jones wrote: > On Tue, Nov 06, 2018 at 12:51:30PM +0100, Pino Toscano wrote: > > +static void > > +shutdown_clicked (GtkWidget *w, gpointer data) > > +{ > > + if (!is_iso_environment) > > + return; > > + > > + sync (); > > + sleep (2); > > + ignore_value (system ("/sbin/shutdown now")); > > +} > > I've tested this and it works but of cou...
2023 Jan 30
11
[p2v PATCH 00/11] Expose virt-v2v's "-oo"; re-enable openstack
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1792141 Let the user pass "-oo" options from the kernel cmdline and from the GUI to virt-v2v. This is primarily useful with the OpenStack output mode, so reenable that mode. Cc: Alban Lecorps <alban.lecorps at ubisoft.com> Laszlo Alban Lecorps (1): Introduce "p2v.output.misc" for passing "-oo" options
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