pidgin/resources/Debug/plugininfo.ui

Tue, 08 Mar 2022 02:18:51 -0600

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 08 Mar 2022 02:18:51 -0600
changeset 41275
3c11bbd93e97
parent 41030
ec8b76f3bf0a
child 41501
e34ec115fc34
permissions
-rw-r--r--

Drop toolbar style setting from Debug Window

Not only is this using menus (that are removed in GTK4), but there is no toolbar class in GTK4, so this whole option cannot work there.

Anyway, this is a debug window, people really don't need a bunch of options for it.

Testing Done:
Compiled without warnings, and ran to see no context menu.

Reviewed at https://reviews.imfreedom.org/r/1320/

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 

Pidgin - Internet Messenger
Copyright (C) Pidgin Developers <devel@pidgin.im>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

-->
<interface>
  <requires lib="Talkatu" version="0.0"/>
  <requires lib="gtk+" version="3.22"/>
  <!-- interface-local-resource-path ../ -->
  <!-- interface-license-type gplv2 -->
  <!-- interface-name Pidgin -->
  <!-- interface-description Internet Messenger -->
  <!-- interface-copyright Pidgin Developers <devel@pidgin.im> -->
  <object class="TalkatuHtmlBuffer" id="buffer"/>
  <template class="PidginDebugPluginInfo" parent="GtkDialog">
    <property name="can-focus">False</property>
    <property name="title" translatable="yes">Pidgin Plugin Information</property>
    <property name="role">plugins_info</property>
    <property name="default-width">475</property>
    <property name="default-height">450</property>
    <property name="type-hint">dialog</property>
    <child internal-child="vbox">
      <object class="GtkBox">
        <property name="can-focus">False</property>
        <property name="orientation">vertical</property>
        <property name="spacing">2</property>
        <child internal-child="action_area">
          <object class="GtkButtonBox">
            <property name="can-focus">False</property>
            <property name="layout-style">end</property>
            <child>
              <object class="GtkButton">
                <property name="label" translatable="yes">Close</property>
                <property name="visible">True</property>
                <property name="can-focus">True</property>
                <property name="receives-default">True</property>
                <signal name="clicked" handler="gtk_widget_destroy" object="PidginDebugPluginInfo" swapped="yes"/>
              </object>
              <packing>
                <property name="expand">True</property>
                <property name="fill">True</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="GtkImage" id="logo">
            <property name="visible">True</property>
            <property name="can-focus">False</property>
            <property name="resource">/im/pidgin/Pidgin3/logo.png</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkScrolledWindow">
            <property name="visible">True</property>
            <property name="can-focus">True</property>
            <property name="shadow-type">in</property>
            <child>
              <object class="TalkatuView" id="view">
                <property name="can-focus">True</property>
                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                <property name="editable">False</property>
                <property name="buffer">buffer</property>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">True</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
  </template>
</interface>

mercurial