diff --git a/.gnome-tweak-tool.metadata b/.gnome-tweak-tool.metadata new file mode 100644 index 0000000..1a7a500 --- /dev/null +++ b/.gnome-tweak-tool.metadata @@ -0,0 +1 @@ +eecb1ff5b676ab68fbbc123ae1ef1031c43cbbf2 SOURCES/gnome-tweak-tool-3.8.1.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/0001-gtweak-tweakmodel.py-Fix-search.patch b/SOURCES/0001-gtweak-tweakmodel.py-Fix-search.patch new file mode 100644 index 0000000..f1d4e36 --- /dev/null +++ b/SOURCES/0001-gtweak-tweakmodel.py-Fix-search.patch @@ -0,0 +1,27 @@ +From 719fea70382914c297f808abda57addd23d1534a Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Tue, 5 Nov 2013 17:00:21 +0100 +Subject: [PATCH] gtweak/tweakmodel.py: Fix search + +Return a list instead of a generator since the results are needed more +than once. +--- + gtweak/tweakmodel.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gtweak/tweakmodel.py b/gtweak/tweakmodel.py +index 2e52db7..faa920b 100644 +--- a/gtweak/tweakmodel.py ++++ b/gtweak/tweakmodel.py +@@ -179,7 +179,7 @@ class TweakModel(Gtk.ListStore): + group.set_tweaks(tweak) + + def search_matches(self, txt): +- return (t for t in self.tweaks if t.search_matches(txt)) ++ return list(t for t in self.tweaks if t.search_matches(txt)) + + def get_tweakgroup_iter(self, name): + return self._tweak_group_iters[name] +-- +1.8.3.1 + diff --git a/SOURCES/0001-tweak_shell_extensions.py-Offer-to-restart-the-shell.patch b/SOURCES/0001-tweak_shell_extensions.py-Offer-to-restart-the-shell.patch new file mode 100644 index 0000000..81ea7cd --- /dev/null +++ b/SOURCES/0001-tweak_shell_extensions.py-Offer-to-restart-the-shell.patch @@ -0,0 +1,35 @@ +From 71de0f0b4f60c326f7f66f4755e63f616fb80867 Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Thu, 7 Nov 2013 13:02:44 +0100 +Subject: [PATCH 1/6] tweak_shell_extensions.py: Offer to restart the shell + only if needed + +--- + gtweak/tweaks/tweak_shell_extensions.py | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +diff --git a/gtweak/tweaks/tweak_shell_extensions.py b/gtweak/tweaks/tweak_shell_extensions.py +index 5e37ade..80c8d3e 100644 +--- a/gtweak/tweaks/tweak_shell_extensions.py ++++ b/gtweak/tweaks/tweak_shell_extensions.py +@@ -168,10 +168,13 @@ class _ShellExtensionInstallerTweak(Tweak): + else: + verb = _("%s extension installed successfully") % extension_uuid + +- self.notify_action_required( +- verb, +- _("Restart"), +- self._shell.restart) ++ if self._shell.EXTENSION_NEED_RESTART: ++ self.notify_action_required( ++ verb, ++ _("Restart"), ++ self._shell.restart) ++ else: ++ self.notify_info(verb) + + else: + self.notify_error(_("Error installing extension")) +-- +1.8.3.1 + diff --git a/SOURCES/0001-tweak_typing.py-Make-sure-we-display-all-the-text-in.patch b/SOURCES/0001-tweak_typing.py-Make-sure-we-display-all-the-text-in.patch new file mode 100644 index 0000000..33a3036 --- /dev/null +++ b/SOURCES/0001-tweak_typing.py-Make-sure-we-display-all-the-text-in.patch @@ -0,0 +1,56 @@ +From 6b11d0d78b8f92bc86ce85579c09c338c8b7dcee Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Tue, 5 Nov 2013 19:06:15 +0100 +Subject: [PATCH] tweak_typing.py: Make sure we display all the text in labels + +This changes the labels from ellipsizing text to wrapping it +instead. +--- + gtweak/tweaks/tweak_typing.py | 20 ++++++++++++++++---- + 1 file changed, 16 insertions(+), 4 deletions(-) + +diff --git a/gtweak/tweaks/tweak_typing.py b/gtweak/tweaks/tweak_typing.py +index e93512b..556713e 100644 +--- a/gtweak/tweaks/tweak_typing.py ++++ b/gtweak/tweaks/tweak_typing.py +@@ -22,7 +22,7 @@ import logging + from gi.repository import Pango, Gtk, GnomeDesktop + + from gtweak.tweakmodel import Tweak, TweakGroup, TWEAK_GROUP_TYPING +-from gtweak.widgets import GSettingsSwitchTweak, build_label_beside_widget ++from gtweak.widgets import GSettingsSwitchTweak, UI_BOX_SPACING + from gtweak.gsettings import GSettingsSetting, GSettingsMissingError, GSettingsFakeSetting + + class _XkbOption(Tweak): +@@ -52,13 +52,25 @@ class _XkbOption(Tweak): + + self._combo = Gtk.ComboBox(model = store) + renderer = Gtk.CellRendererText() +- renderer.props.ellipsize = Pango.EllipsizeMode.END +- renderer.props.max_width_chars = 40 ++ renderer.props.wrap_mode = Pango.WrapMode.WORD ++ renderer.props.wrap_width = 1 ++ renderer.props.max_width_chars = 35 + self._combo.pack_start(renderer, True) + self._combo.add_attribute(renderer, "text", 1) + self._combo_changed_handler_id = self._combo.connect("changed", self._on_combo_changed) + +- self.widget = build_label_beside_widget(self.name, self._combo) ++ lbl = Gtk.Label(self.name) ++ lbl.props.wrap_mode = Pango.WrapMode.WORD ++ lbl.props.wrap = True ++ lbl.props.max_width_chars = 30 ++ lbl.props.xalign = 0.0 ++ lbl.set_mnemonic_widget(self._combo) ++ ++ self.widget = Gtk.HBox() ++ self.widget.props.spacing = UI_BOX_SPACING ++ self.widget.pack_start(lbl, True, True, 0) ++ self.widget.pack_start(self._combo, False, False, 0) ++ + self.widget_for_size_group = self._combo + + self.reload() +-- +1.8.3.1 + diff --git a/SOURCES/0002-tweak_shell_extensions.py-Disable-widget-if-extensio.patch b/SOURCES/0002-tweak_shell_extensions.py-Disable-widget-if-extensio.patch new file mode 100644 index 0000000..ae6f591 --- /dev/null +++ b/SOURCES/0002-tweak_shell_extensions.py-Disable-widget-if-extensio.patch @@ -0,0 +1,58 @@ +From 61012b50f73e08089d9afc65ea069ce50af95a72 Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Thu, 7 Nov 2013 13:06:23 +0100 +Subject: [PATCH 2/6] tweak_shell_extensions.py: Disable widget if extension + can't work + +--- + gtweak/gshellwrapper.py | 4 ++++ + gtweak/tweaks/tweak_shell_extensions.py | 11 +++++++++++ + 2 files changed, 15 insertions(+) + +diff --git a/gtweak/gshellwrapper.py b/gtweak/gshellwrapper.py +index d102b34..3b0cf16 100644 +--- a/gtweak/gshellwrapper.py ++++ b/gtweak/gshellwrapper.py +@@ -124,6 +124,10 @@ class GnomeShell: + def version(self): + return self._proxy.version + ++ @property ++ def extensions_proxy(self): ++ return self._proxy.proxy_extensions ++ + class GnomeShell32(GnomeShell): + + EXTENSION_ENABLED_KEY = "enabled-extensions" +diff --git a/gtweak/tweaks/tweak_shell_extensions.py b/gtweak/tweaks/tweak_shell_extensions.py +index 80c8d3e..648a4ca 100644 +--- a/gtweak/tweaks/tweak_shell_extensions.py ++++ b/gtweak/tweaks/tweak_shell_extensions.py +@@ -67,6 +67,8 @@ class _ShellExtensionTweak(Tweak): + warning=warning) + self.widget_for_size_group = None + ++ self._shell.extensions_proxy.connect('g-signal', self._extensions_signal, uuid) ++ + def _on_configure_clicked(self, btn, uuid): + execute_subprocess(['gnome-shell-extension-prefs', uuid], block=False) + +@@ -99,6 +101,15 @@ class _ShellExtensionTweak(Tweak): + self.widget.set_sensitive(False) + dialog.destroy() + ++ def _extensions_signal(self, proxy, sender, signal, params, uuid): ++ if signal != 'ExtensionStatusChanged' or params[0] != uuid: ++ return ++ ++ state = params[1] ++ self.widget.set_sensitive(state == GnomeShell.EXTENSION_STATE["ENABLED"] or ++ state == GnomeShell.EXTENSION_STATE["DISABLED"] or ++ state == GnomeShell.EXTENSION_STATE["INITIALIZED"]) ++ + class _ShellExtensionInstallerTweak(Tweak): + + def __init__(self, shell, **options): +-- +1.8.3.1 + diff --git a/SOURCES/0003-Add-a-way-to-reload-tweaks-when-there-are-changes-af.patch b/SOURCES/0003-Add-a-way-to-reload-tweaks-when-there-are-changes-af.patch new file mode 100644 index 0000000..3d561e5 --- /dev/null +++ b/SOURCES/0003-Add-a-way-to-reload-tweaks-when-there-are-changes-af.patch @@ -0,0 +1,86 @@ +From f82a109c1db0497e62f22bace42f6ccf8db30821 Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Thu, 7 Nov 2013 21:39:47 +0100 +Subject: [PATCH 3/6] Add a way to reload tweaks when there are changes after + startup + +--- + gtweak/tweakmodel.py | 7 +++++++ + gtweak/tweakview.py | 30 ++++++++++++++++++++++++++++-- + 2 files changed, 35 insertions(+), 2 deletions(-) + +diff --git a/gtweak/tweakmodel.py b/gtweak/tweakmodel.py +index faa920b..0fa3053 100644 +--- a/gtweak/tweakmodel.py ++++ b/gtweak/tweakmodel.py +@@ -90,6 +90,7 @@ class TweakGroup: + def __init__(self, name, *tweaks): + self.name = name + self.tweaks = [] ++ self.model = None + + self._sg = Gtk.SizeGroup(mode=Gtk.SizeGroupMode.HORIZONTAL) + self._sg.props.ignore_hidden = True +@@ -165,6 +166,12 @@ class TweakModel(Gtk.ListStore): + _iter = self.append([gettext(tweakgroup.name), tweakgroup]) + self._tweak_group_names[tweakgroup.name] = tweakgroup + self._tweak_group_iters[tweakgroup.name] = _iter ++ tweakgroup.model = self ++ ++ def tweaks_changed(self, group): ++ _iter = self._tweak_group_iters[group.name] ++ _path = self.get_path(_iter) ++ self.row_changed(_path, _iter) + + def add_tweak_auto_to_group(self, tweak): + if not tweak.loaded: +diff --git a/gtweak/tweakview.py b/gtweak/tweakview.py +index ac8ae45..9de821c 100644 +--- a/gtweak/tweakview.py ++++ b/gtweak/tweakview.py +@@ -73,14 +73,40 @@ class TweakView: + ctx.add_provider (provider,6000) + + #add all tweaks ++ self._tweak_set = set() + self._tweak_vbox = builder.get_object('tweak_vbox') ++ self.reload_tweaks() ++ ++ self._model.connect('row-changed', self._on_model_row_changed) ++ ++ #dict of pending notifications, the key is the function to be called ++ self._notification_functions = {} ++ ++ def reload_tweaks(self): ++ new_tweak_set = set() ++ + for t in sorted(self._model.tweaks, key=_sort_tweak_widgets_by_widget_type): ++ new_tweak_set.add(t) ++ if t in self._tweak_set: ++ continue ++ + t.main_window = self._main_window + self._tweak_vbox.pack_start(t.widget, False, False, 0) + t.set_notify_cb(self._on_tweak_notify) + +- #dict of pending notifications, the key is the function to be called +- self._notification_functions = {} ++ self._tweak_set.add(t) ++ ++ for t in self._tweak_set - new_tweak_set: ++ self._tweak_vbox.remove(t.widget) ++ ++ self._tweak_set = new_tweak_set ++ ++ def _on_model_row_changed(self, model, path, titer): ++ model, selected = self.treeview.get_selection().get_selected_rows() ++ self.select_none() ++ self.reload_tweaks() ++ if len(selected) > 0: ++ self.treeview.get_selection().select_path(selected[0]) + + def run(self): + self._main_window.show_all() +-- +1.8.3.1 + diff --git a/SOURCES/0004-Add-tweaks-for-shell-extensions-installed-after-star.patch b/SOURCES/0004-Add-tweaks-for-shell-extensions-installed-after-star.patch new file mode 100644 index 0000000..c003728 --- /dev/null +++ b/SOURCES/0004-Add-tweaks-for-shell-extensions-installed-after-star.patch @@ -0,0 +1,74 @@ +From 970f199e2c34edb92e5e67080365926ef51e63d4 Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Thu, 7 Nov 2013 21:40:56 +0100 +Subject: [PATCH 4/6] Add tweaks for shell extensions installed after startup + +--- + gtweak/tweaks/tweak_shell_extensions.py | 29 +++++++++++++++++++++++++++++ + 1 file changed, 29 insertions(+) + +diff --git a/gtweak/tweaks/tweak_shell_extensions.py b/gtweak/tweaks/tweak_shell_extensions.py +index 648a4ca..e3ef7b6 100644 +--- a/gtweak/tweaks/tweak_shell_extensions.py ++++ b/gtweak/tweaks/tweak_shell_extensions.py +@@ -203,14 +203,22 @@ class ShellExtensionTweakGroup(TweakGroup): + def __init__(self): + TweakGroup.__init__(self, N_("Shell Extensions")) + ++ self._shell = None ++ self._uuids = set() ++ + extension_tweaks = [] + sg = build_horizontal_sizegroup() ++ self._sg = sg + + #check the shell is running + try: + shell = GnomeShellFactory().get_shell() + if shell is None: + raise Exception("Shell not running or DBus service not available") ++ else: ++ self._shell = shell ++ ++ shell.extensions_proxy.connect('g-signal', self._extensions_signal) + + #add the extension installer + extension_tweaks.append( +@@ -223,6 +231,7 @@ class ShellExtensionTweakGroup(TweakGroup): + try: + extension_tweaks.append( + _ShellExtensionTweak(shell, extension, size_group=sg)) ++ self._uuids.add(extension["uuid"]) + except: + logging.warning("Invalid extension", exc_info=True) + except: +@@ -232,6 +241,26 @@ class ShellExtensionTweakGroup(TweakGroup): + + self.set_tweaks(*extension_tweaks) + ++ def _extensions_signal(self, proxy, sender, signal, params): ++ if signal != 'ExtensionStatusChanged': ++ return ++ ++ uuid = params[0] ++ if uuid in self._uuids: ++ return ++ ++ try: ++ extension = self._shell.extensions_proxy.GetExtensionInfo('(s)', uuid) ++ try: ++ self.set_tweaks(_ShellExtensionTweak(self._shell, extension, size_group=self._sg)) ++ self._uuids.add(uuid) ++ self.model.tweaks_changed(self) ++ except: ++ logging.warning("Invalid extension", exc_info=True) ++ except: ++ logging.warning("Error getting extension info", exc_info=True) ++ ++ + TWEAK_GROUPS = ( + ShellExtensionTweakGroup(), + ) +-- +1.8.3.1 + diff --git a/SOURCES/0005-tweak_shell_extensions.py-Load-extension-after-insta.patch b/SOURCES/0005-tweak_shell_extensions.py-Load-extension-after-insta.patch new file mode 100644 index 0000000..18a1b93 --- /dev/null +++ b/SOURCES/0005-tweak_shell_extensions.py-Load-extension-after-insta.patch @@ -0,0 +1,42 @@ +From 6c960d843fe2e3d56d10ed6dd145c4fcb6db0165 Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Fri, 8 Nov 2013 11:34:55 +0100 +Subject: [PATCH 5/6] tweak_shell_extensions.py: Load extension after + installing it + +--- + gtweak/tweaks/tweak_shell_extensions.py | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +diff --git a/gtweak/tweaks/tweak_shell_extensions.py b/gtweak/tweaks/tweak_shell_extensions.py +index e3ef7b6..e69b92f 100644 +--- a/gtweak/tweaks/tweak_shell_extensions.py ++++ b/gtweak/tweaks/tweak_shell_extensions.py +@@ -173,7 +173,10 @@ class _ShellExtensionInstallerTweak(Tweak): + "/".join(fragment), + os.path.join(self._shell.EXTENSION_DIR, extension_uuid)) + +- if ok: ++ try: ++ if not ok: ++ raise Exception() ++ + if updated: + verb = _("%s extension updated successfully") % extension_uuid + else: +@@ -185,9 +188,11 @@ class _ShellExtensionInstallerTweak(Tweak): + _("Restart"), + self._shell.restart) + else: ++ if not self._shell.extensions_proxy.LoadUserExtension('(s)', extension_uuid): ++ raise Exception() + self.notify_info(verb) + +- else: ++ except: + self.notify_error(_("Error installing extension")) + + +-- +1.8.3.1 + diff --git a/SOURCES/0006-Prevent-SESSION_MODE-extensions-from-being-enabled-d.patch b/SOURCES/0006-Prevent-SESSION_MODE-extensions-from-being-enabled-d.patch new file mode 100644 index 0000000..77084ad --- /dev/null +++ b/SOURCES/0006-Prevent-SESSION_MODE-extensions-from-being-enabled-d.patch @@ -0,0 +1,54 @@ +From f9ec2f285f9658cf422d3c5a0db056ccaeaa4aa2 Mon Sep 17 00:00:00 2001 +From: Rui Matos +Date: Fri, 8 Nov 2013 14:39:23 +0100 +Subject: [PATCH 6/6] Prevent SESSION_MODE extensions from being + enabled/disabled + +gnome-shell always enables this kind of extensions and doesn't allow +disabling them so reflect that in the UI. +--- + gtweak/gshellwrapper.py | 6 +++--- + gtweak/tweaks/tweak_shell_extensions.py | 3 ++- + 2 files changed, 5 insertions(+), 4 deletions(-) + +diff --git a/gtweak/gshellwrapper.py b/gtweak/gshellwrapper.py +index 3b0cf16..9b40516 100644 +--- a/gtweak/gshellwrapper.py ++++ b/gtweak/gshellwrapper.py +@@ -91,7 +91,8 @@ class GnomeShell: + + EXTENSION_TYPE = { + "SYSTEM" : 1, +- "PER_USER" : 2 ++ "PER_USER" : 2, ++ "SESSION_MODE" : 3, + } + + DATA_DIR = os.path.join(GLib.get_user_data_dir(), "gnome-shell") +@@ -138,8 +139,7 @@ class GnomeShell32(GnomeShell): + return self._proxy.proxy.ListExtensions() + + def extension_is_active(self, state, uuid): +- return state == GnomeShell.EXTENSION_STATE["ENABLED"] and \ +- self._settings.setting_is_in_list(self.EXTENSION_ENABLED_KEY, uuid) ++ return state == GnomeShell.EXTENSION_STATE["ENABLED"] + + def enable_extension(self, uuid): + self._settings.setting_add_to_list(self.EXTENSION_ENABLED_KEY, uuid) +diff --git a/gtweak/tweaks/tweak_shell_extensions.py b/gtweak/tweaks/tweak_shell_extensions.py +index e69b92f..19055c0 100644 +--- a/gtweak/tweaks/tweak_shell_extensions.py ++++ b/gtweak/tweaks/tweak_shell_extensions.py +@@ -34,7 +34,8 @@ class _ShellExtensionTweak(Tweak): + if state == GnomeShell.EXTENSION_STATE["ENABLED"] or \ + state == GnomeShell.EXTENSION_STATE["DISABLED"] or \ + state == GnomeShell.EXTENSION_STATE["INITIALIZED"]: +- sensitive = True ++ if ext.get("type") != GnomeShell.EXTENSION_TYPE["SESSION_MODE"]: ++ sensitive = True + elif state == GnomeShell.EXTENSION_STATE["DOWNLOADING"]: + info = _("Extension downloading") + elif state == GnomeShell.EXTENSION_STATE["ERROR"]: +-- +1.8.3.1 + diff --git a/SPECS/gnome-tweak-tool.spec b/SPECS/gnome-tweak-tool.spec new file mode 100644 index 0000000..fa8c3dc --- /dev/null +++ b/SPECS/gnome-tweak-tool.spec @@ -0,0 +1,234 @@ +%global major_version %%(cut -d "." -f 1-2 <<<%{version}) + +Name: gnome-tweak-tool +Version: 3.8.1 +Release: 4%{?dist} +Summary: A tool to customize advanced GNOME 3 options + +License: GPLv3 +URL: http://live.gnome.org/GnomeTweakTool +Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/%{major_version}/gnome-tweak-tool-%{version}.tar.xz + +Patch0: 0001-gtweak-tweakmodel.py-Fix-search.patch +Patch1: 0001-tweak_typing.py-Make-sure-we-display-all-the-text-in.patch + +Patch2: 0001-tweak_shell_extensions.py-Offer-to-restart-the-shell.patch +Patch3: 0002-tweak_shell_extensions.py-Disable-widget-if-extensio.patch +Patch4: 0003-Add-a-way-to-reload-tweaks-when-there-are-changes-af.patch +Patch5: 0004-Add-tweaks-for-shell-extensions-installed-after-star.patch +Patch6: 0005-tweak_shell_extensions.py-Load-extension-after-insta.patch +Patch7: 0006-Prevent-SESSION_MODE-extensions-from-being-enabled-d.patch + +BuildArch: noarch +BuildRequires: GConf2 +BuildRequires: intltool +BuildRequires: pkgconfig(gsettings-desktop-schemas) +BuildRequires: pkgconfig(pygobject-3.0) +BuildRequires: desktop-file-utils +Requires: gnome-shell +Requires: nautilus +Requires: pygobject3 + +%description +GNOME Tweak Tool is an application for changing the advanced settings +of GNOME 3. + +Features: +* Install and switch gnome-shell themes +* Switch gtk/icon/cursor themes +* Switch window manager themes +* Change: + * The user-interface and titlebar fonts + * Icons in menus and buttons + * Behavior on laptop lid close + * Shell font size + * File manager desktop icons + * Titlebar click action + * Shell clock to show date + * Font hinting and antialiasing + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 + + +%build +PYTHON=%{__python} +export PYTHON +%configure +make %{?_smp_mflags} + + +%install +PYTHON=%{__python} +export PYTHON +make install DESTDIR=$RPM_BUILD_ROOT + +sed -i '1s|^#!/usr/bin/env python|#!%{__python}|' $RPM_BUILD_ROOT%{_bindir}/%{name} + +# Leave the desktop file validation, but don't return an error value ("Phanteon" +# value not supported yet in "OnlyShowIn" key by validator) +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop || true + +%find_lang %{name} + + +%post +/bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null || : + + +%postun +if [ $1 -eq 0 ] ; then + /bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null + /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor/ &>/dev/null || : +fi + + +%posttrans +/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : + + +%files -f %{name}.lang +%doc AUTHORS COPYING NEWS README +%{_bindir}/%{name} +%{python_sitelib}/gtweak/ +%{_datadir}/applications/%{name}.desktop +%{_datadir}/%{name}/ +%{_datadir}/icons/hicolor/*/apps/%{name}.png + + +%changelog +* Fri Nov 8 2013 Rui Matos - 3.8.1-4 +- Resolves: rhbz#1017208 - Restart button in gnome-tweak-tool does not restart gnome-shell +- Resolves: rhbz#1016144 - User should not change state of Classic Mode extensions in gnome-tweak-tool + +* Tue Nov 5 2013 Rui Matos - 3.8.1-3 +- Resolves: rhbz#998547 - Descriptions in drop-down lists don't fit in window +- Resolves: rhbz#1014796 - Search does not work in gnome-tweak-tool + +* Fri Nov 1 2013 Rui Matos +- Resolves: rhbz#987021 - avoid shebang with /usr/bin/env + +* Sat Sep 14 2013 Mohamed El Morabity - 3.8.1-2 +- Drop gnome-tweak-tool-3.8.0-shell_themes.patch patch, since theme search is + fixed with GS user theme extension 3.8.4 + +* Tue Jul 23 2013 Mohamed El Morabity - 3.8.1-1 +- Update to 3.8.1 +- Drop gnome-tweak-tool-3.8.0-pref.js.patch patch (merged upstream) + +* Sun Jul 07 2013 Mohamed El Morabity - 3.8.0-3 +- Add patch to make gnome-tweak-tool look shell themes only in ~/.themes + +* Sat May 25 2013 Mohamed El Morabity - 3.8.0-2 +- Add patch to allow pref.js for system extensions (thanks to Ralph Bean) + +* Mon Apr 08 2013 Mohamed El Morabity - 3.8.0-1 +- Update to 3.8.0 + +* Thu Feb 14 2013 Fedora Release Engineering - 3.7.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jan 16 2013 Mohamed El Morabity - 3.7.4-1 +- Update to 3.7.4 +- Drop remove_lid_close_settings patch, fixed upstream +- Spec cleanup + +* Fri Nov 2 2012 Michel Salim - 3.6.1-2 +- Drop lid close configuration options that are now handled by systemd + +* Tue Oct 16 2012 Kalev Lember - 3.6.1-1 +- Update to 3.6.1 + +* Wed Oct 3 2012 Matthias Clasen - 3.6.0-1 +- Update to 3.6.0 + +* Wed Aug 22 2012 Richard Hughes - 3.5.5-1 +- Update to 3.5.5 + +* Thu Aug 9 2012 Michel Salim - 3.5.4-1 +- Update to 3.5.4 + +* Sun Aug 5 2012 Michel Salim - 3.5.0-0.1.20120717git3869087 +- Update to 3.5.0 snapshot for GNOME 3.5.x compatibility + +* Thu Jul 19 2012 Fedora Release Engineering - 3.4.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 4 2012 Michel Salim - 3.4.0.1-2 +- Add R: on user theme extension (# 826129) + +* Mon May 14 2012 Richard Hughes - 3.4.0.1-1 +- Update to 3.4.0.1 + +* Mon May 14 2012 Richard Hughes - 3.4.0-1 +- Update to 3.4.0 + +* Sat Jan 21 2012 Michel Salim - 3.3.4-1 +- Update to 3.3.4 + +* Fri Jan 13 2012 Fedora Release Engineering - 3.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Nov 14 2011 Michel Salim - 3.2.1-1 +- Update to 3.2.1 + +* Wed Sep 28 2011 Ray - 3.2.0-1 +- Update to 3.2.0 + +* Thu Sep 1 2011 Michel Salim - 3.1.90-1 +- Update to 3.1.90 + +* Sun Aug 21 2011 Michel Salim - 3.1.0-1 +- Update to 3.1.0 + +* Tue Jul 19 2011 Michel Salim - 3.0.5-2 +- Depend on nautilus (# 722541) + +* Thu Jun 30 2011 Michel Salim - 3.0.5-1 +- Update to 3.0.5 +- upstream news: + http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.5.news + * autostart fixes + * appearance improvements + * focus follow mouse mode + * finer-grained desktop item visibility + * streamlined shell restart offer when enabling extensions + +* Mon Jun 13 2011 Rahul Sundaram - 3.0.4-1 +- Update to 3.0.4 +- Dropped redundant commented out lines in spec +- Updated description +- Dropped defattr since it is set by default in recent RPM +- http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.4.news + * Enables support for system wide themes + * Supports management of shell extensions + +* Wed May 4 2011 Michel Salim - 3.0.3-1 +- Update to 3.0.3 + +* Mon Apr 4 2011 Michel Salim - 3.0.0-1 +- Update to 3.0.0 + +* Fri Mar 25 2011 Michel Salim - 2.91.93-2 +- Enable icon theme selection + +* Fri Mar 25 2011 Michel Salim - 2.91.93-1 +- Update to 2.91.93 + +* Tue Mar 22 2011 Michel Salim - 2.91.92-3 +- Include license information + +* Tue Mar 22 2011 Michel Salim - 2.91.92-2 +- Use %%configure macro +- Validate desktop file + +* Mon Mar 21 2011 Michel Salim - 2.91.92-1 +- Initial package