From uludag-commits at pardus.org.tr Sun Jun 1 05:34:58 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 05:34:58 +0300 (EEST) Subject: [Uludag-commits] r18443 - trunk/tasma/display-manager/src Message-ID: <20080601023459.171FC13840AB@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 05:34:58 2008 New Revision: 18443 Modified: trunk/tasma/display-manager/src/hwdata.py Log: strip fields Modified: trunk/tasma/display-manager/src/hwdata.py ================================================================= --- trunk/tasma/display-manager/src/hwdata.py (original) +++ trunk/tasma/display-manager/src/hwdata.py Sun Jun 1 05:34:58 2008 @@ -105,6 +105,8 @@ if len(monitor) == 5: monitor.append('0') + monitor = map(str.strip, monitor) + if len(monitor) == 6: if not monitor[0] in vendor: vendor[monitor[0]] = [{ "model": monitor[1], From uludag-commits at pardus.org.tr Sun Jun 1 14:40:57 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 14:40:57 +0300 (EEST) Subject: [Uludag-commits] r18444 - in trunk/gsoc/notifier: . icons ui Message-ID: <20080601114058.0D6A313840AA@liste.pardus.org.tr> Author: ozan Date: Sun Jun 1 14:40:57 2008 New Revision: 18444 Added: trunk/gsoc/notifier/icons/ trunk/gsoc/notifier/icons/exit.png (contents, props changed) trunk/gsoc/notifier/icons/icon.png (contents, props changed) trunk/gsoc/notifier/icons/notif.png (contents, props changed) trunk/gsoc/notifier/ui/ trunk/gsoc/notifier/ui/default_notif_window.ui Removed: trunk/gsoc/notifier/exit.png trunk/gsoc/notifier/icon.png trunk/gsoc/notifier/notif.png Modified: trunk/gsoc/notifier/client.py trunk/gsoc/notifier/notclient.py trunk/gsoc/notifier/notdisplayer.py trunk/gsoc/notifier/notification.py trunk/gsoc/notifier/notman.py Log: Major recoding of the GUI part. The default GUI is not hardcoded anymore, it is dynamically read from the ui/default_notif_window.ui file. Result: The notification window should now be skinnable, it should read ui files made by others as long as it has the following essential components in it: an exit button (name exit_button), one pixmap container to display notification logo (named notification_picture), two text containers for the title and the text of the notification (named notification_title and notification_text respectively.) Next steps: Read configuration from an XML file, generate that XML file with a notification manager configuration GUI. Cheers, ozan Modified: trunk/gsoc/notifier/client.py ================================================================= --- trunk/gsoc/notifier/client.py (original) +++ trunk/gsoc/notifier/client.py Sun Jun 1 14:40:57 2008 @@ -16,6 +16,14 @@ while 1: line = raw_input(_("Enter a command: ")).decode(sys.stdin.encoding) words = line.split() + sections = line.split("\"") + if sections.__len__() < 5: + print _("Wrong command") + continue + title = sections[1] + text = sections[3] + if sections.__len__() == 7: + icon_path = sections[5] result = None if words.__len__() > 0: command = words[0] @@ -26,9 +34,14 @@ elif command == "echo": result = nt.Echo(line[5:]) elif command == "notify": - this_notification = Notification(line[7:]) - this_notification.Pack() - result = nt.SendNotification(this_notification) + if sections.__len__() == 7: + this_notification = Notification(notification_title = title, notification_text = text, notification_icon_path = icon_path) + result = nt.SendNotification(this_notification) + elif sections.__len__() == 5: + this_notification = Notification(notification_title = title, notification_text = text) + result = nt.SendNotification(this_notification) + else: + print _("Command format: notify notification_title notification_text") else: print _("Wrong command") if result != None: Modified: trunk/gsoc/notifier/notclient.py ================================================================= --- trunk/gsoc/notifier/notclient.py (original) +++ trunk/gsoc/notifier/notclient.py Sun Jun 1 14:40:57 2008 @@ -18,6 +18,7 @@ return self.iface.EchoSender(message_string) def SendNotification(self, notification): + notification.Pack() pickled_notification = pickle.dumps(notification) pickled_result = self.iface.AddNotification(pickled_notification) notification = pickle.loads(pickled_result.__str__()) Modified: trunk/gsoc/notifier/notdisplayer.py ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... Modified: trunk/gsoc/notifier/notification.py ================================================================= --- trunk/gsoc/notifier/notification.py (original) +++ trunk/gsoc/notifier/notification.py Sun Jun 1 14:40:57 2008 @@ -5,14 +5,20 @@ # Notifications are encapsulated into this class: class Notification: - def __init__(self, message_text = _("Default notification text")): - self.text = message_text + def __init__(self, notification_title = _("New Notification!"), notification_text = _("Default notification text"), notification_icon_path = "./icons/notif.png"): + self.notification_title = notification_title + self.notification_text = notification_text + self.notification_icon_path = notification_icon_path self.isReceived = False def Pack(self): # For multi-platform compatibility send the text with utf-8 no matter what: - self.text = self.text.encode("utf-8") + self.notification_title = self.notification_title.encode("utf-8") + self.notification_text = self.notification_text.encode("utf-8") + self.notification_icon_path = self.notification_icon_path.encode("utf-8") def Unpack(self): # Convert the text back to its natural encoding: - self.text = self.text.decode("utf-8") + self.notification_title = self.notification_title.encode("utf-8") + self.notification_text = self.notification_text.decode("utf-8") + self.notification_icon_path = self.notification_icon_path.encode("utf-8") Modified: trunk/gsoc/notifier/notman.py ================================================================= --- trunk/gsoc/notifier/notman.py (original) +++ trunk/gsoc/notifier/notman.py Sun Jun 1 14:40:57 2008 @@ -78,7 +78,7 @@ def HandleNotification(self): # If the notification queue is not empty, handle the first notification in the queue: if self.message_queue != []: - print _("Handling notification with text: %s") % self.message_queue[0].text + print _("Handling notification with text: %s") % self.message_queue[0].notification_text self.notification_displayer.DisplayNotification(self.message_queue[0]) self.message_queue = self.message_queue[1:] print _("Queue state: %s") % self.message_queue @@ -106,7 +106,7 @@ # Append the notification to the queue of the notification manager: self.notification_manager.message_queue.append(notification) print _("Notification successfully received. Sender's bus name: %s") % sender - print _("Received message text: %s") % notification.text + print _("Received message text: %s") % notification.notification_text print _("Added notification to queue.") # Handle the notification in the other thread (in case handling the notification takes too much time, we dont want to stall the requestor): self.notification_manager.emit(QtCore.SIGNAL("handleEvent()")) From uludag-commits at pardus.org.tr Sun Jun 1 15:27:52 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 15:27:52 +0300 (EEST) Subject: [Uludag-commits] r18445 - trunk/gsoc/notifier Message-ID: <20080601122752.2255313840AC@liste.pardus.org.tr> Author: ozan Date: Sun Jun 1 15:27:51 2008 New Revision: 18445 Modified: trunk/gsoc/notifier/notdisplayer.py Log: Minor fix: Each notification window has a lifetime now, they do not persist until the notification displayer dies as a whole. Modified: trunk/gsoc/notifier/notdisplayer.py ================================================================= --- trunk/gsoc/notifier/notdisplayer.py (original) +++ trunk/gsoc/notifier/notdisplayer.py Sun Jun 1 15:27:51 2008 @@ -74,6 +74,9 @@ # Configure animation timing (milliseconds): self.total_animation_time = 500 self.time_quanta = 18 + + # Configure the lifetime of the notification windows: + self.lifetime = 5500 def ChangeLayout(self): # Move all currently open notification windows properly: @@ -158,6 +161,8 @@ self.MoveImmediately(lw_x, lw_y) self.MoveAnimated(dest_x, dest_y) self.show() + # Set up the timer to make sure that the window dies when its lifetime is over: + QtCore.QTimer().singleShot(self.displayer.lifetime, self.Destroy) def Destroy(self): self.displayer.notification_windows.pop(self.handle) From uludag-commits at pardus.org.tr Sun Jun 1 15:46:07 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 15:46:07 +0300 (EEST) Subject: [Uludag-commits] r18446 - trunk/yali4/po Message-ID: <20080601124607.6012613840AE@liste.pardus.org.tr> Author: jnmbk Date: Sun Jun 1 15:46:06 2008 New Revision: 18446 Modified: trunk/yali4/po/tr.po Log: küçük imla hataları düzeltildi Modified: trunk/yali4/po/tr.po ================================================================= --- trunk/yali4/po/tr.po (original) +++ trunk/yali4/po/tr.po Sun Jun 1 15:46:06 2008 @@ -498,9 +498,9 @@ "Pardus 2008. YALI will help install Pardus 2008 quickly and easily following " "the partitioning of disk(s) using the intelligent partitioning tool.\n" msgstr "" -"Merhaba! Yenilenen kurulum aracımız YALI Pardus 2008'in kurulumunda sizlere " +"Merhaba! Yenilenen kurulum aracımız YALI, Pardus 2008'in kurulumunda sizlere " "yardımcı olacak. YALI, akıllı disk biçimlendirme aracı ile sisteminizi " -"bölümlendirdikten sonra, Pardus 2008'in bilgisayarınıza hızlı ve sorunsuz " +"bölümlendirdikten sonra, Pardus 2008'i bilgisayarınıza hızlı ve sorunsuz " "bir şekilde kurmanızı sağlayacak.\n" #: yali4/gui/descSlide.py:20 @@ -510,7 +510,7 @@ "webcam, and panel using Kaptan.\n" msgstr "" "Kurulumdan sonra size Kaptan'ımız yol gösterecek. Kaptan ile fare, duvar " -"kâğıdı,web kamerası, panel gibi temel masaüstü ayarlarınızı ve ek depo " +"kâğıdı, web kamerası, panel gibi temel masaüstü ayarlarınızı ve ek depo " "kurulumu gibi düzenlemeleri kolayca yapabilirsiniz.\n" #: yali4/gui/descSlide.py:22 @@ -554,7 +554,7 @@ "Firefox 3.0, and you can enrich Firefox with thousands of extensions.\n" msgstr "" "Hızı, sürekli yenilenmesi ve diğer birçok gelişmiş özelliği ile Mozilla " -"Firefox,İnternet'te güvenli bir şekilde gezinmenizi sağlar. Pardus 2008 ile " +"Firefox, İnternet'te güvenli bir şekilde gezinmenizi sağlar. Pardus 2008 ile " "gelen yeni nesil Mozilla Firefox 3.0'ı onlarca farklı eklenti ile " "zenginleştirebilirsiniz.\n" From uludag-commits at pardus.org.tr Sun Jun 1 19:13:04 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 19:13:04 +0300 (EEST) Subject: [Uludag-commits] r18447 - trunk/comar/zorg Message-ID: <20080601161304.4B8241384139@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 19:13:03 2008 New Revision: 18447 Modified: trunk/comar/zorg/TODO Log: todo update Modified: trunk/comar/zorg/TODO ================================================================= --- trunk/comar/zorg/TODO (original) +++ trunk/comar/zorg/TODO Sun Jun 1 19:13:03 2008 @@ -10,14 +10,13 @@ Çomar Methods: - - configuration setup on boot - - check config files - - check hardware changes - - read kernel options (xorg=...) - - force auto-probe if requested (e.g. with an option from GUI) + / configuration setup on boot + + check config files + + check hardware changes + + read kernel options (xorg=...) + + do pending jobs ? compatibility check between kernel and xorg driver versions (e.g. nvidia-kernel and nvidia-glx issue) - - method access attributes - i18n support - DPI setup - INF file installation @@ -26,10 +25,8 @@ - improve debug stuff (maybe a log file) Modules: - - setup opengl headers - try to get preferred resolution and use it by default - parser to get monitor vendor/model list - - expand vendor name from EISA ID (e.g. SAM0101 -> Samsung) Command Line Tool: - test option From uludag-commits at pardus.org.tr Sun Jun 1 19:13:09 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 19:13:09 +0300 (EEST) Subject: [Uludag-commits] r18448 - trunk/comar/zorg/zorg Message-ID: <20080601161309.9091B1384139@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 19:13:09 2008 New Revision: 18448 Modified: trunk/comar/zorg/zorg/config.py trunk/comar/zorg/zorg/probe.py Log: refactor for monitor configuration Modified: trunk/comar/zorg/zorg/config.py ================================================================= --- trunk/comar/zorg/zorg/config.py (original) +++ trunk/comar/zorg/zorg/config.py Sun Jun 1 19:13:09 2008 @@ -101,8 +101,8 @@ monSec.set("Identifier", identifier) if card.monitors.has_key(output): - monSec.set("HorizSync", unquoted("%s - %s" % card.monitors[output].hsync)) - monSec.set("VertRefresh", unquoted("%s - %s" % card.monitors[output].vref)) + monSec.set("HorizSync", unquoted(card.monitors[output].hsync)) + monSec.set("VertRefresh", unquoted(card.monitors[output].vref )) if "randr12" in flags: secDevice.options["Monitor-%s" % output] = identifier @@ -180,12 +180,12 @@ hsync = tag.getTag("HorizSync") min = hsync.getAttribute("min") max = hsync.getAttribute("max") - mon.hsync = (min, max) + mon.hsync = "%s-%s" % (min, max) vref = tag.getTag("VertRefresh") min = vref.getAttribute("min") max = vref.getAttribute("max") - mon.vref = (min, max) + mon.vref = "%s-%s" % (min, max) activeConfigTag = cardTag.getTag("ActiveConfig") @@ -258,12 +258,12 @@ monitorTag.setAttribute("id", monitor.eisaid) monitorTag.setAttribute("output", output) - min, max = monitor.hsync + min, max = monitor.hsync.split("-") hor = monitorTag.insertTag("HorizSync") hor.setAttribute("min", min) hor.setAttribute("max", max) - min, max = monitor.vref + min, max = monitor.vref.split("-") ver = monitorTag.insertTag("VertRefresh") ver.setAttribute("min", min) ver.setAttribute("max", max) Modified: trunk/comar/zorg/zorg/probe.py ================================================================= --- trunk/comar/zorg/zorg/probe.py (original) +++ trunk/comar/zorg/zorg/probe.py Sun Jun 1 19:13:09 2008 @@ -85,8 +85,8 @@ for output, mode in self.modes.items(): info["%s-mode" % output] = mode if self.monitors.has_key(output): - info["%s-hsync" % output] = "-".join(self.monitors[output].hsync) - info["%s-vref" % output] = "-".join(self.monitors[output].vref) + info["%s-hsync" % output] = self.monitors[output].hsync + info["%s-vref" % output] = self.monitors[output].vref return info @@ -198,8 +198,10 @@ class Monitor: def __init__(self): self.eisaid = "" - self.hsync = ("31.5", "50") - self.vref = ("50", "70") + self.vendor = "" + self.model = "Default Monitor" + self.hsync = "31.5-50" + self.vref = "50-70" def pciInfo(dev, attr): return sysValue(sysdir, dev, attr) @@ -419,8 +421,8 @@ mon = Monitor() mon.eisaid = edid.get("eisa_id", "") - mon.hsync = (str(hsync_min), str(hsync_max)) - mon.vref = (str(vref_min), str(vref_max)) + mon.hsync = "%s-%s" % (hsync_min, hsync_max) + mon.vref = "%s-%s" % (vref_min, vref_max ) return mon, res From uludag-commits at pardus.org.tr Sun Jun 1 19:13:13 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 19:13:13 +0300 (EEST) Subject: [Uludag-commits] r18449 - trunk/comar/zorg/zorg Message-ID: <20080601161313.EB1D11384139@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 19:13:13 2008 New Revision: 18449 Modified: trunk/comar/zorg/zorg/config.py Log: refactor for monitor configuration #2 Modified: trunk/comar/zorg/zorg/config.py ================================================================= --- trunk/comar/zorg/zorg/config.py (original) +++ trunk/comar/zorg/zorg/config.py Sun Jun 1 19:13:13 2008 @@ -170,23 +170,6 @@ value = "" probeResult[key] = value - monitorsTag = cardTag.getTag("Monitors") - for tag in monitorsTag.tags("Monitor"): - mon = Monitor() - mon.eisaid = tag.getAttribute("id") - output = tag.getAttribute("output") - device.monitors[output] = mon - - hsync = tag.getTag("HorizSync") - min = hsync.getAttribute("min") - max = hsync.getAttribute("max") - mon.hsync = "%s-%s" % (min, max) - - vref = tag.getTag("VertRefresh") - min = vref.getAttribute("min") - max = vref.getAttribute("max") - mon.vref = "%s-%s" % (min, max) - activeConfigTag = cardTag.getTag("ActiveConfig") driverTag = activeConfigTag.getTag("Driver") @@ -198,6 +181,14 @@ activeOutputs = [] modes = {} + def addMonitor(output, tag): + mon = Monitor() + mon.vendor = tag.getTagData("Vendor") + mon.model = tag.getTagData("Model") + mon.hsync = tag.getTagData("HorizSync") + mon.vref = tag.getTagData("VertRefresh") + device.monitors[output] = mon + outputTag = activeConfigTag.getTag("Output") name = outputTag.firstChild().data() activeOutputs.append(name) @@ -205,6 +196,10 @@ if mode: modes[name] = mode + monitorTag = activeConfigTag.getTag("Monitor") + if monitorTag: + addMonitor(name, monitorTag) + outputTag = activeConfigTag.getTag("SecondOutput") if outputTag: name = outputTag.firstChild().data() @@ -213,6 +208,10 @@ if mode: modes[name] = mode + monitorTag = activeConfigTag.getTag("SecondMonitor") + if monitorTag: + addMonitor(name, monitorTag) + device.desktop_setup = activeConfigTag.getTagData("DesktopSetup") device.probe_result = probeResult @@ -252,22 +251,6 @@ if value: t.insertData(value) - monitors = cardTag.insertTag("Monitors") - for output, monitor in card.monitors.items(): - monitorTag = monitors.insertTag("Monitor") - monitorTag.setAttribute("id", monitor.eisaid) - monitorTag.setAttribute("output", output) - - min, max = monitor.hsync.split("-") - hor = monitorTag.insertTag("HorizSync") - hor.setAttribute("min", min) - hor.setAttribute("max", max) - - min, max = monitor.vref.split("-") - ver = monitorTag.insertTag("VertRefresh") - ver.setAttribute("min", min) - ver.setAttribute("max", max) - config = cardTag.insertTag("ActiveConfig") driver = config.insertTag("Driver") @@ -275,6 +258,15 @@ driver.insertData(card.driver) addTag(config, "Depth", card.depth) + addTag(config, "DesktopSetup", card.desktop_setup) + + def addMonitor(output, tagName): + mon = card.monitors[output] + monitor = config.insertTag(tagName) + monitor.insertTag("Vendor").insertData(mon.vendor) + monitor.insertTag("Model" ).insertData(mon.model ) + monitor.insertTag("HorizSync" ).insertData(mon.hsync) + monitor.insertTag("VertRefresh").insertData(mon.vref) outName = card.active_outputs[0] outMode = card.modes.get(outName) @@ -283,7 +275,8 @@ output.setAttribute("mode", outMode) output.insertData(outName) - addTag(config, "DesktopSetup", card.desktop_setup) + if card.monitors.has_key(outName): + addMonitor(outName, "Monitor") if card.desktop_setup != "single": outName = card.active_outputs[1] @@ -293,6 +286,9 @@ output.setAttribute("mode", outMode) output.insertData(outName) + if card.monitors.has_key(outName): + addMonitor(outName, "SecondMonitor") + f = file(configFile, "w") f.write(doc.toPrettyString()) f.close() From uludag-commits at pardus.org.tr Sun Jun 1 19:13:19 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 19:13:19 +0300 (EEST) Subject: [Uludag-commits] r18450 - trunk/comar/zorg/zorg Message-ID: <20080601161319.438F91384139@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 19:13:18 2008 New Revision: 18450 Modified: trunk/comar/zorg/zorg/config.py Log: Outputs and modes can be selected by drivers using the name 'auto'. Modified: trunk/comar/zorg/zorg/config.py ================================================================= --- trunk/comar/zorg/zorg/config.py (original) +++ trunk/comar/zorg/zorg/config.py Sun Jun 1 19:13:18 2008 @@ -101,14 +101,20 @@ monSec.set("Identifier", identifier) if card.monitors.has_key(output): + monSec.set("VendorName", card.monitors[output].vendor) + monSec.set("ModelName", card.monitors[output].model) monSec.set("HorizSync", unquoted(card.monitors[output].hsync)) monSec.set("VertRefresh", unquoted(card.monitors[output].vref )) if "randr12" in flags: - secDevice.options["Monitor-%s" % output] = identifier + if output != "auto": + #FIXME: Drivers associate the first randr output + # to the monitor section in this case. + secDevice.options["Monitor-%s" % output] = identifier + monSec.options["Enable"] = "true" + if card.modes.has_key(output): monSec.options["PreferredMode"] = card.modes[output] - monSec.options["Enabled"] = "true" secScr.set("Identifier", "Screen") secScr.set("Device", "VideoCard") @@ -120,7 +126,7 @@ if "no-modes-line" not in flags or "randr12" not in flags: output = card.active_outputs[0] - if card.modes.has_key(output): + if card.modes.get(output, "auto") != "auto": subsec.set("Modes", card.modes[output], "800x600", "640x480") secScr.sections = [subsec] From uludag-commits at pardus.org.tr Sun Jun 1 19:13:28 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 19:13:28 +0300 (EEST) Subject: [Uludag-commits] r18452 - trunk/comar/zorg/zorg Message-ID: <20080601161329.056D7138413E@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 19:13:28 2008 New Revision: 18452 Modified: trunk/comar/zorg/zorg/config.py Log: clean extra lines written by piksemel Modified: trunk/comar/zorg/zorg/config.py ================================================================= --- trunk/comar/zorg/zorg/config.py (original) +++ trunk/comar/zorg/zorg/config.py Sun Jun 1 19:13:28 2008 @@ -296,7 +296,7 @@ addMonitor(outName, "SecondMonitor") f = file(configFile, "w") - f.write(doc.toPrettyString()) + f.write(doc.toPrettyString().replace("\n\n", "")) f.close() def getKeymap(): @@ -358,4 +358,4 @@ keyboardTag.insertTag("Layout").insertData(layout) keyboardTag.insertTag("Variant").insertData(variant) - file(configFile, "w").write(doc.toPrettyString()) + file(configFile, "w").write(doc.toPrettyString().replace("\n\n", "")) From uludag-commits at pardus.org.tr Sun Jun 1 19:13:32 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 19:13:32 +0300 (EEST) Subject: [Uludag-commits] r18453 - trunk/comar/zorg/zorg Message-ID: <20080601161332.4ACDE138413E@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 19:13:32 2008 New Revision: 18453 Modified: trunk/comar/zorg/zorg/config.py Log: revert auto hack Modified: trunk/comar/zorg/zorg/config.py ================================================================= --- trunk/comar/zorg/zorg/config.py (original) +++ trunk/comar/zorg/zorg/config.py Sun Jun 1 19:13:32 2008 @@ -107,11 +107,8 @@ monSec.set("VertRefresh", unquoted(card.monitors[output].vref )) if "randr12" in flags: - if output != "auto": - #FIXME: Drivers associate the first randr output - # to the monitor section in this case. - secDevice.options["Monitor-%s" % output] = identifier - monSec.options["Enable"] = "true" + secDevice.options["Monitor-%s" % output] = identifier + monSec.options["Enable"] = "true" if card.modes.has_key(output): monSec.options["PreferredMode"] = card.modes[output] @@ -126,7 +123,7 @@ if "no-modes-line" not in flags or "randr12" not in flags: output = card.active_outputs[0] - if card.modes.get(output, "auto") != "auto": + if card.modes.has_key(output): subsec.set("Modes", card.modes[output], "800x600", "640x480") secScr.sections = [subsec] From uludag-commits at pardus.org.tr Sun Jun 1 19:13:24 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 19:13:24 +0300 (EEST) Subject: [Uludag-commits] r18451 - trunk/comar/zorg/zorg Message-ID: <20080601161324.A74E71384139@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 19:13:24 2008 New Revision: 18451 Modified: trunk/comar/zorg/zorg/config.py trunk/comar/zorg/zorg/probe.py Log: get monitor model name Modified: trunk/comar/zorg/zorg/config.py ================================================================= --- trunk/comar/zorg/zorg/config.py (original) +++ trunk/comar/zorg/zorg/config.py Sun Jun 1 19:13:24 2008 @@ -189,7 +189,7 @@ def addMonitor(output, tag): mon = Monitor() - mon.vendor = tag.getTagData("Vendor") + mon.vendor = tag.getTagData("Vendor") or "" mon.model = tag.getTagData("Model") mon.hsync = tag.getTagData("HorizSync") mon.vref = tag.getTagData("VertRefresh") Modified: trunk/comar/zorg/zorg/probe.py ================================================================= --- trunk/comar/zorg/zorg/probe.py (original) +++ trunk/comar/zorg/zorg/probe.py Sun Jun 1 19:13:24 2008 @@ -197,7 +197,6 @@ class Monitor: def __init__(self): - self.eisaid = "" self.vendor = "" self.model = "Default Monitor" self.hsync = "31.5-50" @@ -420,7 +419,7 @@ break mon = Monitor() - mon.eisaid = edid.get("eisa_id", "") + mon.model = detailed.get("name", "Auto-detected Monitor") mon.hsync = "%s-%s" % (hsync_min, hsync_max) mon.vref = "%s-%s" % (vref_min, vref_max ) From uludag-commits at pardus.org.tr Sun Jun 1 19:21:31 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 19:21:31 +0300 (EEST) Subject: [Uludag-commits] r18454 - trunk/tasma/display-manager/src Message-ID: <20080601162131.3063313840C3@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 19:21:30 2008 New Revision: 18454 Modified: trunk/tasma/display-manager/src/display-manager.py trunk/tasma/display-manager/src/displayconfig.py Log: save monitor info Modified: trunk/tasma/display-manager/src/display-manager.py ================================================================= --- trunk/tasma/display-manager/src/display-manager.py (original) +++ trunk/tasma/display-manager/src/display-manager.py Sun Jun 1 19:21:30 2008 @@ -45,15 +45,6 @@ 'bugs at pardus.org.tr' ) -class DriverItem(KListViewItem): - def __init__(self, parent, name, desc): - QListViewItem.__init__(self, parent) - - self.name = name - self.desc = desc - self.setText(0, name) - self.setText(1, desc) - class MonitorDialog(monitordialog.monitorDialog): def __init__(self, parent): monitordialog.monitorDialog.__init__(self, parent) @@ -72,12 +63,29 @@ self.listViewMonitors.setOpen(item,False) for eachModel in allMonitorInfos[eachVendor]: - subitem = KListViewItem(item, eachModel["eisa_id"], eachModel["hsync"], eachModel["vref"], eachModel["is_dpms"]) - subitem.setText(0, eachModel["model"]) + subitem = KListViewItem(item, eachModel["model"], eachVendor, eachModel["hsync"], eachModel["vref"]) + #subitem.setText(0, eachModel["model"]) self.connect(self.pushButtonCancel, SIGNAL("clicked()"), self.reject) self.connect(self.pushButtonOk, SIGNAL("clicked()"), self.accept) - self.listViewMonitors.connect(self.listViewMonitors, SIGNAL("selectionChanged()"), parent.getSelectedMonitor) + self.listViewMonitors.connect(self.listViewMonitors, SIGNAL("selectionChanged()"), self.getSelectedMonitor) + + def getSelectedMonitor(self): + if self.listViewMonitors.currentItem().key(1,0) == "parent": + self.groupBoxDetails.hide() + else: + self.groupBoxDetails.show() + self.lineEditHorizontal.setText(self.listViewMonitors.currentItem().key(2, 0)) + self.lineEditVertical.setText(self.listViewMonitors.currentItem().key(3, 0)) + +class DriverItem(KListViewItem): + def __init__(self, parent, name, desc): + QListViewItem.__init__(self, parent) + + self.name = name + self.desc = desc + self.setText(0, name) + self.setText(1, desc) class CardDialog(driverdialog.VideoCard): def __init__(self, parent): @@ -187,10 +195,8 @@ self.connect(self.buttonHelp, SIGNAL("clicked()"),self.slotHelp) self.connect(self.buttonVideoCard, SIGNAL("clicked()"), self.slotCardSettings) - self.connect(self.buttonMonitor1, SIGNAL("clicked()"), self.slotSelectMonitor) - self.connect(self.buttonMonitor2, SIGNAL("clicked()"), self.slotSelectMonitor) - - self.mntr = MonitorDialog(self) + self.connect(self.buttonMonitor1, SIGNAL("clicked()"), lambda: self.slotSelectMonitor(1)) + self.connect(self.buttonMonitor2, SIGNAL("clicked()"), lambda: self.slotSelectMonitor(2)) self.getCardInfo() self.detectDisplays() @@ -257,14 +263,6 @@ for identifier in self.identifiers: identifier.hide() - def getSelectedMonitor(self): - if self.mntr.listViewMonitors.currentItem().key(1,0) == "parent": - self.mntr.groupBoxDetails.hide() - else: - self.mntr.groupBoxDetails.show() - self.mntr.lineEditHorizontal.setText(self.mntr.listViewMonitors.currentItem().key(1, 0)) - self.mntr.lineEditVertical.setText(self.mntr.listViewMonitors.currentItem().key(2, 0)) - def duplicateOutputs(self): message = i18n("Sorry, but you can use one device for each output.\nTry to select another output.") QMessageBox.warning(self, i18n("Duplicate Outputs!"), message, QMessageBox.Ok, QMessageBox.NoButton) @@ -273,7 +271,10 @@ if resolution == None: resolution = self.currentModes[self.currentOutput] - x, y = resolution.split("x") + if "x" not in resolution: + x, y = 4, 3 + else: + x, y = resolution.split("x") if float(x)/float(y) >= 1.6: icon = self.iconWide @@ -385,17 +386,18 @@ def getMonitorInfo(self): msgpnp = i18n("Plug and Play Monitor") + monitors = self.displayConfiguration.monitors - if self.displayConfiguration._info.monitors.has_key(self.displayConfiguration.primaryScr): - self.textMonitor1.setText("Manually selected monitor") - else: - self.textMonitor1.setText(msgpnp) + def writeInfo(out, label): + if monitors.has_key(out): + label.setText("%s\n%s" % (monitors[out].model, monitors[out].vendor)) + else: + label.setText(msgpnp) + + writeInfo(self.displayConfiguration.primaryScr, self.textMonitor1) if self.displayConfiguration.desktop_setup != "single": - if self.displayConfiguration._info.monitors.has_key(self.displayConfiguration.secondaryScr): - self.textMonitor2.setText("Manually selected monitor") - else: - self.textMonitor2.setText(msgpnp) + writeInfo(self.displayConfiguration.secondaryScr, self.textMonitor2) def slotApply(self): self.displayConfiguration.true_color = self.checkBoxTrueColor.isChecked() @@ -409,9 +411,32 @@ if dlg.exec_loop() == QDialog.Accepted: item = dlg.listViewVideoCard.currentItem() self.displayConfiguration.changeDriver(item.name) + self.getCardInfo() + + def slotSelectMonitor(self, nscr): + dlg = MonitorDialog(self) + if dlg.exec_loop() == QDialog.Accepted: + if nscr == 1: + out = self.displayConfiguration.primaryScr + else: + out = self.displayConfiguration.secondaryScr + + if dlg.checkBoxPlugPlay.isChecked(): + if self.displayConfiguration.monitors.has_key(out): + del self.displayConfiguration.monitors[out] + else: + from zorg.probe import Monitor + + item = dlg.listViewMonitors.currentItem() + mon = Monitor() + mon.model = str(item.key(0, 0)) + mon.vendor = str(item.key(1, 0)) + mon.hsync = str(item.key(2, 0)).replace(" ", "") + mon.vref = str(item.key(3, 0)).replace(" ", "") + + self.displayConfiguration.monitors[out] = mon - def slotSelectMonitor(self): - self.mntr.exec_loop() + self.getMonitorInfo() def slotHelp(self): helpwin = helpdialog.HelpDialog() Modified: trunk/tasma/display-manager/src/displayconfig.py ================================================================= --- trunk/tasma/display-manager/src/displayconfig.py (original) +++ trunk/tasma/display-manager/src/displayconfig.py Sun Jun 1 19:21:30 2008 @@ -141,6 +141,7 @@ self.card_product_id = self._info.product_id self.outputs = self._info.probe_result["outputs"].split(",") + self.monitors = self._info.monitors self._flags = self._info.probe_result.get("flags", "").split(",") @@ -203,6 +204,10 @@ self.modes[output] = modes self.current_modes[output] = self._info.modes.get(output, "800x600") + if len(self.outputs) == 1: + out = self.outputs[0] + self.current_modes[out] = self._rriface.currentResolution("default") + def apply(self): self.applyNow() time.sleep(1) @@ -216,15 +221,30 @@ "desktop-setup": self.desktop_setup } - firstScreen = { - "output": self.primaryScr, - "mode": self.current_modes[self.primaryScr], - } + def screenInfo(output): + screen = { + "output": output, + "mode": self.current_modes[output] + } + + if self.monitors.has_key(output): + mon = self.monitors[output] + opts = { + "monitor-vendor": mon.vendor, + "monitor-model": mon.model, + "monitor-hsync": mon.hsync, + "monitor-vref": mon.vref + } + screen.update(opts) + + return screen - secondScreen = {"output": ""} - if self.desktop_setup != "single": - secondScreen["output"] = self.secondaryScr - secondScreen["mode"] = self.current_modes[self.secondaryScr] + firstScreen = screenInfo(self.primaryScr) + + if self.desktop_setup == "single": + secondScreen = {"output": ""} + else: + secondScreen = screenInfo(self.secondaryScr) ch = comlink.callHandler("zorg", "Xorg.Display", "setupScreens", "tr.org.pardus.comar.xorg.display.set") ch.registerDone(self.done) @@ -264,6 +284,7 @@ tempFile.setAutoDelete(True) cmd = ["aticonfig", + "--effective", "startup", "--nobackup", "--output", tempFile.name(), "--dtop", self.desktop_setup, ] From uludag-commits at pardus.org.tr Sun Jun 1 19:44:24 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 19:44:24 +0300 (EEST) Subject: [Uludag-commits] r18455 - trunk/tasma/display-manager/src Message-ID: <20080601164424.633901384138@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 19:44:24 2008 New Revision: 18455 Modified: trunk/tasma/display-manager/src/displayconfig.py Log: show current mode Modified: trunk/tasma/display-manager/src/displayconfig.py ================================================================= --- trunk/tasma/display-manager/src/displayconfig.py (original) +++ trunk/tasma/display-manager/src/displayconfig.py Sun Jun 1 19:44:24 2008 @@ -140,6 +140,7 @@ self.card_vendor_id = self._info.vendor_id self.card_product_id = self._info.product_id + self.desktop_setup = self._info.desktop_setup self.outputs = self._info.probe_result["outputs"].split(",") self.monitors = self._info.monitors @@ -153,8 +154,6 @@ if len(self._info.active_outputs) > 1: self.secondaryScr = self._info.active_outputs[1] - self.desktop_setup = self._info.desktop_setup - if self.desktop_setup != "single" and self.secondaryScr is None: self.desktop_setup = "single" @@ -204,9 +203,10 @@ self.modes[output] = modes self.current_modes[output] = self._info.modes.get(output, "800x600") - if len(self.outputs) == 1: + if self.desktop_setup == "single": out = self.outputs[0] - self.current_modes[out] = self._rriface.currentResolution("default") + if not self._info.modes.has_key(out): + self.current_modes[out] = self._rriface.currentResolution("default") def apply(self): self.applyNow() From uludag-commits at pardus.org.tr Sun Jun 1 20:29:24 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 20:29:24 +0300 (EEST) Subject: [Uludag-commits] r18456 - trunk/tasma/display-manager/src Message-ID: <20080601172924.C95821384142@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 20:29:24 2008 New Revision: 18456 Modified: trunk/tasma/display-manager/src/displayconfig.py Log: birtakım fixler :) Modified: trunk/tasma/display-manager/src/displayconfig.py ================================================================= --- trunk/tasma/display-manager/src/displayconfig.py (original) +++ trunk/tasma/display-manager/src/displayconfig.py Sun Jun 1 20:29:24 2008 @@ -154,6 +154,9 @@ if len(self._info.active_outputs) > 1: self.secondaryScr = self._info.active_outputs[1] + self.currentPrimaryScr = self.primaryScr + self.currentSecondaryScy = self.secondaryScr + if self.desktop_setup != "single" and self.secondaryScr is None: self.desktop_setup = "single" @@ -182,11 +185,21 @@ else: self.current_modes[output] = self.modes[output][0] + primary = self._info.active_outputs[0] + enabled_outputs = [] + for output in self._rriface.outputs: + if output.current: + enabled_outputs.append(output.name) + if output.name == primary: + break + else: + self._info.active_outputs = enabled_outputs + else: if self._info.driver == "fglrx": connected_outputs, enabled_outputs = fglrxOutputInfo() outputs = connected_outputs + enabled_outputs - self.active_outputs = enabled_outputs + self._info.active_outputs = enabled_outputs for out in outputs: if out not in self.outputs: @@ -204,7 +217,7 @@ self.current_modes[output] = self._info.modes.get(output, "800x600") if self.desktop_setup == "single": - out = self.outputs[0] + out = self._info.active_outputs[0] if not self._info.modes.has_key(out): self.current_modes[out] = self._rriface.currentResolution("default") @@ -297,7 +310,9 @@ run(*cmd) - if self.desktop_setup == "single": + if not self._randr12: + if self.desktop_setup == "single" and \ + self.currentPrimaryScr == self.primaryScr: run("xrandr", "-s", self.current_modes[self.primaryScr]) def changeDriver(self, driver): From uludag-commits at pardus.org.tr Sun Jun 1 20:40:42 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Sun, 1 Jun 2008 20:40:42 +0300 (EEST) Subject: [Uludag-commits] r18457 - trunk/tasma/display-manager/src Message-ID: <20080601174042.427541384142@liste.pardus.org.tr> Author: fatih Date: Sun Jun 1 20:40:42 2008 New Revision: 18457 Modified: trunk/tasma/display-manager/src/randriface.py Log: fix: get current mode when it is preferred Modified: trunk/tasma/display-manager/src/randriface.py ================================================================= --- trunk/tasma/display-manager/src/randriface.py (original) +++ trunk/tasma/display-manager/src/randriface.py Sun Jun 1 20:40:42 2008 @@ -43,7 +43,8 @@ if "+" in line: output.preferred = mode - elif "*" in line: + + if "*" in line: output.current = mode def getResolutions(self, output): From uludag-commits at pardus.org.tr Mon Jun 2 00:05:34 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 00:05:34 +0300 (EEST) Subject: [Uludag-commits] r18458 - trunk/yali4/po Message-ID: <20080601210534.DD6FA1384143@liste.pardus.org.tr> Author: mustafaoe Date: Mon Jun 2 00:05:34 2008 New Revision: 18458 Modified: trunk/yali4/po/de.po Log: German translations updated. Modified: trunk/yali4/po/de.po ================================================================= --- trunk/yali4/po/de.po (original) +++ trunk/yali4/po/de.po Mon Jun 2 00:05:34 2008 @@ -12,7 +12,7 @@ "Project-Id-Version: de\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2008-05-13 13:59+0300\n" -"PO-Revision-Date: 2008-05-26 04:36+0200\n" +"PO-Revision-Date: 2008-06-01 23:04+0200\n" "Last-Translator: Mustafa Ölcerman \n" "Language-Team: Deutsch \n" "MIME-Version: 1.0\n" @@ -29,15 +29,15 @@ msgid "" "It seems there is more than one partition for resizing. In this case you can " "select a partition from the list below or YALI will select one." -msgstr "" +msgstr "Es scheint, dass für die Grössenänderung mehr als eine Partition existieren. Sie können aus der nachstehenden Liste eine Partition auswählen oder YALI eins auswählen lassen." #: yali4/gui/Ui/autopartquestion.py:79 msgid "Choose the best target for resizing (recommended)" -msgstr "" +msgstr "Passendes Ziel für die Grössenänderung auswählen (empohlen)" #: yali4/gui/Ui/autopartquestion.py:80 msgid "I will choose the target" -msgstr "" +msgstr "Ich werde das Ziel auswählen" #: yali4/gui/Ui/autopartquestion.py:81 msgid "Use Selected" @@ -62,6 +62,15 @@ "size:12pt; font-weight:600;\">1. Select the partitioning method:

" msgstr "" +"\n" +"

1. Wählen Sie the Partitionierungsmethode aus:

" #: yali4/gui/Ui/autopartwidget.py:115 msgid "" @@ -72,12 +81,12 @@ #: yali4/gui/Ui/autopartwidget.py:117 msgid "Automatically partition try to use free space or resize current partitions" -msgstr "" +msgstr "Automatische Partitionierung versucht den freien Speicherplatz zu verwenden oder ändert die Grösse der aktuellen Partitionen" #: yali4/gui/Ui/autopartwidget.py:118 yali4/gui/Ui/autopartwidget.py:120 #: yali4/gui/Ui/autopartwidget.py:122 msgid "...." -msgstr "" +msgstr "...." #: yali4/gui/Ui/autopartwidget.py:119 msgid "Automatically partition and format selected disk!" @@ -99,6 +108,15 @@ "size:12pt; font-weight:600;\">2. Select the disk to apply selected method:

" msgstr "" +"\n" +"

2. Wählen Sie die Festplatte aus, um die ausgewählte Methode zu übernehmen:

" #: yali4/gui/Ui/autopartwidget.py:127 msgid " " @@ -169,11 +187,11 @@ #: yali4/gui/Ui/datetimewidget.py:99 msgid "The current time" -msgstr "" +msgstr "Die aktuelle Zeit" #: yali4/gui/Ui/datetimewidget.py:100 msgid "The analog clock widget displays the current time." -msgstr "" +msgstr "Das analoge Uhr-Widget zeigt die aktuelle Zeit." #: yali4/gui/Ui/datetimewidget.py:101 msgid "HH" @@ -197,7 +215,7 @@ #: yali4/gui/Ui/dialog.py:60 msgid "TextLabel" -msgstr "" +msgstr "TextLabel" #: yali4/gui/Ui/dialog.py:62 msgid "X" @@ -213,7 +231,7 @@ #: yali4/gui/Ui/installwidget.py:75 msgid "Desc" -msgstr "" +msgstr "Desc" #: yali4/gui/Ui/installwidget.py:76 msgid "Installing Package: " @@ -233,11 +251,11 @@ #: yali4/gui/Ui/main.py:482 msgid "Screen Name" -msgstr "" +msgstr "Anzeigename" #: yali4/gui/Ui/main.py:484 msgid "Details about the screen" -msgstr "" +msgstr "Details über den Bildschirm" #: yali4/gui/Ui/main.py:485 yali4/gui/YaliWindow.py:168 msgid "Release Notes" @@ -349,6 +367,21 @@ "decoration: underline; color:#ffffff;\">Cancel\".

" msgstr "" +"\n" +"\n" +"

Achtung! " +"Diese Einstellungen werden übernommen, wenn Sie klicken \"Resize\".Klicken, um zurückzukehren \"Abbrechen\".

" #: yali4/gui/Ui/partresize.py:106 yali4/gui/YaliDialog.py:130 msgid "Cancel" @@ -470,6 +503,9 @@ "additional repositories and manage basic settings like mouse, wallpaper, " "webcam, and panel using Kaptan.\n" msgstr "" +"Unser Kaptan wird Sie nach der Installation führen. Sie können mit Kaptan auf leichte " +"Weise weitere Depots hinzufügen und die Grundeinstellungen wie Maus, Hintergrundbild, " +"Webcam und Panel verwalten.\n" #: yali4/gui/descSlide.py:22 msgid "" From uludag-commits at pardus.org.tr Mon Jun 2 10:16:33 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 10:16:33 +0300 (EEST) Subject: [Uludag-commits] r18459 - trunk/pisi/pisi Message-ID: <20080602071633.1BCAC1384152@liste.pardus.org.tr> Author: faik Date: Mon Jun 2 10:16:32 2008 New Revision: 18459 Modified: trunk/pisi/pisi/configfile.py Log: bandwidth_limit to configfile Modified: trunk/pisi/pisi/configfile.py ================================================================= --- trunk/pisi/pisi/configfile.py (original) +++ trunk/pisi/pisi/configfile.py Mon Jun 2 10:16:32 2008 @@ -20,6 +20,7 @@ #[general] #destinationdirectory = / #autoclean = False +#bandwidth_limit = 0 # #[build] #host = i686-pc-linux-gnu @@ -73,6 +74,7 @@ ftp_proxy = os.getenv("FTP_PROXY") or None package_cache = False package_cache_limit = 0 + bandwidth_limit = 0 class BuildDefaults: """Default values for [build] section""" From uludag-commits at pardus.org.tr Mon Jun 2 10:50:28 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 10:50:28 +0300 (EEST) Subject: [Uludag-commits] r18460 - in trunk/comar/comar/etc: . policy Message-ID: <20080602075028.D70281384150@liste.pardus.org.tr> Author: faik Date: Mon Jun 2 10:50:28 2008 New Revision: 18460 Modified: trunk/comar/comar/etc/model.xml trunk/comar/comar/etc/policy/tr.org.pardus.comar.system.manager.policy Log: add setBandwidth to policy file and model.xml file Modified: trunk/comar/comar/etc/model.xml ================================================================= --- trunk/comar/comar/etc/model.xml (original) +++ trunk/comar/comar/etc/model.xml Mon Jun 2 10:50:28 2008 @@ -477,6 +477,9 @@ + + + Modified: trunk/comar/comar/etc/policy/tr.org.pardus.comar.system.manager.policy ================================================================= --- trunk/comar/comar/etc/policy/tr.org.pardus.comar.system.manager.policy (original) +++ trunk/comar/comar/etc/policy/tr.org.pardus.comar.system.manager.policy Mon Jun 2 10:50:28 2008 @@ -103,7 +103,19 @@ Set PiSi package cache PiSi paket önbelleğini yaz System policy prevents setting PiSi package cache - Sistem politikası PiSi paket önbelleğini yazmayı engelliyor + Sistem politikası PiSi paket önbelleğini ayarlamayı engelliyor + + auth_admin_keep_always + auth_admin_keep_always + auth_admin_keep_always + + + + + Set PiSi bandwidth limit + PiSi bantgenişliği limiti + System policy prevents setting PiSi bandwidth limit + Sistem politikası PiSi bantgenişliğini ayarlamayı engelliyor auth_admin_keep_always auth_admin_keep_always From uludag-commits at pardus.org.tr Mon Jun 2 10:53:56 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 10:53:56 +0300 (EEST) Subject: [Uludag-commits] r18461 - trunk/yali4/yali4 Message-ID: <20080602075356.309551384151@liste.pardus.org.tr> Author: gokmen.goksel Date: Mon Jun 2 10:53:55 2008 New Revision: 18461 Modified: trunk/yali4/yali4/constants.py trunk/yali4/yali4/installer.py Log: * Copy pisi index then extract it to the installed system.. Modified: trunk/yali4/yali4/constants.py ================================================================= --- trunk/yali4/yali4/constants.py (original) +++ trunk/yali4/yali4/constants.py Mon Jun 2 10:53:55 2008 @@ -96,6 +96,10 @@ consts.oemInstallParam = "oeminstall" consts.oemInstallFile = join(consts.data_dir,"data/firstBoot.xml") +# pisi index files +consts.pisiIndexFile = join(consts.data_dir,"data/pisi-index.xml.bz2") +consts.pisiIndexFileSum = join(consts.data_dir,"data/pisi-index.xml.bz2.sha1sum") + try: consts.lang = locale.getdefaultlocale()[0][:2] except: Modified: trunk/yali4/yali4/installer.py ================================================================= --- trunk/yali4/yali4/installer.py (original) +++ trunk/yali4/yali4/installer.py Mon Jun 2 10:53:55 2008 @@ -408,6 +408,23 @@ ctx.debugger.log("xorg.conf and other files merged.") return True + def copyPisiIndex(): + target = os.path.join(ctx.consts.target_dir, "var/lib/pisi/index/%s/" % ctx.consts.pardus_repo_name) + + # Copy package index + import shutil + shutil.copyfile(ctx.consts.pisiIndexFile, target) + shutil.copyfile(ctx.consts.pisiIndexFileSum, target) + + # Extract the index + import bz2 + pureIndex = file(os.path.join(target,"pisi-index.xml","w")) + pureIndex.write(bz2.decompress(open(ctx.consts.pisiIndexFile).read())) + pureIndex.close() + + ctx.debugger.log("pisi index files copied.") + return True + def setPackages(): global bus if self.install_type == YALI_OEMINSTALL: @@ -438,6 +455,7 @@ {"text":"Setting Root Password...","operation":setRootPassword}, {"text":"Adding Users...","operation":addUsers}, {"text":"Writing Console Data...","operation":writeConsoleData}, + {"text":"Copy Pisi index...","operation":copyPisiIndex}, {"text":"Migrating X.org Configuration...","operation":migrateXorgConf}] stepsBase = [{"text":"Setting misc. package configurations...","operation":setPackages}, From uludag-commits at pardus.org.tr Mon Jun 2 10:59:23 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 10:59:23 +0300 (EEST) Subject: [Uludag-commits] r18462 - trunk/pisi/pisi Message-ID: <20080602075923.343501384151@liste.pardus.org.tr> Author: faik Date: Mon Jun 2 10:59:22 2008 New Revision: 18462 Modified: trunk/pisi/pisi/fetcher.py Log: If 0 than it is limitless, dont show any message Modified: trunk/pisi/pisi/fetcher.py ================================================================= --- trunk/pisi/pisi/fetcher.py (original) +++ trunk/pisi/pisi/fetcher.py Mon Jun 2 10:59:22 2008 @@ -187,7 +187,7 @@ def _get_bandwith_limit(self): bandwidth_limit = ctx.config.options.bandwidth_limit or ctx.config.values.general.bandwidth_limit - if bandwidth_limit: + if bandwidth_limit and bandwidth_limit != "0": ctx.ui.warning(_("Bandwidth usage is limited to %s KB/s") % bandwidth_limit) return 1024 * int(bandwidth_limit) else: From uludag-commits at pardus.org.tr Mon Jun 2 11:09:57 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 11:09:57 +0300 (EEST) Subject: [Uludag-commits] r18463 - trunk/comar/comar/etc Message-ID: <20080602080957.4B47C1384151@liste.pardus.org.tr> Author: fatih Date: Mon Jun 2 11:09:56 2008 New Revision: 18463 Modified: trunk/comar/comar/etc/model.xml Log: add new methods, fix signatures Modified: trunk/comar/comar/etc/model.xml ================================================================= --- trunk/comar/comar/etc/model.xml (original) +++ trunk/comar/comar/etc/model.xml Mon Jun 2 11:09:56 2008 @@ -428,10 +428,18 @@ - - - + + + + + + + + + + + @@ -441,12 +449,12 @@ - - + + - - + + From uludag-commits at pardus.org.tr Mon Jun 2 12:02:43 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 12:02:43 +0300 (EEST) Subject: [Uludag-commits] r18464 - trunk/tasma/display-manager/src Message-ID: <20080602090243.34E5F138413F@liste.pardus.org.tr> Author: fatih Date: Mon Jun 2 12:02:42 2008 New Revision: 18464 Modified: trunk/tasma/display-manager/src/displayconfig.py Log: do not change driver until apply button is pressed Modified: trunk/tasma/display-manager/src/displayconfig.py ================================================================= --- trunk/tasma/display-manager/src/displayconfig.py (original) +++ trunk/tasma/display-manager/src/displayconfig.py Mon Jun 2 12:02:42 2008 @@ -10,6 +10,7 @@ from kdeui import * import zorg.config +from zorg.consts import * from zorg.utils import * import randriface @@ -163,6 +164,8 @@ self.depths = self._info.probe_result.get("depths", "16,24").split(",") self.true_color = self._info.depth == "24" + self.driver_changed = False + def detect(self): self._rriface = randriface.RandRIface() #self._randr12 = "randr12" in self._flags @@ -222,13 +225,32 @@ self.current_modes[out] = self._rriface.currentResolution("default") def apply(self): - self.applyNow() - time.sleep(1) - if self.true_color: depth = "24" else: depth = "16" + + if self.driver_changed: + config = { + "driver": self._info.driver + package_sep + self._info.package, + "depth": depth + } + + if self.monitors.has_key(self.primaryScr): + mon = self.monitors[self.primaryScr] + config["monitor-vendor"] = mon.vendor + config["monitor-model"] = mon.model + config["monitor-hsync"] = mon.hsync + config["monitor-vref"] = mon.vref + + ch = comlink.callHandler("zorg", "Xorg.Display", "setPendingConfig", "tr.org.pardus.comar.xorg.display.set") + ch.registerDone(self.done) + ch.call(config) + return + + self.applyNow() + time.sleep(1) + options = { "depth": depth, "desktop-setup": self.desktop_setup @@ -316,9 +338,14 @@ run("xrandr", "-s", self.current_modes[self.primaryScr]) def changeDriver(self, driver): - ch = comlink.callHandler("zorg", "Xorg.Display", "changeDriver", "tr.org.pardus.comar.xorg.display.set") - ch.registerDone(self.done) - ch.call(driver) + self.driver_changed = True + if package_sep in driver: + drv, pkg = driver.split(package_sep, 1) + else: + drv, pkg = driver, "xorg-video" + + self._info.driver = drv + self._info.package = pkg def done(self): KMessageBox.information(None, i18n("Configuration has been saved. Some changes may take effect after restarting your computer.")) From uludag-commits at pardus.org.tr Mon Jun 2 12:45:49 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 12:45:49 +0300 (EEST) Subject: [Uludag-commits] r18465 - in trunk/yali4/yali4: . gui Message-ID: <20080602094549.D8FFA138413F@liste.pardus.org.tr> Author: gokmen.goksel Date: Mon Jun 2 12:45:49 2008 New Revision: 18465 Modified: trunk/yali4/yali4/gui/YaliWindow.py trunk/yali4/yali4/installer.py Log: * Check it before starting to copy.. Modified: trunk/yali4/yali4/gui/YaliWindow.py ================================================================= --- trunk/yali4/yali4/gui/YaliWindow.py (original) +++ trunk/yali4/yali4/gui/YaliWindow.py Mon Jun 2 12:45:49 2008 @@ -113,7 +113,9 @@ self.helpContent.setText(_w.help) # shown functions contain necessary instructions before # showing a stack ( updating gui, disabling some buttons etc. ) + ctx.mainScreen.processEvents() _w.update() + ctx.mainScreen.processEvents() _w.shown() # create all widgets and add inside stack Modified: trunk/yali4/yali4/installer.py ================================================================= --- trunk/yali4/yali4/installer.py (original) +++ trunk/yali4/yali4/installer.py Mon Jun 2 12:45:49 2008 @@ -409,20 +409,23 @@ return True def copyPisiIndex(): - target = os.path.join(ctx.consts.target_dir, "var/lib/pisi/index/%s/" % ctx.consts.pardus_repo_name) + target = os.path.join(ctx.consts.target_dir, "var/lib/pisi/index/%s" % ctx.consts.pardus_repo_name) - # Copy package index - import shutil - shutil.copyfile(ctx.consts.pisiIndexFile, target) - shutil.copyfile(ctx.consts.pisiIndexFileSum, target) - - # Extract the index - import bz2 - pureIndex = file(os.path.join(target,"pisi-index.xml","w")) - pureIndex.write(bz2.decompress(open(ctx.consts.pisiIndexFile).read())) - pureIndex.close() - - ctx.debugger.log("pisi index files copied.") + if os.path.exists(ctx.consts.pisiIndexFile): + # Copy package index + import shutil + shutil.copy(ctx.consts.pisiIndexFile, target) + shutil.copy(ctx.consts.pisiIndexFileSum, target) + + # Extract the index + import bz2 + pureIndex = file(os.path.join(target,"pisi-index.xml"),"w") + pureIndex.write(bz2.decompress(open(ctx.consts.pisiIndexFile).read())) + pureIndex.close() + + ctx.debugger.log("pisi index files copied.") + else: + ctx.debugger.log("pisi index file not found!") return True def setPackages(): From uludag-commits at pardus.org.tr Mon Jun 2 14:51:32 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 14:51:32 +0300 (EEST) Subject: [Uludag-commits] r18466 - branches/sysinfo/sysinfo Message-ID: <20080602115132.B27BF247400D@liste.pardus.org.tr> Author: gokmen.goksel Date: Mon Jun 2 14:51:32 2008 New Revision: 18466 Modified: branches/sysinfo/sysinfo/sysinfo.cpp Log: * Seperate the string; because QString does not support more than 9 arguments. Modified: branches/sysinfo/sysinfo/sysinfo.cpp ================================================================= --- branches/sysinfo/sysinfo/sysinfo.cpp (original) +++ branches/sysinfo/sysinfo/sysinfo.cpp Mon Jun 2 14:51:32 2008 @@ -170,7 +170,7 @@ int state = netInfo(); if (state >= 1) { // assume no network manager / networkstatus dynamicInfo += startStock( i18n( "Network" ) ); - dynamicInfo += addToStock( "network", netStatus( state ), "127.0.0.1" ); + dynamicInfo += addToStock( "network", netStatus( state )); dynamicInfo += finishStock(); } @@ -324,54 +324,29 @@ result += QString("" " " - " " - " " - " " - " [ %3 ]
[ %4 ]
" - " " - " %6
%7
" - " " + " " + " " + " "). + arg( di.name ). + arg( tooltip+" "+di.deviceNode ). + arg( icon( di.iconName, 48, true) ); + + result += QString(" " + " [ %1 ]
[ %2 ]
" + " " + " %5
%6
" + " " " " " " ""). - arg( di.name ). - arg( icon( di.iconName, 48, true) ). arg( mountState ). arg( di.fsType ). arg( di.name ). + arg( tooltip+" "+di.deviceNode ). arg( label ). arg( sizeStatus ). arg( locate( "data", "sysinfo/themes/2008/images/progress.png" ) ). arg( percent ); - /* - result += QString( "" - " %1" - " " - " " - " " - " " - " " - " " - " " - " " - "
" - " %4 [%5]" - " " + i18n("Total") + ": %6 " + i18n("Available") + ": %7" - "
" - " %8" - "
" - " " - "" - "" ). - arg( icon( di.iconName, 48 ) ). - arg( di.name ). - arg( tooltip+" "+di.deviceNode ). - arg( label ). - arg( di.fsType ). - arg( formattedUnit( di.total,0 ) ). - arg( formattedUnit( di.avail,0 ) ). - arg( bar ); - */ } } return result; From uludag-commits at pardus.org.tr Mon Jun 2 14:55:15 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 14:55:15 +0300 (EEST) Subject: [Uludag-commits] r18467 - trunk/tasma/display-manager/src Message-ID: <20080602115515.40C63247400D@liste.pardus.org.tr> Author: fatih Date: Mon Jun 2 14:55:14 2008 New Revision: 18467 Modified: trunk/tasma/display-manager/src/display-manager.py Log: refresh monitor info Modified: trunk/tasma/display-manager/src/display-manager.py ================================================================= --- trunk/tasma/display-manager/src/display-manager.py (original) +++ trunk/tasma/display-manager/src/display-manager.py Mon Jun 2 14:55:14 2008 @@ -345,6 +345,7 @@ self.setIconbyResolution(str(self.currentModes[self.displayConfiguration.secondaryScr]),2) self.screenImage2.show() self.groupBoxSecondaryScreen.show() + self.getMonitorInfo() self.setDualModeOptions(self.radioBoxExtended.isChecked()) else: self.screenImage2.hide() From uludag-commits at pardus.org.tr Mon Jun 2 14:58:50 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 14:58:50 +0300 (EEST) Subject: [Uludag-commits] r18468 - trunk/tasma/display-manager/src Message-ID: <20080602115850.C9A4F1384160@liste.pardus.org.tr> Author: fatih Date: Mon Jun 2 14:58:50 2008 New Revision: 18468 Modified: trunk/tasma/display-manager/src/display-manager.py Log: refresh la Modified: trunk/tasma/display-manager/src/display-manager.py ================================================================= --- trunk/tasma/display-manager/src/display-manager.py (original) +++ trunk/tasma/display-manager/src/display-manager.py Mon Jun 2 14:58:50 2008 @@ -345,8 +345,8 @@ self.setIconbyResolution(str(self.currentModes[self.displayConfiguration.secondaryScr]),2) self.screenImage2.show() self.groupBoxSecondaryScreen.show() - self.getMonitorInfo() self.setDualModeOptions(self.radioBoxExtended.isChecked()) + self.getMonitorInfo() else: self.screenImage2.hide() self.screenImage1.setState(QButton.On) From uludag-commits at pardus.org.tr Mon Jun 2 15:52:15 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 15:52:15 +0300 (EEST) Subject: [Uludag-commits] r18469 - branches/sysinfo/sysinfo Message-ID: <20080602125215.775981384132@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 15:52:15 2008 New Revision: 18469 Modified: branches/sysinfo/sysinfo/sysinfo.cpp Log: fix memory calculation Modified: branches/sysinfo/sysinfo/sysinfo.cpp ================================================================= --- branches/sysinfo/sysinfo/sysinfo.cpp (original) +++ branches/sysinfo/sysinfo/sysinfo.cpp Mon Jun 2 15:52:15 2008 @@ -269,7 +269,7 @@ const int mem_unit = info.mem_unit; unsigned long int usage,percent,peer; usage = ( info.totalram - info.freeram ) * mem_unit; - peer = info.totalram / 100; + peer = (info.totalram * mem_unit) / 100; peer == 0 ? percent = 0 : percent = usage / peer; m_info[MEM_TOTALRAM] = formattedUnit( info.totalram * mem_unit ,0); From uludag-commits at pardus.org.tr Mon Jun 2 15:56:18 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 15:56:18 +0300 (EEST) Subject: [Uludag-commits] r18470 - trunk/yali4/yali4 Message-ID: <20080602125618.EB1531384132@liste.pardus.org.tr> Author: gokmen.goksel Date: Mon Jun 2 15:56:18 2008 New Revision: 18470 Modified: trunk/yali4/yali4/partitionrequest.py Log: * Use mount command instead of mount method defined in _sysutils.c Modified: trunk/yali4/yali4/partitionrequest.py ================================================================= --- trunk/yali4/yali4/partitionrequest.py (original) +++ trunk/yali4/yali4/partitionrequest.py Mon Jun 2 15:56:18 2008 @@ -330,13 +330,22 @@ if not os.path.isdir(target): os.makedirs(target) - yali4.sysutils.mount(source, target, filesystem) - - if pt.needsmtab: - mtab_entry = "%s %s %s rw 0 0\n" % (source, - target, - filesystem) - open("/etc/mtab", "a").write(mtab_entry) + params = ["-t", filesystem, source, target] + if not pt.needsmtab: + params.insert(0,"-n") + + mount_res = yali4.sysutils.execClear("mount", + params, + stdout="/tmp/mount.log", + stderr="/tmp/mount.log") + + # The old way .. + # yali4.sysutils.mount(source, target, filesystem) + # if pt.needsmtab: + # mtab_entry = "%s %s %s rw 0 0\n" % (source, + # target, + # filesystem) + # open("/etc/mtab", "a").write(mtab_entry) PartRequest.applyRequest(self) From uludag-commits at pardus.org.tr Mon Jun 2 15:59:36 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 15:59:36 +0300 (EEST) Subject: [Uludag-commits] r18471 - trunk/yali4/po Message-ID: <20080602125936.32F76138412D@liste.pardus.org.tr> Author: gokmen.goksel Date: Mon Jun 2 15:59:35 2008 New Revision: 18471 Modified: trunk/yali4/po/ca.po trunk/yali4/po/de.po trunk/yali4/po/es.po trunk/yali4/po/fr.po trunk/yali4/po/it.po trunk/yali4/po/nl.po trunk/yali4/po/pl.po trunk/yali4/po/pt_BR.po trunk/yali4/po/tr.po trunk/yali4/po/yali4.pot Log: * po update. Modified: trunk/yali4/po/ca.po ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... Modified: trunk/yali4/po/de.po ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... Modified: trunk/yali4/po/es.po ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... Modified: trunk/yali4/po/fr.po ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... Modified: trunk/yali4/po/it.po ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... Modified: trunk/yali4/po/nl.po ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... Modified: trunk/yali4/po/pl.po ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... Modified: trunk/yali4/po/pt_BR.po ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... Modified: trunk/yali4/po/tr.po ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... Modified: trunk/yali4/po/yali4.pot ================================================================= Suppressed! Too long (more than 250 lines) diff output suppressed... From uludag-commits at pardus.org.tr Mon Jun 2 16:19:08 2008 From: uludag-commits at pardus.org.tr (VIAGRA INC) Date: Mon, 2 Jun 2008 16:19:08 +0300 (EEST) Subject: [Uludag-commits] SALE 87% OFF Message-ID: <20080602041856.6359.qmail@lukasz> Bir HTML eklentisi temizlendi... URL: http://liste.pardus.org.tr/uludag-commits/attachments/20080602/80771eab/attachment.htm From uludag-commits at pardus.org.tr Mon Jun 2 16:34:41 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 16:34:41 +0300 (EEST) Subject: [Uludag-commits] r18472 - trunk/gfxtheme Message-ID: <20080602133441.A73BB2474005@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 16:34:41 2008 New Revision: 18472 Added: trunk/gfxtheme/ Log: fishy From uludag-commits at pardus.org.tr Mon Jun 2 16:38:56 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 16:38:56 +0300 (EEST) Subject: [Uludag-commits] r18473 - in trunk/gfxtheme/pardus: . data-boot data-install fonts help-boot help-install keymaps penguin_src po po/bin src talk Message-ID: <20080602133856.EE16C1384140@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 16:38:56 2008 New Revision: 18473 Added: trunk/gfxtheme/pardus/ trunk/gfxtheme/pardus/Makefile trunk/gfxtheme/pardus/config trunk/gfxtheme/pardus/data-boot/ trunk/gfxtheme/pardus/data-boot/back.jpg (contents, props changed) trunk/gfxtheme/pardus/data-boot/gfxboot.cfg trunk/gfxtheme/pardus/data-boot/languages trunk/gfxtheme/pardus/data-boot/pabout.txt trunk/gfxtheme/pardus/data-boot/panim.jpg (contents, props changed) trunk/gfxtheme/pardus/data-boot/panim_a.jpg (contents, props changed) trunk/gfxtheme/pardus/data-boot/pback.jpg (contents, props changed) trunk/gfxtheme/pardus/data-boot/phead.jpg (contents, props changed) trunk/gfxtheme/pardus/data-boot/timer_a.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/ trunk/gfxtheme/pardus/data-install/back.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/cd.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/cd_a.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/en.tlk (contents, props changed) trunk/gfxtheme/pardus/data-install/gfxboot.cfg trunk/gfxtheme/pardus/data-install/grad1.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/grad2.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/hapysuse.mod (contents, props changed) trunk/gfxtheme/pardus/data-install/kroete.dat (contents, props changed) trunk/gfxtheme/pardus/data-install/languages trunk/gfxtheme/pardus/data-install/pabout.txt trunk/gfxtheme/pardus/data-install/panim.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/panim_a.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/pback.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/phead.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/text.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/timer_a.jpg (contents, props changed) trunk/gfxtheme/pardus/data-install/welcome.jpg (contents, props changed) trunk/gfxtheme/pardus/fonts/ trunk/gfxtheme/pardus/fonts/16x16.fnt (contents, props changed) trunk/gfxtheme/pardus/fonts/16x16.fnt.log trunk/gfxtheme/pardus/fonts/Makefile trunk/gfxtheme/pardus/help-boot/ trunk/gfxtheme/pardus/help-boot/Makefile trunk/gfxtheme/pardus/help-boot/bg.html trunk/gfxtheme/pardus/help-boot/cs.html trunk/gfxtheme/pardus/help-boot/da.html trunk/gfxtheme/pardus/help-boot/de.html trunk/gfxtheme/pardus/help-boot/en.html trunk/gfxtheme/pardus/help-boot/es.html trunk/gfxtheme/pardus/help-boot/fi.html trunk/gfxtheme/pardus/help-boot/fr.html trunk/gfxtheme/pardus/help-boot/hu.html trunk/gfxtheme/pardus/help-boot/it.html trunk/gfxtheme/pardus/help-boot/ja.html trunk/gfxtheme/pardus/help-boot/nb.html trunk/gfxtheme/pardus/help-boot/nl.html trunk/gfxtheme/pardus/help-boot/pl.html trunk/gfxtheme/pardus/help-boot/pt.html trunk/gfxtheme/pardus/help-boot/pt_BR.html trunk/gfxtheme/pardus/help-boot/ro.html trunk/gfxtheme/pardus/help-boot/ru.html trunk/gfxtheme/pardus/help-boot/sk.html trunk/gfxtheme/pardus/help-boot/sl.html trunk/gfxtheme/pardus/help-boot/sv.html trunk/gfxtheme/pardus/help-boot/uk.html trunk/gfxtheme/pardus/help-boot/zh_CN.html trunk/gfxtheme/pardus/help-boot/zh_TW.html trunk/gfxtheme/pardus/help-install/ trunk/gfxtheme/pardus/help-install/Makefile trunk/gfxtheme/pardus/help-install/bg.html trunk/gfxtheme/pardus/help-install/cs.html trunk/gfxtheme/pardus/help-install/da.html trunk/gfxtheme/pardus/help-install/de.html trunk/gfxtheme/pardus/help-install/el.html trunk/gfxtheme/pardus/help-install/en.html trunk/gfxtheme/pardus/help-install/es.html trunk/gfxtheme/pardus/help-install/fi.html trunk/gfxtheme/pardus/help-install/fr.html trunk/gfxtheme/pardus/help-install/hu.html trunk/gfxtheme/pardus/help-install/it.html trunk/gfxtheme/pardus/help-install/ja.html trunk/gfxtheme/pardus/help-install/nb.html trunk/gfxtheme/pardus/help-install/nl.html trunk/gfxtheme/pardus/help-install/pl.html trunk/gfxtheme/pardus/help-install/pt.html trunk/gfxtheme/pardus/help-install/pt_BR.html trunk/gfxtheme/pardus/help-install/ru.html trunk/gfxtheme/pardus/help-install/sl.html trunk/gfxtheme/pardus/help-install/sv.html trunk/gfxtheme/pardus/help-install/uk.html trunk/gfxtheme/pardus/help-install/zh_CN.html trunk/gfxtheme/pardus/help-install/zh_TW.html trunk/gfxtheme/pardus/keymaps/ trunk/gfxtheme/pardus/keymaps/keymap.cs_CZ.inc trunk/gfxtheme/pardus/keymaps/keymap.da_DK.inc trunk/gfxtheme/pardus/keymaps/keymap.de_DE.inc trunk/gfxtheme/pardus/keymaps/keymap.el_GR.inc trunk/gfxtheme/pardus/keymaps/keymap.es_ES.inc trunk/gfxtheme/pardus/keymaps/keymap.et_EE.inc trunk/gfxtheme/pardus/keymaps/keymap.fr_FR.inc trunk/gfxtheme/pardus/keymaps/keymap.hu_HU.inc trunk/gfxtheme/pardus/keymaps/keymap.it_IT.inc trunk/gfxtheme/pardus/keymaps/keymap.ja_JP.inc trunk/gfxtheme/pardus/keymaps/keymap.nb_NO.inc trunk/gfxtheme/pardus/keymaps/keymap.pl_PL.inc trunk/gfxtheme/pardus/keymaps/keymap.pt_BR.inc trunk/gfxtheme/pardus/keymaps/keymap.pt_PT.inc trunk/gfxtheme/pardus/keymaps/keymap.ru_RU.inc trunk/gfxtheme/pardus/keymaps/keymap.sk_SK.inc trunk/gfxtheme/pardus/keymaps/keymap.sl_SI.inc trunk/gfxtheme/pardus/keymaps/keymap.sv_SE.inc trunk/gfxtheme/pardus/keymaps/keymap.tr_TR.inc trunk/gfxtheme/pardus/penguin_src/ trunk/gfxtheme/pardus/penguin_src/Makefile trunk/gfxtheme/pardus/penguin_src/panim.png (contents, props changed) trunk/gfxtheme/pardus/penguin_src/pback.png (contents, props changed) trunk/gfxtheme/pardus/penguin_src/penguins.xcf (contents, props changed) trunk/gfxtheme/pardus/po/ trunk/gfxtheme/pardus/po/Makefile trunk/gfxtheme/pardus/po/README trunk/gfxtheme/pardus/po/af.po trunk/gfxtheme/pardus/po/ar.po trunk/gfxtheme/pardus/po/bg.po trunk/gfxtheme/pardus/po/bin/ trunk/gfxtheme/pardus/po/bin/add_text (contents, props changed) trunk/gfxtheme/pardus/po/bin/arabic.txt trunk/gfxtheme/pardus/po/bin/fixpot (contents, props changed) trunk/gfxtheme/pardus/po/bin/po2txt (contents, props changed) trunk/gfxtheme/pardus/po/bin/rm_text (contents, props changed) trunk/gfxtheme/pardus/po/bn.po_disabled trunk/gfxtheme/pardus/po/bootloader.pot trunk/gfxtheme/pardus/po/ca.po trunk/gfxtheme/pardus/po/cs.po trunk/gfxtheme/pardus/po/da.po trunk/gfxtheme/pardus/po/de.po trunk/gfxtheme/pardus/po/el.po trunk/gfxtheme/pardus/po/es.po trunk/gfxtheme/pardus/po/et.po trunk/gfxtheme/pardus/po/fi.po trunk/gfxtheme/pardus/po/fr.po trunk/gfxtheme/pardus/po/gl.po trunk/gfxtheme/pardus/po/gu.po trunk/gfxtheme/pardus/po/hi.po trunk/gfxtheme/pardus/po/hr.po trunk/gfxtheme/pardus/po/hu.po trunk/gfxtheme/pardus/po/id.po trunk/gfxtheme/pardus/po/it.po trunk/gfxtheme/pardus/po/ja.po trunk/gfxtheme/pardus/po/ko.po trunk/gfxtheme/pardus/po/lt.po trunk/gfxtheme/pardus/po/mr.po trunk/gfxtheme/pardus/po/nb.po trunk/gfxtheme/pardus/po/nl.po trunk/gfxtheme/pardus/po/pa.po trunk/gfxtheme/pardus/po/pl.po trunk/gfxtheme/pardus/po/pt.po trunk/gfxtheme/pardus/po/pt_BR.po trunk/gfxtheme/pardus/po/ro.po trunk/gfxtheme/pardus/po/ru.po trunk/gfxtheme/pardus/po/sk.po trunk/gfxtheme/pardus/po/sl.po trunk/gfxtheme/pardus/po/sr.po trunk/gfxtheme/pardus/po/sv.po trunk/gfxtheme/pardus/po/ta.po trunk/gfxtheme/pardus/po/th.po_disabled trunk/gfxtheme/pardus/po/tr.po trunk/gfxtheme/pardus/po/uk.po trunk/gfxtheme/pardus/po/wa.po trunk/gfxtheme/pardus/po/xh.po trunk/gfxtheme/pardus/po/zh_CN.po trunk/gfxtheme/pardus/po/zh_TW.po trunk/gfxtheme/pardus/po/zu.po trunk/gfxtheme/pardus/src/ trunk/gfxtheme/pardus/src/Makefile trunk/gfxtheme/pardus/src/bsplash.inc trunk/gfxtheme/pardus/src/button.inc trunk/gfxtheme/pardus/src/common.inc trunk/gfxtheme/pardus/src/dia_about.inc trunk/gfxtheme/pardus/src/dia_bits.inc trunk/gfxtheme/pardus/src/dia_dud.inc trunk/gfxtheme/pardus/src/dia_help.inc trunk/gfxtheme/pardus/src/dia_install.inc trunk/gfxtheme/pardus/src/dia_kernelopts.inc trunk/gfxtheme/pardus/src/dia_lang.inc trunk/gfxtheme/pardus/src/dia_profile.inc trunk/gfxtheme/pardus/src/dia_video.inc trunk/gfxtheme/pardus/src/help.inc trunk/gfxtheme/pardus/src/keytables.inc trunk/gfxtheme/pardus/src/locale.inc trunk/gfxtheme/pardus/src/main.bc trunk/gfxtheme/pardus/src/menu.inc trunk/gfxtheme/pardus/src/panel.inc trunk/gfxtheme/pardus/src/penguin.inc trunk/gfxtheme/pardus/src/system.inc trunk/gfxtheme/pardus/src/timeout.inc trunk/gfxtheme/pardus/src/window.inc trunk/gfxtheme/pardus/src/xmenu.inc trunk/gfxtheme/pardus/talk/ trunk/gfxtheme/pardus/talk/Makefile trunk/gfxtheme/pardus/talk/en.tlk (contents, props changed) trunk/gfxtheme/pardus/talk/po2talk (contents, props changed) trunk/gfxtheme/pardus/talk/sc.c trunk/gfxtheme/pardus/talk/talk.po Log: barebone version, not ready for daily use From uludag-commits at pardus.org.tr Mon Jun 2 17:20:15 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 17:20:15 +0300 (EEST) Subject: [Uludag-commits] r18474 - trunk/gfxtheme/pardus/src Message-ID: <20080602142015.3F5BB247400D@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 17:20:14 2008 New Revision: 18474 Added: trunk/gfxtheme/pardus/src/dia_zorg.inc Modified: trunk/gfxtheme/pardus/src/common.inc trunk/gfxtheme/pardus/src/main.bc trunk/gfxtheme/pardus/src/panel.inc Log: add zorg support Modified: trunk/gfxtheme/pardus/src/common.inc ================================================================= --- trunk/gfxtheme/pardus/src/common.inc (original) +++ trunk/gfxtheme/pardus/src/common.inc Mon Jun 2 17:20:14 2008 @@ -361,6 +361,12 @@ } { pop } ifelse } if + xmenu.zorg { + zorg.options xmenu.zorg .xm_current get get dup "" ne { + "%s " bc.cmd dup length add sprintf + } { pop } ifelse + } if + /cmdline.hidden over dup length .inp_hidden ge { .inp_hidden get } { pop .undef } ifelse def cmdline.hidden { Modified: trunk/gfxtheme/pardus/src/main.bc ================================================================= --- trunk/gfxtheme/pardus/src/main.bc (original) +++ trunk/gfxtheme/pardus/src/main.bc Mon Jun 2 17:20:14 2008 @@ -19,6 +19,7 @@ %% include dia_bits.inc %% include dia_about.inc %% include dia_kernelopts.inc +%% include dia_zorg.inc %% include panel.inc %% include keytables.inc %% include locale.inc Modified: trunk/gfxtheme/pardus/src/panel.inc ================================================================= --- trunk/gfxtheme/pardus/src/panel.inc (original) +++ trunk/gfxtheme/pardus/src/panel.inc Mon Jun 2 17:20:14 2008 @@ -50,7 +50,8 @@ [ keyF2 0 "F2" /panel.lang /panel.lang.width /panel.lang.update /lang.init ] [ keyF3 0 "F3" /panel.video /panel.video.width /panel.video.update /video.init ] - [ keyF4 0 "F4" /panel.install /panel.install.width /panel.install.update /install.init ] + % [ keyF4 0 "F4" /panel.install /panel.install.width /panel.install.update /install.init ] + [ keyF4 0 "F4" /panel.zorg /panel.zorg.width /panel.zorg.update /zorg.init ] [ keyF5 0 "F5" /panel.kernelopts /panel.kernelopts.width /panel.kernelopts.update /kernelopts.init ] [ keyF6 0 "F6" /panel.dud /panel.dud.width /panel.dud.update /dud.init ] @@ -72,6 +73,7 @@ } { [ keyF2 0 "F2" /panel.lang /panel.lang.width /panel.lang.update /lang.init ] + [ keyF3 0 "F3" /panel.zorg /panel.zorg.width /panel.zorg.update /zorg.init ] "profiles" findfile dup { /profile.data exch def [ keyF3 0 "F3" /panel.profile /panel.profile.width /panel.profile.update /profile.init ] From uludag-commits at pardus.org.tr Mon Jun 2 17:24:23 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 17:24:23 +0300 (EEST) Subject: [Uludag-commits] r18476 - trunk/gfxtheme/pardus/po Message-ID: <20080602142423.4B04A247400E@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 17:24:23 2008 New Revision: 18476 Modified: trunk/gfxtheme/pardus/po/bootloader.pot trunk/gfxtheme/pardus/po/tr.po Log: let zorg messages be translatable Modified: trunk/gfxtheme/pardus/po/bootloader.pot ================================================================= --- trunk/gfxtheme/pardus/po/bootloader.pot (original) +++ trunk/gfxtheme/pardus/po/bootloader.pot Mon Jun 2 17:24:23 2008 @@ -384,3 +384,28 @@ msgid "Check Installation Media" msgstr "" +#. menu item for zorg variant (cf. txt_zorg) +#. txt_zorg +msgid "Graphical Display" +msgstr "" + +#. menu item for zorg variant (cf. txt_zorg) +#. txt_zorg_default +msgid "Default" +msgstr "" + +#. menu item for zorg variant (cf. txt_zorg) +#. txt_zorg_safe +msgid "Failsafe" +msgstr "" + +#. menu item for zorg variant (cf. txt_zorg) +#. txt_zorg_probe +msgid "Reprobe" +msgstr "" + +#. menu item for zorg variant (cf. txt_zorg) +#. txt_zorg_off +msgid "Off" +msgstr "" + Modified: trunk/gfxtheme/pardus/po/tr.po ================================================================= --- trunk/gfxtheme/pardus/po/tr.po (original) +++ trunk/gfxtheme/pardus/po/tr.po Mon Jun 2 17:24:23 2008 @@ -403,3 +403,29 @@ #. txt_mediacheck msgid "Check Installation Media" msgstr "" + +#. menu item for zorg variant (cf. txt_zorg) +#. txt_zorg +msgid "Graphical Display" +msgstr "Grafik Ekran" + +#. menu item for zorg variant (cf. txt_zorg) +#. txt_zorg_default +msgid "Default" +msgstr "Öntanımlı" + +#. menu item for zorg variant (cf. txt_zorg) +#. txt_zorg_safe +msgid "Failsafe" +msgstr "Güvenli kip" + +#. menu item for zorg variant (cf. txt_zorg) +#. txt_zorg_probe +msgid "Probe Again" +msgstr "Tekrar tanı" + +#. menu item for zorg variant (cf. txt_zorg) +#. txt_zorg_off +msgid "Off" +msgstr "Kapalı" + From uludag-commits at pardus.org.tr Mon Jun 2 17:30:36 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 17:30:36 +0300 (EEST) Subject: [Uludag-commits] r18477 - in trunk/gfxtheme/pardus: data-boot data-install src Message-ID: <20080602143036.9FC64247400E@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 17:30:36 2008 New Revision: 18477 Modified: trunk/gfxtheme/pardus/data-boot/gfxboot.cfg trunk/gfxtheme/pardus/data-install/gfxboot.cfg trunk/gfxtheme/pardus/src/common.inc Log: move boot option selection to upper left corner Modified: trunk/gfxtheme/pardus/data-boot/gfxboot.cfg ================================================================= --- trunk/gfxtheme/pardus/data-boot/gfxboot.cfg (original) +++ trunk/gfxtheme/pardus/data-boot/gfxboot.cfg Mon Jun 2 17:30:36 2008 @@ -72,7 +72,7 @@ ; upper left corner mainmenu.pos=253,170 ; boot option input field position -bootopt.pos=263,480 +bootopt.pos=160,480 [640x480] ; screen size @@ -80,7 +80,7 @@ ; upper left corner mainmenu.pos=130,122 ; boot option input field position -bootopt.pos=263,380 +bootopt.pos=160,380 [penguin] ; upper left corner @@ -88,7 +88,7 @@ ; main menu selection bar transparency (0..255) mainmenu.bar.transparency=120 ; boot option input field position -bootopt.pos=263,490 +bootopt.pos=160,490 ; background image background=pback.jpg Modified: trunk/gfxtheme/pardus/data-install/gfxboot.cfg ================================================================= --- trunk/gfxtheme/pardus/data-install/gfxboot.cfg (original) +++ trunk/gfxtheme/pardus/data-install/gfxboot.cfg Mon Jun 2 17:30:36 2008 @@ -72,7 +72,7 @@ ; upper left corner mainmenu.pos=253,170 ; boot option input field position -bootopt.pos=263,480 +bootopt.pos=160,480 [640x480] ; screen size @@ -80,7 +80,7 @@ ; upper left corner mainmenu.pos=130,122 ; boot option input field position -bootopt.pos=263,380 +bootopt.pos=160,380 [penguin] ; upper left corner @@ -88,7 +88,7 @@ ; main menu selection bar transparency (0..255) mainmenu.bar.transparency=120 ; boot option input field position -bootopt.pos=263,490 +bootopt.pos=160,490 ; background image background=pback.jpg Modified: trunk/gfxtheme/pardus/src/common.inc ================================================================= --- trunk/gfxtheme/pardus/src/common.inc (original) +++ trunk/gfxtheme/pardus/src/common.inc Mon Jun 2 17:30:36 2008 @@ -1547,7 +1547,7 @@ /menu.start.y "mainmenu.pos" 253 170 gfxconfig.set.int2 /menu.max.entries "mainmenu.entries" 8 gfxconfig.set.int /boot.pos.x -/boot.pos.y "bootopt.pos" 263 480 gfxconfig.set.int2 +/boot.pos.y "bootopt.pos" 160 480 gfxconfig.set.int2 /panel.normal.fg "panel.normal.fg" white gfxconfig.set.int /panel.title.fg "panel.title.fg" white gfxconfig.set.int /panel.f-key.fg "panel.f-key.fg" black gfxconfig.set.int From uludag-commits at pardus.org.tr Mon Jun 2 17:34:28 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 17:34:28 +0300 (EEST) Subject: [Uludag-commits] r18478 - in trunk/gfxtheme/pardus: data-boot data-install src Message-ID: <20080602143428.4762A247400D@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 17:34:27 2008 New Revision: 18478 Modified: trunk/gfxtheme/pardus/data-boot/gfxboot.cfg trunk/gfxtheme/pardus/data-install/gfxboot.cfg trunk/gfxtheme/pardus/src/common.inc Log: move menu and bootoptions around Modified: trunk/gfxtheme/pardus/data-boot/gfxboot.cfg ================================================================= --- trunk/gfxtheme/pardus/data-boot/gfxboot.cfg (original) +++ trunk/gfxtheme/pardus/data-boot/gfxboot.cfg Mon Jun 2 17:34:27 2008 @@ -70,7 +70,7 @@ ; screen size screen.size=800,600 ; upper left corner -mainmenu.pos=253,170 +mainmenu.pos=53,70 ; boot option input field position bootopt.pos=160,480 @@ -78,7 +78,7 @@ ; screen size screen.size=640,480 ; upper left corner -mainmenu.pos=130,122 +mainmenu.pos=40,52 ; boot option input field position bootopt.pos=160,380 Modified: trunk/gfxtheme/pardus/data-install/gfxboot.cfg ================================================================= --- trunk/gfxtheme/pardus/data-install/gfxboot.cfg (original) +++ trunk/gfxtheme/pardus/data-install/gfxboot.cfg Mon Jun 2 17:34:27 2008 @@ -70,7 +70,7 @@ ; screen size screen.size=800,600 ; upper left corner -mainmenu.pos=253,170 +mainmenu.pos=53,70 ; boot option input field position bootopt.pos=160,480 @@ -78,7 +78,7 @@ ; screen size screen.size=640,480 ; upper left corner -mainmenu.pos=130,122 +mainmenu.pos=40,52 ; boot option input field position bootopt.pos=160,380 Modified: trunk/gfxtheme/pardus/src/common.inc ================================================================= --- trunk/gfxtheme/pardus/src/common.inc (original) +++ trunk/gfxtheme/pardus/src/common.inc Mon Jun 2 17:34:27 2008 @@ -1544,7 +1544,7 @@ /menu.bar.min.width "mainmenu.bar.minwidth" 300 gfxconfig.set.int /menu.bar.transparency "mainmenu.bar.transparency" 70 gfxconfig.set.int /menu.start.x -/menu.start.y "mainmenu.pos" 253 170 gfxconfig.set.int2 +/menu.start.y "mainmenu.pos" 53 70 gfxconfig.set.int2 /menu.max.entries "mainmenu.entries" 8 gfxconfig.set.int /boot.pos.x /boot.pos.y "bootopt.pos" 160 480 gfxconfig.set.int2 From uludag-commits at pardus.org.tr Mon Jun 2 17:37:23 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 17:37:23 +0300 (EEST) Subject: [Uludag-commits] r18479 - in trunk/gfxtheme/pardus: data-boot data-install Message-ID: <20080602143723.3A8E0247400D@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 17:37:22 2008 New Revision: 18479 Modified: trunk/gfxtheme/pardus/data-boot/gfxboot.cfg trunk/gfxtheme/pardus/data-install/gfxboot.cfg Log: change progressbar color Modified: trunk/gfxtheme/pardus/data-boot/gfxboot.cfg ================================================================= --- trunk/gfxtheme/pardus/data-boot/gfxboot.cfg (original) +++ trunk/gfxtheme/pardus/data-boot/gfxboot.cfg Mon Jun 2 17:37:22 2008 @@ -44,7 +44,7 @@ bootopt.label.fg=0xffffff bootopt.text.fg=0xffffff ; progress bar color -progress.bar.color=0x295202 +progress.bar.color=0xcc5f17 ; menu colors menu.normal.bg=0xd8deed menu.normal.fg=0x000000 Modified: trunk/gfxtheme/pardus/data-install/gfxboot.cfg ================================================================= --- trunk/gfxtheme/pardus/data-install/gfxboot.cfg (original) +++ trunk/gfxtheme/pardus/data-install/gfxboot.cfg Mon Jun 2 17:37:22 2008 @@ -44,7 +44,7 @@ bootopt.label.fg=0xffffff bootopt.text.fg=0xffffff ; progress bar color -progress.bar.color=0x295202 +progress.bar.color=0xcc5f17 ; menu colors menu.normal.bg=0xd8deed menu.normal.fg=0x000000 From uludag-commits at pardus.org.tr Mon Jun 2 17:38:40 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 17:38:40 +0300 (EEST) Subject: [Uludag-commits] r18480 - in trunk/gfxtheme/pardus: data-boot data-install Message-ID: <20080602143841.02211247400E@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 17:38:40 2008 New Revision: 18480 Modified: trunk/gfxtheme/pardus/data-boot/gfxboot.cfg trunk/gfxtheme/pardus/data-install/gfxboot.cfg Log: change window title colors Modified: trunk/gfxtheme/pardus/data-boot/gfxboot.cfg ================================================================= --- trunk/gfxtheme/pardus/data-boot/gfxboot.cfg (original) +++ trunk/gfxtheme/pardus/data-boot/gfxboot.cfg Mon Jun 2 17:38:40 2008 @@ -53,7 +53,7 @@ ; window colors window.bg=0xd8deed window.fg=0x000000 -window.title.bg=0x217b05 +window.title.bg=0xcc5f17 window.title.fg=0xffffff window.title.error.bg=0xc00000 ; help system colors Modified: trunk/gfxtheme/pardus/data-install/gfxboot.cfg ================================================================= --- trunk/gfxtheme/pardus/data-install/gfxboot.cfg (original) +++ trunk/gfxtheme/pardus/data-install/gfxboot.cfg Mon Jun 2 17:38:40 2008 @@ -53,7 +53,7 @@ ; window colors window.bg=0xd8deed window.fg=0x000000 -window.title.bg=0x217b05 +window.title.bg=0xcc5f17 window.title.fg=0xffffff window.title.error.bg=0xc00000 ; help system colors From uludag-commits at pardus.org.tr Mon Jun 2 17:40:21 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 17:40:21 +0300 (EEST) Subject: [Uludag-commits] r18481 - trunk/gfxtheme/pardus Message-ID: <20080602144021.E0D18247400D@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 17:40:21 2008 New Revision: 18481 Modified: trunk/gfxtheme/pardus/Makefile Log: default lang is tr Modified: trunk/gfxtheme/pardus/Makefile ================================================================= --- trunk/gfxtheme/pardus/Makefile (original) +++ trunk/gfxtheme/pardus/Makefile Mon Jun 2 17:40:21 2008 @@ -13,7 +13,7 @@ SUBDIRS = fonts help-boot help-install po src -DEFAULT_LANG = +DEFAULT_LANG = tr .PHONY: all clean distclean themes $(SUBDIRS) @@ -75,4 +75,4 @@ rmdir `find -depth -type d \! -name . \! -name .svn \! -wholename './.svn/*' \! -wholename './*/.svn/*'` 2>/dev/null || true endif - \ No newline at end of file + From uludag-commits at pardus.org.tr Mon Jun 2 18:06:29 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 18:06:29 +0300 (EEST) Subject: [Uludag-commits] r18482 - trunk/PolicyKit-kde Message-ID: <20080602150629.597BA1384027@liste.pardus.org.tr> Author: gokcen.eraslan Date: Mon Jun 2 18:06:29 2008 New Revision: 18482 Modified: trunk/PolicyKit-kde/TODO Log: everybody interested in policykit-kde should know this :P Modified: trunk/PolicyKit-kde/TODO ================================================================= --- trunk/PolicyKit-kde/TODO (original) +++ trunk/PolicyKit-kde/TODO Mon Jun 2 18:06:29 2008 @@ -1,5 +1,6 @@ IMPORTANT: * Fix admin user selection support (another eventloop solution may be required) +* Fix dbus-qt3-backport's activation problem. Now, we can't use policykit-kde with dbus activation, it starts with kde. LESS IMPORTANT: * Do not send same DBus exceptions to all errors From uludag-commits at pardus.org.tr Mon Jun 2 19:01:09 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 19:01:09 +0300 (EEST) Subject: [Uludag-commits] r18483 - in trunk/gfxtheme/pardus: . fonts help-boot help-install src Message-ID: <20080602160109.35F3A1384132@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 19:01:08 2008 New Revision: 18483 Modified: trunk/gfxtheme/pardus/Makefile trunk/gfxtheme/pardus/fonts/Makefile trunk/gfxtheme/pardus/help-boot/Makefile trunk/gfxtheme/pardus/help-install/Makefile trunk/gfxtheme/pardus/src/Makefile Log: use static dirs so we can make a package Modified: trunk/gfxtheme/pardus/Makefile ================================================================= --- trunk/gfxtheme/pardus/Makefile (original) +++ trunk/gfxtheme/pardus/Makefile Mon Jun 2 19:01:08 2008 @@ -1,4 +1,4 @@ -BINDIR := $(shell [ -x ../../gfxboot-compile ] && echo ../../ ) +BINDIR := /usr/sbin/ BASED_ON = $(shell perl -ne 'print if s/^based_on=//' config) @@ -8,7 +8,7 @@ PREPARED = $(shell [ -f .prepared ] && echo 1) endif -ADDDIR = ../../bin/adddir +ADDDIR = /usr/share/gfxboot/bin/adddir BFLAGS = -O -v -L ../.. SUBDIRS = fonts help-boot help-install po src Modified: trunk/gfxtheme/pardus/fonts/Makefile ================================================================= --- trunk/gfxtheme/pardus/fonts/Makefile (original) +++ trunk/gfxtheme/pardus/fonts/Makefile Mon Jun 2 19:01:08 2008 @@ -1,7 +1,7 @@ -BINDIR := $(shell [ -x ../../../gfxboot-font ] && echo ../../../ ) +BINDIR := /usr/sbin/ GFXBOOT_FONT = $(BINDIR)gfxboot-font -KEYMAPCHARS = $(BINDIR)bin/keymapchars +KEYMAPCHARS = /usr/share/gfxboot/bin/keymapchars all: .ready Modified: trunk/gfxtheme/pardus/help-boot/Makefile ================================================================= --- trunk/gfxtheme/pardus/help-boot/Makefile (original) +++ trunk/gfxtheme/pardus/help-boot/Makefile Mon Jun 2 19:01:08 2008 @@ -1,8 +1,8 @@ -BINDIR := $(shell [ -x ../../../gfxboot-compile ] && echo ../../../ ) +BINDIR := /usr/sbin/ PRODUCT = $(shell perl -ne 'print if s/^product=//' ../config) -HELP2TXT = ../../../bin/help2txt +HELP2TXT = /usr/share/gfxboot/bin/help2txt HELPFILES = $(addsuffix .hlp,$(basename $(wildcard *.html))) Modified: trunk/gfxtheme/pardus/help-install/Makefile ================================================================= --- trunk/gfxtheme/pardus/help-install/Makefile (original) +++ trunk/gfxtheme/pardus/help-install/Makefile Mon Jun 2 19:01:08 2008 @@ -1,8 +1,8 @@ -BINDIR := $(shell [ -x ../../../gfxboot-compile ] && echo ../../../ ) +BINDIR := /usr/sbin/ PRODUCT = $(shell perl -ne 'print if s/^product=//' ../config) -HELP2TXT = ../../../bin/help2txt +HELP2TXT = /usr/share/gfxboot/bin/help2txt HELPFILES = $(addsuffix .hlp,$(basename $(wildcard *.html))) Modified: trunk/gfxtheme/pardus/src/Makefile ================================================================= --- trunk/gfxtheme/pardus/src/Makefile (original) +++ trunk/gfxtheme/pardus/src/Makefile Mon Jun 2 19:01:08 2008 @@ -1,4 +1,4 @@ -BINDIR := $(shell [ -x ../../../gfxboot-compile ] && echo ../../../ ) +BINDIR := /usr/sbin/ GFXBOOT_COMPILE = $(BINDIR)gfxboot-compile BFLAGS = -O -v -L ../.. From uludag-commits at pardus.org.tr Mon Jun 2 19:27:35 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 19:27:35 +0300 (EEST) Subject: [Uludag-commits] r18484 - in trunk/gfxtheme/pardus: data-boot data-install Message-ID: <20080602162735.62A451384133@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 19:27:35 2008 New Revision: 18484 Modified: trunk/gfxtheme/pardus/data-boot/back.jpg trunk/gfxtheme/pardus/data-install/back.jpg Log: make graphics work Modified: trunk/gfxtheme/pardus/data-boot/back.jpg ================================================================= Binary files. No diff available. Modified: trunk/gfxtheme/pardus/data-install/back.jpg ================================================================= Binary files. No diff available. From uludag-commits at pardus.org.tr Mon Jun 2 19:29:23 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 19:29:23 +0300 (EEST) Subject: [Uludag-commits] r18485 - trunk/gfxtheme/pardus/data-install Message-ID: <20080602162923.CA0A21384133@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 19:29:23 2008 New Revision: 18485 Modified: trunk/gfxtheme/pardus/data-install/welcome.jpg Log: make graphics work Modified: trunk/gfxtheme/pardus/data-install/welcome.jpg ================================================================= Binary files. No diff available. From uludag-commits at pardus.org.tr Mon Jun 2 19:35:48 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 19:35:48 +0300 (EEST) Subject: [Uludag-commits] r18486 - trunk/gfxtheme/pardus/help-boot Message-ID: <20080602163548.D26A01384133@liste.pardus.org.tr> Author: onur Date: Mon Jun 2 19:35:48 2008 New Revision: 18486 Added: trunk/gfxtheme/pardus/help-boot/tr.html Log: added untranslated help, this will do for now From uludag-commits at pardus.org.tr Mon Jun 2 22:38:32 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 22:38:32 +0300 (EEST) Subject: [Uludag-commits] r18487 - trunk/tasma/display-manager/src Message-ID: <20080602193832.575F613840CF@liste.pardus.org.tr> Author: pinar Date: Mon Jun 2 22:38:31 2008 New Revision: 18487 Modified: trunk/tasma/display-manager/src/display-manager.py trunk/tasma/display-manager/src/driverdialog.ui Log: remove probe box Modified: trunk/tasma/display-manager/src/display-manager.py ================================================================= --- trunk/tasma/display-manager/src/display-manager.py (original) +++ trunk/tasma/display-manager/src/display-manager.py Mon Jun 2 22:38:31 2008 @@ -91,9 +91,6 @@ def __init__(self, parent): driverdialog.VideoCard.__init__(self, parent) - # hide for now - self.checkBoxProbe.hide() - current = None dc = parent.displayConfiguration self.compatibleDriverList = {} Modified: trunk/tasma/display-manager/src/driverdialog.ui ================================================================= --- trunk/tasma/display-manager/src/driverdialog.ui (original) +++ trunk/tasma/display-manager/src/driverdialog.ui Mon Jun 2 22:38:31 2008 @@ -29,10 +29,10 @@ - checkBoxProbe + checkBoxAllDrivers - Probe at next boot. + Show all drivers @@ -112,14 +112,6 @@ LastColumn - - - checkBoxAllDrivers - - - Show all drivers - - From uludag-commits at pardus.org.tr Mon Jun 2 23:54:56 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Mon, 2 Jun 2008 23:54:56 +0300 (EEST) Subject: [Uludag-commits] r18488 - trunk/tasma/display-manager/src Message-ID: <20080602205456.B332A13840ED@liste.pardus.org.tr> Author: pinar Date: Mon Jun 2 23:54:56 2008 New Revision: 18488 Modified: trunk/tasma/display-manager/src/display-manager.py trunk/tasma/display-manager/src/dm_mainview.ui Log: put a swap icon between screens Modified: trunk/tasma/display-manager/src/display-manager.py ================================================================= --- trunk/tasma/display-manager/src/display-manager.py (original) +++ trunk/tasma/display-manager/src/display-manager.py Mon Jun 2 23:54:56 2008 @@ -165,6 +165,9 @@ self.pixVideoCard.setPixmap(getIconSet("video_card", KIcon.User).pixmap(QIconSet.Automatic, QIconSet.Normal)) + # use reload icon for now. will be replaced with swap icon later. + self.iconSwap.setPixmap( getIconSet("reload", KIcon.Toolbar).pixmap(QIconSet.Automatic, QIconSet.Normal)) + self.iconWide = getIconSet("monitor_wide", KIcon.User) self.iconNormal = getIconSet("monitor", KIcon.User) Modified: trunk/tasma/display-manager/src/dm_mainview.ui ================================================================= --- trunk/tasma/display-manager/src/dm_mainview.ui (original) +++ trunk/tasma/display-manager/src/dm_mainview.ui Mon Jun 2 23:54:56 2008 @@ -105,11 +105,114 @@ true - + unnamed - + + + spacer6_2 + + + Horizontal + + + Expanding + + + + 170 + 20 + + + + + + spacer5 + + + Horizontal + + + Expanding + + + + 170 + 20 + + + + + + screenImage1 + + + PaletteBackground + + + + + + true + + + true + + + true + + + true + + + 1 + + + true + + + + + iconSwap + + + + 100 + 32767 + + + + + + + + + screenImage2 + + + PaletteBackground + + + + + + true + + + true + + + true + + + 2 + + + true + + + spacer7 @@ -126,106 +229,7 @@ - - - layout6 - - - - unnamed - - - - spacer5 - - - Horizontal - - - Expanding - - - - 80 - 20 - - - - - - screenImage1 - - - PaletteBackground - - - - - - true - - - true - - - true - - - true - - - 1 - - - true - - - - - screenImage2 - - - PaletteBackground - - - - - - true - - - true - - - true - - - 2 - - - true - - - - - spacer6_2 - - - Horizontal - - - Expanding - - - - 80 - 20 - - - - - - + spacer8 @@ -242,7 +246,7 @@ - + From uludag-commits at pardus.org.tr Tue Jun 3 00:06:48 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Tue, 3 Jun 2008 00:06:48 +0300 (EEST) Subject: [Uludag-commits] r18489 - trunk/tasma/display-manager/src Message-ID: <20080602210648.81DFD13840ED@liste.pardus.org.tr> Author: pinar Date: Tue Jun 3 00:06:48 2008 New Revision: 18489 Modified: trunk/tasma/display-manager/src/display-manager.py trunk/tasma/display-manager/src/dm_mainview.ui Log: show swap button only in dual mode Modified: trunk/tasma/display-manager/src/display-manager.py ================================================================= --- trunk/tasma/display-manager/src/display-manager.py (original) +++ trunk/tasma/display-manager/src/display-manager.py Tue Jun 3 00:06:48 2008 @@ -345,12 +345,14 @@ self.setIconbyResolution(str(self.currentModes[self.displayConfiguration.secondaryScr]),2) self.screenImage2.show() self.groupBoxSecondaryScreen.show() + self.iconSwap.show() self.setDualModeOptions(self.radioBoxExtended.isChecked()) self.getMonitorInfo() else: self.screenImage2.hide() self.screenImage1.setState(QButton.On) self.groupBoxSecondaryScreen.hide() + self.iconSwap.hide() self.displayConfiguration.desktop_setup = "single" def switchBetweenScreens(self): Modified: trunk/tasma/display-manager/src/dm_mainview.ui ================================================================= --- trunk/tasma/display-manager/src/dm_mainview.ui (original) +++ trunk/tasma/display-manager/src/dm_mainview.ui Tue Jun 3 00:06:48 2008 @@ -176,6 +176,9 @@ iconSwap + + true + 100 From uludag-commits at pardus.org.tr Tue Jun 3 00:14:02 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Tue, 3 Jun 2008 00:14:02 +0300 (EEST) Subject: [Uludag-commits] r18490 - trunk/tasma/display-manager/src Message-ID: <20080602211402.5A44113840C2@liste.pardus.org.tr> Author: pinar Date: Tue Jun 3 00:14:01 2008 New Revision: 18490 Modified: trunk/tasma/display-manager/src/display-manager.py Log: disable plug & plugin until a model get selected. Modified: trunk/tasma/display-manager/src/display-manager.py ================================================================= --- trunk/tasma/display-manager/src/display-manager.py (original) +++ trunk/tasma/display-manager/src/display-manager.py Tue Jun 3 00:14:01 2008 @@ -48,7 +48,10 @@ class MonitorDialog(monitordialog.monitorDialog): def __init__(self, parent): monitordialog.monitorDialog.__init__(self, parent) + self.groupBoxDetails.hide() + self.checkBoxPlugPlay.setEnabled(False) + # get a dict of monitor.db like: # vendor["Siemens"] = {'Siemens Nixdorf': [{'eisa_id': '','hsync': '','is_dpms': '','model': '','vref': ''}} @@ -73,8 +76,10 @@ def getSelectedMonitor(self): if self.listViewMonitors.currentItem().key(1,0) == "parent": self.groupBoxDetails.hide() + self.checkBoxPlugPlay.setEnabled(False) else: self.groupBoxDetails.show() + self.checkBoxPlugPlay.setEnabled(True) self.lineEditHorizontal.setText(self.listViewMonitors.currentItem().key(2, 0)) self.lineEditVertical.setText(self.listViewMonitors.currentItem().key(3, 0)) From uludag-commits at pardus.org.tr Tue Jun 3 00:21:47 2008 From: uludag-commits at pardus.org.tr (uludag-commits at pardus.org.tr) Date: Tue, 3 Jun 2008 00:21:47 +0300 (EEST) Subject: [Uludag-commits] r18491 - trunk/tasma/display-manager/src Message-ID: <20080602212147.CE17113840C2@liste.pardus.org.tr> Author: pinar Date: Tue Jun 3 00:21:47 2008 New Revision: 18491 Modified: trunk/tasma/display-manager/src/display-manager.py Log: disable okay button until a model get selected. Modified: trunk/tasma/display-manager/src/display-manager.py ================================================================= --- trunk/tasma/display-manager/src/display-manager.py (original) +++ trunk/tasma/display-manager/src/display-manager.py Tue Jun 3 00:21:47 2008 @@ -51,6 +51,7 @@ self.groupBoxDetails.hide() self.checkBoxPlugPlay.setEnabled(False) + self.pushButtonOk.setEnabled(False) # get a dict