search for: gtk_label_set_text

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

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, strlen(tex...
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
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
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 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.
2007 Aug 09
0
Branch 'vivi' - 6 commits - configure.ac vivified/core vivified/dock vivified/Makefile.am vivified/ui
...ject_class = G_OBJECT_CLASS (klass); + + object_class->dispose = vivi_docker_dispose; + + signals[REQUEST_CLOSE] = 0; +} + +static void +vivi_docker_init (ViviDocker *docker) +{ +} + +static void +vivi_docker_docklet_notify_title (ViviDocklet *docklet, GParamSpec *pspec, GtkLabel *label) +{ + gtk_label_set_text (label, vivi_docklet_get_title (docklet)); +} + +static void +vivi_docker_set_docklet (ViviDocker *docker, ViviDocklet *docklet) +{ + GtkWidget *box, *widget; + + g_return_if_fail (VIVI_IS_DOCKER (docker)); + g_return_if_fail (VIVI_IS_DOCKLET (docklet)); + + box = gtk_hbox_new (FALSE, 3); + wi...
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 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 <error.h>...
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
...ject_class = G_OBJECT_CLASS (klass); + + object_class->dispose = vivi_docker_dispose; + + signals[REQUEST_CLOSE] = 0; +} + +static void +vivi_docker_init (ViviDocker *docker) +{ +} + +static void +vivi_docker_docklet_notify_title (ViviDocklet *docklet, GParamSpec *pspec, GtkLabel *label) +{ + gtk_label_set_text (label, vivi_docklet_get_title (docklet)); +} + +static void +vivi_docker_set_docklet (ViviDocker *docker, ViviDocklet *docklet) +{ + GtkWidget *box, *widget; + + g_return_if_fail (VIVI_IS_DOCKER (docker)); + g_return_if_fail (VIVI_IS_DOCKLET (docklet)); + + box = gtk_hbox_new (FALSE, 3); + wi...