Skip to content

Commit

Permalink
Cleanup: Remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamaranch committed Aug 28, 2021
1 parent d0c80ed commit dc662f3
Show file tree
Hide file tree
Showing 42 changed files with 184 additions and 205 deletions.
14 changes: 7 additions & 7 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- Update credits
- Add support for old gtk2-style bg color settings
- Add missing LDFLAGS (fixes build on *bsd)
- In fullscreen mode, show toolbar when the mouse pointer is moved to
- In fullscreen mode, show toolbar when the mouse pointer is moved to
the top
- Return to git versioning
- Translation Updates:
Expand Down Expand Up @@ -268,7 +268,7 @@ Stable release of Ristretto
- Replace the thumbnailbar with a port of exo-icon-bar
- Remove exo dependency
- Support http://docs.xfce.org/ for documentation

0.3.0
=====
- Re-introduce autorotation based on the exif-orientation tag, a
Expand All @@ -283,7 +283,7 @@ Stable release of Ristretto
- Add help->contents menuitem, launching documentation
- Add a user-manual
- Solve problem with size-calculation in size_prepared callback
- Set default height to 440px, Show all buttons on a vertically aligned
- Set default height to 440px, Show all buttons on a vertically aligned
navigationbar
- Show thumbnailbar by default
- Show toolbar when closing images in fullscreen-mode
Expand All @@ -300,7 +300,7 @@ Stable release of Ristretto
=====
- Fix bug #6866 (Improve the sorting algorythm for filenames)
- Fix bug #8025 (Add Stock-icon to set-wallpaper menu-item)
- Fix bug #7867 (Fix a problem where the image-viewer is updated too
- Fix bug #7867 (Fix a problem where the image-viewer is updated too
often, sometimes indefinately until the widget-size is changed again.)
- Improve open-file and close-file behaviour
- Hide thumbnailbar when no images are opened
Expand Down Expand Up @@ -358,7 +358,7 @@ Stable release of Ristretto
image when closing.
- Open the first image from a folder when opening a folder from the
recently-used-items list.
- Re-implement the file-properties dialog. Open thunar's properties
- Re-implement the file-properties dialog. Open thunar's properties
dialog when thunar is available. Add a 'fallback' dialog for when
thunar is not available
- Update the Gtk+ dependency to version 2.20 and the Glib dependency
Expand All @@ -375,7 +375,7 @@ Stable release of Ristretto
- Save and restore image zoom-state when navigating
- Implement 'Ready' signal-handler for thumbnailer-spec
- Fix build with --no-add-needed
- Set 'preload-images' checkbox to the right state when the
- Set 'preload-images' checkbox to the right state when the
preferences-window is created
- Correctly cleanup the references to xfconf
- Fix bug #7336 (segfault when closing last image)
Expand Down Expand Up @@ -454,5 +454,5 @@ Stable release of Ristretto
modifying the view
- Add tooltip support (atm with gtk+-2.12 only)
- Improve caching behaviour (NOTE: when updating from an earlier version, check
the preferences dialog for the cache-size. It might point to 1MB which does
the preferences dialog for the cache-size. It might point to 1MB which does
not seem very usefull)
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

# ristretto

Ristretto Image Viewer is an application that can be used to view, and
Ristretto Image Viewer is an application that can be used to view, and
scroll through images.

It can be used to run a slideshow of images, open images with other
It can be used to run a slideshow of images, open images with other
applications like an image-editor or configure an image as the desktop wallpaper.

----
Expand All @@ -30,7 +30,7 @@ See [NEWS](https://gitlab.xfce.org/apps/ristretto/-/blob/master/NEWS) for detail

### Installation

From source code repository:
From source code repository:

% cd ristretto
% ./autogen.sh
Expand Down
2 changes: 0 additions & 2 deletions icons/128x128/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@

iconsdir = $(datadir)/icons/hicolor/128x128/apps
icons_DATA = org.xfce.ristretto.png


EXTRA_DIST = $(icons_DATA)

2 changes: 0 additions & 2 deletions icons/16x16/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@

iconsdir = $(datadir)/icons/hicolor/16x16/apps
icons_DATA = org.xfce.ristretto.png


EXTRA_DIST = $(icons_DATA)

2 changes: 0 additions & 2 deletions icons/24x24/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@

iconsdir = $(datadir)/icons/hicolor/24x24/apps
icons_DATA = org.xfce.ristretto.png


EXTRA_DIST = $(icons_DATA)

2 changes: 0 additions & 2 deletions icons/32x32/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@

iconsdir = $(datadir)/icons/hicolor/32x32/apps
icons_DATA = org.xfce.ristretto.png


EXTRA_DIST = $(icons_DATA)

2 changes: 0 additions & 2 deletions icons/48x48/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@

iconsdir = $(datadir)/icons/hicolor/48x48/apps
icons_DATA = org.xfce.ristretto.png


EXTRA_DIST = $(icons_DATA)

4 changes: 2 additions & 2 deletions ristretto.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</_p>
<_p>The Ristretto Image Viewer is an application that can be used to view
and scroll through images, run a slideshow of images, open images with
other applications like an image-editor or configure an image as the
desktop wallpaper.
other applications like an image-editor or configure an image as the
desktop wallpaper.
</_p>
</description>

Expand Down
8 changes: 4 additions & 4 deletions src/app_menu_item.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
* 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
Expand Down Expand Up @@ -109,10 +109,10 @@ rstto_app_menu_item_activate (GtkMenuItem *object)
* rstto_app_menu_item_new:
* @app_info: Application info
* @file: File
*
*
* Creates new RsttoAppMenuItem
*
* Returns: RsttoAppMenuItem that launches application @app_info with @file
* Returns: RsttoAppMenuItem that launches application @app_info with @file
*/
GtkWidget *
rstto_app_menu_item_new (GAppInfo *app_info, GFile *file)
Expand Down
4 changes: 2 additions & 2 deletions src/app_menu_item.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
* 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
Expand Down
4 changes: 2 additions & 2 deletions src/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
* 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
Expand Down
4 changes: 2 additions & 2 deletions src/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
* 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
Expand Down
8 changes: 4 additions & 4 deletions src/gnome_wallpaper_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
* 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
Expand Down Expand Up @@ -74,7 +74,7 @@ struct _RsttoGnomeWallpaperManagerPrivate

RsttoFile *file;
GdkPixbuf *pixbuf;

GtkWidget *monitor_chooser;
GtkWidget *style_combo;

Expand All @@ -90,7 +90,7 @@ G_DEFINE_TYPE_WITH_CODE (RsttoGnomeWallpaperManager, rstto_gnome_wallpaper_manag



static gint
static gint
rstto_gnome_wallpaper_manager_configure_dialog_run (
RsttoWallpaperManager *self,
RsttoFile *file,
Expand Down
4 changes: 2 additions & 2 deletions src/gnome_wallpaper_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
* 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
Expand Down
2 changes: 1 addition & 1 deletion src/icon_bar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ rstto_icon_bar_paint_item (
gtk_tree_model_get (icon_bar->priv->model, &iter,
icon_bar->priv->file_column, &file,
-1);

pixbuf = rstto_file_get_thumbnail (file, icon_bar->priv->thumbnail_size);

g_object_unref (file);
Expand Down
Loading

0 comments on commit dc662f3

Please sign in to comment.