Skip to content

Commit

Permalink
Merge pull request #13 from FelixZhang/bnc#877369
Browse files Browse the repository at this point in the history
Make category headings localized (bnc#877369)
  • Loading branch information
FelixZhang committed Jul 22, 2014
2 parents 00e9337 + b860a3b commit 412ae33
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions package/yast2-control-center-gnome.changes
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
-------------------------------------------------------------------
Tue Jul 22 07:04:54 UTC 2014 - fezhang@suse.com

- make category headings localized (bnc#877369)
- 3.1.7

-------------------------------------------------------------------
Sun Jun 29 01:18:10 UTC 2014 - fezhang@suse.com

- fix memory leak
- 3.1.6

-------------------------------------------------------------------
Thu Jun 19 11:33:03 UTC 2014 - fezhang@suse.com

- ellipsize overlong icon texts and add tooltips (bnc#879959)
- 3.1.5

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-control-center-gnome.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-control-center-gnome
Version: 3.1.6
Version: 3.1.7
Release: 0

Summary: YaST2 - Control Center (GNOME version)
Expand Down
4 changes: 3 additions & 1 deletion src/cut-n-paste/shell/cc-shell-category-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include "cc-shell.h"
#include "cc-shell-model.h"

#include "glib/gi18n.h"

G_DEFINE_TYPE (CcShellCategoryView, cc_shell_category_view, GTK_TYPE_FRAME)

#define SHELL_CATEGORY_VIEW_PRIVATE(o) \
Expand Down Expand Up @@ -145,7 +147,7 @@ cc_shell_category_view_constructed (GObject *object)
GtkWidget *label;
PangoAttrList *attrs;

label = gtk_label_new (priv->name);
label = gtk_label_new (_(priv->name));
attrs = pango_attr_list_new ();
pango_attr_list_insert (attrs, pango_attr_weight_new (PANGO_WEIGHT_BOLD));
gtk_label_set_attributes (GTK_LABEL (label), attrs);
Expand Down

0 comments on commit 412ae33

Please sign in to comment.