[solang] Added shadows to the scrolled windows
- From: Debarshi Ray <debarshir src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [solang] Added shadows to the scrolled windows
- Date: Sat, 30 Jan 2010 15:03:00 +0000 (UTC)
commit 8d0c60e40fac2645439a18401c6d59984c365114
Author: Debarshi Ray <rishi gnu org>
Date: Sat Jan 30 16:57:45 2010 +0200
Added shadows to the scrolled windows
src/attribute/date-manager.cpp | 3 +++
src/attribute/property-manager.cpp | 4 +++-
src/attribute/search-manager.cpp | 1 +
src/attribute/tag-manager.cpp | 2 ++
src/attribute/tag-new-dialog.cpp | 3 ++-
src/importer/camera-import-widget.cpp | 2 ++
src/importer/flickr-auth-dialog.cpp | 4 +++-
src/importer/flickr-chooser-dialog.cpp | 3 ++-
src/importer/importer-dialog.cpp | 3 ++-
src/renderer/browser-renderer.cpp | 1 +
10 files changed, 21 insertions(+), 5 deletions(-)
---
diff --git a/src/attribute/date-manager.cpp b/src/attribute/date-manager.cpp
index ba946af..5d47739 100644
--- a/src/attribute/date-manager.cpp
+++ b/src/attribute/date-manager.cpp
@@ -1,5 +1,6 @@
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
+ * Copyright (C) 2010 Debarshi Ray <rishi gnu org>
* Copyright (C) 2009 Santanu Sinha <santanu sinha gmail com>
*
* Solang is free software: you can redistribute it and/or modify it
@@ -63,6 +64,8 @@ DateManager::DateManager() throw() :
scrolledWindow_.set_policy(Gtk::POLICY_AUTOMATIC,
Gtk::POLICY_AUTOMATIC);
+ scrolledWindow_.set_shadow_type(Gtk::SHADOW_IN);
+
scrolledWindow_.add(dateView_);
vBox_.pack_start( scrolledWindow_, Gtk::PACK_EXPAND_WIDGET,0 );
diff --git a/src/attribute/property-manager.cpp b/src/attribute/property-manager.cpp
index c2ca1cb..0e57fc9 100644
--- a/src/attribute/property-manager.cpp
+++ b/src/attribute/property-manager.cpp
@@ -1,6 +1,6 @@
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
- * Copyright (C) 2009 Debarshi Ray <rishi gnu org>
+ * Copyright (C) 2009, 2010 Debarshi Ray <rishi gnu org>
*
* exif-manager.cpp is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -66,6 +66,8 @@ PropertyManager::PropertyManager() throw() :
basicInfo_.set_policy(Gtk::POLICY_AUTOMATIC,
Gtk::POLICY_AUTOMATIC);
+ basicInfo_.set_shadow_type(Gtk::SHADOW_IN);
+
basicInfo_.add(basicExifView_);
histBox_.pack_start( histogram_, Gtk::PACK_SHRINK, 6 );
diff --git a/src/attribute/search-manager.cpp b/src/attribute/search-manager.cpp
index b13fd43..c182db5 100644
--- a/src/attribute/search-manager.cpp
+++ b/src/attribute/search-manager.cpp
@@ -87,6 +87,7 @@ SearchManager::SearchManager() throw() :
scrolledWindow_.set_policy(Gtk::POLICY_AUTOMATIC,
Gtk::POLICY_AUTOMATIC);
+ scrolledWindow_.set_shadow_type(Gtk::SHADOW_IN);
SearchBasketColumnRecord model_column_record;
searchBasket_.append_column("",
diff --git a/src/attribute/tag-manager.cpp b/src/attribute/tag-manager.cpp
index a5c0604..180dfd9 100644
--- a/src/attribute/tag-manager.cpp
+++ b/src/attribute/tag-manager.cpp
@@ -135,6 +135,8 @@ TagManager::TagManager() throw() :
scrolledWindow_.set_policy(Gtk::POLICY_AUTOMATIC,
Gtk::POLICY_AUTOMATIC);
+ scrolledWindow_.set_shadow_type(Gtk::SHADOW_IN);
+
scrolledWindow_.add(tagView_);
#if 0
tagView_.signal_().connect(
diff --git a/src/attribute/tag-new-dialog.cpp b/src/attribute/tag-new-dialog.cpp
index 66d808b..962e520 100644
--- a/src/attribute/tag-new-dialog.cpp
+++ b/src/attribute/tag-new-dialog.cpp
@@ -1,6 +1,6 @@
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
- * Copyright (C) 2009 Debarshi Ray <rishi gnu org>
+ * Copyright (C) 2009, 2010 Debarshi Ray <rishi gnu org>
*
* Solang is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -242,6 +242,7 @@ TagNewDialog::setup_gui() throw()
descriptionScrolledWindow_.set_policy(Gtk::POLICY_AUTOMATIC,
Gtk::POLICY_AUTOMATIC);
+ descriptionScrolledWindow_.set_shadow_type(Gtk::SHADOW_IN);
mainTable_.attach(descriptionScrolledWindow_, 2, 3, 2, 3,
Gtk::FILL | Gtk::EXPAND,
Gtk::FILL | Gtk::EXPAND,
diff --git a/src/importer/camera-import-widget.cpp b/src/importer/camera-import-widget.cpp
index c2ba485..b0e8338 100644
--- a/src/importer/camera-import-widget.cpp
+++ b/src/importer/camera-import-widget.cpp
@@ -1,5 +1,6 @@
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
+ * Copyright (C) 2010 Debarshi Ray <rishi gnu org>
* Copyright (C) 2009 Santanu Sinha <santanu sinha gmail com>
*
* Solang is free software: you can redistribute it and/or modify it
@@ -453,6 +454,7 @@ CameraImportWidget::CameraImportWidget(GPhotoContext &context)
getPhotos_.set_label(_("Load Pictures"));
photos_.set_policy(
Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC );
+ photos_.set_shadow_type(Gtk::SHADOW_IN);
cameraPhotos_.set_model( picturesModel_ );
const TreeSelectionPtr refTreeSelection
= cameraPhotos_.get_selection();
diff --git a/src/importer/flickr-auth-dialog.cpp b/src/importer/flickr-auth-dialog.cpp
index ecf6bcd..98f52dc 100644
--- a/src/importer/flickr-auth-dialog.cpp
+++ b/src/importer/flickr-auth-dialog.cpp
@@ -1,6 +1,6 @@
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
- * Copyright (C) 2009 Debarshi Ray <rishi gnu org>
+ * Copyright (C) 2009, 2010 Debarshi Ray <rishi gnu org>
*
* Solang is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -51,6 +51,8 @@ FlickrAuthDialog::FlickrAuthDialog(const Glib::ustring & uri)
scrolledWindow_.set_policy(Gtk::POLICY_AUTOMATIC,
Gtk::POLICY_AUTOMATIC);
+ scrolledWindow_.set_shadow_type(Gtk::SHADOW_IN);
+
scrolledWindow_.add(*Glib::wrap(webView_, false));
g_object_ref(webView_);
diff --git a/src/importer/flickr-chooser-dialog.cpp b/src/importer/flickr-chooser-dialog.cpp
index adc78ed..18c4e9e 100644
--- a/src/importer/flickr-chooser-dialog.cpp
+++ b/src/importer/flickr-chooser-dialog.cpp
@@ -1,6 +1,6 @@
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
- * Copyright (C) 2009 Debarshi Ray <rishi gnu org>
+ * Copyright (C) 2009, 2010 Debarshi Ray <rishi gnu org>
*
* Solang is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -218,6 +218,7 @@ FlickrChooserDialog::FlickrChooserDialog(
scrolledWindow_.set_policy(Gtk::POLICY_AUTOMATIC,
Gtk::POLICY_AUTOMATIC);
+ scrolledWindow_.set_shadow_type(Gtk::SHADOW_IN);
vBox_.pack_start(scrolledWindow_, Gtk::PACK_EXPAND_WIDGET, 0);
FlickrDialogModelColumnRecord flickr_dialog_model_column_record;
diff --git a/src/importer/importer-dialog.cpp b/src/importer/importer-dialog.cpp
index 77802ce..052ad43 100644
--- a/src/importer/importer-dialog.cpp
+++ b/src/importer/importer-dialog.cpp
@@ -1,6 +1,6 @@
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
- * Copyright (C) 2009 Debarshi Ray <rishi gnu org>
+ * Copyright (C) 2009, 2010 Debarshi Ray <rishi gnu org>
*
* Solang is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -113,6 +113,7 @@ ImporterDialog::ImporterDialog(Gtk::Widget & browser,
tagsScrolledWindow_.set_policy(Gtk::POLICY_AUTOMATIC,
Gtk::POLICY_AUTOMATIC);
+ tagsScrolledWindow_.set_shadow_type(Gtk::SHADOW_IN);
tagsAlignment_.add(tagsScrolledWindow_);
optionsAlignment_.add(optionsVBox2_);
diff --git a/src/renderer/browser-renderer.cpp b/src/renderer/browser-renderer.cpp
index 6d8fd7d..8380555 100644
--- a/src/renderer/browser-renderer.cpp
+++ b/src/renderer/browser-renderer.cpp
@@ -252,6 +252,7 @@ BrowserRenderer::BrowserRenderer() throw() :
scrolledWindow_.set_policy(Gtk::POLICY_AUTOMATIC,
Gtk::POLICY_AUTOMATIC);
+ scrolledWindow_.set_shadow_type(Gtk::SHADOW_IN);
scrolledWindow_.add(thumbnailView_);
vBox_.pack_start(scrolledWindow_, Gtk::PACK_EXPAND_WIDGET, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]