Displaying 20 results from an estimated 20 matches for "gtk_label".
2016 Sep 26
1
[PATCH] p2v: add mnemonics to labels and buttons (RHBZ#1379289)
...1 file changed, 34 insertions(+), 22 deletions(-)
diff --git a/p2v/gui.c b/p2v/gui.c
index 36bb655..dee8b83 100644
--- a/p2v/gui.c
+++ b/p2v/gui.c
@@ -285,13 +285,14 @@ create_connection_dialog (struct config *config)
set_padding (intro, 10, 10);
table_new (table, 5, 2);
- server_label = gtk_label_new (_("Conversion server:"));
+ server_label = gtk_label_new_with_mnemonic (_("Conversion _server:"));
table_attach (table, server_label,
0, 1, 0, 1, GTK_FILL, GTK_FILL, 4, 4);
set_alignment (server_label, 1., 0.5);
hbox_new (server_hbox, FALSE, 4);...
2004 Sep 10
2
xmms plugin, fileinfo
...+ va_list args;
+ gchar *tempstr;
+
+ va_start(args, str);
+ tempstr = g_strdup_vprintf(str, args);
+ va_end(args);
- stripped_len = flac_strip_spaces(tag, length);
- text = g_strdup_printf("%-*.*s", stripped_len, stripped_len, tag);
- gtk_entry_set_text(entry, text);
- g_free(text);
+ gtk_label_set_text(GTK_LABEL(label), tempstr);
+ g_free(tempstr);
}
-static void get_entry_tag(GtkEntry * entry, gchar * tag, gint length)
+static void save_cb(GtkWidget * w, gpointer data)
{
- gchar *text;
+}
- text = gtk_entry_get_text(entry);
- memset(tag, ' ', length);
- memcpy(tag, text, s...
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
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 Oct 05
0
[PATCH] p2v: fix mode for gtk_label_set_line_wrap_mode
...bel.html#gtk-label-set-line-wrap-mode
---
p2v/gui.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/p2v/gui.c b/p2v/gui.c
index fa8a7b0..8c6dc31 100644
--- a/p2v/gui.c
+++ b/p2v/gui.c
@@ -525,7 +525,7 @@ create_conversion_dialog (struct config *config)
target_warning_label = gtk_label_new ("");
gtk_label_set_line_wrap (GTK_LABEL (target_warning_label), TRUE);
gtk_label_set_line_wrap_mode (GTK_LABEL (target_warning_label),
- GTK_WRAP_WORD);
+ PANGO_WRAP_WORD);
gtk_widget_set_size_request (target_warn...
2004 Aug 06
0
[PATCH] speex-xmms endian problems fixed
...speex_ip.output->write_audio(&output, speex_fs->framesize * sizeof(short));
}
--- speex-xmms-0.8/config.c Sat Oct 12 08:00:44 2002
+++ speex-xmms-0.8-works/config.c Thu Apr 17 12:05:10 2003
@@ -66,7 +66,7 @@
gtk_label_set_justify(GTK_LABEL(cfg_buffer_label), GTK_JUSTIFY_LEFT);
gtk_container_add(GTK_CONTAINER(cfg_buffer_label_box), GTK_WIDGET(cfg_buffer_label));
- cfg_buffer_adj = gtk_adjustment_new( ((gfloat)speex_cfg->buffersize), 0., 4096., 4., 4., 5.);
+ cfg_buffer_adj = GTK_WIDGET(gtk_a...
2016 May 30
0
[PATCH v2 3/3] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
...,(xalign),(yalign))
+#endif
+
static void create_connection_dialog (struct config *);
static void create_conversion_dialog (struct config *);
static void create_running_dialog (void);
@@ -171,46 +269,46 @@ create_connection_dialog (struct config *config)
/* The main dialog area. */
intro = gtk_label_new (_("Connect to a virt-v2v conversion server over SSH:"));
gtk_label_set_line_wrap (GTK_LABEL (intro), TRUE);
- gtk_misc_set_padding (GTK_MISC (intro), 10, 10);
+ set_padding (intro, 10, 10);
- table = gtk_table_new (7, 2, FALSE);
+ table_new (table, 7, 2);
server_label = g...
2016 May 30
1
[PATCH v3] p2v: Allow virt-p2v to be built with Gtk 2 or 3.
This version of the Gtk 2/3 patch gets alignment and padding mostly
right. I still can't work out how to vertically align labels in the
middle of a cell in a GtkGrid. The GtkTextView in the final dialog is
still broken.
Rich.
2015 Aug 25
4
[PATCH 0/4] Various p2v fixes and features
A mixed bag, but all the patches make sense together!
Patch 1: Fix a bug that Tingting found:
https://bugzilla.redhat.com/show_bug.cgi?id=1256222
Patch 2: Revert a patch that makes no sense now that we've added
virt-v2v into base RHEL. This is just included because it's a cleanup
needed before applying patch 3.
Patch 3: Add the ability to use SSH identities (private keys) for
virt-p2v
2015 Aug 27
5
[PATCH v2 0/4] p2v: Wait for network to come online before testing connection
Fixes https://bugzilla.redhat.com/1256222
2018 Jun 29
3
p2v: Various cleanups.
These are a prelude to fixing
https://bugzilla.redhat.com/show_bug.cgi?id=1590220
A lot of the virt-p2v configuration code was duplicated manually.
These changes make sure that most of it is generated.
Rich.
2016 Dec 05
0
CentOS6: devhelp search misses most of GTK+ 2 API functions
Hello there,
a long-standing issue I have here and that I'm decided to get rid of
now: in the devhelp, most of the GTK+ functions are not found by the
search tab: it will find gtk_icon fonctions but no gtk_widget or
gtk_color_button, gtk_label etc. Also, it will find GtkVbox item but no
gtk_vbox_new, GtkWidget but no gtk_widget function, for instance.
The docs are there (gtk-doc, gtk2-devel-docs), since I can find all
those API elements by browsing the GTK+ 2 Reference Manual from the
Contents tab.
Is this really how it should be?
Re...
2008 Jan 14
0
player/swfdec-player.ui player/swfdec-window.c player/swfdec-window.h
...up_vprintf (format, varargs);
+ va_end (varargs);
+
+ if (window->window == NULL) {
+ g_printerr ("%s\n", msg);
+ g_free (msg);
+ return;
+ }
+ /* Translators: This is used to markup error message. */
+ markup = g_strdup_printf ("<b>%s</b>", msg);
+ gtk_label_set_label (GTK_LABEL (gtk_builder_get_object (window->builder,
+ "player-error-label")), markup);
+ g_free (markup);
+ g_free (msg);
+
+ gtk_widget_show (GTK_WIDGET (gtk_builder_get_object (window->builder,
+ "player-error-area")));
}
static void
diff --git a/...
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
2016 Dec 07
0
[PATCH v2] v2v: Rename RHEV to RHV throughout.
...v/{test-v2v-o-rhev.sh => test-v2v-o-rhv.sh} (95%)
diff --git a/p2v/gui.c b/p2v/gui.c
index dee8b83..7547e45 100644
--- a/p2v/gui.c
+++ b/p2v/gui.c
@@ -855,7 +855,7 @@ create_conversion_dialog (struct config *config)
set_alignment (o_label, 1., 0.5);
o_combo = gtk_combo_box_text_new ();
gtk_label_set_mnemonic_widget (GTK_LABEL (o_label), o_combo);
- gtk_widget_set_tooltip_markup (o_combo, _("<b>libvirt</b> means send the converted guest to libvirt-managed KVM on the conversion server. <b>local</b> means put it in a directory on the conversion server. <b>...
2016 Dec 07
2
[PATCH v2] v2v: Rename RHEV to RHV throughout.
v2:
- Fix virt-p2v messages too.
Rich.
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,
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...quot;
"%s"),
- remote_dir ? remote_dir : "") == -1) {
- perror ("asprintf");
- exit (EXIT_FAILURE);
- }
+ remote_dir ? remote_dir : "") == -1)
+ error (EXIT_FAILURE, errno, "asprintf");
gtk_label_set_text (GTK_LABEL (log_label), msg);
}
diff --git a/p2v/kernel-cmdline.c b/p2v/kernel-cmdline.c
index 142108a..ee4c0e9 100644
--- a/p2v/kernel-cmdline.c
+++ b/p2v/kernel-cmdline.c
@@ -35,6 +35,7 @@
#include <string.h>
#include <unistd.h>
#include <errno.h>
+#include <erro...