aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-02-13 04:39:55 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-13 04:39:55 +0800
commitf2928d9a3b8411a189c6ba9523c20890b0772791 (patch)
tree579ef456cd3e34d199ac37e0ed32f8d80fb0835b /src/bookmarks
parentc8d58f062a15c0a42bdaf359449cfdf8c6c8afd8 (diff)
downloadgsoc2013-epiphany-f2928d9a3b8411a189c6ba9523c20890b0772791.tar
gsoc2013-epiphany-f2928d9a3b8411a189c6ba9523c20890b0772791.tar.gz
gsoc2013-epiphany-f2928d9a3b8411a189c6ba9523c20890b0772791.tar.bz2
gsoc2013-epiphany-f2928d9a3b8411a189c6ba9523c20890b0772791.tar.lz
gsoc2013-epiphany-f2928d9a3b8411a189c6ba9523c20890b0772791.tar.xz
gsoc2013-epiphany-f2928d9a3b8411a189c6ba9523c20890b0772791.tar.zst
gsoc2013-epiphany-f2928d9a3b8411a189c6ba9523c20890b0772791.zip
Fix default size, remove some unnecessary spaces
2003-02-12 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_dispose), (ephy_bookmarks_editor_node_selected_cb), (ephy_bookmarks_editor_go_to_location), (ephy_bookmarks_editor_construct): Fix default size, remove some unnecessary spaces
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index a538da8c9..826e245af 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -147,7 +147,7 @@ ephy_bookmarks_editor_dispose (GObject *object)
G_OBJECT_CLASS (parent_class)->dispose (object);
return;
}
-
+
selected_id = ephy_node_get_id (EPHY_NODE (selection->data));
if (selected_id >= 0)
{
@@ -156,7 +156,7 @@ ephy_bookmarks_editor_dispose (GObject *object)
selected_id_str);
g_free (selected_id_str);
}
-
+
g_list_free (selection);
editor->priv->key_view = NULL;
@@ -208,7 +208,7 @@ ephy_bookmarks_editor_node_selected_cb (GtkWidget *view,
gtk_entry_set_text (GTK_ENTRY (editor->priv->keywords_entry),
keywords ? g_strdup (keywords) : "");
gtk_entry_set_text (GTK_ENTRY (editor->priv->location_entry),
- location ? g_strdup (location) : "");
+ location ? g_strdup (location) : "");
gtk_widget_set_sensitive (GTK_WIDGET (editor->priv->title_entry), TRUE);
gtk_widget_set_sensitive (GTK_WIDGET (editor->priv->keywords_entry), TRUE);
gtk_widget_set_sensitive (GTK_WIDGET (editor->priv->location_entry), TRUE);
@@ -253,7 +253,7 @@ ephy_bookmarks_editor_go_to_location (EphyBookmarksEditor *editor)
if (selection != NULL)
{
EphyNode *bm = EPHY_NODE (selection->data);
-
+
location = ephy_node_get_property_string (bm,
EPHY_NODE_BMK_PROP_LOCATION);
g_return_if_fail (location != NULL);
@@ -513,7 +513,7 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor)
gtk_dialog_set_has_separator (GTK_DIALOG (editor), FALSE);
gtk_container_set_border_width (GTK_CONTAINER (editor), 6);
- gtk_widget_set_size_request (GTK_WIDGET (editor), 600, 400);
+ gtk_widget_set_size_request (GTK_WIDGET (editor), 500, 400);
g_signal_connect (G_OBJECT (editor),
"response",
G_CALLBACK (ephy_bookmarks_editor_response_cb),
@@ -533,7 +533,7 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor)
ephy_node_view_add_column (key_view, _("Keywords"),
EPHY_TREE_MODEL_NODE_COL_KEYWORD, FALSE);
gtk_box_pack_start (GTK_BOX (hbox), GTK_WIDGET (key_view), FALSE, TRUE, 0);
- gtk_widget_set_size_request (GTK_WIDGET (key_view), 180, -1);
+ gtk_widget_set_size_request (GTK_WIDGET (key_view), 130, -1);
gtk_widget_show (GTK_WIDGET (key_view));
editor->priv->key_view = key_view;
g_signal_connect (G_OBJECT (key_view),