aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-08-25 12:59:57 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-08-25 12:59:57 -0400
commit19a3d73c0f426910d18be978f95cb8abbe968c8d (patch)
tree8a6d68c0349bae1973c346f6feabe152ff604213
parent30d2dc3f1d4c8eb8ab9eb3be2d086c502f17c2b3 (diff)
parentb3c1899bbd140d83bf67a56c73bb57d2d77b40f7 (diff)
downloadayatana-indicator-messages-19a3d73c0f426910d18be978f95cb8abbe968c8d.tar.gz
ayatana-indicator-messages-19a3d73c0f426910d18be978f95cb8abbe968c8d.tar.bz2
ayatana-indicator-messages-19a3d73c0f426910d18be978f95cb8abbe968c8d.zip
* New upstream release.
* Fix naming of "Clear" item * Fix alignment of items to there is a consistent gutter * debian/patches/lp_690668.patch: Updating
-rw-r--r--AUTHORS1
-rw-r--r--ChangeLog32
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
-rw-r--r--debian/changelog9
-rw-r--r--debian/patches/lp_690668.patch2
-rw-r--r--src/indicator-messages.c17
-rw-r--r--src/messages-service.c3
8 files changed, 51 insertions, 17 deletions
diff --git a/AUTHORS b/AUTHORS
index dc75156..c7d95b6 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -10,6 +10,7 @@
Luke Yelavich
Marco Trevisan (TreviƱo)
Michael Terry
+ Omer Akram
Sebstien Bacher
Sven Baars
Ted Gould
diff --git a/ChangeLog b/ChangeLog
index f5553b5..2cc3829 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,37 @@
# Generated by Makefile. Do not edit.
+2011-08-25 Ted Gould <ted@gould.cx>
+
+ 0.4.95
+
+2011-08-25 Ted Gould <ted@gould.cx>
+
+ Fix the gutters
+
+2011-08-24 Ted Gould <ted@gould.cx>
+
+ Don't look up a style value we're not using
+
+2011-08-24 Ted Gould <ted@gould.cx>
+
+ Switching the padding to the toggle-spacing like the image menu item and using it at creation of the box
+
+2011-08-24 Ted Gould <ted@gould.cx>
+
+ Removing unneeded header
+
+2011-08-24 Ted Gould <ted@gould.cx>
+
+ Remove an unused hbox in the application menu item
+
+2011-08-22 Ted Gould <ted@gould.cx>
+
+ MPT's happiness is a feature
+
+2011-08-19 Omer Akram <om26er@ubuntu.com>
+
+ s/Clear Attention/Clear
+
2011-08-18 Ted Gould <ted@gould.cx>
0.4.94
diff --git a/configure b/configure
index f219aab..1d6fad3 100755
--- a/configure
+++ b/configure
@@ -2758,7 +2758,7 @@ fi
# Define the identity of the package.
PACKAGE=indicator-messages
- VERSION=0.4.94
+ VERSION=0.4.95
cat >>confdefs.h <<_ACEOF
diff --git a/configure.ac b/configure.ac
index 0bb8645..de4f91b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ AC_INIT(src/indicator-messages.c)
AC_PREREQ(2.53)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(indicator-messages, 0.4.94)
+AM_INIT_AUTOMAKE(indicator-messages, 0.4.95)
AM_MAINTAINER_MODE
diff --git a/debian/changelog b/debian/changelog
index f8c7b06..861c1c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+indicator-messages (0.4.95-0ubuntu1~ppa1) oneiric; urgency=low
+
+ * New upstream release.
+ * Fix naming of "Clear" item
+ * Fix alignment of items to there is a consistent gutter
+ * debian/patches/lp_690668.patch: Updating
+
+ -- Ted Gould <ted@ubuntu.com> Thu, 25 Aug 2011 09:09:20 -0500
+
indicator-messages (0.4.94-0ubuntu1) oneiric; urgency=low
* New upstream release.
diff --git a/debian/patches/lp_690668.patch b/debian/patches/lp_690668.patch
index 48ee7f5..d7f2ec2 100644
--- a/debian/patches/lp_690668.patch
+++ b/debian/patches/lp_690668.patch
@@ -40,5 +40,5 @@
+ g_object_unref(resized_pixbuf);
}
gtk_misc_set_alignment(GTK_MISC(mi_data->icon), 0.0, 0.5);
- gtk_box_pack_start(GTK_BOX(hbox), mi_data->icon, FALSE, FALSE, padding);
+ gtk_box_pack_start(GTK_BOX(hbox), mi_data->icon, FALSE, FALSE, 0);
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index f2baf83..2476d4d 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -581,11 +581,6 @@ new_application_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
GtkMenuItem * gmi = GTK_MENU_ITEM(gtk_image_menu_item_new());
gtk_image_menu_item_set_always_show_image(GTK_IMAGE_MENU_ITEM(gmi), TRUE);
- gint padding = 4;
- gtk_widget_style_get(GTK_WIDGET(gmi), "horizontal-padding", &padding, NULL);
-
- GtkWidget * hbox = gtk_hbox_new(FALSE, 0);
-
/* Set the minimum size, we always want it to take space */
gint width, height;
gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &width, &height);
@@ -602,12 +597,10 @@ new_application_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
/* Application name in a label */
GtkWidget * label = gtk_label_new(dbusmenu_menuitem_property_get(newitem, APPLICATION_MENUITEM_PROP_NAME));
gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
- gtk_box_pack_start(GTK_BOX(hbox), label, TRUE, TRUE, padding);
gtk_widget_show(label);
/* Insert the hbox */
- gtk_container_add(GTK_CONTAINER(gmi), hbox);
- gtk_widget_show(hbox);
+ gtk_container_add(GTK_CONTAINER(gmi), label);
/* Attach some of the standard GTK stuff */
dbusmenu_gtkclient_newitem_base(DBUSMENU_GTKCLIENT(client), newitem, gmi, parent);
@@ -698,9 +691,9 @@ new_indicator_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbusm
gint padding = 4;
gint font_size = RIGHT_LABEL_FONT_SIZE;
- gtk_widget_style_get(GTK_WIDGET(gmi), "horizontal-padding", &padding, NULL);
+ gtk_widget_style_get(GTK_WIDGET(gmi), "toggle-spacing", &padding, NULL);
- GtkWidget * hbox = gtk_hbox_new(FALSE, 0);
+ GtkWidget * hbox = gtk_hbox_new(FALSE, padding);
/* Icon, probably someone's face or avatar on an IM */
mi_data->icon = gtk_image_new();
@@ -735,7 +728,7 @@ new_indicator_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbusm
}
}
gtk_misc_set_alignment(GTK_MISC(mi_data->icon), 0.0, 0.5);
- gtk_box_pack_start(GTK_BOX(hbox), mi_data->icon, FALSE, FALSE, padding);
+ gtk_box_pack_start(GTK_BOX(hbox), mi_data->icon, FALSE, FALSE, 0);
if (pixbuf != NULL) {
gtk_widget_show(mi_data->icon);
@@ -744,7 +737,7 @@ new_indicator_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbusm
/* Label, probably a username, chat room or mailbox name */
mi_data->label = gtk_label_new(dbusmenu_menuitem_property_get(newitem, INDICATOR_MENUITEM_PROP_LABEL));
gtk_misc_set_alignment(GTK_MISC(mi_data->label), 0.0, 0.5);
- gtk_box_pack_start(GTK_BOX(hbox), mi_data->label, TRUE, TRUE, padding);
+ gtk_box_pack_start(GTK_BOX(hbox), mi_data->label, TRUE, TRUE, 0);
gtk_widget_show(mi_data->label);
/* Usually either the time or the count on the individual
diff --git a/src/messages-service.c b/src/messages-service.c
index 43e79d3..e8fe576 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -32,7 +32,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <libdbusmenu-glib/client.h>
#include <libdbusmenu-glib/server.h>
-#include <libdbusmenu-glib/menuitem-proxy.h>
#include "im-menu-item.h"
#include "app-menu-item.h"
@@ -1504,7 +1503,7 @@ main (int argc, char ** argv)
/* Add in the clear attention item */
clear_attention = dbusmenu_menuitem_new();
- dbusmenu_menuitem_property_set(clear_attention, DBUSMENU_MENUITEM_PROP_LABEL, _("Clear Attention"));
+ dbusmenu_menuitem_property_set(clear_attention, DBUSMENU_MENUITEM_PROP_LABEL, _("Clear"));
dbusmenu_menuitem_child_append(root_menuitem, clear_attention);
g_signal_connect(G_OBJECT(dbus_interface), MESSAGE_SERVICE_DBUS_SIGNAL_ATTENTION_CHANGED, G_CALLBACK(clear_attention_handler), clear_attention);
g_signal_connect(G_OBJECT(clear_attention), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(clear_attention_activate), dbus_interface);