Bug#893015: glade: GtkImage -> pixbuf same name of file

bruno volpi bruno at Brunovolpi.com
Thu Mar 15 15:25:04 UTC 2018


Package: glade
Version: 3.20.0-2+deb9u1
Severity: normal

Dear Maintainer,

3.20.0-2 french version
i try to use my own images for button
my images are in folder ~/Meslib/images

i did few trials

test 1- no interface-local-resource-path :
dev mode ->  no icone
view mode  ->  no icone
after save  all property 'pixbuf'  with the same filename

test 2 - interface-local-resource-path set to ~/Meslib/images :
dev mode  ->   icone ok
view mode  ->  no icone
after save  all property 'pixbuf' with the right name of icone but not the path

test 3 :
on the file .glade from test 2
remove  <!-- interface-local-resource-path /home/bruno/Meslib/images -->
for all GtkImage i change
<property name="pixbuf">iconename</property>
with
<property name="pixbuf">/home/bruno/Meslib/images/iconename</property>

openning this file on glade
dev mode   ->   no icone
view mode   ->  the same icone on all button
after save file  all property 'pixbuf'  with the same path&icone name


is it a bug or a misuse  ?

for the moment my workaround is to create base file change manualy as in test3
and use xml file with python gtk builder

the probleme is when i want to change something on the design i have to backup
the base file
made change on Glade and find diff between xml files change manualy on backup
and restore it

i will appreciate a quick answer

regards



-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages glade depends on:
ii  libc6               2.24-11+deb9u3
ii  libcairo2           1.14.8-1
ii  libgdk-pixbuf2.0-0  2.36.5-2+deb9u2
ii  libgladeui-2-6      3.20.0-2+deb9u1
ii  libglib2.0-0        2.50.3-2
ii  libgtk-3-0          3.22.11-1
ii  libpango-1.0-0      1.40.5-1

Versions of packages glade recommends:
ii  devhelp       3.22.0-1+b1
ii  libgtk-3-dev  3.22.11-1

glade suggests no packages.



More information about the pkg-gnome-maintainers mailing list