search for: delete_event

Displaying 15 results from an estimated 15 matches for "delete_event".

2011 Mar 27
1
gtk, RGtk2 and error in callback: delet_event in mai window
...<- textConnection(' + <?xml version="1.0"?> + <interface> + <requires lib="gtk+" version="2.16"/> + <!-- interface-naming-policy project-wide --> + <object class="GtkWindow" id="window1"> + <signal name="delete_event" handler="window1_delete_event"/> + <child> + <placeholder/> + </child> + </object> + </interface> + ') > glade_file <- readLines( tmp ) > close( tmp ); rm( tmp ) > > sink( file='glade_file.txt') > cat( glade_file )...
2006 Nov 04
8
alternatives to script/runner?
I''ve been using script/runner to add and delete files from the database in response to inotify events. This works in theory, but is too slow to keep up with a large number of events in succession; I''m suspecting that the bottleneck is that script/runner has a huge startup cost. One thing I thought of was to queue inotify events, and call script/runner once a minute to clear the
2007 Aug 16
1
Branch 'vivi' - vivified/ui
...d5cb1aebc04764e9ed66856a31c9b) Author: Benjamin Otte <otte at gnome.org> Date: Thu Aug 16 21:42:39 2007 +0200 Set the title correctly diff --git a/vivified/ui/main.c b/vivified/ui/main.c index df123a9..13d03ab 100644 --- a/vivified/ui/main.c +++ b/vivified/ui/main.c @@ -48,6 +48,16 @@ delete_event (GtkWidget *widget, GdkEven } static void +set_title (ViviApplication *app, GParamSpec *pspec, GtkWindow *window) +{ + const char *filename = vivi_application_get_filename (app); + + if (filename == NULL) + filename = "Vivified"; + gtk_window_set_title (window, filename); +} + +...
2011 Dec 14
3
Proposed changes for OpenStack
[These two patches are for discussion only] Allow FUSE support to be used directly through the API. This is the second commit. In order to make this usable from guestfish, we have to also bind the events API in guestfish. This is the first commit. Rich.
2009 Jul 23
1
viewer updates for fedora submission
This patchset provides updates to the viewer in preperation for its fedora submission. Included are patches cmd-line parameterizing hostname/user/pass/vm, the addition of a man page, cleanup of the project's structure, and updates to the spec.
2009 Jul 13
0
[PATCH viewer] permit hostname / username / password / vm to be passed in via the cmd line
...in_to_wui_on_enter (GtkWidget *, gpointer); -static void login_to_wui (GtkWidget *, gpointer); +static void login_to_wui_via_widget (GtkWidget *, gpointer); +static void login_to_wui (); +static void connect_to_vm_name (const char* vm_name); +static void connect_to_vm (struct vm*); static gboolean delete_event (GtkWidget *widget, GdkEvent *event, gpointer data); static void destroy (GtkWidget *widget, gpointer data); static void clear_connectmenu (void); @@ -201,12 +206,20 @@ static const char *help_msg = "Use '" PACKAGE " --help' to see a list of available command line option...
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
2007 Aug 21
0
Branch 'vivi' - 10 commits - libswfdec/swfdec_button_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c vivified/core vivified/dock vivified/ui
...+ gtk_paned_add1 (GTK_PANED (paned), box); + widget = GTK_WIDGET (gtk_builder_get_object (builder, "movies")); + g_object_set (widget, "application", app, NULL); + vivi_vdock_add (VIVI_VDOCK (box), widget); + g_signal_connect (window, "delete-event", G_CALLBACK (delete_event), app); g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), app); gtk_widget_show_all (window); diff --git a/vivified/ui/vivi_movies.c b/vivified/ui/vivi_movies.c new file mode 100644 index 0000000..a4c8e37 --- /dev/null +++ b/vivified/ui/vivi_movies.c @@ -0,0 +1,40 @@...
2007 Aug 16
0
Branch 'vivi' - 23 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_sprite_movie.c test/trace vivified/core
...#endif diff --git a/vivified/ui/main.c b/vivified/ui/main.c index 399483f..3f96021 100644 --- a/vivified/ui/main.c +++ b/vivified/ui/main.c @@ -37,6 +37,16 @@ try_grab_focus (GtkWidget *widget, gpoin gtk_container_foreach (GTK_CONTAINER (widget), try_grab_focus, NULL); } +static gboolean +delete_event (GtkWidget *widget, GdkEvent *event, ViviApplication *app) +{ + if (!vivi_application_is_quit (app)) { + vivi_application_quit (app); + return TRUE; + } + return FALSE; +} + static void setup (const char *filename) { @@ -46,15 +56,17 @@ setup (const char *filename) app = vivi_applica...
2007 Aug 16
0
Branch 'vivi' - 18 commits - configure.ac doc/swfdec-sections.txt libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_types.h libswfdec/swfdec_player.c vivified/core vivified/ui
...app); gboolean vivi_application_get_interrupted(ViviApplication * app); gboolean vivi_application_is_quit (ViviApplication * app); diff --git a/vivified/ui/main.c b/vivified/ui/main.c index 3f96021..df123a9 100644 --- a/vivified/ui/main.c +++ b/vivified/ui/main.c @@ -48,13 +48,14 @@ delete_event (GtkWidget *widget, GdkEven } static void -setup (const char *filename) +setup (const char *filename, const char *variables) { GtkWidget *window, *box, *widget; ViviApplication *app; app = vivi_application_new (); vivi_application_set_filename (app, filename); + vivi_application...
2007 Aug 21
0
Branch 'vivi' - 15 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_types.h vivified/core vivified/ui
...et, "application", app, NULL); vivi_vdock_add (VIVI_VDOCK (box), widget); widget = vivi_command_line_new (app); vivi_vdock_add (VIVI_VDOCK (box), widget); @@ -82,6 +90,7 @@ setup (const char *filename, const char g_signal_connect (window, "delete-event", G_CALLBACK (delete_event), app); g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), app); gtk_widget_show_all (window); + g_object_unref (builder); } int diff --git a/vivified/ui/vivi_player.c b/vivified/ui/vivi_player.c index 4732d68..876eb77 100644 --- a/vivified/ui/vivi_player.c +++ b/...
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...+ gtk_paned_add1 (GTK_PANED (paned), box); + widget = GTK_WIDGET (gtk_builder_get_object (builder, "movies")); + g_object_set (widget, "application", app, NULL); + vivi_vdock_add (VIVI_VDOCK (box), widget); + g_signal_connect (window, "delete-event", G_CALLBACK (delete_event), app); g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), app); gtk_widget_show_all (window); diff --git a/vivified/ui/vivi_movies.c b/vivified/ui/vivi_movies.c new file mode 100644 index 0000000..a4c8e37 --- /dev/null +++ b/vivified/ui/vivi_movies.c @@ -0,0 +1,40 @@...
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
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files. Rich.