search for: gtkwidget

Displaying 20 results from an estimated 99 matches for "gtkwidget".

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
...y default ? static GSList *vmlist = NULL; /* internal.h shared constructs */ -const char* hostname; +const char *hostname, *username, *password; +const char* selected_vm_name; struct vm* vm_in_focus; int ovirt_server_vnc_port = 5900; @@ -82,10 +83,14 @@ static void start_ui (void); static GtkWidget *menu_item_new (int which_menu); static void refresh_menu_vm_list (GtkWidget *, gpointer); static void connect_to_wui_on_enter (GtkWidget *, gpointer); -static void connect_to_wui (GtkWidget *, gpointer); +static void connect_to_wui_via_widget (GtkWidget *, gpointer); +static void connect_to_wui...
2015 May 05
3
[PATCH 0/2] p2v: Warn if vcpus or memory would be larger than supported by RHEL (RHBZ#823758).
https://bugzilla.redhat.com/show_bug.cgi?id=823758
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 |
2015 May 05
1
Re: [PATCH 1/2] p2v: Factor out code for parsing vcpus & memory from conversion dialog.
...gt; 1 file changed, 30 insertions(+), 12 deletions(-) > > diff --git a/p2v/gui.c b/p2v/gui.c > index 7e9de0d..bc762c2 100644 > --- a/p2v/gui.c > +++ b/p2v/gui.c > @@ -375,6 +375,8 @@ static void set_interfaces_from_ui (struct config *); > static void conversion_back_clicked (GtkWidget *w, gpointer data); > static void start_conversion_clicked (GtkWidget *w, gpointer data); > static void notify_ui_callback (int type, const char *data); > +static int get_vcpus_from_conv_dlg (void); > +static uint64_t get_memory_from_conv_dlg (void); > > enum { > DISKS_...
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
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
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...doc/swfdec-docs.sgml index 432547b..e5b1d71 100644 --- a/doc/swfdec-docs.sgml +++ b/doc/swfdec-docs.sgml @@ -8,6 +8,7 @@ <chapter> <title>Swfdec Gtk library</title> + <xi:include href="xml/SwfdecGtkPlayer.xml"/> <xi:include href="xml/SwfdecGtkWidget.xml"/> </chapter> <chapter> diff --git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt index 942f73c..f33b594 100644 --- a/doc/swfdec-sections.txt +++ b/doc/swfdec-sections.txt @@ -108,6 +108,29 @@ swfdec_mouse_cursor_get_type <SECTION> +<FILE>SwfdecGt...
2007 Aug 09
0
Branch 'vivi' - 6 commits - configure.ac vivified/core vivified/dock vivified/Makefile.am vivified/ui
...n not implement this? diff --git a/vivified/dock/vivi_docklet.c b/vivified/dock/vivi_docklet.c index 42c8aa2..f6bc015 100644 --- a/vivified/dock/vivi_docklet.c +++ b/vivified/dock/vivi_docklet.c @@ -81,9 +81,34 @@ vivi_docklet_dispose (GObject *object) } static void +vivi_docklet_size_request (GtkWidget *widget, GtkRequisition *req) +{ + GtkWidget *child = GTK_BIN (widget)->child; + + if (child) { + gtk_widget_size_request (child, req); + } else { + req->width = req->height = 0; + } +} + +static void +vivi_docklet_size_allocate (GtkWidget *widget, GtkAllocation *allocation) +{...
2018 Nov 05
0
[PATCH 2/2] p2v: add a Shutdown action (RHBZ#1642044)
.../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, NULL, NULL...
2018 Nov 06
0
[PATCH v2 2/2] p2v: add a Shutdown action (RHBZ#1642044)
.../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, NULL, NULL...
2017 Sep 22
3
gtk3 update causing havoc
On my lab systems, the automatic updates were failing because of the problems with ipod libraries from EPEL being in the way. It turns out that was a good thing, because when I "fixed" it, a massive set of packages was updated, including the new gtk3. These packages are the ones causing problems, I think. gtk3-3.22.10-4.el7.x86_64 gtk3-devel-3.22.10-4.el7.x86_64 In the release notes,
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...quot;swfdec_debug_script.h" -#include "swfdec_debug_scripts.h" -#include "swfdec_debug_stack.h" -#include "swfdec_debug_widget.h" -#include "swfdec_player_manager.h" -#ifdef CAIRO_HAS_SVG_SURFACE -#include <cairo-svg.h> - -static void -save_to_svg (GtkWidget *button, SwfdecPlayer *player) -{ - GtkWidget *dialog = gtk_file_chooser_dialog_new ("Save current frame as", - GTK_WINDOW (gtk_widget_get_toplevel (button)), GTK_FILE_CHOOSER_ACTION_SAVE, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NUL...
2015 May 05
0
[PATCH 1/2] p2v: Factor out code for parsing vcpus & memory from conversion dialog.
...++++++++++++++++++++++++++------------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/p2v/gui.c b/p2v/gui.c index 7e9de0d..bc762c2 100644 --- a/p2v/gui.c +++ b/p2v/gui.c @@ -375,6 +375,8 @@ static void set_interfaces_from_ui (struct config *); static void conversion_back_clicked (GtkWidget *w, gpointer data); static void start_conversion_clicked (GtkWidget *w, gpointer data); static void notify_ui_callback (int type, const char *data); +static int get_vcpus_from_conv_dlg (void); +static uint64_t get_memory_from_conv_dlg (void); enum { DISKS_COL_CONVERT = 0, @@ -1051,6 +1053,3...
2007 Oct 21
0
2 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_widget.c
...only handle keys if there's a player to handle them diff --git a/libswfdec-gtk/swfdec_gtk_widget.c b/libswfdec-gtk/swfdec_gtk_widget.c index a3dbd65..895d5a3 100644 --- a/libswfdec-gtk/swfdec_gtk_widget.c +++ b/libswfdec-gtk/swfdec_gtk_widget.c @@ -160,7 +160,7 @@ swfdec_gtk_widget_key_press (GtkWidget *gtkwidget, GdkEventKey *event) SwfdecGtkWidget *widget = SWFDEC_GTK_WIDGET (gtkwidget); SwfdecGtkWidgetPrivate *priv = widget->priv; - if (priv->interactive) { + if (priv->interactive && priv->player) { guint keycode = swfdec_gtk_event_to_keycode (event); if...
2015 May 06
3
[PATCH 0/3] p2v: Add Configure Network button (RHBZ#1167921).
https://bugzilla.redhat.com/show_bug.cgi?id=1167921
2007 Aug 08
0
5 commits - libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am libswfdec/swfdec_script.h player/Makefile.am test/Makefile.am
...or player == NULL diff --git a/libswfdec-gtk/swfdec_gtk_widget.c b/libswfdec-gtk/swfdec_gtk_widget.c index f73e1c7..61cffca 100644 --- a/libswfdec-gtk/swfdec_gtk_widget.c +++ b/libswfdec-gtk/swfdec_gtk_widget.c @@ -80,7 +80,7 @@ swfdec_gtk_widget_motion_notify (GtkWidg gdk_window_get_pointer (gtkwidget->window, &x, &y, NULL); - if (priv->interactive) + if (priv->interactive && priv->player) swfdec_player_handle_mouse (priv->player, x, y, priv->button); return FALSE; @@ -92,7 +92,7 @@ swfdec_gtk_widget_leave_notify (GtkWidge SwfdecGtkWidget *wid...
2004 Sep 10
0
http streaming in the xmms plugin
...* proxy_user */ + "", /* proxy_pass */ + FALSE, /* save_http_stream */ + "", /* save_http_path */ + FALSE, /* cast_title_streaming */ + FALSE /* use_udp_channel */ + }, /* output */ { /* replaygain */ *************** *** 95,100 **** --- 110,127 ---- static GtkWidget *resolution_replaygain_bps_out_radio_16bps; static GtkWidget *resolution_replaygain_bps_out_radio_24bps; + static GtkObject *streaming_size_adj, *streaming_pre_adj; + static GtkWidget *streaming_proxy_use, *streaming_proxy_host_entry; + static GtkWidget *streaming_proxy_port_entry, *streaming_...
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
...message, -1, tag_names[type], NULL); + gtk_text_view_scroll_to_mark (view, mark, 0.0, TRUE, 0.0, 0.0); +} + +void +vivi_command_line_application_unset (ViviViviDocklet *docklet, ViviApplication *app); +void +vivi_command_line_application_unset (ViviViviDocklet *docklet, ViviApplication *app) +{ + GtkWidget *view = vivi_vivi_docklet_find_widget_by_type (docklet, GTK_TYPE_TEXT_VIEW); + + g_signal_handlers_disconnect_by_func (app, vivi_command_line_append_message, view); +} + +void +vivi_command_line_application_set (ViviViviDocklet *docklet, ViviApplication *app); +void +vivi_command_line_application_...
2004 Sep 10
2
xmms plugin, fileinfo
...samples * 10 / (streaminfo.data.stream_info.sample_rate / 100); - - return TRUE; -} +#include "FLAC/metadata.h" +#include "charset.h" +#include "configure.h" +#include "plugin_common/canonical_tag.h" +#include "plugin_common/locale_hack.h" static GtkWidget *window = NULL; +static GList *genre_list = NULL; static GtkWidget *filename_entry, *id3_frame; static GtkWidget *title_entry, *artist_entry, *album_entry, *year_entry, *tracknum_entry, *comment_entry; static GtkWidget *genre_combo; -static GtkWidget *flac_level, *flac_bitrate, *flac_samplerate,...