- Save all Theme settings to .css instead of the config file - Add a gajim-dark.css - Refactor the ThemesWindow
		
			
				
	
	
		
			453 lines
		
	
	
	
		
			22 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			453 lines
		
	
	
	
		
			22 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <!-- Generated with glade 3.21.0 -->
 | |
| <interface>
 | |
|   <requires lib="gtk+" version="3.20"/>
 | |
|   <object class="GtkMenu" id="formattings_menu">
 | |
|     <property name="visible">True</property>
 | |
|     <property name="can_focus">False</property>
 | |
|     <child>
 | |
|       <object class="GtkCheckMenuItem" id="bold">
 | |
|         <property name="name">bold</property>
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|         <property name="label" translatable="yes">Bold</property>
 | |
|         <signal name="activate" handler="on_formatting_menuitem_activate" swapped="no"/>
 | |
|       </object>
 | |
|     </child>
 | |
|     <child>
 | |
|       <object class="GtkCheckMenuItem" id="italic">
 | |
|         <property name="name">italic</property>
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|         <property name="label" translatable="yes">Italic</property>
 | |
|         <signal name="activate" handler="on_formatting_menuitem_activate" swapped="no"/>
 | |
|       </object>
 | |
|     </child>
 | |
|     <child>
 | |
|       <object class="GtkCheckMenuItem" id="underline">
 | |
|         <property name="name">underline</property>
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|         <property name="label" translatable="yes">Underline</property>
 | |
|         <signal name="activate" handler="on_formatting_menuitem_activate" swapped="no"/>
 | |
|       </object>
 | |
|     </child>
 | |
|     <child>
 | |
|       <object class="GtkCheckMenuItem" id="strike">
 | |
|         <property name="name">strike</property>
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|         <property name="label" translatable="yes">Strike</property>
 | |
|         <signal name="activate" handler="on_formatting_menuitem_activate" swapped="no"/>
 | |
|       </object>
 | |
|     </child>
 | |
|     <child>
 | |
|       <object class="GtkSeparatorMenuItem">
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|       </object>
 | |
|     </child>
 | |
|     <child>
 | |
|       <object class="GtkMenuItem" id="color">
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|         <property name="label" translatable="yes">Color</property>
 | |
|         <signal name="activate" handler="on_color_menuitem_activate" swapped="no"/>
 | |
|       </object>
 | |
|     </child>
 | |
|     <child>
 | |
|       <object class="GtkMenuItem" id="font">
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|         <property name="label" translatable="yes">Font</property>
 | |
|         <signal name="activate" handler="on_font_menuitem_activate" swapped="no"/>
 | |
|       </object>
 | |
|     </child>
 | |
|     <child>
 | |
|       <object class="GtkSeparatorMenuItem">
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|       </object>
 | |
|     </child>
 | |
|     <child>
 | |
|       <object class="GtkMenuItem" id="clear_formatting">
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|         <property name="label" translatable="yes">Clear formatting</property>
 | |
|         <signal name="activate" handler="on_clear_formatting_menuitem_activate" swapped="no"/>
 | |
|       </object>
 | |
|     </child>
 | |
|   </object>
 | |
|   <object class="GtkBox" id="groupchat_control_hbox">
 | |
|     <property name="can_focus">True</property>
 | |
|     <child>
 | |
|       <object class="GtkBox" id="groupchat_control_vbox">
 | |
|         <property name="can_focus">True</property>
 | |
|         <property name="margin_left">7</property>
 | |
|         <property name="margin_right">7</property>
 | |
|         <property name="margin_top">5</property>
 | |
|         <property name="margin_bottom">7</property>
 | |
|         <property name="orientation">vertical</property>
 | |
|         <property name="spacing">5</property>
 | |
|         <child>
 | |
|           <object class="GtkPaned" id="hpaned">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="can_focus">True</property>
 | |
|             <property name="position">495</property>
 | |
|             <property name="position_set">True</property>
 | |
|             <signal name="button-release-event" handler="_on_hpaned_release_button" swapped="no"/>
 | |
|             <signal name="notify::position" handler="_on_hpaned_handle_change" swapped="no"/>
 | |
|             <child>
 | |
|               <object class="GtkBox" id="gc_textviews_vbox">
 | |
|                 <property name="width_request">0</property>
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="can_focus">False</property>
 | |
|                 <property name="margin_right">4</property>
 | |
|                 <property name="orientation">vertical</property>
 | |
|                 <child>
 | |
|                   <object class="GtkEventBox" id="banner_eventbox">
 | |
|                     <property name="name">GroupChatControl-BannerEventBox</property>
 | |
|                     <property name="visible">True</property>
 | |
|                     <property name="can_focus">False</property>
 | |
|                     <child>
 | |
|                       <object class="GtkBox" id="hbox3024">
 | |
|                         <property name="visible">True</property>
 | |
|                         <property name="can_focus">False</property>
 | |
|                         <child>
 | |
|                           <object class="GtkImage" id="gc_banner_status_image">
 | |
|                             <property name="visible">True</property>
 | |
|                             <property name="can_focus">False</property>
 | |
|                             <property name="stock">gtk-missing-image</property>
 | |
|                           </object>
 | |
|                           <packing>
 | |
|                             <property name="expand">False</property>
 | |
|                             <property name="fill">False</property>
 | |
|                             <property name="padding">5</property>
 | |
|                             <property name="position">0</property>
 | |
|                           </packing>
 | |
|                         </child>
 | |
|                         <child>
 | |
|                           <object class="GtkLabel" id="banner_name_label">
 | |
|                             <property name="name">GroupChatControl-BannerNameLabel</property>
 | |
|                             <property name="visible">True</property>
 | |
|                             <property name="can_focus">False</property>
 | |
|                             <property name="label"><span weight="heavy" size="large">room jid</span></property>
 | |
|                             <property name="use_markup">True</property>
 | |
|                             <property name="selectable">True</property>
 | |
|                             <property name="xalign">0</property>
 | |
|                           </object>
 | |
|                           <packing>
 | |
|                             <property name="expand">False</property>
 | |
|                             <property name="fill">True</property>
 | |
|                             <property name="position">1</property>
 | |
|                           </packing>
 | |
|                         </child>
 | |
|                         <child>
 | |
|                           <object class="GtkActionBar" id="banner_actionbar">
 | |
|                             <property name="visible">True</property>
 | |
|                             <property name="can_focus">False</property>
 | |
|                             <style>
 | |
|                               <class name="actionbar-no-border"/>
 | |
|                             </style>
 | |
|                           </object>
 | |
|                           <packing>
 | |
|                             <property name="expand">True</property>
 | |
|                             <property name="fill">True</property>
 | |
|                             <property name="pack_type">end</property>
 | |
|                             <property name="position">2</property>
 | |
|                           </packing>
 | |
|                         </child>
 | |
|                       </object>
 | |
|                     </child>
 | |
|                     <style>
 | |
|                       <class name="gajim-banner"/>
 | |
|                     </style>
 | |
|                   </object>
 | |
|                   <packing>
 | |
|                     <property name="expand">False</property>
 | |
|                     <property name="fill">True</property>
 | |
|                     <property name="position">0</property>
 | |
|                   </packing>
 | |
|                 </child>
 | |
|                 <child>
 | |
|                   <object class="GtkSeparator">
 | |
|                     <property name="visible">True</property>
 | |
|                     <property name="can_focus">False</property>
 | |
|                     <style>
 | |
|                       <class name="chatcontrol-separator-top"/>
 | |
|                     </style>
 | |
|                   </object>
 | |
|                   <packing>
 | |
|                     <property name="expand">False</property>
 | |
|                     <property name="fill">True</property>
 | |
|                     <property name="position">1</property>
 | |
|                   </packing>
 | |
|                 </child>
 | |
|                 <child>
 | |
|                   <object class="GtkScrolledWindow" id="conversation_scrolledwindow">
 | |
|                     <property name="width_request">200</property>
 | |
|                     <property name="height_request">60</property>
 | |
|                     <property name="visible">True</property>
 | |
|                     <property name="can_focus">True</property>
 | |
|                     <property name="shadow_type">in</property>
 | |
|                     <property name="overlay_scrolling">False</property>
 | |
|                     <signal name="edge-reached" handler="_on_edge_reached" swapped="no"/>
 | |
|                     <signal name="scroll-event" handler="_on_scroll" swapped="no"/>
 | |
|                     <child>
 | |
|                       <placeholder/>
 | |
|                     </child>
 | |
|                     <style>
 | |
|                       <class name="scrolled-no-border"/>
 | |
|                       <class name="no-scroll-indicator"/>
 | |
|                       <class name="scrollbar-style"/>
 | |
|                     </style>
 | |
|                   </object>
 | |
|                   <packing>
 | |
|                     <property name="expand">True</property>
 | |
|                     <property name="fill">True</property>
 | |
|                     <property name="position">2</property>
 | |
|                   </packing>
 | |
|                 </child>
 | |
|                 <child>
 | |
|                   <object class="GtkSeparator">
 | |
|                     <property name="visible">True</property>
 | |
|                     <property name="can_focus">False</property>
 | |
|                     <style>
 | |
|                       <class name="chatcontrol-separator"/>
 | |
|                     </style>
 | |
|                   </object>
 | |
|                   <packing>
 | |
|                     <property name="expand">False</property>
 | |
|                     <property name="fill">True</property>
 | |
|                     <property name="position">3</property>
 | |
|                   </packing>
 | |
|                 </child>
 | |
|                 <child>
 | |
|                   <object class="GtkBox" id="hbox">
 | |
|                     <property name="visible">True</property>
 | |
|                     <property name="can_focus">False</property>
 | |
|                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
 | |
|                     <child>
 | |
|                       <object class="GtkMenuButton" id="settings_menu">
 | |
|                         <property name="visible">True</property>
 | |
|                         <property name="can_focus">True</property>
 | |
|                         <property name="receives_default">True</property>
 | |
|                         <property name="relief">none</property>
 | |
|                         <child>
 | |
|                           <object class="GtkImage">
 | |
|                             <property name="visible">True</property>
 | |
|                             <property name="can_focus">False</property>
 | |
|                             <property name="icon_name">open-menu-symbolic</property>
 | |
|                           </object>
 | |
|                         </child>
 | |
|                         <style>
 | |
|                           <class name="chatcontrol-actionbar-button"/>
 | |
|                         </style>
 | |
|                       </object>
 | |
|                       <packing>
 | |
|                         <property name="expand">False</property>
 | |
|                         <property name="fill">True</property>
 | |
|                         <property name="pack_type">end</property>
 | |
|                         <property name="position">0</property>
 | |
|                       </packing>
 | |
|                     </child>
 | |
|                     <child>
 | |
|                       <object class="GtkButton" id="authentication_button">
 | |
|                         <property name="can_focus">True</property>
 | |
|                         <property name="focus_on_click">False</property>
 | |
|                         <property name="receives_default">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="no_show_all">True</property>
 | |
|                         <property name="relief">none</property>
 | |
|                         <child>
 | |
|                           <object class="GtkImage" id="lock_image">
 | |
|                             <property name="visible">True</property>
 | |
|                             <property name="can_focus">False</property>
 | |
|                             <property name="stock">gtk-dialog-authentication</property>
 | |
|                             <property name="icon_size">1</property>
 | |
|                           </object>
 | |
|                         </child>
 | |
|                         <style>
 | |
|                           <class name="chatcontrol-actionbar-button"/>
 | |
|                         </style>
 | |
|                       </object>
 | |
|                       <packing>
 | |
|                         <property name="expand">False</property>
 | |
|                         <property name="fill">False</property>
 | |
|                         <property name="pack_type">end</property>
 | |
|                         <property name="position">1</property>
 | |
|                       </packing>
 | |
|                     </child>
 | |
|                     <child>
 | |
|                       <object class="GtkMenuButton" id="encryption_menu">
 | |
|                         <property name="visible">True</property>
 | |
|                         <property name="can_focus">True</property>
 | |
|                         <property name="receives_default">True</property>
 | |
|                         <property name="tooltip_text" translatable="yes">Choose encryption</property>
 | |
|                         <property name="relief">none</property>
 | |
|                         <child>
 | |
|                           <placeholder/>
 | |
|                         </child>
 | |
|                         <style>
 | |
|                           <class name="chatcontrol-actionbar-button"/>
 | |
|                         </style>
 | |
|                       </object>
 | |
|                       <packing>
 | |
|                         <property name="expand">False</property>
 | |
|                         <property name="fill">True</property>
 | |
|                         <property name="pack_type">end</property>
 | |
|                         <property name="position">2</property>
 | |
|                       </packing>
 | |
|                     </child>
 | |
|                     <child>
 | |
|                       <object class="GtkButton" id="sendfile_button">
 | |
|                         <property name="visible">True</property>
 | |
|                         <property name="can_focus">True</property>
 | |
|                         <property name="focus_on_click">False</property>
 | |
|                         <property name="receives_default">True</property>
 | |
|                         <property name="relief">none</property>
 | |
|                         <child>
 | |
|                           <object class="GtkImage">
 | |
|                             <property name="visible">True</property>
 | |
|                             <property name="can_focus">False</property>
 | |
|                             <property name="icon_name">mail-attachment-symbolic</property>
 | |
|                           </object>
 | |
|                         </child>
 | |
|                         <style>
 | |
|                           <class name="chatcontrol-actionbar-button"/>
 | |
|                         </style>
 | |
|                       </object>
 | |
|                       <packing>
 | |
|                         <property name="expand">False</property>
 | |
|                         <property name="fill">False</property>
 | |
|                         <property name="pack_type">end</property>
 | |
|                         <property name="position">3</property>
 | |
|                       </packing>
 | |
|                     </child>
 | |
|                     <child>
 | |
|                       <object class="GtkMenuButton" id="emoticons_button">
 | |
|                         <property name="visible">True</property>
 | |
|                         <property name="can_focus">True</property>
 | |
|                         <property name="receives_default">True</property>
 | |
|                         <property name="tooltip_text" translatable="yes">Show a list of emoticons (Alt+M)</property>
 | |
|                         <property name="relief">none</property>
 | |
|                         <child>
 | |
|                           <object class="GtkImage">
 | |
|                             <property name="visible">True</property>
 | |
|                             <property name="can_focus">False</property>
 | |
|                             <property name="icon_name">face-smile-symbolic</property>
 | |
|                           </object>
 | |
|                         </child>
 | |
|                         <style>
 | |
|                           <class name="chatcontrol-actionbar-button"/>
 | |
|                         </style>
 | |
|                       </object>
 | |
|                       <packing>
 | |
|                         <property name="expand">False</property>
 | |
|                         <property name="fill">True</property>
 | |
|                         <property name="position">4</property>
 | |
|                       </packing>
 | |
|                     </child>
 | |
|                     <child>
 | |
|                       <object class="GtkMenuButton" id="formattings_button">
 | |
|                         <property name="visible">True</property>
 | |
|                         <property name="can_focus">True</property>
 | |
|                         <property name="focus_on_click">False</property>
 | |
|                         <property name="receives_default">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="has_tooltip">True</property>
 | |
|                         <property name="relief">none</property>
 | |
|                         <property name="popup">formattings_menu</property>
 | |
|                         <child>
 | |
|                           <object class="GtkImage" id="image10">
 | |
|                             <property name="visible">True</property>
 | |
|                             <property name="can_focus">False</property>
 | |
|                             <property name="icon_name">format-text-bold-symbolic</property>
 | |
|                             <property name="icon_size">1</property>
 | |
|                           </object>
 | |
|                         </child>
 | |
|                         <style>
 | |
|                           <class name="chatcontrol-actionbar-button"/>
 | |
|                         </style>
 | |
|                       </object>
 | |
|                       <packing>
 | |
|                         <property name="expand">False</property>
 | |
|                         <property name="fill">True</property>
 | |
|                         <property name="position">5</property>
 | |
|                       </packing>
 | |
|                     </child>
 | |
|                     <child>
 | |
|                       <placeholder/>
 | |
|                     </child>
 | |
|                     <child>
 | |
|                       <object class="GtkComboBox" id="label_selector">
 | |
|                         <property name="visible">True</property>
 | |
|                         <property name="can_focus">False</property>
 | |
|                         <property name="no_show_all">True</property>
 | |
|                       </object>
 | |
|                       <packing>
 | |
|                         <property name="expand">True</property>
 | |
|                         <property name="fill">True</property>
 | |
|                         <property name="position">7</property>
 | |
|                       </packing>
 | |
|                     </child>
 | |
|                   </object>
 | |
|                   <packing>
 | |
|                     <property name="expand">False</property>
 | |
|                     <property name="fill">False</property>
 | |
|                     <property name="position">4</property>
 | |
|                   </packing>
 | |
|                 </child>
 | |
|               </object>
 | |
|               <packing>
 | |
|                 <property name="resize">True</property>
 | |
|                 <property name="shrink">False</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|             <child>
 | |
|               <object class="GtkScrolledWindow" id="list_scrolledwindow">
 | |
|                 <property name="width_request">100</property>
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="can_focus">True</property>
 | |
|                 <property name="no_show_all">True</property>
 | |
|                 <property name="margin_left">4</property>
 | |
|                 <property name="margin_bottom">5</property>
 | |
|                 <property name="hscrollbar_policy">never</property>
 | |
|                 <property name="shadow_type">in</property>
 | |
|                 <child>
 | |
|                   <object class="GtkTreeView" id="list_treeview">
 | |
|                     <property name="visible">True</property>
 | |
|                     <property name="can_focus">True</property>
 | |
|                     <property name="border_width">1</property>
 | |
|                     <property name="headers_visible">False</property>
 | |
|                     <child internal-child="selection">
 | |
|                       <object class="GtkTreeSelection" id="treeview-selection1"/>
 | |
|                     </child>
 | |
|                   </object>
 | |
|                 </child>
 | |
|                 <style>
 | |
|                   <class name="scrolled-no-border"/>
 | |
|                   <class name="no-scroll-indicator"/>
 | |
|                 </style>
 | |
|               </object>
 | |
|               <packing>
 | |
|                 <property name="resize">False</property>
 | |
|                 <property name="shrink">False</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|           </object>
 | |
|           <packing>
 | |
|             <property name="expand">True</property>
 | |
|             <property name="fill">True</property>
 | |
|             <property name="position">1</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|       </object>
 | |
|       <packing>
 | |
|         <property name="expand">True</property>
 | |
|         <property name="fill">True</property>
 | |
|         <property name="position">0</property>
 | |
|       </packing>
 | |
|     </child>
 | |
|   </object>
 | |
| </interface>
 |