After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 736508 - Outdated glade/vte.xml
Outdated glade/vte.xml
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.37.x
Other Linux
: Normal major
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-11 22:22 UTC by Egmont Koblinger
Modified: 2014-09-12 12:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Update some properties (1.49 KB, patch)
2014-09-11 23:51 UTC, Egmont Koblinger
none Details | Review

Description Egmont Koblinger 2014-09-11 22:22:08 UTC
What's the point of glade/vte.xml.in.in?

Seems to contain tons of stuff that were already removed from vte, like background-image, font-antialias, emulation etc.

Should we update this file? Or drop it? Drop the complete glade directory?

ChPe??
Comment 1 Egmont Koblinger 2014-09-11 23:51:28 UTC
Created attachment 285968 [details] [review]
Update some properties

Updated some properties.  I'm not sure which ones should be present and which ones not, i.e. how about hadjustment, vadjustment, hscroll-policy, vscroll-policy, current-directory-uri, current-file-uri; should these be added too?
Comment 2 Christian Persch 2014-09-12 11:06:03 UTC
If glade still supports catalogues, then yes, vte's should be updated for the changes in the 2.91 API.

Read-only properties like current-*-uri shouldn't be listed, of course.
Comment 3 Egmont Koblinger 2014-09-12 11:15:46 UTC
> Read-only properties like current-*-uri shouldn't be listed, of course.

Why "of course"? (Read: I don't know what glade does with this file. I guess it helps you building a vte-based app by clicking together a UI and connecting stuff here and there... but shouldn't you be able to connect something to when a read-only value changes?  I'm just making wild guesses.)


icon/window-title are read-only properties, but are listed currently.

Scrollbar properties are defined like this
  g_object_class_override_property (gobject_class, PROP_HADJUSTMENT, "hadjustment");
rather than with g_object_class_install_property as the rest, how do I know if they're read-only?
Comment 4 Christian Persch 2014-09-12 11:49:35 UTC
Oh hrm. I though that those properties lists were only used to be able to set properties, didn't think about notify::foo signals... so might make sense to include them. (Not sure glade needs this for signal connections, don't have a glade build right now to check.)

For the 2nd question, you can check if vte_terminal_set_property handles them; if so they're writeable.
Comment 5 Egmont Koblinger 2014-09-12 12:11:47 UTC
Added all of them for now.  Will remove the read-only ones later if they cause problems.