Skip to content

Commit

Permalink
Merge pull request #382 from antonialoytorrens/change-search-bar-posi…
Browse files Browse the repository at this point in the history
…tion

GUI: Change position of the search bar
  • Loading branch information
trizen authored Jun 22, 2021
2 parents dfb68da + 623a0bf commit 0b9d2ad
Showing 1 changed file with 43 additions and 44 deletions.
87 changes: 43 additions & 44 deletions share/gtk3-youtube-viewer.glade
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,48 @@ Author: Trizen https://github.com/trizen
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="hbox1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkEntry" id="search_entry">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="buffer">entrybuffer1</property>
<property name="invisible-char">•</property>
<property name="activates-default">True</property>
<property name="text" translatable="yes">Search for YouTube videos...</property>
<property name="caps-lock-warning">False</property>
<property name="primary-icon-stock">gtk-find</property>
<property name="secondary-icon-activatable">False</property>
<signal name="activate" handler="search" swapped="no"/>
<signal name="button-press-event" handler="clear_text" swapped="no"/>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="pack-type">end</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkImage" id="gif_spinner">
<property name="can-focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkPaned" id="hbox2">
<property name="visible">True</property>
Expand Down Expand Up @@ -568,49 +610,6 @@ Author: Trizen https://github.com/trizen
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="hbox1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<child>
<object class="GtkEntry" id="search_entry">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="has-focus">True</property>
<property name="is-focus">True</property>
<property name="buffer">entrybuffer1</property>
<property name="invisible-char">•</property>
<property name="activates-default">True</property>
<property name="caps-lock-warning">False</property>
<property name="primary-icon-stock">gtk-find</property>
<property name="secondary-icon-activatable">False</property>
<signal name="activate" handler="search" swapped="no"/>
<signal name="button-press-event" handler="clear_text" swapped="no"/>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="pack-type">end</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkImage" id="gif_spinner">
<property name="can-focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
Expand Down Expand Up @@ -2231,7 +2230,7 @@ When the specified resolution is not found, the best available resolution is use
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
<property name="position">2</property>
</packing>
</child>
</object>
Expand Down

0 comments on commit 0b9d2ad

Please sign in to comment.