search for: gtk_widget_set_sensit

Displaying 14 results from an estimated 14 matches for "gtk_widget_set_sensit".

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
2016 May 30
2
[PATCH 0/2] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
... and a small initial patch which makes it easier to test virt-p2v without having to start up a virtual machine. There is still a bug in Gtk 3 where the GtkTextView on the final (running) dialog ignores gtk_widget_set_size_request and so the window appears just a single pixel high. Rich.
2016 May 30
4
[PATCH v2 0/3] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
This is basically the same as what I posted earlier today. The main difference is I split out the GDK thread sychronization (removal of) changes from the other Gtk 2/3 changes, which should make it a bit easier to review. Gtk 3 is still not quite perfect. Apart from the problem with the GtkTextView noted before, there are also vertical alignment and padding problems with labels in GtkGrid
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
2015 May 05
1
Re: [PATCH 1/2] p2v: Factor out code for parsing vcpus & memory from conversion dialog.
...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,32 @@ conversion_back_clicked (GtkWidget *w, gpointer data) > gtk_widget_set_sensitive (next_button, FALSE); > } > > +static int > +get_vcpus_from_conv_dlg (void) > +{ > + const char *str; > + int i; > + > + str = gtk_entry_get_text (GTK_ENTRY (vcpus_entry)); > + if (sscanf (str, "%d", &i) == 1 && i > 0) > + retur...
2004 Sep 10
0
http streaming in the xmms plugin
...use_cb(GtkWidget * w, gpointer data) + { + gboolean use_proxy, use_proxy_auth; + (void) w; + (void) data; + + use_proxy = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(streaming_proxy_use)); + use_proxy_auth = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(streaming_proxy_auth_use)); + + gtk_widget_set_sensitive(streaming_proxy_hbox, use_proxy); + gtk_widget_set_sensitive(streaming_proxy_auth_use, use_proxy); + gtk_widget_set_sensitive(streaming_proxy_auth_hbox, use_proxy && use_proxy_auth); + } + + static void proxy_auth_use_cb(GtkWidget *w, gpointer data) + { + gboolean use_proxy, use_prox...
2015 May 05
0
[PATCH 1/2] p2v: Factor out code for parsing vcpus & memory from conversion dialog.
...kWidget *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,32 @@ conversion_back_clicked (GtkWidget *w, gpointer data) gtk_widget_set_sensitive (next_button, FALSE); } +static int +get_vcpus_from_conv_dlg (void) +{ + const char *str; + int i; + + str = gtk_entry_get_text (GTK_ENTRY (vcpus_entry)); + if (sscanf (str, "%d", &i) == 1 && i > 0) + return i; + else + return 1; +} + +static uint64_t +get_...
2016 Sep 26
1
[PATCH] p2v: add mnemonics to labels and buttons (RHBZ#1379289)
...), 1, - _("Reboot"), 2, + _("_Cancel conversion ..."), 1, + _("_Reboot"), 2, NULL); cancel_button = gtk_dialog_get_widget_for_response (GTK_DIALOG (run_dlg), 1); gtk_widget_set_sensitive (cancel_button, FALSE); -- 2.7.4
2015 May 06
3
[PATCH 0/3] p2v: Add Configure Network button (RHBZ#1167921).
https://bugzilla.redhat.com/show_bug.cgi?id=1167921
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,
2004 Sep 10
2
xmms plugin, fileinfo
...BEL(flac_samplerate), ""); - gtk_label_set_text(GTK_LABEL(flac_flags), ""); - gtk_label_set_text(GTK_LABEL(flac_fileinfo), ""); - - if (!strncasecmp(filename, "http://", 7)) - { - file_info_http(filename); - return; - } + show_tag(); + show_file_info(); gtk_widget_set_sensitive(id3_frame, TRUE); - - label_set_text(flac_bitrate, _("Bits/Samples: %d"), tmp_file_info->bits_per_sample); - /* tmp_file_info->length_in_msec */ - - label_set_text(flac_samplerate, _("Samplerate: %ld Hz"), tmp_file_info->sample_rate); - label_set_text(flac_channel, _...
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
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
...get_destroy (dialog); -} -#endif /* CAIRO_HAS_SVG_SURFACE */ - -static void -step_clicked_cb (GtkButton *button, SwfdecPlayerManager *manager) -{ - swfdec_player_manager_iterate (manager); -} - -static void -step_disable_cb (SwfdecPlayerManager *manager, GParamSpec *pspec, GtkWidget *widget) -{ - gtk_widget_set_sensitive (widget, !swfdec_player_manager_get_interrupted (manager)); -} - -static void -select_scripts (GtkTreeSelection *select, SwfdecDebugScript *script) -{ - GtkTreeModel *model; - GtkTreeIter iter; - - if (gtk_tree_selection_get_selected (select, &model, &iter)) { - SwfdecDebuggerScrip...