%PDF- %PDF-
Direktori : /lib/rhythmbox/plugins/alternative-toolbar/__pycache__/ |
Current File : //lib/rhythmbox/plugins/alternative-toolbar/__pycache__/alternative-toolbar.cpython-312.pyc |
� ]e�S � �F � d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ e j dd� d dlmZ d dlm Z d d l mZ d d lm Z d dlmZ d dlmZ d d lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ dZdZdZdZ G d� dej8 ej: � Zy)� N)�GObject)�Gio)�Gtk�Peasz1.0)r )�RB)�PluginDialog)�CoverLocale)�GSetting)�Preferences)�ActionGroup)�ApplicationShell)�gtk_version)�AltToolbarCompact)�AltToolbarHeaderBar)�AltToolbarStandarda <ui> <menubar name="MenuBar"> <menu name="ViewMenu" action="View"> <menuitem name="Show Toolbar" action="ToggleToolbar" /> <menuitem name="Show Source Toolbar" action="ToggleSourceMediaToolbar" /> </menu> </menubar> </ui> z� <ui> <menubar name="MenuBar"> <menu name="ViewMenu" action="View"> <menuitem name="SeekBackward" action="SeekBackward" /> <menuitem name="SeekForward" action="SeekForward" /> </menu> </menubar> </ui> � � c � � e Zd ZdZd Z ej ej �� Z ej e d�� Z ej e d�� Z ej e d�� Z ej e d�� Z dej de ffiZd� Zd� Zd � Zd � Zd� Zd� Zd � Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Ze dd�� Z!d� Z"dd�Z#dd�Z$d� Z%d� Z&y)�AltToolbarPluginz^ Main class of the plugin. Manages the activation and deactivation of the plugin. )�typeF)r �defaultztoolbar-visibilityNc �z � t j j | � d| _ dx| _ x| _ | _ y)z0 Initialises the plugin object. N)r �Object�__init__�appshell�sh_psc�sh_op�sh_pc��selfs �E/usr/lib/rhythmbox/plugins/alternative-toolbar/alternative-toolbar.pyr zAltToolbarPlugin.__init__X s2 � � ������%��� �04�4���4�d�j�4�:� c � � | j | _ | j j j | _ | j j j | _ d| _ d| _ d| _ d| _ t � }|j |j j � t j j � }|j! t# j$ | d� � t&