Commit b432602f authored by Erik Jensen's avatar Erik Jensen Committed by Commit Bot

remoting: Add IDs to all objects in session chooser UI

Apparently older versions of GTK require IDs for all objects.

Change-Id: I01063d543623e4ae676616dc527a368252c080d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865477
Commit-Queue: Erik Jensen <rkjnsn@chromium.org>
Commit-Queue: Jamie Walch <jamiewalch@chromium.org>
Auto-Submit: Erik Jensen <rkjnsn@chromium.org>
Reviewed-by: default avatarJamie Walch <jamiewalch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706559}
parent 41789172
...@@ -27,12 +27,12 @@ const char UI[] = R"UI_Definition( ...@@ -27,12 +27,12 @@ const char UI[] = R"UI_Definition(
<placeholder/> <placeholder/>
</child> </child>
<child internal-child="vbox"> <child internal-child="vbox">
<object class="GtkBox"> <object class="GtkBox" id="layout_box">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">2</property> <property name="spacing">2</property>
<child internal-child="action_area"> <child internal-child="action_area">
<object class="GtkButtonBox"> <object class="GtkButtonBox" id="button_box">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="layout_style">end</property> <property name="layout_style">end</property>
<child> <child>
...@@ -69,7 +69,7 @@ const char UI[] = R"UI_Definition( ...@@ -69,7 +69,7 @@ const char UI[] = R"UI_Definition(
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkScrolledWindow"> <object class="GtkScrolledWindow" id="scroll_container">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="shadow_type">in</property> <property name="shadow_type">in</property>
...@@ -79,14 +79,14 @@ const char UI[] = R"UI_Definition( ...@@ -79,14 +79,14 @@ const char UI[] = R"UI_Definition(
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="model">session_store</property> <property name="model">session_store</property>
<child internal-child="selection"> <child internal-child="selection">
<object class="GtkTreeSelection"> <object class="GtkTreeSelection" id="session_selection">
<property name="mode">browse</property> <property name="mode">browse</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkTreeViewColumn" id="name_column"> <object class="GtkTreeViewColumn" id="name_column">
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkCellRendererText" id="name_text"/>
<attributes> <attributes>
<attribute name="text">1</attribute> <attribute name="text">1</attribute>
</attributes> </attributes>
...@@ -96,7 +96,7 @@ const char UI[] = R"UI_Definition( ...@@ -96,7 +96,7 @@ const char UI[] = R"UI_Definition(
<child> <child>
<object class="GtkTreeViewColumn" id="comment_column"> <object class="GtkTreeViewColumn" id="comment_column">
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkCellRendererText" id="comment_text"/>
<attributes> <attributes>
<attribute name="text">2</attribute> <attribute name="text">2</attribute>
</attributes> </attributes>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment